/* AgentIQ ad landing page: one funnel, bold rounded style.
   Brand: AgentIQ navy and coral. Type: Lato. */
:root {
  --l-bg: #f4f6fa;
  --l-card: #ffffff;
  --l-ink: #141a32;
  --l-soft: #4a5068;
  --l-line: #e3e7ef;
  --l-coral: #e96656;
  --l-coral-dark: #b33f31;
  --l-coral-deep: #c9473a;
  --l-navy: #141a32;
  --l-green: #22704a;
  --l-cta: #5CB85C;
  --l-cta-hover: #4cae4c;
  --l-cta-ink: #141a32;
  --l-r-xl: 40px;
  --l-r-lg: 24px;
  --l-r-md: 16px;
  --l-wrap: 1180px;
  --l-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.landing { margin: 0; background: var(--l-bg); color: var(--l-ink); font-family: Lato, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.landing img { max-width: 100%; display: block; }
:where(.landing) :where(h1, h2, h3, p) { margin: 0; }
:where(.landing) :where(a) { color: inherit; }
.landing :focus-visible { outline: 3px solid var(--l-coral); outline-offset: 3px; }
.l-wrap { width: min(var(--l-wrap), 100% - 32px); margin-inline: auto; }
.l-accent { color: var(--l-coral); }
.l-skip { position: absolute; left: 16px; top: -60px; background: var(--l-navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 999px; }
.l-skip:focus { top: 16px; }

/* Buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--l-cta); color: var(--l-cta-ink); font: 700 15px/1 Lato, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(76, 174, 76, 0.55); transition: transform 200ms var(--l-ease), background 200ms ease, box-shadow 200ms ease; }
.l-btn:hover { background: var(--l-cta-hover); transform: translateY(-1px); color: var(--l-cta-ink); }
.l-btn:active { transform: translateY(1px); }
.l-btn--small { min-height: 42px; padding: 0 20px; font-size: 12px; }
.l-btn--ghost { background: transparent; color: var(--l-ink); box-shadow: none; border: 2px solid var(--l-line); }
.l-btn--ghost:hover { background: #fff; color: var(--l-ink); }

/* Header */
.l-head { position: sticky; top: 12px; z-index: 40; margin: 12px auto 0; width: min(var(--l-wrap), 100% - 24px); }
.l-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 22px; background: rgba(255, 255, 255, 0.94); border-radius: 999px; box-shadow: 0 8px 30px -12px rgba(20, 26, 50, 0.25); }
.l-head img { width: 118px; height: auto; }

/* Hero */
.l-hero { width: min(1880px, 100% - 24px); margin: 12px auto 0; border-radius: var(--l-r-xl); position: relative; overflow: hidden; color: #fff; min-height: min(880px, 100svh); display: grid; align-items: center; }
.l-hero__bg { position: absolute; inset: 0; }
.l-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: l-drift 30s ease-out both; }
@keyframes l-drift { from { transform: scale(1.1); } to { transform: scale(1); } }
.l-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 18, 36, 0.78) 0%, rgba(14, 18, 36, 0.62) 45%, rgba(14, 18, 36, 0.86) 100%); }
.l-hero__in { position: relative; z-index: 2; padding: 120px 24px 120px; text-align: center; max-width: 980px; margin: 0 auto; }
.l-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); font-size: 13px; font-weight: 700; }
.l-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6ee7a0; }
.l-hero h1 { margin-top: 22px; font-size: clamp(36px, 5.2vw, 66px); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.l-hero__lede { margin: 30px auto 0; max-width: 680px; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255, 255, 255, 0.92); }
.l-ticks { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; max-width: 860px; font-size: 15px; font-weight: 700; }
.l-ticks li { display: inline-flex; align-items: center; gap: 9px; }
.l-ticks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--l-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Funnel step one, inside the hero */
.l-start { margin: 34px auto 0; max-width: 640px; background: #fff; border-radius: 999px; padding: 8px; display: flex; gap: 8px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.55); position: relative; text-align: left; }
.l-start label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.l-start input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 0 22px; font: 500 17px Lato, sans-serif; color: var(--l-ink); background: transparent; }
.l-start input:focus { outline: none; }
.l-start .suggest { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 8px; background: #fff; color: var(--l-ink); border-radius: var(--l-r-md); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.45); }
.l-start .suggest[hidden] { display: none; }
.l-start .suggest li { padding: 11px 14px; border-radius: 10px; cursor: pointer; font-size: 16px; }
.l-start .suggest li small { color: var(--l-soft); margin-left: 6px; font-size: 13px; }
.l-start .suggest li[aria-selected="true"], .l-start .suggest li:hover { background: var(--l-bg); }
.l-start__hint { position: absolute; left: 0; right: 0; top: calc(100% + 12px); text-align: center; margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.8); min-height: 1.5em; }
.l-start__hint.is-error { color: #ffd2cb; font-weight: 700; }
.l-proof { position: absolute; right: 28px; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--l-ink); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5); }
.l-proof__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--l-coral-deep); display: grid; place-items: center; }
.l-proof__mark img { width: 26px; }
.l-proof small { display: block; font-size: 12px; color: var(--l-soft); line-height: 1.2; }
.l-proof b { font-size: 18px; line-height: 1.2; }

