/* Tallyo — budgeting and tax app for freelancers. Built with Plumo: white page, one deep green ink for headings and
   buttons, Familjen Grotesk 600 set tight, the chip over every head, four soft pastel fields (mint, sky, lilac, sand),
   cream bands inset 32px with 24px corners, ink pills with an inner glint, the product shown as kit screens.
   Tokens only; section classes are tl-/th-/tp- so the skill's own sections stay untouched. */

:root {
  /* one deep green ink: headings, buttons, numbers */
  --ink: #1B4D3E;
  --accent: #1B4D3E;
  --accent-hover: #123E31;
  --btn-glint: #8ED3B3;
  /* four pastel fields for a calm money app (tokens keep the kit's names): mint · sky · lilac · sand */
  --lime: #CDEEDB;      /* mint — first data colour */
  --mint: #D4E8F6;      /* sky */
  --lilac: #E3E0F7;     /* lilac */
  --pink: #F2E5CE;      /* sand */
  --peach: #F7EEDF;     /* light sand */
  --violet: #B9E1CB;    /* deeper mint tile */
  --lilac-2: #9C96DE;   /* line colour */
  --mint-2: #86CDA8; --sky-2: #8DBFE3; --lilac-3: #A9A2E6; --sand-2: #DDBE8C; /* fills on their own field */
  --glide: rgba(27, 77, 62, .07);
  --grad-chip: linear-gradient(90deg, #E3E0F7 0%, #D4E8F6 32%, #CDEEDB 64%, #F2E5CE 100%);
  --shadow-1: 0 4px 16px rgba(27, 77, 62, .06);
  --shadow-2: 0 24px 60px -24px rgba(27, 77, 62, .24);
}

.tly-logo { width: 34px; height: 34px; flex: none; }
.tly .logo { gap: 10px; }

/* ════ HERO (hero-d re-built): inset photo card, pill header, ink copy on the sand, phone rising out of the edge ════ */
.th { position: relative; width: min(var(--band), 100% - 2 * var(--gutter)); height: 1000px; margin: 16px auto 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }
.th__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.th__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.th__fade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(255,255,255,.5) 0%, rgba(255,255,255,.18) 26%, rgba(255,255,255,0) 44%); }
.th__head { position: absolute; z-index: 20; top: 24px; left: 24px; right: 24px; }
.th__head .mnav { position: absolute; left: 0; right: 0; }
.th__copy { position: absolute; left: 64px; bottom: 152px; width: 580px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.th__title { font-size: 72px; letter-spacing: -3px; line-height: 1.02; max-width: 580px; }
.th__lead { max-width: 500px; font: 400 18px/1.7 var(--font); font-variation-settings: "opsz" 32; color: var(--ink); }
.th__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 12px; }
.th__link { display: inline-flex; align-items: center; gap: 8px; font: 500 16px/1.7 var(--font-display); color: var(--ink); transition: opacity .3s var(--ease); }
.th__link:hover { opacity: .7; }
.th__link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.th__logos { position: absolute; left: 64px; bottom: 0; width: 680px; height: 96px; display: flex; align-items: center; gap: 40px; border-top: 1px solid rgba(27, 77, 62, .18); }
.th__logos > p { flex: none; max-width: 160px; font: 500 15px/1.5 var(--font-display); color: var(--ink); }
.th__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex: 1; }
.th__row img { height: 24px; width: auto; }

