/* ============================================================
   UConnect — landing styles (Design 2a: poster grotesk, hi-vis orange)
   Token-driven. No hex colours outside :root.
   ============================================================ */

:root {
  /* --- Colour --- */
  --paper:       #FAFAF7;   /* page bg */
  --ink:         #111110;   /* text + rules */
  --accent:      oklch(0.67 0.21 42);   /* buttons / offer-card shadow */
  --accent-text: oklch(0.62 0.21 42);   /* text + numbers on paper */
  --accent-dark: oklch(0.72 0.19 42);   /* text on the dark band */
  --muted:       #666666;   /* muted text on paper */
  --muted-dark:  #8a877f;   /* muted text on dark */
  --body-2:      #3a3833;    /* secondary body (objection answers) */
  --stripe-a:    #EDEBE4;   /* testimonial photo slot stripes */
  --stripe-b:    #E0DDD4;

  /* --- Rule weights (hard edges, no radius) --- */
  --rule:        2px;
  --rule-heavy:  3px;

  /* --- Type --- */
  --font: "Archivo", system-ui, Arial, sans-serif;
  --font-black: "Archivo Black", "Archivo", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* --- Layout --- */
  --pad-x: clamp(1.5rem, 5vw, 4.5rem);      /* 24px → 72px */
  --pad-y: clamp(4.5rem, 8vw, 6.25rem);     /* 72px → 100px */
  --page-max: 1440px;

  /* --- Motion --- */
  --fade-dist: 12px;
  --fade-time: 400ms;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, p, blockquote, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

/* The hidden attribute must win over component display rules
   (.form / .confirm set display:flex, which would otherwise override it). */
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Shared ---------- */
.section {
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--page-max);
  margin-inline: auto;
}
.section__title {
  font-family: var(--font-black);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.mono-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.accent      { color: var(--accent-text); }
.accent-dark { color: var(--accent-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 clamp(1.75rem, 4vw, 2.75rem);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: filter 120ms ease;
}
.btn:hover { filter: brightness(0.94); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.cta-note {
  font-weight: 500;
  font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
  color: var(--muted);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: var(--rule) solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem) var(--pad-x) clamp(2rem, 4vw, 3.5rem);
  max-width: var(--page-max);
  margin-inline: auto;
}
.wordmark {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: 2rem 0;
}
.hero__headline {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(2.6875rem, 1.4rem + 6.9vw, 6.875rem);  /* 43 → 110px */
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 16ch;
  text-wrap: pretty;
}
.hero__subhead {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);      /* 18 → 24px */
  line-height: 1.45;
  font-weight: 500;
  max-width: 44ch;
  text-wrap: pretty;
}

/* ============================================================
   2. PROBLEM
   ============================================================ */
.problem {
  border-top: var(--rule) solid var(--ink);
  display: grid;
  gap: clamp(1.75rem, 4vw, 4rem);
}
.problem__title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }  /* 28 → 44 */
.problem__list { display: flex; flex-direction: column; }
.jab {
  display: flex;
  gap: clamp(0.875rem, 2vw, 1.25rem);
  align-items: baseline;
  padding: clamp(1.125rem, 2vw, 1.375rem) 0;
  border-top: var(--rule) solid var(--ink);
}
.jab__n {
  flex: none;
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);  /* 14 → 15 */
  color: var(--accent-text);
}
.jab__text {
  font-weight: 600;
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.5rem);     /* 18 → 24 */
  line-height: 1.3;
  text-wrap: pretty;
}

/* ============================================================
   3. SIGNATURE REFRAME (dark band — accent text lives here)
   ============================================================ */
.reframe {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5.5rem, 10vw, 8.75rem) var(--pad-x);
}
.reframe__kicker {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: var(--page-max);
  margin-inline: auto;
}
.reframe__quote {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(2.3125rem, 0.9rem + 6.6vw, 5.75rem);   /* 37 → 92 */
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  max-width: 18ch;
  text-wrap: pretty;
  margin-inline: auto;
}

/* ============================================================
   4. HOW IT WORKS
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.steps__title { font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.5rem); }   /* 26 → 40 */
.steps__list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 3rem);
}
.step {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.step__n {
  flex: none;
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem);    /* 30 → 44 */
  color: var(--accent-text);
  line-height: 1;
}
.step__text {
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);  /* 17 → 20 */
  line-height: 1.4;
  text-wrap: pretty;
}

/* ============================================================
   5. PROOF (number is the star)
   ============================================================ */
.proof {
  border-top: var(--rule) solid var(--ink);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.proof__figure { display: flex; flex-direction: column; gap: 0.375rem; }
.proof__number {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(6rem, 1rem + 26vw, 11.875rem);         /* 96 → 190 */
  line-height: 0.95;
  color: var(--accent-text);
}
.proof__unit {
  font-size: clamp(2.125rem, 1rem + 5.6vw, 3.25rem);      /* 34 → 52 */
  color: var(--ink);
}
.proof__body { display: flex; flex-direction: column; gap: clamp(1.25rem, 3vw, 1.75rem); }
.proof__copy {
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.9rem + 0.8vw, 1.5rem);    /* 17 → 24 */
  line-height: 1.45;
  max-width: 52ch;
  text-wrap: pretty;
}
.proof__chip {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 2vw, 1rem);
  align-self: flex-start;
  padding: clamp(0.875rem, 2vw, 1.125rem) clamp(1rem, 2vw, 1.25rem);
  border: var(--rule) solid var(--ink);
}
.proof__photo {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;   /* the ONE circle — the photo slot itself */
  background:
    repeating-linear-gradient(45deg, var(--stripe-a) 0 4px, var(--stripe-b) 4px 8px);
}
.proof__chip-text { display: flex; flex-direction: column; gap: 0.125rem; }
.proof__quote { font-weight: 600; font-size: 1.125rem; }
.proof__note { text-transform: none; letter-spacing: 0.04em; }