/* Agency strip */
.l-strip { background: #fff; border-radius: var(--l-r-xl); width: min(1880px, 100% - 24px); margin: 16px auto 0; padding: 26px 24px; text-align: center; }
.l-strip p { font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--l-soft); }
.l-strip ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 900; color: #5c6278; letter-spacing: -0.01em; }

/* Sections */
.l-sec { padding: clamp(80px, 9vw, 130px) 0; }
.l-sec--white { background: #fff; border-radius: var(--l-r-xl); width: min(1880px, 100% - 24px); margin: 16px auto 0; }
.l-kicker { font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--l-coral-deep); text-align: center; }
.l-sec h2 { margin: 14px auto 0; text-align: center; max-width: 820px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.l-intro { margin: 18px auto 0; text-align: center; max-width: 660px; color: var(--l-soft); }
.l-cta { text-align: center; margin-top: 44px; }
.l-note { text-align: center; max-width: 640px; margin: 36px auto 0; color: var(--l-soft); font-style: italic; }

/* Comparison */
.l-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 52px; }
.l-vs__card { background: var(--l-card); border: 1px solid var(--l-line); border-radius: var(--l-r-lg); padding: 30px; }
.l-sec--white .l-vs__card { background: var(--l-bg); border-color: transparent; }
.l-vs__card--win { background: var(--l-navy) !important; color: #fff; }
.l-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; background: #e7eaf2; color: var(--l-soft); }
.l-vs__card--win .l-tag { background: var(--l-coral-deep); color: #fff; }
.l-vs__card h3 { margin-top: 14px; font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.l-vs__card dl { margin: 22px 0 0; display: grid; gap: 14px; }
.l-vs__card dt { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--l-soft); }
.l-vs__card--win dt { color: rgba(255, 255, 255, 0.65); }
.l-vs__card dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.l-vs__card .l-big { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; }
.l-vs__card--win .l-big { color: #ffb4aa; }
.l-vs__mid { display: grid; place-items: center; font-weight: 900; color: var(--l-soft); }

.l-vs--3 { grid-template-columns: repeat(3, 1fr); }
.l-vs__card p { margin-top: 10px; }
.l-vs__card p.l-big { margin-top: 18px; font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.l-vs__card--win p:not(.l-big) { color: rgba(255,255,255,0.85); }

/* Steps */
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; counter-reset: step; }
.l-step { background: var(--l-card); border-radius: var(--l-r-lg); padding: 32px 28px; border: 1px solid var(--l-line); }
.l-sec--white .l-step { background: var(--l-bg); border-color: transparent; }
.l-step__num { width: 46px; height: 46px; border-radius: 14px; background: var(--l-coral-deep); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.l-step h3 { margin-top: 20px; font-size: 21px; font-weight: 900; letter-spacing: -0.01em; }
.l-step p { margin-top: 10px; color: var(--l-soft); font-size: 16px; }
.l-step small { display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: 999px; background: #e9f6ee; color: var(--l-green); font-weight: 700; font-size: 13px; }

/* Sample shortlist */
.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 52px; }
.l-split h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.l-split ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.l-split li { display: flex; gap: 12px; align-items: flex-start; }
.l-split li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--l-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.l-sheet { background: #fff; border-radius: var(--l-r-lg); box-shadow: 0 30px 70px -30px rgba(20, 26, 50, 0.45); overflow: hidden; border: 1px solid var(--l-line); }
.l-sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--l-line); }
.l-sheet__head b { display: block; font-size: 17px; }
.l-sheet__head small { color: var(--l-soft); font-size: 13px; }
.l-sheet__head img { width: 86px; }
.l-sheet table { width: 100%; border-collapse: collapse; font-size: 14px; }
.l-sheet th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--l-soft); padding: 10px 14px; font-weight: 900; }
.l-sheet td { padding: 12px 14px; border-top: 1px solid var(--l-line); }
.l-sheet td.n, .l-sheet th.n { text-align: right; }
.l-sheet .good { color: var(--l-green); font-weight: 700; }
.l-sheet .lock { display: inline-block; width: 10px; height: 12px; margin-right: 7px; background: var(--l-ink); clip-path: polygon(0 45%, 100% 45%, 100% 100%, 0 100%, 0 45%, 15% 45%, 15% 25%, 30% 5%, 70% 5%, 85% 25%, 85% 45%, 70% 45%, 70% 28%, 60% 18%, 40% 18%, 30% 28%, 30% 45%); }
.l-sheet__foot { padding: 12px 22px; background: var(--l-bg); font-size: 12px; color: var(--l-soft); }

/* Truths */
.l-truths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.l-truth { background: var(--l-card); border-radius: var(--l-r-lg); padding: 30px; border: 1px solid var(--l-line); display: flex; flex-direction: column; gap: 14px; }
.l-truth .l-tag { align-self: flex-start; background: #fde8e5; color: var(--l-coral-dark); }
.l-truth h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.25; }
.l-truth p { color: var(--l-soft); font-size: 16px; }

/* Reviews */
.l-score { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 22px; font-weight: 700; }
.l-stars { display: inline-flex; gap: 3px; }
.l-stars i { width: 18px; height: 18px; background: #f5a623; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.l-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.l-review { background: var(--l-bg); border-radius: var(--l-r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.l-review blockquote { margin: 0; font-size: 16px; }
.l-review footer { margin-top: auto; font-size: 14px; color: var(--l-soft); }
.l-review footer b { color: var(--l-ink); display: block; font-size: 15px; }
.l-verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; color: var(--l-green); }
.l-verified::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--l-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Why */
.l-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.l-why div { background: var(--l-card); border-radius: var(--l-r-lg); padding: 28px; border: 1px solid var(--l-line); }
.l-why h3 { font-size: 19px; font-weight: 900; }
.l-why p { margin-top: 8px; color: var(--l-soft); font-size: 16px; }

/* FAQ */
.l-faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.l-faq details { background: var(--l-bg); border-radius: var(--l-r-md); padding: 0 24px; }
.l-faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; color: var(--l-coral); transition: transform 200ms ease; }
.l-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.l-faq details p { padding: 0 0 22px; color: var(--l-soft); }