/* the phone + invoice-paid card (one mock root) */
.th__stage { position: absolute; right: 104px; top: 190px; bottom: 0; width: 600px; }
.tp-phone { position: absolute; right: 0; top: 0; width: 360px; height: 900px; padding: 10px; border-radius: 52px; background: #fff; box-shadow: 0 40px 90px -40px rgba(27, 77, 62, .5); }
.tp-screen { position: relative; height: 100%; padding: 46px 16px 16px; border-radius: 42px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.tp-notch { position: absolute; left: 50%; top: 12px; width: 96px; height: 24px; border-radius: 20px; transform: translateX(-50%); background: var(--ink); }
.tp-top { display: flex; align-items: center; gap: 10px; padding: 0 4px 4px; }
.tp-ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.tp-hi { flex: 1; font: 600 17px/1.2 var(--font-display); letter-spacing: -.3px; }
.tp-bell { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; }
.tp-card { background: #fff; border-radius: 22px; padding: 18px; }
.tp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tp-label { font: 500 14px/1.3 var(--font-display); color: var(--ink); }
.tp-seg { font-size: 12px; }
.tp-big { margin: 14px 0 16px; font: 600 50px/1 var(--font-display); letter-spacing: -2px; }
.tp-split { display: flex; gap: 4px; height: 12px; }
.tp-split i { display: block; border-radius: 6px; }
.tp-split .s1 { flex: 48; background: var(--lime); } .tp-split .s2 { flex: 39; background: var(--mint); } .tp-split .s3 { flex: 13; background: var(--pink); }
.tp-legend { display: flex; gap: 16px; margin-top: 10px; }
.tp-key { display: flex; align-items: center; gap: 6px; font: 400 12px/1.3 var(--font); color: var(--text-2); }
.tp-key::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.k1 { --c: var(--mint-2); } .k2 { --c: var(--sky-2); } .k3 { --c: var(--sand-2); }
.tp-pots { display: grid; gap: 12px; }
.tp-pot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--paper); }
.tp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.d1 { background: var(--sky-2); } .d2 { background: var(--sand-2); } .d3 { background: var(--lilac-3); }
.tp-name { flex: 1; font: 400 14px/1.3 var(--font-display); color: var(--ink); }
.tp-amt { font: 600 16px/1 var(--font-display); letter-spacing: -.3px; }
.tp-week .tp-row { margin-bottom: 14px; }
.tp-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.tp-bars i { flex: 1; height: max(6px, var(--v)); border-radius: 6px 6px 3px 3px; background: var(--paper); }
.tp-bars i { background: var(--lime); }
.tp-bars i.is-on { background: var(--mint-2); }
.tp-paid { position: absolute; left: -24px; top: 56px; width: 290px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-2); }
.tp-ok { width: 36px; height: 36px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; flex: none; }
.tp-ok svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tp-paid .tp-row { justify-content: flex-start; }
.tp-paid__t { font: 600 16px/1.25 var(--font-display); }
.tp-paid__t small { display: block; font: 400 13px/1.4 var(--font); color: var(--text-2); }
.tp-paid__num { margin: 16px 0 14px; font: 600 36px/1 var(--font-display); letter-spacing: -1.2px; }
.tp-paid__to { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--paper); }
.tp-paid__amt { font: 600 17px/1 var(--font-display); }
.tp-pill { padding: 3px 8px; border-radius: 8px; background: var(--mint); font: 500 12px/1.3 var(--font-display); color: var(--ink); }

