/* axiScore by axiTrust (Columbia) - landing page.
   The same system as the Sarkari Hisaab landing (taste-skill "One motif", the sheet is in .taste-skill/landing): a flat band
   cut at 45 degrees is the hero's stage, the button, the masks, the folder tabs and the day ruler. White ground, two greys,
   and the logo's own colours: its dark ink floods the two large fields (stage, day ruler, footer) and its green is the one
   accent on a few small things. Red is not a brand colour here: it appears only where something is late or wrong.
   ?accent=red brings back the first version, with red on the large fields. Albert Sans, five steps. */
:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --surface-2: #e6e6e6;
  --ink: #0f2a26;
  --muted: #5e5e5e;
  --tape: #00c890;
  --tape-deep: #00ad7c;
  --tape-ink: #0f2a26;
  --tape-text: #007a57;       /* the accent when it is text on white */
  --flood: #0f2a26;           /* the large fields: the stage and the day ruler */
  --flood-ink: #ffffff;
  --mark: var(--tape);        /* markers standing on a large field */
  --mark-ink: var(--tape-ink);
  --late: var(--bad);
  --bad: #c41e2a;
  --warn: #8a5200;
  --good: #0a7a4f;
  --reach: #a7adac;           /* the lighter track on the gauge: where the score could reach */

  --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem);
  --step-display: clamp(2.375rem, 0.5rem + 5.4vw, 5.25rem);

  --margin: clamp(16px, 2.8vw, 40px);
  --gutter: clamp(12px, 1.7vw, 24px);
  --section: clamp(96px, 13vw, 200px);
  --cut: 14px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}