/* ============================================================
   6. THE TASK AUDIT (offer card)
   ============================================================ */
.offer { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.offer__card {
  width: 100%;
  max-width: 880px;
  background: var(--paper);
  border: var(--rule-heavy) solid var(--ink);
  box-shadow: 8px 8px 0 var(--accent);   /* the card's signature shadow */
  padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.375rem, 3vw, 3.5rem);
  display: grid;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}
.offer__text { display: flex; flex-direction: column; gap: 1rem; }
.offer__title {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.25rem);        /* 32 → 52 */
  text-transform: uppercase;
  line-height: 1.02;
}
.offer__body {
  font-weight: 500;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);     /* 16 → 19 */
  line-height: 1.45;
  max-width: 44ch;
  text-wrap: pretty;
}
.offer__cta { align-self: start; }
.offer__risk {
  width: 100%;
  max-width: 880px;
  font-weight: 500;
  font-size: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem); /* 13 → 14 */
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* ============================================================
   7. OBJECTIONS
   ============================================================ */
.objections {
  display: grid;
  gap: clamp(1rem, 3vw, 4rem);
  padding-top: 0;
}
.objections__title { font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.5rem); line-height: 1.08; }
.objections__list { display: flex; flex-direction: column; }
.ob {
  border-top: var(--rule) solid var(--ink);
  padding: clamp(1rem, 2vw, 1.25rem) 0;
}
.ob__q {
  font-weight: 700;
  font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.3125rem); /* 17 → 21 */
  line-height: 1.3;
  text-wrap: pretty;
}
.ob__a {
  margin-top: 0.625rem;
  font-weight: 500;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);      /* 16 → 18 */
  line-height: 1.45;
  color: var(--body-2);
  max-width: 52ch;
  text-wrap: pretty;
}

/* ============================================================
   8. FINAL CTA + FORM (dark band, mirrors the A6 QR card)
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4.5rem, 9vw, 6.875rem) var(--pad-x) clamp(3.5rem, 6vw, 4rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  max-width: none;
}
.contact > * { max-width: var(--page-max); margin-inline: auto; width: 100%; }
.contact__title {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(2.625rem, 1rem + 8vw, 6rem);           /* 42 → 96 */
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: pretty;
}
.contact__right { display: flex; flex-direction: column; gap: 1.5rem; }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 0.875rem; }
.field { display: flex; }
.field__input {
  width: 100%;
  min-height: 56px;
  padding: 0 1.125rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  color: var(--ink);
  background: var(--paper);
  border: none;
}
.field__input--area {
  padding: 1rem 1.125rem;
  min-height: 7rem;
  line-height: 1.4;
  resize: vertical;
}
.field__input::placeholder { color: var(--muted); }
.field__input:focus-visible { outline: var(--rule) solid var(--accent); outline-offset: 2px; }
.field__input[aria-invalid="true"] { outline: var(--rule) solid var(--accent); outline-offset: 0; }
.btn--submit { width: 100%; min-height: 64px; margin-top: 0.25rem; }
.form__error {
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 1.0625rem;
}

/* ---------- Confirmation ---------- */
.confirm {
  border: var(--rule) solid var(--accent-dark);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.confirm__headline {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  text-transform: uppercase;
}
.confirm__body { font-weight: 500; font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem); line-height: 1.45; }

/* ---------- Footer microline ---------- */
.footer-line {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  color: var(--muted-dark);
}

/* ============================================================
   Scroll reveal (fade-up)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(var(--fade-dist));
  transition: opacity var(--fade-time) ease, transform var(--fade-time) ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Breakpoint — single desktop step (~720px+)
   ============================================================ */
@media (min-width: 720px) {
  .hero__body { justify-content: center; }
  .cta-row { flex-direction: row; }

  .problem   { grid-template-columns: 1fr 1.4fr; }
  .steps__list { flex-direction: row; }
  .step { flex-direction: column; gap: 0.875rem; flex: 1;
          border-top: var(--rule) solid var(--ink); padding-top: 1.125rem; }
  .proof     { grid-template-columns: auto 1fr; align-items: center; }
  .offer__card { grid-template-columns: 1fr auto; }
  .objections { grid-template-columns: 1fr 1.4fr; }
  .contact   { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact > * { margin-inline: 0; }
  .contact { max-width: var(--page-max); margin-inline: auto; }
}

/* Below the breakpoint the mobile CTA sits full-width */
@media (max-width: 719.98px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-note { text-align: center; }
  .btn { width: 100%; }
  .offer__cta { justify-self: stretch; }
}

/* ============================================================
   Reduced motion — kill all movement
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  * { scroll-behavior: auto !important; }
}