/* ════ 1 · INVOICE SPLIT ════ */
.tl-split { display: grid; grid-template-columns: 640px 1fr; gap: 96px; align-items: center; }
.tl-split__visual { position: relative; height: 580px; border-radius: var(--r-lg); background: var(--paper); }
.tl-receipt { position: absolute; inset: 0; }
.tl-receipt__card { position: absolute; left: 64px; top: 64px; width: 470px; padding: 28px; border-radius: 20px; background: #fff; }
.tl-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--lilac); display: grid; place-items: center; font: 600 15px/1 var(--font-display); color: var(--ink); flex: none; }
.tl-t { font: 600 17px/1.25 var(--font-display); letter-spacing: -.2px; color: var(--ink); }
.tl-t small { display: block; font: 400 13px/1.4 var(--font); color: var(--text-2); letter-spacing: 0; }
.tl-receipt .mk-pill { font-size: 13px; }
.tl-receipt__big { margin: 22px 0 18px; font: 600 48px/1 var(--font-display); letter-spacing: -1.8px; }
.tl-bar { display: flex; gap: 4px; height: 14px; }
.tl-bar i { display: block; width: var(--w); border-radius: 7px; }
.tl-lines { display: grid; gap: 6px; margin-top: 20px; }
.tl-line { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--paper); }
.tl-sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.tl-n { flex: 1; font: 400 15px/1.3 var(--font-display); color: var(--ink); }
.tl-pc { font: 400 14px/1.3 var(--font); color: var(--text-2); }
.tl-v { min-width: 68px; text-align: right; font: 600 16px/1 var(--font-display); }
.tl-line--keep { background: var(--lime); }
.tl-toast { position: absolute; right: 40px; bottom: 56px; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-2); }
.tl-toast p { font: 500 15px/1.3 var(--font-display); color: var(--ink); }
.tl-split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tl-split__copy .t-lead { max-width: 520px; color: var(--text-2); }
.tl-facts { display: grid; gap: 20px; margin-top: 24px; }
.tl-facts li { display: flex; gap: 16px; align-items: flex-start; }
.tl-facts svg { width: 48px; height: 48px; padding: 12px; border-radius: var(--r-sm); background: var(--paper); flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-facts p { color: var(--text-2); max-width: 420px; }
.tl-facts b { display: block; font: 500 18px/1.5 var(--font-display); color: var(--ink); }

/* ════ 2 · FOUR POTS ════ */
.tl-pots { width: min(var(--band), 100% - 2 * var(--gutter)); margin-inline: auto; }
.tl-pots__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; margin-top: var(--head-gap); }
.tl-pot { display: flex; flex-direction: column; gap: 36px; min-height: 500px; padding: 24px 24px 32px; border-radius: var(--r-step); }
.tl-pot:nth-child(even) { margin-top: 64px; }
.tl-pot--mint { background: var(--lime); } .tl-pot--sky { background: var(--mint); } .tl-pot--lilac { background: var(--lilac); } .tl-pot--sand { background: var(--pink); }
.tl-mini { padding: 20px; border-radius: 20px; background: #fff; }
.tl-mini__l { font: 500 15px/1.3 var(--font-display); color: var(--ink); }
.tl-mini__d { font: 400 13px/1.4 var(--font); color: var(--text-2); }
.tl-mini__d.mk-up { color: var(--success-ink); font-weight: 500; }
.tl-mini .mk-pill { font-size: 12px; }
.tl-mini__num { margin: 18px 0 14px; font: 600 38px/1 var(--font-display); letter-spacing: -1.4px; }
.tl-prog { display: block; height: 10px; margin-bottom: 10px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.tl-prog i { display: block; width: var(--p); height: 100%; border-radius: 6px; background: var(--f, var(--mint-2)); }
.tl-pot--sky .tl-prog i { --f: var(--sky-2); } .tl-pot--lilac .tl-prog i { --f: var(--lilac-3); } .tl-pot--sand .tl-prog i { --f: var(--sand-2); }
.tl-pot__copy { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 8px; }
.tl-pot__copy .icon-tile { width: 48px; height: 48px; }
.tl-pot__t { font: 500 22px/1.4 var(--font-display); letter-spacing: -.4px; }
.tl-pot__copy p { color: var(--ink); opacity: .82; }

/* ════ 3 · RATE CHECK (sky band) ════ */
.tl-rate__band { width: min(var(--band), 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 620px; display: grid; grid-template-columns: 520px 1fr; align-items: center; gap: 80px; padding: 72px 72px 72px 80px; border-radius: var(--r-lg); background: var(--mint); }
.tl-rate__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.tl-rate__copy h2 { max-width: 520px; }
.tl-rate__copy .t-body { max-width: 450px; margin-top: 16px; color: var(--ink); }
.tl-rate__visual { position: relative; height: 470px; }
.tl-calc { position: absolute; inset: 0; }
.tl-calc__card { position: absolute; left: 40px; top: 0; width: 440px; padding: 28px; border-radius: 20px; background: #fff; }
.tl-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.tl-field__l { font: 400 14px/1.3 var(--font); color: var(--text-2); }
.tl-field__v { font: 600 22px/1 var(--font-display); letter-spacing: -.5px; }
.tl-slider { grid-column: 1 / -1; position: relative; display: block; height: 6px; border-radius: 3px; background: #fff; }
.tl-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); border-radius: 3px; background: var(--sky-2); }
.tl-slider i::after { content: ""; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translateY(-50%); }
.tl-sum { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line-2); }
.tl-sum__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px; }
.tl-sum__row p { font: 400 15px/1.3 var(--font-display); color: var(--ink); }
.tl-sum__row b { font: 600 18px/1 var(--font-display); }
.tl-neg { color: var(--danger-ink); }
.tl-sum__row--keep { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: var(--lime); }
.tl-keep { font-size: 30px !important; letter-spacing: -.8px; }
.tl-target { position: absolute; right: 0; bottom: 8px; display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-2); }
.tl-target p { font: 600 16px/1.25 var(--font-display); color: var(--ink); }
.tl-target small { display: block; font: 400 13px/1.4 var(--font); color: var(--text-2); }