html[data-accent="red"] {
  --ink: #232323;
  --tape: #c41e2a;
  --tape-deep: #9a1520;
  --tape-ink: #ffffff;
  --tape-text: #c41e2a;
  --flood: #c41e2a;
  --mark: #232323;
  --mark-ink: #ffffff;
  --late: #232323;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 24px; }
::selection { background: var(--tape); color: var(--tape-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 5; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--margin); }
p { max-width: 62ch; text-wrap: pretty; }
h1, h2 { font-weight: 600; text-wrap: balance; }

/* the five steps */
.display { font-size: var(--step-display); line-height: 1; letter-spacing: -0.035em; }
.head { font-size: var(--step-head); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }

/* the motif: a flat band cut at 45 degrees */
.chamfer, .button, .cell { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }

/* controls */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--tape); color: var(--tape-ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button.small { min-height: 40px; padding: 0 16px; --cut: 10px; }
.button:focus-visible, .cell:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; } /* taste-skill-ignore: the focus ring, drawn inside because the cut shape clips an outline */
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--tape-deep); }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--tape-text); }
}

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; position: relative; z-index: 2; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark img { height: 26px; width: auto; }
.wordmark .prod { font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em; padding-left: 12px; box-shadow: inset 2px 0 0 var(--surface-2); } /* taste-skill-ignore: the divider between the company mark and the product name */
.nav nav { display: flex; gap: 28px; font-size: var(--step-small); }
.only-wide { display: none; }
@media (min-width: 900px) { .only-wide { display: inline; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 990px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: start; }
.hero-copy { grid-column: 1 / 8; padding-top: 72px; }
.hero h1 { max-width: 9.5em; }
.hero-sub { margin-top: 40px; max-width: 38ch; }
.hero-act { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.stage { position: absolute; top: clamp(350px, 42svh, 440px); right: 0; bottom: 0; left: calc(var(--margin) + (100% - 2 * var(--margin) - 11 * var(--gutter)) / 12 * 4 + 4 * var(--gutter)); background: var(--flood); --cut: 96px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); padding: 44px var(--margin) 48px 56px; overflow: hidden; }

/* the simulator: a working piece of the app (its own radius, fields and ticks) */
.sim { width: min(780px, 100%); background: #fff; color: var(--ink); border-radius: 20px; padding: 24px 28px 26px; font-size: 15px; line-height: 1.45; }
.sim-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.sim-title { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.01em; }
.sim-law { color: var(--muted); font-size: var(--step-small); }
.sim-lab { display: block; color: var(--muted); font-size: var(--step-small); }
.sim-pick { display: flex; gap: 5px; margin-top: 8px; }
.sim-pick button { flex: 1 1 0; min-width: 0; height: 42px; border-radius: 10px; background: var(--surface); font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.sim-pick button:active { transform: scale(0.97); }
.sim-pick button[aria-checked="true"] { background: var(--ink); color: #fff; }
.sim-pick button:focus-visible { outline: 3px solid var(--tape-text); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .sim-pick button[aria-checked="false"]:hover { background: var(--surface-2); } }
.sim-main { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.gauge-box { position: relative; }
#gauge { display: block; width: 100%; height: auto; overflow: visible; }
#gauge path { fill: none; stroke-width: 24; }
.g-track { stroke: var(--surface-2); }
.g-reach { stroke: var(--reach); transition: stroke-dasharray 600ms var(--ease-out); }
.g-fill { stroke: var(--ink); transition: stroke-dasharray 500ms var(--ease-out); }
.g-marks line { stroke: var(--ink); stroke-width: 2; }
.g-marks .lo { stroke: #fff; stroke-width: 3; }
.g-marks text, .g-end { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.g-num { position: absolute; left: 0; right: 0; top: 43%; text-align: center; line-height: 1; pointer-events: none; }
.g-num b { display: block; font-size: 3.5rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.g-num span { display: block; margin-top: 6px; font-size: var(--step-small); font-weight: 600; }
.g-num .bad { color: var(--bad); } .g-num .warn { color: var(--warn); } .g-num .good { color: var(--good); }
.g-crif { display: block; margin: 6px auto 0; height: 34px; width: auto; }
.sim-who { margin-top: 16px; font-weight: 500; max-width: none; }
.steps { margin-top: 12px; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 2px 10px; align-items: start; }
.chk { display: contents; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); position: relative; transition: background-color var(--t-hover) ease; }
.chk input:checked + .box { background: var(--ink); }
.chk input:checked + .box::after { content: ""; position: absolute; left: 7.5px; top: 3.5px; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(40deg); }
.chk input:focus-visible + .box { outline: 3px solid var(--tape-text); outline-offset: 2px; }
.rng { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.steps li.none .dash { width: 22px; height: 22px; display: grid; place-items: center; }
.steps li.none .dash::before { content: ""; width: 10px; height: 2px; background: var(--muted); }
.steps li.none .why { grid-column: 2 / -1; color: var(--muted); font-size: var(--step-small); }
.steps li.only { display: block; }
.sim-out { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.sim-k { font-size: var(--step-body); }
.sim-out b { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--tape-text); }
.sim-note { margin-top: 8px; color: var(--muted); font-size: var(--step-small); max-width: none; }
.sim-note.near { color: var(--ink); }

/* shared field (the 30-day clock) */
.f { display: grid; gap: 6px; }
.f span { font-size: var(--step-small); }
.f input { height: 46px; padding: 0 14px; background: #fff; color: #232323; border: 0; border-radius: 10px; font-size: var(--step-body); font-variant-numeric: tabular-nums; width: 100%; }
.f input:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }

/* ---------- how it works: one bar ---------- */
.how { padding-top: var(--section); }
.how h2 { margin-bottom: 64px; max-width: 12em; }
.bar { display: flex; gap: 6px; height: 26vh; min-height: 210px; }
.bseg { flex: var(--g) 1 0; min-width: 19%; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.bseg b { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.bseg.s1 { background: var(--ink); color: #fff; }
.bseg.s2 { background: var(--surface-2); }
.bseg.s3 { background: var(--tape); color: var(--tape-ink); clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
.bnote { display: block; font-size: var(--step-body); max-width: 30ch; line-height: 1.4; }

/* ---------- showcase: the file as a lender's screen lists it ---------- */
.show { margin-top: var(--section); display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; background: var(--surface); }
.show-pic { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.plate { width: min(100%, 72svh); aspect-ratio: 1; --cut: 72px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); background: #fff; }
.plate-cap { margin-top: 14px; font-size: var(--step-small); color: var(--ink); max-width: 52ch; }
.lfile { width: 100%; height: 100%; padding: 76px clamp(18px, 3vw, 40px) clamp(18px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; font-size: var(--step-body); line-height: 1.4; overflow: hidden; transition: opacity 200ms ease; }
.lfile.swap { opacity: 0; }
.lf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lf-name { font-weight: 600; font-size: var(--step-small); letter-spacing: 0.06em; }
.lf-state { font-size: var(--step-small); color: var(--muted); }
.lf-rows { display: grid; flex: 1; align-content: space-evenly; }
.lf-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; box-shadow: inset 0 1px 0 var(--surface-2); } /* taste-skill-ignore: rows of a record inside an interface fragment */
.lf-k { color: var(--muted); font-size: var(--step-small); padding-top: 4px; }
.lf-v { display: grid; gap: 8px; }
.lf-v div { display: flex; justify-content: space-between; align-items: baseline; gap: 2px 12px; flex-wrap: wrap; }
.lf-v b { font-weight: 600; font-variant-numeric: tabular-nums; }
.lf-v small { font-size: var(--step-small); color: var(--muted); }
.lf-v small.bad { color: var(--bad); font-weight: 600; }
.lf-v small.good { color: var(--good); font-weight: 600; }
.lf-sum { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; font-size: var(--step-small); box-shadow: inset 0 2px 0 var(--ink); } /* taste-skill-ignore: the total line of a record */
.lf-sum b { font-variant-numeric: tabular-nums; }
.lf-v .months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin-top: 2px; }
.months span { height: 44px; background: var(--surface-2); display: grid; place-items: end center; padding-bottom: 5px; font-size: 11px; line-height: 1; color: var(--muted); }
.months .mlate { background: var(--bad); color: #fff; font-weight: 600; }
.months .mfix { background: var(--ink); color: #fff; font-weight: 600; }
.show-text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 40px var(--margin) 40px 40px; }
.tabs { display: flex; gap: 28px; }
.tabs button { font-size: var(--step-body); color: var(--muted); padding: 6px 0; transition: color var(--t-hover) ease; }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { color: var(--ink); } }
#show-panel h2 { max-width: 14em; }
.show-desc { margin-top: 48px; max-width: 40ch; }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cell { display: flex; align-items: center; padding: 0 22px; height: 72px; text-decoration: none; font-weight: 500; text-align: left; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell:active { transform: scale(0.98); }
.cell.ink { background: var(--ink); color: #fff; }
.cell.ink[aria-pressed="true"] { background: var(--tape); color: var(--tape-ink); }
.cell.tone { background: var(--surface-2); }
@media (hover: hover) and (pointer: fine) { .cell.ink:hover { background: var(--tape); color: var(--tape-ink); } .cell.tone:hover { background: #d9d9d9; } }

/* ---------- the statement ---------- */
.said { padding-top: var(--section); }
.statement { font-size: var(--step-head); line-height: 1.32; font-weight: 500; letter-spacing: -0.015em; max-width: 30em; }
.said-foot { margin-top: 72px; margin-left: calc(50% + var(--gutter) / 2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.said-foot p { max-width: 36ch; }

/* ---------- the band: the tape as the day ruler ---------- */
.line45 { margin-top: var(--section); background: var(--flood); color: var(--flood-ink); padding-block: 72px 72px; }
.line45-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.line45 h2 { grid-column: 1 / 6; }
.line45-sub { grid-column: 7 / 13; max-width: 46ch; }
.clock30 { grid-column: 1 / -1; margin-top: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px; }
.clock30 .f { width: 220px; }
.c30-out b { display: block; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.c30-out span { display: block; margin-top: 4px; max-width: 46ch; }
.ruler { --span: 60; grid-column: 1 / -1; position: relative; height: 200px; margin-top: 40px; }
.ruler::before { content: ""; position: absolute; left: 0; right: 0; top: 92px; height: 16px; background: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); transform-origin: left; }
.late { position: absolute; top: 92px; height: 16px; left: 50%; background: var(--late); }
.ticks span { position: absolute; top: 120px; left: calc(var(--d) / var(--span) * 100%); font-size: var(--step-small); font-variant-numeric: tabular-nums; transform: translateX(-2px); white-space: nowrap; }
.ticks span:last-child { transform: translateX(-100%); }
.limit { position: absolute; left: calc(var(--d) / var(--span) * 100%); top: 40px; width: 54px; height: 68px; margin-left: -27px; background: var(--mark); color: var(--mark-ink); display: grid; place-items: center; align-content: center; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
.limit b { font-size: var(--step-lead); line-height: 1; }
.limit span { font-size: var(--step-small); line-height: 1.2; }
.pin { position: absolute; left: calc(var(--d) / var(--span) * 100%); top: 92px; width: 16px; height: 16px; margin-left: -8px; transition: left 500ms var(--ease-out); }
.pin::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: var(--mark); }
.pin b, .pin span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pin b { top: 44px; font-size: var(--step-lead); line-height: 1; font-variant-numeric: tabular-nums; }
.pin span { top: 74px; font-size: var(--step-small); }
.pin.up b { top: auto; bottom: 56px; }
.pin.up span { top: auto; bottom: 34px; }
.pin.edge-r b, .pin.edge-r span { left: auto; right: -8px; transform: none; }
.pin.edge-l b, .pin.edge-l span { left: -8px; transform: none; }
.ruler-key { display: none; }
.line30-note { grid-column: 1 / 9; margin-top: 8px; font-size: var(--step-small); max-width: 70ch; }

/* ---------- proof: the records, named large ---------- */
.proof { padding-top: var(--section); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); padding: 24px; aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; --cut: 28px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.tile b { display: block; }
.tile span { max-width: 26ch; }
.tile.lead { grid-column: span 2; aspect-ratio: auto; background: var(--tape); color: var(--tape-ink); }
.tile.lead h2 { max-width: 10em; }

/* ---------- questions: cards in a drawer ---------- */
.faq { padding-top: var(--section); overflow-x: clip; }
.faq h2 { margin-left: calc(100% / 6); margin-bottom: 56px; }
.cards { margin-left: calc(100% / 6); width: calc(100% * 2 / 3); }
.card { --tx: calc(var(--n) * 150px); --tw: 200px; position: relative; padding-top: 40px; margin-top: -40px; clip-path: polygon(var(--tx) 40px, calc(var(--tx) + 40px) 0, calc(var(--tx) + var(--tw) - 40px) 0, calc(var(--tx) + var(--tw)) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px); padding-bottom: 40px; }
.card:first-child { margin-top: 0; }
.card.c0 { background: var(--surface); }
.card.c1 { background: var(--surface-2); }
.card.c2 { background: var(--ink); color: #fff; }
.card.open:last-child, .card:last-child { padding-bottom: 0; }
.ctab { position: absolute; top: 9px; left: calc(var(--tx) + 44px); width: calc(var(--tw) - 88px); text-align: center; font-size: var(--step-small); font-weight: 600; white-space: nowrap; }
.cq { display: block; width: 100%; text-align: left; padding: 18px 24px 22px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; min-height: 72px; }
.ca { padding: 0 24px 28px; }
.ca p { max-width: 50ch; }
@media (hover: hover) and (pointer: fine) { .cq:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.06em; } }
.cq:focus-visible { outline-offset: -6px; }
.card.c2 .cq:focus-visible { outline-color: #fff; }

/* ---------- the closing sentence with a blank ---------- */
.cta { padding-block: var(--section); }
.cta-line { font-weight: 600; max-width: none; }
.cta-line label { cursor: text; }
#cta-score { width: 3.6em; height: 1.08em; padding: 0 0.18em; background: var(--surface); border: 0; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; vertical-align: baseline; clip-path: polygon(0.24em 0, 100% 0, 100% 100%, 0 100%, 0 0.24em); }
#cta-score::placeholder { color: var(--muted); }
#cta-score:focus-visible { outline: none; background: var(--surface-2); }
.cta-line button { height: 1.08em; padding: 0 0.28em; background: var(--tape); color: var(--tape-ink); vertical-align: baseline; clip-path: polygon(0.24em 0, 100% 0, 100% 100%, 0 100%, 0 0.24em); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cta-line button:active { transform: scale(0.98); }
.cta-line button:focus-visible { outline: none; background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .cta-line button:hover { background: var(--tape-deep); } }
.cta-msg { margin-top: 24px; color: var(--muted); }
.cta-msg.bad { color: var(--bad); }

/* ---------- footer: the name built from blocks ---------- */
.foot { background: var(--ink); color: #fff; padding-block: 56px 28px; }
.mark { font-size: clamp(4.5rem, 19.5vw, 21rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.8; max-width: none; white-space: nowrap; overflow: hidden; padding-bottom: 0.08em; }
.mark .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.mark b { font-weight: 600; color: var(--tape); }
.mark-by { margin-top: 20px; font-size: var(--step-body); max-width: none; }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 56px; font-size: var(--step-small); }
.foot-cols > div { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; }
.foot-cols > .foot-note { grid-column: 9 / 13; }
.fh { font-size: var(--step-small); font-weight: 600; margin-bottom: 6px; }
.foot-note p { color: #fff; }
.credits { margin-top: 48px; font-size: var(--step-small); max-width: none; color: #fff; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; font-size: var(--step-small); }

/* ---------- gallery: the films, each with its tag ---------- */
.work { padding-top: var(--section); }
.work h2 { margin-bottom: 12px; }
.work-sub { margin-bottom: 40px; color: var(--ink); }
.wtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wt { display: flex; flex-direction: column; }
.wpic { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); --cut: 40px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.wt.film .wpic { background: #f3f3f3; }
.wpic video { width: 100%; height: 100%; object-fit: contain; background: #f3f3f3; }
.wt.film .wpic { position: relative; }
.play { position: absolute; left: 14px; bottom: 14px; min-height: 44px; padding: 0 16px 0 14px; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-size: var(--step-small); font-weight: 500; --cut: 10px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.play::before { content: ""; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.play:active { transform: scale(0.97); }
.play:focus-visible { outline: 3px solid var(--tape-text); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .play:hover { background: var(--tape); color: var(--tape-ink); } }
.wtype { background: var(--tape); color: var(--tape-ink); display: flex; align-items: flex-end; padding: 20px; }
.wtype b { font-size: var(--step-display); line-height: 0.85; letter-spacing: -0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.strip { display: grid; gap: 6px; padding: 12px; min-height: 88px; align-content: center; font-size: var(--step-small); font-variant-numeric: tabular-nums; line-height: 1.3; }
.strip .r1, .strip .r2 { display: flex; justify-content: space-between; gap: 4px 8px; flex-wrap: wrap; }
.strip .r2 span:first-child { font-weight: 600; }
.strip.p0 { background: var(--ink); color: #fff; }
.strip.p1 { background: var(--surface-2); color: var(--ink); }
.strip.p2 { background: var(--tape); color: var(--tape-ink); }
.strip.p3 { background: var(--surface); color: var(--ink); }

/* ---------- the email and the updates ---------- */
.pair { padding-top: var(--section); }
.pair h2 { margin-bottom: 12px; }
.pair-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.sheet, .chat { --cut: 40px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); padding: 56px clamp(18px, 3vw, 40px) clamp(22px, 3vw, 40px); font-size: 15px; line-height: 1.45; }
.sheet { background: var(--surface); }
.sheet-top, .chat-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--step-small); }
.sheet-top span:first-child, .chat-top b { font-weight: 600; font-size: var(--step-body); letter-spacing: -0.01em; }
.sheet-top span:last-child, .chat-top span { color: var(--muted); }
.mail { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 6px 12px; margin-top: 18px; padding: 14px 0; box-shadow: inset 0 1px 0 var(--surface-2), inset 0 -1px 0 var(--surface-2); } /* taste-skill-ignore: the header fields of an email */
.mail dt { color: var(--muted); font-size: var(--step-small); }
.mail dd { font-weight: 500; overflow-wrap: anywhere; }
.fields { counter-reset: f; margin-top: 16px; display: grid; gap: 10px; }
.fields li { counter-increment: f; display: grid; grid-template-columns: 1.4em minmax(0, 1fr); column-gap: 6px; }
.fields li::before { content: counter(f) "."; color: var(--muted); font-variant-numeric: tabular-nums; grid-row: 1 / 3; }
.fields b { display: block; font-size: var(--step-small); font-weight: 600; }
.chat { background: var(--surface-2); color: #10151f; display: flex; flex-direction: column; gap: 8px; }
.chat-top { margin-bottom: 6px; }
.chat .day { text-align: center; max-width: none; margin-top: 6px; }
.chat .day span { display: inline-block; padding: 5px 11px; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 600; color: #5e5e5e; }
.chat .bub { align-self: flex-start; max-width: min(92%, 40ch); background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 12px 8px; }
.chat .bub time { display: block; text-align: right; margin-top: 4px; font-size: 11px; color: #6e6e6e; }

@media (prefers-reduced-motion: no-preference) {
  .js .wtiles[data-reveal] { opacity: 1; transform: none; }
  .js .wtiles .wt { opacity: 0; transform: translateY(28px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i) * 80ms); }
  .js .wtiles.is-in .wt { opacity: 1; transform: none; }
  .js .line45 .ruler[data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .wtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wpic { --cut: 28px; }
}

/* ---------- motion (content stays visible without script) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .stage { transform: translateY(48px); opacity: 0; animation: rise 1000ms var(--ease-expo) 380ms forwards; }
  .js .sim { transform: translateY(24px); opacity: 0; animation: rise 800ms var(--ease-out) 700ms forwards; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .bar[data-reveal] { opacity: 1; transform: none; }
  .js .bar .bseg { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-expo); transition-delay: calc(var(--i) * 120ms); }
  .js .bar.is-in .bseg { transform: none; }

  .js .line45 .ruler::before { transform: scaleX(0); transition: transform 1200ms var(--ease-expo); }
  .js .line45 .ruler.is-in::before { transform: none; }
  .js .ruler .pin, .js .ruler .limit { opacity: 0; transform: translateY(-14px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out), left 500ms var(--ease-out); }
  .js .ruler.is-in .pin, .js .ruler.is-in .limit { opacity: 1; transform: none; }
  .js .ruler.is-in .limit { transition-delay: 500ms; }
  .js .ruler.is-in .pin.up { transition-delay: 650ms; }
  .js .ruler.is-in #pin-today { transition-delay: 800ms, 800ms, 0ms; }

  .js .tiles .tile[data-reveal]:nth-child(2) { transition-delay: 70ms; }
  .js .tiles .tile[data-reveal]:nth-child(3) { transition-delay: 140ms; }
  .js .tiles .tile[data-reveal]:nth-child(4) { transition-delay: 210ms; }
  .js .tiles .tile[data-reveal]:nth-child(5) { transition-delay: 280ms; }
  .js .tiles .tile[data-reveal]:nth-child(6) { transition-delay: 350ms; }
  .js .tiles .tile[data-reveal]:nth-child(7) { transition-delay: 420ms; }

  .js .cards .card { opacity: 0; transform: translateX(40px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-expo); transition-delay: calc(var(--n) * 80ms); }
  .js .cards.is-in .card { opacity: 1; transform: none; }

  .js .mark[data-reveal] { opacity: 1; transform: none; }
  .js .mark [data-up] { display: block; transform: translateY(105%); transition: transform 1000ms var(--ease-expo); }
  .js .mark.is-in [data-up] { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transition: opacity 400ms ease; }
  .g-reach, .g-fill, .pin { transition: none; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- tablet and phone ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile.lead { grid-column: 1 / -1; min-height: 140px; }
  .faq h2, .cards { margin-left: 0; width: 100%; }
  .sim-main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gauge-box { width: min(340px, 100%); margin-inline: auto; }
  .hero { min-height: max(100svh, 1240px); }
}
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; }
  .hero-copy { padding-top: 56px; }
  .stage { position: relative; inset: auto; margin: 48px calc(var(--margin) * -1) 0; --cut: 72px; padding: 56px 16px 40px; height: auto; }
  .sim { width: 100%; }
  .show { grid-template-columns: 1fr; min-height: 0; }
  .show-pic { padding: 16px var(--margin) 0; }
  .plate { width: 100%; aspect-ratio: auto; min-height: 420px; --cut: 48px; }
  .lfile { padding-top: 56px; }
  .show-text { padding: 28px var(--margin) 32px; gap: 32px; }
  .show-desc { margin-top: 20px; }
  .cells { grid-template-columns: 1fr; }
  .cell { height: 60px; }
  .said-foot { margin-left: 0; }
  .line45 h2, .line45-sub, .line30-note { grid-column: 1 / -1; }
  .line45-sub { margin-top: 16px; }
  .pair-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-cols > div { grid-column: span 6; margin-bottom: 24px; }
  .foot-cols > .foot-note { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .display { letter-spacing: -0.03em; }
  .statement { font-size: var(--step-lead); line-height: 1.4; }
  .nav nav { display: none; }      /* the hero's own button is one thumb away; the logo and the product name need the room */
  .sim { padding: 20px 16px 22px; border-radius: 16px; }
  .sim-pick { gap: 4px; }
  .g-num b { font-size: 3rem; }
  .lfile { font-size: 15px; }
  .bar { flex-direction: column; height: auto; min-height: 0; }
  .bseg { min-width: 0; min-height: 96px; flex: var(--g) 1 auto; }
  .bseg.s3 { min-height: 220px; }
  .bnote { font-size: var(--step-small); margin-top: 10px; max-width: 34ch; }
  .js .bar .bseg { transform-origin: top; transform: scaleY(0); }
  .js .bar.is-in .bseg { transform: none; }
  .lf-row { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tile { padding: 16px; --cut: 18px; }
  .tile.lead { min-height: 120px; }
  .tile b.head { font-size: 1.25rem; }
  .card { --tx: calc(var(--n) * 44px); --tw: 150px; }
  .ctab { left: calc(var(--tx) + 34px); width: calc(var(--tw) - 68px); }
  .cq { padding: 14px 20px 18px; }
  .ca { padding: 0 20px 22px; }
  .clock30 .f { width: 100%; }
  .ruler { height: 150px; }
  .ruler::before, .late { top: 64px; }
  .limit { top: 22px; width: 44px; height: 56px; margin-left: -22px; }
  .limit span { display: none; }
  .pin { top: 64px; }
  .pin span { display: none; }
  .pin b, .pin.up b { top: 34px; bottom: auto; font-size: var(--step-small); }
  .pin.up b { top: auto; bottom: 30px; }
  .ticks span { top: 92px; }
  .ruler-key { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; grid-column: 1 / -1; font-size: var(--step-small); }
  #cta-score { width: 4.2em; }
  .foot-last { flex-wrap: wrap; }
  .sheet, .chat { --cut: 28px; padding-top: 44px; }
}
