/* Berger Web Co: the billboard. Concrete ground, asphalt ink, interstate green. */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 100%; }

:root {
  --ground: #eef0ee;
  --ground-2: #e2e5e2;
  --paper: #fafbfa;
  --ink: #121416;
  --ink-2: #3b4045;
  --mute: #5b6168;
  --rule: #c9cec9;
  --go: #0b6b3a;
  --go-hi: #0e7f46;
  --go-ink: #ffffff;
  --money: #85bb65;
  --money-hl: #c4e6ad;
  --money-wash: #e4efdc;
  --g: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 14px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-color: var(--ink-2) var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.55 var(--display); font-stretch: 100%; -webkit-font-smoothing: antialiased; caret-color: var(--go); }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
::selection { background: var(--go); color: #fff; }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; border-radius: 4px; }
h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip { position: fixed; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; font-stretch: 105%; font-size: 1rem; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease-out; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-go { background: var(--go); color: var(--go-ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line-inv { border-color: rgba(255,255,255,.6); color: #fff; }
.link { text-decoration: underline; text-underline-offset: .2em; color: var(--ink-2); font-size: .9375rem; }
@media (hover: hover) and (pointer: fine) {
  .btn-go:hover { background: var(--go-hi); }
  .btn-ink:hover { background: #2a2e33; }
  .btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .btn-line-inv:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .link:hover { color: var(--ink); }
}

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--g); color: #fff; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.nav .brand { font-weight: 800; font-stretch: 112%; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; padding: 10px 0; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: .9375rem; font-weight: 500; }
.nav nav a { text-decoration: none; padding: 10px 0; opacity: .85; }
.nav.solid { background: rgba(250,251,250,.94); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.nav.on-light { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav nav a:hover { opacity: 1; text-decoration: underline; } }
@media (max-width: 820px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- The billboard ---------- */
.board { position: relative; background: var(--ink); }
.face { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.slot { position: absolute; inset: 0; background: var(--c); color: var(--fg); visibility: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 4vw; padding: 88px var(--g) calc(var(--strip, 220px) + 28px); }
.slot.is-on, .slot.is-out { visibility: visible; }
.slot.is-on { z-index: 2; }
.slot.is-out { z-index: 1; }
.slot.is-in {
  -webkit-mask-image: linear-gradient(90deg, transparent calc(50% - var(--p) / 2), #000 calc(50% - var(--p) / 2), #000 calc(50% + var(--p) / 2), transparent calc(50% + var(--p) / 2));
          mask-image: linear-gradient(90deg, transparent calc(50% - var(--p) / 2), #000 calc(50% - var(--p) / 2), #000 calc(50% + var(--p) / 2), transparent calc(50% + var(--p) / 2));
  -webkit-mask-size: 10% 100%; mask-size: 10% 100%;
  animation: slats 1s var(--ease) both;
}
.slot.is-out .slot-copy, .slot.is-out .phone { animation: recede 1s var(--ease) both; }
@keyframes slats { from { --p: 0%; } to { --p: 101%; } }
@keyframes recede { to { transform: scale(.96); opacity: .4; } }
.slot.is-in .ad { animation: adIn .9s var(--ease) .12s both; }
.slot.is-in .phone { animation: phoneIn 1s var(--ease) .18s both; }
@keyframes adIn { from { transform: translateY(18px); } }
@keyframes phoneIn { from { transform: translateY(28px) rotate(-2deg); } }

.slot-media { position: absolute; inset: 0; z-index: 0; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 97%, #fff) 0 5%, color-mix(in srgb, var(--c) 97%, #000) 5% 10%); }
.slot > :not(.slot-media) { position: relative; z-index: 1; }
/* Clips show at their own 16:9 shape across the top (never zoomed past full width) and fade into the trade color below */
.slot-media video { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.slot.has-clip .slot-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 82%, transparent) 0%, color-mix(in srgb, var(--c) 30%, transparent) 60%, transparent), linear-gradient(0deg, color-mix(in srgb, var(--c) 92%, transparent), transparent 40%); }
.slot.has-clip { isolation: isolate; }

.slot-copy { color: var(--fg); position: relative; }
.ad { font-weight: 850; font-stretch: 68%; font-size: clamp(3rem, min(9.5vw, 12svh), 8.5rem); line-height: .92; letter-spacing: -.02em; max-width: 12ch; color: var(--fg); }

/* Concept phone: a working-looking mini site for the trade */
.phone { justify-self: center; position: relative; width: min(300px, 100%, calc((100svh - var(--strip, 220px) - 120px) * .486)); aspect-ratio: 9 / 18.5; border-radius: 42px; background: #0d0f11; padding: 11px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 10px 20px -10px rgba(0,0,0,.3); }
.ph-screen { height: 100%; border-radius: 32px; overflow: hidden; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.ph-name { padding: 34px 18px 12px; font-weight: 800; font-stretch: 90%; font-size: 13px; }
.ph-hero { margin: 0 10px; padding: 22px 14px 18px; border-radius: 18px; background: var(--c); color: var(--fg); min-height: 42%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.ph-hero { position: relative; overflow: hidden; }
.ph-hero::before { content: ""; position: absolute; inset: 10px 10px auto auto; width: 72%; aspect-ratio: 5 / 3; background: var(--soft); opacity: .55; -webkit-mask: var(--plate) center / contain no-repeat; mask: var(--plate) center / contain no-repeat; }
.ph-hero > * { position: relative; }
.ph-hero b { font-weight: 850; font-stretch: 70%; font-size: 27px; line-height: .98; letter-spacing: -.01em; }
.ph-hero span { opacity: .82; }
.ph-btns { display: flex; gap: 6px; padding: 12px 10px 4px; }
.ph-b { flex: 1; text-align: center; padding: 10px 6px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 650; font-size: 11px; }
.ph-b.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.ph-list { padding: 8px 18px; }
.ph-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--ground-2); font-weight: 600; }
.ph-list i { font-style: normal; font-weight: 400; color: var(--mute); }
.ph-tag { position: absolute; top: 18px; right: -10px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 99px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }

/* Offer strip and trade tabs */
.strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 var(--g) 22px; display: grid; gap: 22px; pointer-events: none; }
.strip > * { pointer-events: auto; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 32px; padding: 22px 24px; background: var(--paper); color: var(--ink); border-radius: var(--r); box-shadow: 0 18px 40px -22px rgba(0,0,0,.45); }
.offer h1 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 750; font-stretch: 100%; line-height: 1.15; letter-spacing: -.01em; }
.offer p { color: var(--ink-2); font-size: 1rem; }
.offer p b { color: var(--ink); font-variant-numeric: tabular-nums; }
.offer .offer-acts { grid-column: 2; grid-row: 1 / span 2; }
.offer-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.tabs { display: flex; gap: 6px; align-items: stretch; }
.tabs [role="tab"] { flex: 1; min-height: 44px; display: grid; align-content: center; gap: 8px; padding: 8px 2px 0; color: rgba(255,255,255,.72); font-size: .9375rem; font-weight: 600; text-align: left; transition: color .2s ease; }
.board[data-tone="dark"] .tabs [role="tab"] { color: rgba(18,20,22,.66); }
.tabs [role="tab"] i { display: block; height: 3px; border-radius: 3px; background: currentColor; opacity: .3; position: relative; overflow: hidden; }
.tabs [role="tab"] i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.tabs [role="tab"][aria-selected="true"] { color: #fff; }
.board[data-tone="dark"] .tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] i { opacity: 1; background: color-mix(in srgb, currentColor 30%, transparent); }
.tabs [role="tab"][aria-selected="true"] i::after { transform: scaleX(1); }
.board.running .tabs [role="tab"][aria-selected="true"] i::after { animation: dwell var(--dwell, 7s) linear both; }
.board.paused .tabs [role="tab"][aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes dwell { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.count { flex: 0 0 auto; align-self: end; padding: 0 4px 12px 10px; color: rgba(255,255,255,.72); font-stretch: 112%; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.count b { color: #fff; }
.board[data-tone="dark"] .count { color: rgba(18,20,22,.66); }
.board[data-tone="dark"] .count b { color: var(--ink); }
.pause { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); align-self: end; }
.board[data-tone="dark"] .pause { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(18,20,22,.45); }
.pause[hidden] { display: none; }
.pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pause .i-play { display: none; fill: currentColor; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause[aria-pressed="true"] .i-pause { display: none; }

/* The billboard pulls back into a framed panel as you scroll away */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .face { animation: pullback linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; transform-origin: 50% 0; }
    @keyframes pullback { to { transform: scale(.9); border-radius: 28px; filter: brightness(.7); } }
  }
}

@media (max-width: 900px) {
  .slot { grid-template-columns: 1fr; align-content: start; padding: 88px var(--g) calc(var(--strip, 220px) + 24px); gap: 26px; }
  .ad { font-size: clamp(2.5rem, min(12.5vw, 8svh), 4.5rem); }
  .phone { width: min(230px, 62vw); justify-self: end; margin-right: 4vw; }
  .ph-tag { right: auto; left: -14px; }
  .offer { grid-template-columns: 1fr; padding: 18px; }
  .offer .offer-acts { grid-column: 1; grid-row: auto; }
  .offer-acts .btn { flex: 1; }
  .tabs { overflow-x: auto; scrollbar-width: none; gap: 14px; margin: 0 calc(var(--g) * -1); padding: 0 var(--g); }
  .tabs [role="tab"] { flex: 0 0 auto; min-width: 92px; }
}
@media (max-width: 640px) {
  /* Phones: show the clip at its own 3:4 shape across the top and fade it into the trade color, instead of stretching it to fill the screen */
  .slot-media video { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 3 / 4; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .slot.has-clip .slot-media::after { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c) 20%, transparent) 45%, transparent 70%); }
}
@media (max-width: 640px) { .slot { align-content: start; } .phone { width: 300px; transform: scale(.6); transform-origin: top right; margin: 4px 0 0; } .slot.is-in .phone { animation: none; } .count { display: none; } }
@media (max-width: 900px) and (max-height: 700px) { .phone { display: none; } .slot { align-content: end; } }

/* ---------- Sections ---------- */
section:not(.board) { padding: clamp(88px, 12vw, 160px) var(--g); }
.sec-head, .test-head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 16px 6vw; align-items: end; }
.sec-head h2, .test-head h2, .close h2 { font-weight: 850; font-stretch: 70%; font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: .95; letter-spacing: -.02em; max-width: 14ch; }
.sec-head p, .test-head p { color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; }
@media (max-width: 820px) { .sec-head, .test-head { grid-template-columns: 1fr; } }

/* The 3-second test */
.test { background: var(--paper); }
.test-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 4vw; align-items: start; }
.checks { counter-reset: c; border-top: 1px solid var(--rule); }
.checks li { border-bottom: 1px solid var(--rule); }
.checks button { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding: 22px 6px; text-align: left; }
.checks button::before { content: ""; grid-row: 1 / span 2; width: 32px; height: 32px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-2); transition: background-color .2s ease, box-shadow .2s ease; background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks button[aria-pressed="true"]::before { background-color: var(--go); box-shadow: inset 0 0 0 1.5px var(--go); }
.checks b { font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.checks span { color: var(--mute); font-size: 1rem; margin-top: 4px; }
.checks button[aria-pressed="true"] b { color: var(--go); }
@media (hover: hover) and (pointer: fine) { .checks button:hover::before { box-shadow: inset 0 0 0 2px var(--ink); } }
.checks button:active::before { transform: scale(.92); }
.verdict { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 32px; display: grid; gap: 14px; }
.v-score { color: var(--money); display: flex; align-items: baseline; gap: 10px; font-weight: 850; font-stretch: 70%; font-size: 6rem; line-height: .85; font-variant-numeric: tabular-nums; }
.v-score small { font-size: 1.5rem; font-weight: 600; font-stretch: 100%; color: #b9bfc5; }
.v-line { font-size: 1.25rem; font-weight: 650; line-height: 1.3; }
.v-fix { color: #c9ced3; }
.v-fix b { color: #fff; }
.verdict .link { color: #c9ced3; }
.verdict .btn-ink { background: #fff; color: var(--ink); justify-self: start; }
@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } .verdict { position: static; } }

/* Pricing */
.tiers { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); padding: 32px 28px; box-shadow: 0 1px 2px rgba(18,20,22,.06), 0 12px 30px -18px rgba(18,20,22,.25); }
.tier h3 { font-weight: 800; font-stretch: 112%; font-size: 1.375rem; }
.t-for { color: var(--mute); margin-top: 6px; min-height: 3.1em; }
.t-price { display: flex; align-items: baseline; gap: 10px; margin-top: 26px; }
.t-amt { font-weight: 850; font-stretch: 70%; font-size: 4.25rem; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-unit { color: var(--mute); font-weight: 600; }
.t-mo { margin-top: 8px; font-size: 1.0625rem; color: var(--ink-2); }
.t-mo span { font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.cut { counter-reset: cut; margin: 26px 0 0; border-top: 1px solid var(--rule); }
.cut li { counter-increment: cut; display: grid; grid-template-columns: 28px 1fr; padding: 10px 0; border-bottom: 1px solid var(--ground-2); font-size: 1rem; }
.cut li::before { content: counter(cut); font-weight: 700; font-size: .8125rem; color: var(--go); padding-top: 3px; font-variant-numeric: tabular-nums; }
.t-mo-h { margin-top: 24px; font-weight: 700; font-size: .9375rem; }
.t-mo-list { margin: 8px 0 28px; color: var(--ink-2); font-size: .9375rem; }
.t-mo-list li { padding: 3px 0 3px 18px; position: relative; }
.t-mo-list li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.tier .btn { margin-top: auto; }
.tier-main { background: var(--ink); color: #fff; }
.tier-main .t-for, .tier-main .t-unit, .tier-main .t-mo, .tier-main .t-mo-list { color: #c4c9ce; }
.tier-main .t-mo span { color: #fff; }
.tier-main .cut { border-color: #3a3f44; }
.tier-main .cut li { border-color: #2a2e33; }
.tier-main .cut li::before { color: var(--money); }
.tier-main .t-amt { color: var(--money); }
.tier-main .t-mo-list li::before { background: #50565c; }
.fine { max-width: var(--max); margin: 28px auto 0; color: var(--mute); font-size: .9375rem; }
.fine b { color: var(--ink-2); font-weight: 650; }
.fine a { color: var(--go); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; } .t-for { min-height: 0; } }

/* How it works */
.how { background: var(--ground-2); }
.steps { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 24px 0 0; }
.steps li::before { content: counter(s); display: block; font-weight: 850; font-stretch: 70%; font-size: 3rem; line-height: 1; color: var(--go); margin-bottom: 18px; }
.steps h3 { font-weight: 750; font-size: 1.25rem; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Quote builder */
.quote-sec { background: var(--paper); }
.super { max-width: var(--max); margin: 0 auto; }
.progress { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 8px 22px; align-items: center; margin-bottom: 28px; font-size: .9375rem; color: var(--mute); }
.p-step.active { color: var(--ink); font-weight: 650; }
.progress-bar { grid-column: 1 / -1; height: 3px; background: var(--ground-2); border-radius: 3px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 33.333%; background: var(--go); transition: width .5s var(--ease); }
.super-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 4vw; align-items: start; }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.fstep.active { display: block; animation: stepIn .45s var(--ease) both; }
.fstep.back-anim { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-16px); } }
legend { font-weight: 800; font-stretch: 90%; font-size: clamp(1.5rem, 3vw, 2.125rem); line-height: 1.1; padding: 0; margin-bottom: 20px; }
.lbl { display: block; font-weight: 650; font-size: .9375rem; margin: 20px 0 8px; }
.opt { color: var(--mute); font-weight: 400; }
.super input:not([type="radio"]):not([type="checkbox"]), .super textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff; border: 1.5px solid var(--rule); border-radius: 10px; padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.super textarea { resize: vertical; min-height: 120px; }
.super input, .super textarea { caret-color: var(--go); }
.super input::placeholder, .super textarea::placeholder { color: #6d737a; }
.super input:focus-visible, .super textarea:focus-visible { outline: none; border-color: var(--go); box-shadow: 0 0 0 3px rgba(11,107,58,.22); }
.super .invalid { border-color: #b3261e !important; box-shadow: 0 0 0 3px rgba(179,38,30,.15) !important; }
.mini-total { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }
.mini-total b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mini-total a { display: inline-block; padding: 6px 2px; }
@media (min-width: 901px) { .mini-total { display: none; } }
.hint { margin-top: 22px; font-weight: 650; font-size: .9375rem; }
.examples { display: grid; gap: 8px; margin-top: 10px; }
.ex { text-align: left; padding: 13px 16px; border-radius: 10px; background: var(--ground); font-size: .9875rem; color: var(--ink-2); transition: background-color .15s ease, color .15s ease, transform .12s ease-out; }
.ex:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .ex:hover { background: var(--ground-2); color: var(--ink); } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--rule); font-size: .9375rem; font-weight: 550; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.pills input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.pills input:focus-visible + span { outline: 2px solid var(--go); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .pills label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink-2); } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.consent { margin-top: 20px; font-size: .875rem; color: var(--mute); }
.f-error { color: #b3261e; font-weight: 600; margin-top: 12px; min-height: 1px; }
.f-error a { color: inherit; }
.f-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.send.loading { opacity: .7; pointer-events: none; }
.fdone { padding: 20px 0; display: grid; gap: 12px; }
.fdone[hidden] { display: none; }
.fdone h3 { font-weight: 800; font-stretch: 90%; font-size: 2rem; }
.fdone a { color: var(--go); font-weight: 650; }
.check { width: 56px; height: 56px; fill: none; stroke: var(--go); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.quote { scrollbar-color: #50565c var(--ink); position: sticky; top: 92px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 28px; }
.q-head { display: flex; justify-content: space-between; color: #b9bfc5; font-size: .9375rem; }
.q-plan { color: var(--money); font-weight: 700; }
.q-total { color: var(--money); }
.q-total { display: flex; align-items: flex-start; margin-top: 12px; font-weight: 850; font-stretch: 70%; font-size: 5rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.q-cur { font-size: .45em; margin: .2em .08em 0 0; }
.odo { display: inline-flex; height: 1em; overflow: hidden; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; }
.odo .d > span { display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.odo .d > span > span { height: 1em; line-height: 1; }
.q-sub { color: #b9bfc5; margin-top: 8px; font-size: .9375rem; }
.q-sub b { color: #fff; font-variant-numeric: tabular-nums; }
.q-items { margin: 20px 0 6px; border-top: 1px solid #33383d; }
.q-items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #2a2e33; font-size: .9375rem; color: #d7dbdf; }
.q-items b { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; color: #fff; }
.q-items b.inc { color: var(--money); font-weight: 500; }
.q-hint { margin-top: 18px; color: #b9bfc5; font-size: .875rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: .875rem; color: #d7dbdf; box-shadow: inset 0 0 0 1px #464c52; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .12s ease-out; }
.chip.on { background: #fff; color: var(--ink); box-shadow: none; }
.chip:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .chip:not(.on):hover { box-shadow: inset 0 0 0 1px #9aa1a8; color: #fff; } }
.q-fine { margin-top: 18px; color: #9aa1a8; font-size: .8125rem; }
@media (max-width: 900px) { .super-grid { grid-template-columns: 1fr; } .quote { position: static; } }

/* FAQ */
.faq { max-width: var(--max); margin: 0 auto; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.1875rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--go); outline-offset: 4px; border-radius: 4px; }
.faq summary::after { content: ""; flex: 0 0 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 24px; max-width: 68ch; color: var(--ink-2); }
.faq a { color: var(--go); }

/* Close */
.close { background: var(--go); color: #fff; text-align: left; }
.close > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.close h2 { max-width: 12ch; margin-left: max(0px, calc((100% - var(--max)) / 2)); font-size: clamp(3rem, 9vw, 8rem); }
.close p { font-size: 1.25rem; margin-top: 20px; color: #dff3e7; }
.close .offer-acts { margin-top: 32px; }
.close .btn-go { background: #fff; color: var(--go); }
@media (hover: hover) and (pointer: fine) { .close .btn-go:hover { background: #e3f2ea; } }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 32px var(--g); background: var(--ink); color: #c4c9ce; font-size: .9375rem; }
.footer .brand { color: #fff; font-weight: 800; font-stretch: 112%; }
.f-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.f-links a { display: inline-block; padding: 12px 0; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .f-links a:hover { color: #fff; text-decoration: underline; } }
.footer p { width: 100%; }

/* Reveals: content is visible by default; JS arms the entrance */
.armed .rv { opacity: 0; transform: translateY(16px); }
.armed .rv.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

/* Legal pages */
.legal-page .nav { background: rgba(250,251,250,.94); color: var(--ink); box-shadow: 0 1px 0 var(--rule); }
.legal { max-width: 760px; margin: 0 auto; padding: 132px var(--g) 96px; }
.legal h1 { font-weight: 850; font-stretch: 70%; font-size: clamp(2.6rem, 6vw, 4rem); line-height: .95; margin-bottom: 12px; }
.legal h2 { font-weight: 750; font-size: 1.375rem; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin: 6px 0; }
.legal a:not(.btn) { color: var(--go); }
.legal-act { margin-top: 28px; }
.legal .updated { color: var(--mute); font-size: .9375rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .armed .rv { opacity: 1; transform: none; }
}

/* Plates: one authored drawing per trade */
[data-slot="charter"] { --plate: url("img/charter.svg"); }
[data-slot="barber"] { --plate: url("img/barber.svg"); }
[data-slot="auto"] { --plate: url("img/auto.svg"); }
[data-slot="restaurant"] { --plate: url("img/restaurant.svg"); }
[data-slot="salon"] { --plate: url("img/salon.svg"); }
[data-slot="contractor"] { --plate: url("img/contractor.svg"); }

/* Slat-edged section joins: the previous section's louvres hang into the next */
.test, .pricing, .how, .quote-sec, .faq-sec, .close { position: relative; }
.test::before, .pricing::before, .how::before, .quote-sec::before, .faq-sec::before, .close::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--prev);
  -webkit-mask: linear-gradient(90deg, #000 0 50%, transparent 50%) 0 0 / 10% 100% repeat-x;
          mask: linear-gradient(90deg, #000 0 50%, transparent 50%) 0 0 / 10% 100% repeat-x;
}
.test { --prev: var(--bb, var(--ink)); }
.pricing { --prev: var(--paper); }
.how { --prev: var(--ground); }
.quote-sec { --prev: var(--ground-2); }
.faq-sec { --prev: var(--paper); }
.close { --prev: var(--ground); }

/* Money green: highlighter swipes and the pricing wash */
.pricing { background: var(--money-wash); }
.how { --prev: var(--money-wash); }
.hl { background: linear-gradient(var(--money-hl), var(--money-hl)) 0 86% / 100% .34em no-repeat; padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.close .hl { background-image: linear-gradient(var(--money), var(--money)); color: var(--ink); background-size: 100% .9em; background-position: 0 70%; }
.cut li::before { color: #3d7a2c; }

/* Scroll-driven motion: each piece is scrubbed by its own position in the viewport */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hl { animation: swipe linear both; animation-timeline: view(); animation-range: entry 60% cover 40%; }
    @keyframes swipe { from { background-size: 0% .34em; } }
    .close .hl { animation-name: swipeTall; }
    @keyframes swipeTall { from { background-size: 0% .9em; } }

    /* How it works: a green rail fills across the steps as you scroll through them */
    .steps { position: relative; }
    .steps::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--go); transform-origin: left; animation: rail linear both; animation-timeline: view(); animation-range: entry 70% cover 55%; }
    @keyframes rail { from { transform: scaleX(0); } }

    /* Pricing: the three tiers fan up from the wash, staggered by scroll */
    .tiers .tier { animation: tierUp linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .tiers .tier:nth-child(2) { animation-range: entry 10% entry 100%; }
    .tiers .tier:nth-child(3) { animation-range: entry 20% cover 30%; }
    @keyframes tierUp { from { transform: translateY(70px) scale(.97); opacity: .3; } }
    .armed .tiers .tier.rv { opacity: 1; transform: none; transition: none; }

    /* Closing billboard: the headline grows to full size as it arrives */
    .close h2 { transform-origin: left bottom; animation: arrive linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes arrive { from { transform: scale(.82); opacity: .4; } }
  }
}

/* Phones: one clean first screen. Headline over the clip, a compact offer, buttons side by side */
.narrow-only { display: none; }
@media (max-width: 640px) {
  .wide-only { display: none; }
  .narrow-only { display: inline; }
  .phone { display: none; }
  .offer { gap: 4px; padding: 14px 16px; }
  .offer h1 { font-size: 1.0625rem; }
  .offer p { font-size: .9375rem; }
  .offer .offer-acts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 8px; }
  .offer-acts .btn { min-height: 46px; padding: 0 12px; }
  .strip { gap: 14px; padding-bottom: 14px; }
}