/* Final CTA */
.l-final { width: min(1880px, 100% - 24px); margin: 16px auto 0; border-radius: var(--l-r-xl); background: var(--l-navy); color: #fff; text-align: center; padding: clamp(80px, 9vw, 120px) 24px; }
.l-final .l-kicker { color: #ffb4aa; }
.l-final h2 { margin: 14px auto 0; max-width: 780px; font-size: clamp(32px, 4vw, 54px); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; }
.l-final p { margin: 18px auto 0; max-width: 620px; color: rgba(255, 255, 255, 0.82); }
.l-final ul { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.l-foot { width: min(var(--l-wrap), 100% - 32px); margin: 0 auto; padding: 40px 0 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--l-soft); }
.l-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.l-foot img { width: 110px; }

/* ===== The funnel (full screen, one question at a time) ===== */
.fn { position: fixed; inset: 0; z-index: 90; background: #fff; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 260ms ease, visibility 0s linear 260ms; }
.fn.is-open { opacity: 1; visibility: visible; transition: opacity 260ms ease, visibility 0s; }
.fn__bar { height: 5px; background: var(--l-line); }
.fn__bar span { display: block; height: 100%; width: 0; background: var(--l-coral); transition: width 400ms var(--l-ease); }
.fn__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.fn__top img { width: 104px; }
.fn__link { background: none; border: 0; font: 700 15px Lato, sans-serif; color: var(--l-soft); cursor: pointer; padding: 10px; border-radius: 10px; }
.fn__link:hover { color: var(--l-ink); background: var(--l-bg); }
.fn__link[hidden] { visibility: hidden; display: inline-block; }
.fn__body { flex: 1; overflow-y: auto; display: grid; place-items: start center; padding: 4vh 20px 40px; }
.fn__step { width: min(600px, 100%); text-align: center; animation: fn-in 380ms var(--l-ease) both; }
.fn__step[hidden] { display: none; }
@keyframes fn-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fn__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: #fde8e5; display: grid; place-items: center; }
.fn__icon svg { width: 34px; height: 34px; stroke: var(--l-coral-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn__count { font-size: 13px; font-weight: 700; color: var(--l-soft); }
.fn__step h2 { margin-top: 6px; font-size: clamp(26px, 3.2vw, 34px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.fn__step > p { margin-top: 10px; color: var(--l-soft); }
.fn__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; text-align: left; }
.fn__opts--one { grid-template-columns: 1fr; }
.fn__opt { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 2px solid var(--l-line); border-radius: var(--l-r-md); background: #fff; font: 700 16px Lato, sans-serif; color: var(--l-ink); cursor: pointer; text-align: left; transition: border-color 160ms ease, background 160ms ease, transform 160ms var(--l-ease); }
.fn__opt:hover { border-color: var(--l-coral); transform: translateY(-1px); }
.fn__opt[aria-pressed="true"] { border-color: var(--l-coral); background: #fff4f2; }
.fn__opt small { display: block; font-weight: 500; color: var(--l-soft); font-size: 13px; }
.fn__dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--l-line); }
.fn__opt[aria-pressed="true"] .fn__dot { border: 7px solid var(--l-coral); }
.fn__addr { margin-top: 10px; padding: 12px 16px; border-radius: 12px; background: var(--l-bg); font-weight: 700; font-size: 15px; }
.fn__fields { display: grid; gap: 14px; margin-top: 26px; text-align: left; }
.fn__fields label { font-size: 14px; font-weight: 700; }
.fn__fields input { width: 100%; height: 56px; margin-top: 6px; padding: 0 18px; border: 2px solid var(--l-line); border-radius: 14px; font: 500 17px Lato, sans-serif; color: var(--l-ink); }
.fn__fields input:focus { outline: none; border-color: var(--l-coral); }
.fn__fields input[aria-invalid="true"] { border-color: var(--l-coral-dark); background: #fff4f2; }
.fn__err { color: var(--l-coral-dark); font-weight: 700; font-size: 14px; min-height: 1.4em; margin-top: 12px; }
.fn__go { width: 100%; margin-top: 8px; }
.fn__small { margin-top: 14px; font-size: 13px; color: var(--l-soft); }
.fn__load { margin-top: 30px; }
.fn__load .fn__bar { height: 10px; border-radius: 999px; overflow: hidden; }
.fn__load b { display: block; margin-top: 18px; font-size: 44px; font-weight: 900; letter-spacing: -0.03em; }
.fn__foot { padding: 14px 20px 22px; text-align: center; font-size: 13px; color: var(--l-soft); background: var(--l-bg); }

@media (max-width: 960px) {
  .l-vs, .l-vs--3 { grid-template-columns: 1fr; }
  .l-vs__mid { padding: 4px 0; }
  .l-steps, .l-truths, .l-reviews, .l-why { grid-template-columns: 1fr; }
  .l-split { grid-template-columns: 1fr; gap: 32px; }
  .l-proof { position: relative; right: auto; bottom: auto; margin: 26px auto 0; width: max-content; }
  .l-hero__in { padding: 96px 18px 32px; }
  .l-hero { padding-bottom: 28px; }
}
@media (max-width: 600px) {
  body.landing { font-size: 16px; }
  .l-head__bar { padding-left: 16px; }
  .l-start { flex-direction: column; border-radius: 22px; }
  .l-start__hint { position: static; margin-top: 10px; color: var(--l-soft); }
  .l-start input { height: 54px; }
  .l-start .l-btn { width: 100%; }
  .l-ticks { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; text-align: left; }
  .fn__opts { grid-template-columns: 1fr; }
  .l-hero h1 { font-size: 32px; }
  .l-sec h2 { font-size: 27px; }
  .l-sheet table { font-size: 13px; }
  .l-sheet th:nth-child(5), .l-sheet td:nth-child(5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .l-hero__bg img { animation: none; }
  .fn__step { animation: none; }
}

.fn__step h2:focus { outline: none; }
.landing a.l-btn, .landing a.l-btn:hover { color: var(--l-cta-ink); }
.landing a.l-btn--ghost { color: var(--l-ink); }
.l-review { margin: 0; background: #fff; }
.l-kicker { color: var(--l-coral-dark); }
.l-final .l-kicker { color: #ffb4aa; }
@media (max-width: 600px) { .l-foot { justify-content: center; text-align: center; } .l-foot nav { justify-content: center; } }
.l-hero h1 .l-accent { color: #fff; }
.l-hero__lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; max-width: 800px; }

/* ===== Round 3 changes ===== */
/* Clean CTA: no glow under the button */
.l-btn, .l-btn:hover { box-shadow: none; }

/* Header: transparent over the hero at the top, Apple style glass once scrolled */
.l-head { position: fixed; top: 12px; left: 0; right: 0; margin: 0 auto; }
.l-head__bar { background: transparent; box-shadow: none; border: 1px solid transparent; padding-top: 14px; padding-bottom: 14px;
  transition: background 300ms ease, box-shadow 300ms ease, border-color 300ms ease, padding 300ms ease, backdrop-filter 300ms ease; }
.l-head__logo { position: relative; display: block; width: 118px; height: 29px; }
.l-head__logo img { position: absolute; inset: 0; transition: opacity 300ms ease; }
.l-logo-dark { opacity: 0; }
.l-head.is-scrolled .l-head__bar {
  padding-top: 10px; padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px -14px rgba(20, 26, 50, 0.35);
}
.l-head.is-scrolled .l-logo-light { opacity: 0; }
.l-head.is-scrolled .l-logo-dark { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .l-head.is-scrolled .l-head__bar { background: rgba(255, 255, 255, 0.96); }
}

/* Step cards: no number badge, bigger titles */
.l-step h3 { margin-top: 0; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.l-step p { font-size: 17px; }

/* Reviews: one row, sliding left to right */
.l-marquee { margin-top: 44px; overflow: hidden; outline-offset: -3px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.l-marquee__track { display: flex; width: max-content; animation: l-slide 70s linear infinite; }
.l-marquee__set { display: flex; gap: 20px; padding-right: 20px; }
.l-marquee .l-review { width: 400px; flex: none; }
.l-marquee:hover .l-marquee__track, .l-marquee:focus-within .l-marquee__track, .l-marquee:focus .l-marquee__track { animation-play-state: paused; }
@keyframes l-slide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 600px) { .l-marquee .l-review { width: 300px; } }
@media (prefers-reduced-motion: reduce) {
  .l-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .l-marquee__track { animation: none; }
  .l-marquee__set[aria-hidden="true"] { display: none; }
}
/* Header sits on the light page at the top; hero starts below it */
.l-hero { margin-top: 96px; }
.l-logo-light { display: none; }
.l-logo-dark, .l-head.is-scrolled .l-logo-dark { opacity: 1; }
@media (max-width: 600px) { .l-hero { margin-top: 80px; } }

/* ===== Thank-you screen ===== */
.fn__step--done { width: min(1040px, 100%); text-align: left; }
.ty__head { text-align: center; max-width: 680px; margin: 0 auto; }
.ty__check { width: 84px; height: 84px; margin: 0 auto 22px; }
.ty__check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ty__check circle { stroke: var(--l-cta); stroke-width: 3; fill: #eef8ee; stroke-dasharray: 151; stroke-dashoffset: 151; animation: ty-draw 700ms var(--l-ease) forwards; }
.ty__check path { stroke: #2e7d32; stroke-width: 4; stroke-dasharray: 36; stroke-dashoffset: 36; animation: ty-draw 450ms var(--l-ease) 550ms forwards; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
.fn__step--done h2 { font-size: clamp(28px, 3.4vw, 40px); }
.ty__lede { margin-top: 12px; color: var(--l-soft); font-size: 18px; }
.ty__addr { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: var(--l-bg); font-weight: 700; }
.ty__addr svg { width: 18px; height: 18px; fill: none; stroke: var(--l-coral-deep); stroke-width: 2; }
.ty__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin-top: 36px; }
.ty__panel { background: var(--l-bg); border-radius: var(--l-r-lg); padding: 26px; }
.ty__panel h3, .ty__wait h3 { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--l-soft); margin-bottom: 16px; }
.ty__agents { display: grid; gap: 12px; }
.ty-agent { background: #fff; border-radius: var(--l-r-md); padding: 18px; display: grid; gap: 12px; }
.ty-agent__top { display: flex; align-items: center; gap: 14px; }
.ty-agent__badge { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--l-navy); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.ty-agent__top b { display: block; font-size: 17px; line-height: 1.25; }
.ty-agent__top small { color: var(--l-soft); font-size: 13px; }
.ty-agent__chip { margin-left: auto; flex: none; padding: 5px 12px; border-radius: 999px; background: #e9f6ee; color: var(--l-green); font-size: 12px; font-weight: 900; }
.ty-agent__stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; font-size: 13px; color: var(--l-soft); }
.ty-agent__stats b { display: block; color: var(--l-ink); font-size: 18px; line-height: 1.2; }
.ty-bar { height: 6px; border-radius: 999px; background: var(--l-line); margin-top: 6px; overflow: hidden; }
.ty-bar span { display: block; height: 100%; border-radius: 999px; background: var(--l-cta); width: 0; transition: width 900ms var(--l-ease) 400ms; }
.ty__timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ty__timeline li { position: relative; padding: 0 0 22px 38px; }
.ty__timeline li:last-child { padding-bottom: 0; }
.ty__timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--l-line); background: #fff; box-sizing: border-box; }
.ty__timeline li::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: 2px; width: 2px; background: var(--l-line); }
.ty__timeline li:last-child::after { display: none; }
.ty__timeline li.is-done::before { background: var(--l-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23141a32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--l-cta); }
.ty__timeline li.is-done::after { background: var(--l-cta); }
.ty__timeline li.is-now::before { border-color: var(--l-cta); box-shadow: 0 0 0 5px rgba(92, 184, 92, 0.18); }
.ty__timeline b { display: block; font-size: 16px; }
.ty__timeline span { display: block; font-size: 14px; color: var(--l-soft); margin-top: 2px; }
.ty__wait { margin-top: 20px; }
.ty__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ty__cards a { display: block; padding: 20px; border-radius: var(--l-r-md); border: 2px solid var(--l-line); text-decoration: none; transition: border-color 160ms ease, transform 160ms var(--l-ease); }
.ty__cards a:hover { border-color: var(--l-cta); transform: translateY(-2px); }
.ty__cards b { display: block; font-size: 16px; }
.ty__cards b::after { content: " \2192"; color: var(--l-green); }
.ty__cards span { display: block; margin-top: 6px; font-size: 14px; color: var(--l-soft); }
.ty__note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--l-soft); }
@media (max-width: 760px) {
  .ty__grid, .ty__cards { grid-template-columns: 1fr; }
  .ty-agent__stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ty__check circle, .ty__check path { animation: none; stroke-dashoffset: 0; }
  .ty-bar span { transition: none; }
}
.ty-bar { display: block; }
.fn__step h2 { text-wrap: balance; }
.ty__head { max-width: 760px; }

/* ===== Phone refinements ===== */
.l-mbar { display: none; }
@media (max-width: 600px) {
  /* Header: logo only */
  .l-head__bar { justify-content: center; padding-left: 10px; }
  .l-head .l-btn { display: none; }

  /* Hero order: pill, title, lede, address, then the ticks */
  .l-hero__in { display: flex; flex-direction: column; align-items: center; padding: 72px 18px 28px; }
  .l-hero__in .l-pill { order: 1; }
  .l-hero__in h1 { order: 2; }
  .l-hero__in .l-hero__lede { order: 3; font-size: 18px; }
  .l-hero__in .l-start { order: 4; }
  .l-hero__in .l-ticks { order: 5; margin-top: 26px; }

  /* Address: a clean field and a full width button, no container */
  .l-start { width: 100%; margin-top: 26px; padding: 0; gap: 10px; background: none; box-shadow: none; border-radius: 0; }
  .l-start input { height: 58px; padding: 0 18px; border-radius: 16px; background: #fff; font-size: 17px; border: 2px solid transparent; }
  .l-start input:focus { border-color: var(--l-cta); }
  .l-start .l-btn { min-height: 56px; border-radius: 16px; font-size: 15px; }
  .l-start__hint { color: rgba(255, 255, 255, 0.82); text-align: center; }
  .l-start .suggest { left: 0; right: 0; top: 64px; }

  /* Sticky bottom call to action once the hero has gone */
  .l-mbar { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    transform: translateY(140%); transition: transform 320ms var(--l-ease); }
  .l-mbar.is-on { transform: none; }
  .l-mbar .l-btn { width: 100%; min-height: 56px; border-radius: 16px; }
  .l-foot { padding-bottom: 96px; }
}

/* Results and step cards: centred */
.l-vs__card, .l-step { text-align: center; }
.l-vs__card .l-tag, .l-step small { margin-left: auto; margin-right: auto; }

/* Reviews: each card sized to its own text, never wider than the phone */
.l-marquee__set { align-items: flex-start; }
.l-marquee .l-review { width: 380px; }
.l-review footer { margin-top: 6px; }
@media (max-width: 600px) { .l-marquee .l-review { width: min(300px, 78vw); padding: 22px; } }
@media (max-width: 600px) { .l-start input { flex: none; width: 100%; min-height: 58px; } }

/* ===== Hero v2: house scene on the right, text on the left, one continuous surface ===== */
:root { --l-bg: #f5f2ec; }
.l-hero--scene { width: 100%; margin: 0; border-radius: 0; background: var(--l-bg); color: var(--l-ink); min-height: min(860px, 100svh); align-items: center; }
.l-scene { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; }
.l-scene__house { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-composite: intersect;
  animation: l-scene-in 1.2s var(--l-ease) 0.15s both; }
.l-scene__agent { position: absolute; right: 7%; bottom: 0; height: 82%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  filter: drop-shadow(-18px 10px 30px rgba(20, 26, 50, 0.18)) saturate(1.02);
  animation: l-agent-in 1s var(--l-ease) 0.75s both; }
@keyframes l-scene-in { from { opacity: 0; transform: translateX(6%); } to { opacity: 1; transform: none; } }
@keyframes l-agent-in { from { opacity: 0; transform: translateY(16%); } to { opacity: 1; transform: none; } }

.l-hero--scene .l-hero__in { position: relative; z-index: 2; text-align: left; max-width: 640px; margin: 0; padding: 150px 0 110px;
  margin-left: max(24px, calc((100vw - 1280px) / 2)); display: flex; flex-direction: column; align-items: flex-start; }
.l-hero--scene .l-hero__in > * { animation: l-up 700ms var(--l-ease) both; }
.l-hero--scene .l-hero__in > :nth-child(2) { animation-delay: 80ms; }
.l-hero--scene .l-hero__in > :nth-child(3) { animation-delay: 160ms; }
.l-hero--scene .l-hero__in > :nth-child(4) { animation-delay: 240ms; }
.l-hero--scene .l-hero__in > :nth-child(5) { animation-delay: 320ms; }
.l-hero--scene .l-hero__in > :nth-child(6) { animation-delay: 400ms; }
@keyframes l-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.l-hero--scene .l-pill { background: #fff; border-color: var(--l-line); color: var(--l-ink); }
.l-hero--scene h1, .l-hero--scene h1 .l-accent { color: var(--l-ink); }
.l-hero--scene h1 { font-size: clamp(40px, 4.6vw, 64px); }
.l-hero--scene .l-hero__lede { margin: 22px 0 0; color: var(--l-soft); max-width: 560px; font-size: clamp(18px, 1.45vw, 21px); }
.l-hero--scene .l-ticks { justify-content: flex-start; margin: 24px 0 0; color: var(--l-ink); font-size: 15px; max-width: 600px; }
.l-hero--scene .l-start { margin: 30px 0 0; width: 100%; max-width: 600px; box-shadow: 0 18px 40px -20px rgba(20, 26, 50, 0.35); border: 1px solid var(--l-line); }
.l-hero--scene .l-start__hint { color: var(--l-soft); text-align: left; left: 22px; }
.l-hero--scene .l-proof { position: static; margin-top: 46px; box-shadow: none; background: #fff; border: 1px solid var(--l-line); }
.l-head:not(.is-scrolled) .l-head__bar { background: transparent; }

@media (max-width: 1100px) {
  .l-scene { left: 38%; }
  .l-hero--scene .l-hero__in { max-width: 520px; }
}
@media (max-width: 760px) {
  .l-hero--scene { display: flex; flex-direction: column; min-height: 0; }
  .l-hero--scene .l-hero__in { margin: 0; padding: 92px 18px 8px; max-width: none; width: 100%; align-items: stretch; }
  .l-hero--scene .l-pill { align-self: flex-start; }
  .l-scene { position: relative; left: auto; height: 380px; width: 100%; order: 2; }
  .l-scene__house { object-position: 70% center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 85%, transparent 100%); }
  .l-scene__agent { right: 4%; height: 88%; }
  .l-hero--scene .l-start { box-shadow: none; border: 0; }
  .l-hero--scene .l-start input { border-color: var(--l-line); }
  .l-hero--scene .l-start__hint { position: static; text-align: center; }
  .l-hero--scene .l-ticks { width: auto; }
  .l-hero--scene .l-proof { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .l-scene__house, .l-scene__agent, .l-hero--scene .l-hero__in > * { animation: none; }
}
/* Hero v2 sizing: house anchored bottom right beside the text, agent standing in the garden */
.l-scene { left: 0; }
.l-scene__house { inset: auto 0 0 auto; width: auto; height: 74%; max-width: none; object-fit: contain; }
.l-scene__agent { right: 5%; height: 62%; }
@media (max-width: 1280px) { .l-scene__house { height: 64%; } .l-scene__agent { height: 54%; right: 3%; } }
@media (max-width: 1100px) { .l-scene__house { height: 52%; } .l-scene__agent { height: 46%; } }
@media (max-width: 760px) {
  .l-scene__house { inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .l-scene__agent { height: 86%; right: 4%; }
}
/* Softer top edge on the house photo; coral headings readable on the cream background */
.l-scene__house {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 34%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 34%, #000 88%, transparent 100%);
}
.l-sec .l-accent { color: #d9503f; }
/* Hero v2: ticks below the address box at every width; left column closer to the edge */
.l-hero--scene .l-hero__in { margin-left: clamp(24px, 4.2vw, 96px); }
.l-hero--scene .l-hero__in .l-pill { order: 1; }
.l-hero--scene .l-hero__in h1 { order: 2; }
.l-hero--scene .l-hero__in .l-hero__lede { order: 3; }
.l-hero--scene .l-hero__in .l-start { order: 4; }
.l-hero--scene .l-hero__in .l-ticks { order: 5; margin-top: 52px; }
.l-hero--scene .l-hero__in .l-proof { order: 6; margin-top: 34px; }
@media (max-width: 760px) { .l-hero--scene .l-hero__in .l-ticks { margin-top: 24px; } .l-hero--scene .l-hero__in { margin-left: 0; } }
/* Header lines up with the hero column: logo directly above the pill */
.l-head { width: auto; margin: 0; left: calc(clamp(24px, 4.2vw, 96px) - 22px); right: calc(clamp(24px, 4.2vw, 96px) - 22px); }
@media (max-width: 760px) { .l-head { left: 12px; right: 12px; } }
/* Longer hero title: two balanced lines on desktop */
.l-hero--scene h1 { font-size: clamp(36px, 3.6vw, 54px); max-width: 760px; text-wrap: balance; }
.l-hero--scene .l-hero__in { max-width: 700px; }
.l-hero--scene .l-hero__lede { max-width: 600px; font-size: clamp(17px, 1.3vw, 20px); }
@media (max-width: 760px) { .l-hero--scene h1 { font-size: 31px; } }
/* Phones: pill, title and subtitle centred */
@media (max-width: 760px) {
  .l-hero--scene .l-pill { align-self: center; }
  .l-hero--scene h1, .l-hero--scene .l-hero__lede { text-align: center; margin-left: auto; margin-right: auto; }
}
/* CTA labels: bold, title case as written, no all caps */
.l-btn { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 17px; }
.l-btn--small { font-size: 15px; }
/* Address suggestions sit above the ticks and the proof chip */
.l-hero--scene .l-hero__in .l-start { position: relative; z-index: 30; }
.l-hero--scene .l-hero__in .l-ticks, .l-hero--scene .l-hero__in .l-proof { position: relative; z-index: 1; }
.l-start .suggest { z-index: 40; }