/* ════ 4 · SELF ASSESSMENT RACE ════ */
.tl-race__head { display: grid; grid-template-columns: 1fr 460px; align-items: end; gap: 80px; }
.tl-race__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tl-race__head h2 { max-width: 700px; }
.tl-race__head .t-lead { color: var(--text-2); }
.tl-lanes { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 24px; margin-top: var(--head-gap); padding: 32px; border-radius: var(--r-lg); background: var(--paper); }
.tl-lane { grid-column: 1 / 3; padding: 28px 28px 24px; border-radius: 20px; background: #fff; }
.tl-lane--on { grid-row: 2; }
.tl-lane__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tl-lane__t { font: 500 17px/1.3 var(--font-display); color: var(--ink); }
.tl-lane__time { font: 600 32px/1 var(--font-display); letter-spacing: -1px; }
.tl-lane:not(.tl-lane--on) .tl-lane__time { color: var(--text-2); }
.tl-track { position: relative; height: 14px; margin-top: 22px; border-radius: 8px; background: var(--paper); }
.tl-track i { position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a)); border-radius: 8px; background: var(--pink); }
.tl-lane--on .tl-track i { background: var(--mint-2); }
.tl-stops { position: relative; height: 26px; margin-top: 12px; }
.tl-stops li { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); white-space: nowrap; font: 400 13px/1.6 var(--font); color: var(--text-2); }
.tl-stops li:first-child { transform: none; }
.tl-due { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: 20px; background: var(--lime); }
.tl-due__l { font: 500 16px/1.3 var(--font-display); color: var(--ink); }
.tl-due__n { margin: 14px 0 12px; font: 600 48px/1 var(--font-display); letter-spacing: -1.6px; }
.tl-due__s { font: 400 15px/1.5 var(--font); color: var(--ink); }
.tl-due__ok { display: inline-block; margin-right: 4px; padding: 2px 10px; border-radius: 8px; background: #fff; font: 500 14px/1.5 var(--font-display); color: var(--success-ink); }

/* ════ 5 · NUMBERS (proof-b) ════ */
.tl-metrics__h { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* ════ 6 · SELAM'S STORY ════ */
.tl-story { padding: var(--band-pad) 40px; }
.tl-story__grid { display: grid; grid-template-columns: 1fr 1fr 420px; grid-template-rows: auto auto; gap: 24px; margin-top: var(--head-gap); }
.tl-profile { grid-column: 3; grid-row: 1 / 3; position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; }
.tl-profile > img { width: 100%; flex: 1; min-height: 420px; object-fit: cover; object-position: 50% 30%; }
.tl-profile__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.tl-profile__n { font: 500 20px/1.3 var(--font-display); color: var(--ink); }
.tl-profile__n small { display: block; margin-top: 2px; font: 400 14px/1.4 var(--font); color: var(--text-2); }
.tl-profile__tag { padding: 4px 12px; border-radius: 20px; background: var(--grad-chip); font: 500 14px/1.6 var(--font-display); color: var(--ink); white-space: nowrap; }
.tl-quote { grid-column: 1 / 3; grid-row: 1; display: flex; flex-direction: column; padding: 40px; border-radius: var(--r-lg); background: #fff; }
.tl-quote__p { font: 500 26px/1.45 var(--font-display); letter-spacing: -.5px; color: var(--ink); }
.tl-quote__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.tl-quote__src { font-size: 14px; color: var(--text-2); }
.tl-quote .stars { text-align: left; }
.tl-stat { grid-row: 2; min-height: 300px; border-radius: var(--r-lg); background: #fff; position: relative; overflow: hidden; }
.tl-ba { grid-row: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: #fff; }
.tl-ba__t { margin-bottom: auto; font: 500 20px/1.4 var(--font-display); color: var(--ink); }
.tl-ba__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.tl-ba__row--on { background: var(--lime); }
.tl-ba__l { font: 400 15px/1.3 var(--font-display); color: var(--ink); }
.tl-ba__v { font: 600 22px/1 var(--font-display); letter-spacing: -.5px; }

.tl-mq { grid-row: 3; display: grid; grid-template-columns: 160px 1fr; grid-template-rows: 1fr auto; gap: 12px 20px; align-items: start; padding: 24px; border-radius: var(--r-lg); background: #fff; }
.tl-mq > img { grid-row: 1 / 3; width: 160px; height: 184px; border-radius: 16px; object-fit: cover; object-position: 50% 22%; }
.tl-mq__p { font: 500 17px/1.5 var(--font-display); letter-spacing: -.2px; color: var(--ink); }
.tl-mq__who { align-self: end; font: 500 15px/1.4 var(--font-display); color: var(--ink); }
.tl-mq__who small { display: block; font: 400 13px/1.5 var(--font); color: var(--text-2); }

/* ════ 7 · ONE PLAN ════ */
.tl-price { display: grid; grid-template-columns: 640px 1fr; gap: 96px; align-items: center; }
.tl-price__stage { order: -1; }
.tl-price__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tl-price__copy .t-lead { max-width: 520px; color: var(--text-2); }
.tl-interest { width: 100%; max-width: 520px; margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--paper); }
.tl-aer { font-size: 12px; background: #fff; }
.tl-interest__num { margin: 16px 0 14px; font: 600 40px/1 var(--font-display); letter-spacing: -1.4px; }
.tl-interest__num small { margin-left: 8px; font: 400 14px/1 var(--font); letter-spacing: 0; color: var(--text-2); }
.tl-ibars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.tl-ibars i { flex: 1; height: var(--v); border-radius: 6px 6px 2px 2px; background: var(--lime); }
.tl-ibars i:last-child { background: var(--mint-2); }
.tl-price__stage { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 48px; }
.tl-price__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.tl-price__stage { isolation: isolate; }
.tl-plan { border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2); }
.tl-plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 40px 32px 32px; border-bottom: 1px solid var(--line-2); }
.tl-plan__t { font: 500 24px/1.6 var(--font-display); letter-spacing: -.5px; }
.tl-plan__head p { margin-top: 4px; color: var(--text-2); }
.tl-plan__body { padding: 32px; border-bottom: 1px solid var(--line-2); }
.tl-plan__body .ticks { margin-top: 0; }
.tl-plan__foot { padding: 24px 32px 28px; text-align: center; }
.tl-plan__foot .btn { width: 100%; }
.tl-plan__foot p { margin-top: 14px; font-size: 14px; color: var(--text-2); }

/* ════ CTA C / FOOTER D ════ */
.tl-cta .v-ctac__copy .t-lead { margin-top: 0; }
.tl-foot { margin-top: var(--section); padding-bottom: 40px; }

/* ════ responsive ════ */
@media (max-width: 1360px) {
  .th__copy { left: 48px; width: 520px; }
  .th__title { font-size: 64px; letter-spacing: -2.5px; }
  .th__logos { left: 48px; width: 560px; }
  .th__logos .th__row img:nth-child(4) { display: none; }
  .th__stage { right: 48px; width: 600px; }
  .tl-split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .tl-receipt__card { left: 40px; width: calc(100% - 80px); max-width: 470px; }
  .tl-pots__grid { grid-template-columns: repeat(2, 1fr); }
  .tl-pot:nth-child(even) { margin-top: 0; }
  .tl-pot { min-height: 0; }
  .tl-rate__band { grid-template-columns: 1fr 1fr; gap: 48px; padding: 64px 48px; }
  .tl-calc__card { left: 0; width: 100%; max-width: 440px; }
  .tl-story__grid { grid-template-columns: 1fr 1fr 340px; }
  .tl-price { grid-template-columns: 1fr 1fr; gap: 56px; }
  .tl-price__stage { padding: 32px; }
}
@media (max-width: 1100px) {
  .th { height: auto; padding: 24px 0 0; }
  .th__photo { transform: scaleY(-1); }
  .th__fade { background: linear-gradient(to bottom, rgba(255,255,255,.5) 0%, rgba(255,255,255,.3) 34%, rgba(255,255,255,.22) 52%, rgba(255,255,255,0) 66%); }
  .th__head { position: relative; top: auto; left: auto; right: auto; margin: 0 24px; }
  .th__copy { position: relative; left: auto; bottom: auto; width: auto; max-width: 640px; margin: 72px 40px 0; }
  .th__logos { position: relative; left: auto; bottom: auto; width: auto; max-width: 640px; height: auto; margin: 48px 40px 0; padding: 22px 0; }
  .th__logos .th__row img:nth-child(4) { display: block; }
  .th__stage { position: relative; right: auto; top: auto; bottom: auto; width: auto; height: 620px; margin: 40px 24px 0; }
  .tp-phone { left: 50%; right: auto; margin-left: -20px; height: 760px; }
  .tp-paid { left: auto; right: calc(50% - 4px); top: 150px; }
}
@media (max-width: 991px) {
  .v-pill { grid-template-columns: 1fr auto; padding-right: 12px; }
  .tl-split { grid-template-columns: 1fr; gap: 48px; }
  .tl-split__visual { order: 2; }
  .tl-race__head { grid-template-columns: 1fr; gap: 20px; }
  .tl-lanes { grid-template-columns: 1fr; padding: 20px; }
  .tl-lane, .tl-lane--on, .tl-due { grid-column: auto; grid-row: auto; }
  .tl-rate__band { grid-template-columns: 1fr; padding: 56px 32px; }
  .tl-rate__visual { height: 500px; }
  .tl-story { padding-inline: 24px; }
  .tl-story__grid { grid-template-columns: 1fr 1fr; }
  .tl-profile { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .tl-profile > img { min-height: 380px; height: 100%; }
  .tl-profile__cap { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .tl-quote { grid-column: 1 / -1; grid-row: auto; }
  .tl-stat, .tl-ba, .tl-mq { grid-row: auto; }
  .tl-mq:last-child { grid-column: 1 / -1; }
  .tl-price { grid-template-columns: 1fr; gap: 48px; }
  .tl-price__stage { max-width: 640px; order: 2; }
}
@media (max-width: 767px) {
  .th { border-radius: var(--r-lg); padding-top: 12px; }
  .th__head { margin: 0 12px; }
  .th__copy { margin: 48px 20px 0; gap: 16px; }
  .th__title { font-size: 44px; letter-spacing: -1.6px; line-height: 1.06; }
  .th__lead { font-size: 16px; }
  .th__ctas { flex-direction: column; align-items: stretch; width: 100%; gap: 18px; }
  .th__ctas .btn { width: 100%; }
  .th__link { justify-content: center; }
  .th__logos { flex-direction: column; align-items: flex-start; gap: 16px; margin: 40px 20px 0; }
  .th__logos > p { max-width: none; }
  .th__row { flex-wrap: wrap; justify-content: flex-start; gap: 16px 28px; }
  .th__row img { height: 20px; }
  .th__stage { display: flex; flex-direction: column; align-items: flex-start; height: auto; margin: 32px 12px 0; }
  .tp-paid { position: relative; left: auto; right: auto; top: auto; z-index: 2; margin: 0 0 -22px 4px; }
  .tp-phone { position: relative; left: auto; right: auto; align-self: flex-end; margin: 0 0 -120px; width: 300px; height: 720px; border-radius: 46px; }
  .tp-screen { border-radius: 36px; padding: 44px 12px 12px; }
  .tp-big { font-size: 42px; }
  .tp-paid { order: -1; width: 240px; padding: 16px; }
  .tp-paid__num { font-size: 30px; }
  .tl-split__visual { height: auto; padding: 20px 12px 96px; }
  .tl-receipt { position: relative; }
  .tl-receipt__card { position: relative; left: auto; top: auto; width: auto; padding: 20px; }
  .tl-receipt__big { font-size: 40px; }
  .tl-line { padding: 10px 12px; gap: 10px; }
  .tl-toast { right: 8px; bottom: -72px; }
  .tl-pots__grid { grid-template-columns: 1fr; }
  .tl-pot { padding: 20px 20px 28px; border-radius: 32px; }
  .tl-rate__band { padding: 40px 20px; gap: 32px; }
  .tl-rate__visual { height: auto; }
  .tl-calc { position: relative; display: flex; flex-direction: column; }
  .tl-calc__card { position: relative; padding: 20px; }
  .tl-target { position: relative; right: auto; bottom: auto; align-self: flex-end; margin: -14px -4px 0 0; }
  .tl-lane { padding: 20px; }
  .tl-lane__head { flex-direction: column; gap: 8px; }
  .tl-lane__time { font-size: 28px; }
  .tl-stops li { font-size: 12px; }
  .tl-stops li:nth-child(2) { top: 20px; }
  .tl-stops { height: 44px; }
  .tl-story { padding: var(--band-pad) 16px; }
  .tl-story__grid { grid-template-columns: 1fr; gap: 16px; }
  .tl-profile { display: flex; flex-direction: column; }
  .tl-profile > img { min-height: 0; height: 380px; flex: none; }
  .tl-profile__cap { flex-direction: row; align-items: center; justify-content: space-between; }
  .tl-quote { padding: 28px 24px; }
  .tl-quote__p { font-size: 21px; }
  .tl-quote__foot { flex-direction: column; align-items: flex-start; }
  .tl-ba { padding: 24px; }
  .tl-interest { padding: 22px; }
  .tl-price__stage { padding: 16px; }
  .tl-plan__head { flex-direction: column; gap: 12px; padding: 28px 24px 24px; }
  .tl-plan__body { padding: 24px; }
  .tl-plan__body .ticks { grid-template-columns: 1fr; }
  .tl-plan__foot { padding: 20px 24px 24px; }
}
@media (max-width: 1360px) {
  .tl-mq { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tl-mq > img { grid-row: auto; width: 100%; height: 200px; }
}
@media (max-width: 767px) {
  .tl-mq { grid-template-columns: 120px 1fr; padding: 18px; }
  .tl-mq > img { grid-row: 1 / 3; width: 120px; height: 150px; }
  .tl-mq__p { font-size: 16px; }
}
/* FAQ: a wider intro column so the head sits on two lines */
@media (min-width: 1361px) { .tly .faq { grid-template-columns: 540px 1fr; gap: 104px; } }

@media (max-width: 1100px) {
  .tl-race__head { grid-template-columns: 1fr; gap: 20px; }
  .tl-cta { grid-template-columns: 1fr; gap: 40px; padding: 72px 48px; }
  .tl-cta .v-form { max-width: 560px; }
  .tl-story__grid { grid-template-columns: 1fr 1fr; }
  .tl-profile { grid-row: auto; grid-column: auto; display: flex; flex-direction: column; }
  .tl-profile > img { min-height: 0; height: 360px; flex: none; }
  .tl-profile__cap { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 24px; }
  .tl-quote { grid-column: auto; grid-row: auto; padding: 32px; }
  .tl-quote__p { font-size: 22px; }
  .tl-quote__foot { flex-direction: column; align-items: flex-start; }
  .tl-stat, .tl-ba, .tl-mq { grid-row: auto; }
  .tl-mq:last-child { grid-column: 1 / -1; grid-template-columns: 160px 1fr; grid-template-rows: 1fr auto; }
  .tl-mq:last-child > img { grid-row: 1 / 3; width: 160px; height: 184px; }
}
@media (max-width: 991px) {
  .tl-rate__visual { max-width: 520px; width: 100%; }
}
@media (max-width: 767px) {
  .tl-cta { padding: 56px 16px; }
  .tl-profile { display: flex; flex-direction: column; }
  .tl-profile > img { min-height: 0; height: 380px; }
  .tl-profile__cap { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 24px; }
  .tl-story__grid { grid-template-columns: 1fr; }
  .tl-mq:last-child { grid-column: auto; grid-template-columns: 120px 1fr; }
  .tl-mq:last-child > img { width: 120px; height: 150px; }
}
