/* /check (2026-11-25): the landing page for the DataStated Instagram reels.
   Every reel does one check by hand (Meta's sales against all orders, the
   store's return against Meta's, Meta's revenue against paid orders, the
   tracker against Shopify), then says Shopify can't tell you which ad.
   This page lets the visitor run those four checks on their own numbers,
   then offers the trial.
   Shares the site's tokens, type, buttons and motion values (styles.css,
   home.css, night.css); the layout is this page's own (taste-skill
   "editorial-report", seed 2120342030): the title beside reel 1's
   comparison drawn to scale (hero rebuilt 2026-11-25 after Richard turned
   down the four-tile masthead), the checks as an index of
   names beside one live sheet, setup as one bar, price as two fields,
   questions as a table, a lime close.
   Every figure inside [data-ui] is example data, labelled on the page. */

.ck { --cols: repeat(12, minmax(0, 1fr)); --cg: 24px; --paper: #f4f4f5; --paper-ink: #0a0a0b; --paper-2: #52525b; }
.ck main { overflow-x: clip; }
.ck-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--acc); color: var(--acc-ink); border-radius: 8px; font-weight: 600; }
.ck-skip:focus { top: 12px; }
.ck .ck-note { margin: 16px 0 0; font-size: var(--t-xs); line-height: 1.5; color: var(--ink-2); }
.ck .ck-h2 { margin: 0; font-size: clamp(44px, 6vw, 96px); line-height: 0.96; letter-spacing: -0.045em; font-weight: 620; max-width: 14ch; }

/* Flat color roles for tiles, bar segments and fields */
.t-lime { background: var(--acc); color: var(--acc-ink); }
.t-paper { background: var(--paper); color: var(--paper-ink); }
.t-s1 { background: var(--s1); color: var(--ink); }
.t-s2 { background: var(--s2); color: var(--ink); }

/* ---------- Hero: title beside reel 1's comparison, drawn to scale ---------- */
.ck main .ck-hero { display: grid; grid-template-columns: var(--cols); column-gap: var(--cg); align-items: center; min-height: min(calc(100svh - 72px), 820px); padding: 48px var(--m) 72px; }
.ck-copy { grid-column: 1 / 7; }
.ck-title { margin: 0; font-size: clamp(64px, 7.6vw, 120px); line-height: 0.9; letter-spacing: -0.055em; font-weight: 620; }
.ck-title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.ck-title .ln > span {
  display: block;
  background: linear-gradient(180deg, #ffffff 30%, #a1a1aa 100%); /* taste-skill-ignore: night override (SKILL.md 2026-10-15) */
  -webkit-background-clip: text; background-clip: text; color: transparent; /* taste-skill-ignore: night override */
}
.ck-lead { margin: 32px 0 36px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; max-width: 30ch; color: var(--ink); }

.ck-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ck-alt { font-size: var(--t-s); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ink-3); padding: 10px 0; touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) { .ck-alt:hover { text-decoration-color: var(--acc); } }
.ck-vs { grid-column: 7 / 13; margin: 0; padding: 40px 40px 36px; background: var(--s1); border-radius: 16px; }
.ck-vs figcaption { font-size: var(--t-xs); color: var(--ink-2); margin-bottom: 28px; }
.vs-row + .vs-row { margin-top: 22px; }
.vs-l { display: block; font-size: var(--t-s); color: var(--ink-2); margin-bottom: 10px; }
.vs-bar { position: relative; display: flex; align-items: center; width: calc(var(--w) * 100%); height: clamp(64px, 6vw, 84px); padding: 0 20px; border-radius: 8px; overflow: hidden; }
.vs-bar b { position: relative; z-index: 1; font-size: clamp(34px, 3.4vw, 52px); letter-spacing: -0.04em; font-weight: 650; font-variant-numeric: tabular-nums; }
.vs-meta { background: #3f3f46; color: var(--ink); }
.vs-shop { background: var(--paper); color: var(--paper-ink); }
/* The part of Meta's bar that runs past every order the store made. */
.vs-over { position: absolute; top: 0; right: 0; bottom: 0; width: calc(var(--o) * 100%); background: var(--acc); }
.vs-gap { margin: 28px 0 0; display: flex; align-items: baseline; gap: 14px; font-size: var(--t-s); color: var(--ink); }
.vs-gap b { font-size: clamp(44px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.05em; font-weight: 650; color: var(--acc); font-variant-numeric: tabular-nums; }
.vs-also { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--s2); font-size: var(--t-xs); color: var(--ink-2); line-height: 1.6; } /* taste-skill-ignore: divider inside [data-ui] */
.vs-also a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) { .vs-also a:hover { text-decoration-color: var(--acc); } }

/* ---------- The checks: an index of names beside one live sheet ---------- */
.ck main .ck-checks { display: grid; grid-template-columns: var(--cols); column-gap: var(--cg); align-items: start; scroll-margin-top: 72px; }
.ck-index { grid-column: 1 / 6; position: sticky; top: 112px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 56px; }
.ck-index button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; appearance: none; border: 0; background: none; padding: 4px 0; font: inherit; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; color: var(--ink-3); text-align: left; cursor: pointer; transition: color 200ms var(--out), transform 200ms var(--out); }
.ck-index button[aria-pressed="true"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .ck-index button:hover { color: var(--ink-2); } .ck-index button[aria-pressed="true"]:hover { color: var(--ink); } }
.ck-index button:active { transform: scale(0.98); }
.ck-stage { grid-column: 6 / 13; background: var(--s1); padding: 56px 56px 48px; margin-right: calc(var(--m) * -1); }

.ck-sheet { width: min(560px, 100%); padding: 32px 32px 28px; border-radius: 14px; background: var(--paper); color: var(--paper-ink); font-size: 16px; line-height: 1.45; }
/* All four sheets share one cell, so the stage is always as tall as the
   tallest and the foot never jumps when the check changes. */
.ck-sheets { display: grid; }
.ck-sheets > .ck-sheet { grid-area: 1 / 1; align-self: start; }
.ck-sheet[hidden] { display: block; visibility: hidden; }
.ck-mark { position: absolute; top: 0; left: -22px; width: 3px; height: 1px; /* taste-skill-ignore: a 1px seed scaled to the button height, not a rule */ background: var(--acc); transform-origin: 0 0; transform: translateY(var(--y, 0)) scaleY(var(--h, 0)); opacity: 0; pointer-events: none; }
.ck-mark.is-set { opacity: 1; }
.ck-sheet header { margin-bottom: 20px; }
.ck-sheet h3 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 620; color: var(--paper-ink); }
.ck-sheet header p { margin: 6px 0 0; font-size: 15px; color: var(--paper-2); }
.ck-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 210px); align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #e4e4e7; cursor: text; } /* taste-skill-ignore: row rule inside [data-ui] */
.ck-in .lb { font-size: 16px; font-weight: 560; line-height: 1.3; }
.ck-in small { display: block; margin-top: 3px; font-size: 14px; font-weight: 400; color: var(--paper-2); }
.ck-in .fld { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 14px; border-radius: 10px; background: #e4e4e7; transition: background-color 150ms var(--out), box-shadow 150ms var(--out); }
.ck-in .fld:focus-within { background: #ffffff; box-shadow: inset 0 0 0 2px var(--paper-ink); } /* taste-skill-ignore: focus state inside [data-ui] */
.ck-in .fld i { font-style: normal; font-size: 22px; color: var(--paper-2); }
.ck-in input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; font: inherit; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--paper-ink); text-align: right; font-variant-numeric: tabular-nums; outline: none; }
.ck-out { margin-top: 12px; padding: 22px 0 0; border-top: 2px solid var(--paper-ink); } /* taste-skill-ignore: the total line of the sheet, inside [data-ui] */
.ck-out .big { margin: 0; font-size: clamp(56px, 5.6vw, 84px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ck-out .cap { margin: 8px 0 0; font-size: 17px; font-weight: 560; }
.ck-out .say { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: #27272a; max-width: 44ch; }
.ck-sheet.is-empty .big { color: #71717a; }

.ck-foot { width: min(560px, 100%); margin-top: 40px; }
.ck-foot > p:first-child { margin: 0 0 24px; font-size: var(--t-s); line-height: 1.55; }
.ck-foot b { font-weight: 600; }

/* ---------- How it works: one bar ---------- */
.ck main .ck-how { display: block; scroll-margin-top: 72px; }
.ck-bar { list-style: none; margin: 64px 0 0; padding: 0; display: flex; gap: 6px; }
.ck-bar .sg { flex: var(--g) 1 0; min-width: 0; }
.ck-bar .box { display: block; height: clamp(170px, 22vh, 240px); padding: 20px; }
.ck-bar .d { display: block; font-size: clamp(20px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.ck-bar p { margin: 18px 0 0; font-size: var(--t-s); line-height: 1.5; max-width: 24ch; padding-right: 12px; }

/* ---------- The real product ---------- */
.ck-shot-h { display: grid; grid-template-columns: var(--cols); column-gap: var(--cg); align-items: end; margin-bottom: 48px; }
.ck-shot-h .ck-h2 { grid-column: 1 / 8; }
.ck-shot-h p { grid-column: 8 / 13; margin: 0; font-size: var(--t-s); line-height: 1.6; max-width: 46ch; }
.ck-shot figure { margin: 0; }
.ck-shot video { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--s1); }
.ck-shot figcaption { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--t-xs); }
.ck-shot figcaption a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(198, 242, 78, 0.6); }
@media (hover: hover) and (pointer: fine) { .ck-shot figcaption a:hover { color: var(--acc); } }
.ck-hold { appearance: none; border: 0; font: inherit; font-size: 14px; font-weight: 550; color: var(--ink); background: var(--s2); border-radius: 8px; padding: 10px 16px; min-height: 40px; cursor: pointer; transition: background-color 150ms var(--out), transform 150ms var(--out); }
@media (hover: hover) and (pointer: fine) { .ck-hold:hover { background: #26262b; } }
.ck-hold:active { transform: scale(0.97); }

/* ---------- Price: two fields, hard edge ---------- */
.ck main .ck-price { display: grid; grid-template-columns: 5fr 7fr; padding: 0; margin-top: var(--gap); scroll-margin-top: 72px; }
.ck-plan { display: grid; grid-template-rows: auto auto 1fr auto; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; min-height: min(72svh, 620px); padding: 48px var(--m) 48px; }
.ck-plan h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(40px, 4.6vw, 76px); line-height: 0.95; letter-spacing: -0.045em; font-weight: 620; color: inherit; }
.ck-plan .who { grid-column: 1 / -1; margin: 20px 0 0; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.35; max-width: 26ch; }
.ck-plan .inc { grid-column: 1 / -1; margin: 20px 0 0; font-size: var(--t-s); line-height: 1.55; max-width: 42ch; }
.ck-plan .amt { grid-column: 1; align-self: end; margin: 40px 0 0; font-size: clamp(80px, 10vw, 152px); line-height: 0.85; letter-spacing: -0.06em; font-weight: 640; font-variant-numeric: tabular-nums; }
.ck-plan .amt span { display: block; margin-top: 14px; font-size: var(--t-s); letter-spacing: 0; font-weight: 500; line-height: 1.3; }
.ck-plan-btn { touch-action: manipulation; grid-column: 2; align-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 10px; font-weight: 600; font-size: var(--t-s); text-decoration: none; white-space: nowrap; transition: background-color 150ms var(--out), transform 160ms var(--out); }
.ck-plan-btn:active { transform: scale(0.97); }
.p-free { background: var(--s1); color: var(--ink); }
.p-free .inc { color: var(--ink-2); }
.p-free .ck-plan-btn { background: var(--s2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .p-free .ck-plan-btn:hover { background: #26262b; } }
.p-ds { background: var(--paper); color: var(--paper-ink); }
.p-ds .inc { color: #27272a; }
.p-ds .inc a { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 3px; }
.p-ds .ck-plan-btn { background: var(--paper-ink); color: var(--acc); }
@media (hover: hover) and (pointer: fine) { .p-ds .ck-plan-btn:hover { background: #000; } .ck .p-ds .inc a:hover { color: #3f3f46; } }
.p-ds :focus-visible { outline-color: var(--paper-ink); }

/* ---------- Questions: a table of large questions, answers open ---------- */
.ck main .ck-faq { display: grid; row-gap: 80px; scroll-margin-top: 72px; }
.ck-q { display: grid; grid-template-columns: var(--cols); column-gap: var(--cg); align-items: baseline; }
.ck-q h2, .ck-q h3 { grid-column: 1 / 7; margin: 0; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 560; max-width: 20ch; }
.ck-q h2 { color: var(--ink-3); }
.ck-q p { grid-column: 8 / 13; margin: 0; font-size: var(--t-s); line-height: 1.55; max-width: 42ch; }

/* ---------- Close: the lime field ---------- */
.ck main .ck-end { margin-top: var(--gap); padding: 96px var(--m) 48px; background: var(--acc); color: var(--acc-ink); min-height: min(66svh, 600px); display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.ck .ck-end h2 { margin: 0; font-size: clamp(64px, 10vw, 168px); line-height: 0.9; letter-spacing: -0.06em; font-weight: 700; color: var(--acc-ink); max-width: 9ch; }
.ck-end-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.ck-end-row p { margin: 0; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; max-width: 40ch; }
.ck-end-btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 10px; background: var(--acc-ink); color: var(--acc); font-weight: 600; font-size: var(--t-s); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--out), background-color 150ms var(--out); }
.ck-end-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ck-end-btn:hover { background: #000; } }
.ck-end a:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 3px; }
.ck .ck-end + * { margin-top: 0; }
.ck .h-foot { margin-top: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .ck-stage { padding: 40px 32px 36px; }
  .ck-in { grid-template-columns: minmax(0, 1fr) minmax(130px, 170px); }
}

/* ---------- Phone ---------- */
@media (max-width: 900px) {
  .ck main .ck-hero { grid-template-columns: 1fr; min-height: 0; padding: 40px var(--m) 56px; row-gap: 36px; }
  .ck-copy, .ck-vs { grid-column: 1; }
  .ck-title { font-size: clamp(54px, 15vw, 96px); }
  .ck-lead { font-size: 18px; margin: 20px 0 24px; }
  .ck-copy .btn { display: flex; justify-content: center; }
  .ck-acts { flex-direction: column; align-items: stretch; }
  .ck-alt { text-align: center; }
  .ck-vs { padding: 24px 18px 22px; margin: 0 calc(var(--m) * -1 + 8px); }
  .vs-bar { height: 56px; padding: 0 14px; }
  .vs-bar b { font-size: 30px; }
  .vs-l { font-size: 15px; }

  .ck main .ck-checks { grid-template-columns: 1fr; }
  .ck-index { grid-column: 1; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 0 0 20px; }
  .ck-index button { font-size: 22px; min-height: 44px; }
  .ck-stage { grid-column: 1; margin: 0 calc(var(--m) * -1); padding: 16px 16px 32px; }
  .ck-sheet { padding: 22px 18px 20px; }
  .ck-in { grid-template-columns: 1fr; gap: 8px; }
  .ck-foot { margin-top: 28px; padding: 0 4px; }
  .ck-foot .btn { display: flex; justify-content: center; }

  .ck-bar { flex-direction: column; margin-top: 36px; gap: 6px; }
  .ck-bar .box { height: auto; min-height: 72px; padding: 16px; }
  .ck-bar .sg:nth-child(2) .box { min-height: 120px; }
  .ck-bar .sg:nth-child(3) .box { min-height: 200px; }
  .ck-bar .d { font-size: 22px; }
  .ck-bar p { margin: 10px 0 16px; font-size: 16px; max-width: none; }

  .ck-shot-h { grid-template-columns: 1fr; row-gap: 20px; margin-bottom: 28px; }
  .ck-shot-h .ck-h2, .ck-shot-h p { grid-column: 1; }
  .ck-shot figcaption { flex-direction: column; align-items: flex-start; }

  .ck main .ck-price { grid-template-columns: 1fr; }
  .p-ds { order: -1; }
  .ck-plan { min-height: 0; padding: 44px var(--m) 24px; grid-template-columns: 1fr; }
  .ck-plan .amt { margin-top: 36px; font-size: clamp(72px, 24vw, 120px); }
  .ck-plan-btn { grid-column: 1; margin-top: 28px; width: 100%; }

  .ck main .ck-faq { row-gap: 48px; }
  .ck-q { grid-template-columns: 1fr; row-gap: 12px; }
  .ck-q h2, .ck-q h3, .ck-q p { grid-column: 1; }
  .ck-q h2, .ck-q h3 { font-size: 24px; }

  .ck main .ck-end { padding: 56px var(--m) 28px; min-height: 0; gap: 40px; }
  .ck .ck-end h2 { font-size: clamp(54px, 15vw, 96px); }
  .ck-end-row { flex-direction: column; align-items: stretch; gap: 28px; }
  .ck-end-btn { justify-content: center; }
}

/* ---------- Motion (CSS only: nothing stays hidden if a script fails) ---------- */
@keyframes ck-line { from { transform: translateY(105%); } }
@keyframes ck-rise { from { opacity: 0; transform: translateY(16px); } }
.motion .ck-title .ln > span { animation: ck-line 900ms var(--ease) backwards; }
.motion .ck-title .ln + .ln > span { animation-delay: 110ms; }
.motion .ck-alt { animation: ck-rise 600ms var(--out) 540ms backwards; }
.motion .ck-lead, .motion .ck-copy .btn { animation: ck-rise 600ms var(--out) 380ms backwards; }
.motion .ck-copy .btn { animation-delay: 460ms; }
/* Reel 1's comparison: both bars grow from zero to scale, then the overhang and the gap land. */
@keyframes ck-grow { from { transform: scaleX(0); } }
@keyframes ck-fade { from { opacity: 0; } }
.motion .ck-vs { animation: ck-rise 600ms var(--out) 200ms backwards; }
.motion .vs-bar { transform-origin: left center; animation: ck-grow 900ms var(--ease) 450ms backwards; }
.motion .vs-shop { animation-delay: 540ms; }
.motion .vs-bar b { animation: ck-fade 300ms var(--out) 1250ms backwards; }
.motion .vs-over { animation: ck-fade 260ms var(--out) 1400ms backwards; }
.motion .vs-gap { animation: ck-rise 500ms var(--out) 1500ms backwards; }
@keyframes ck-swap { from { opacity: 0; transform: translateY(8px); } }
.motion .ck-sheet.is-in { animation: ck-swap 220ms var(--out); }
@keyframes ck-tick { from { opacity: 0.6; transform: translateY(0.12em); } }
.motion .ck-out .big.is-tick { animation: ck-tick 140ms var(--out); }
.motion .ck-sheet.is-in { animation-fill-mode: backwards; }
/* A tile in the hero picks a check and scrolls to it: hold the swap until the scroll lands. */
.motion .ck-sheet.is-in.is-late { animation-delay: 350ms; }

/* Motion pass (2026-11-25). check.js puts .ck-io on <html> when its observer is
   running and adds .is-on when a block comes into view. Without .ck-io (script
   failed, reduced motion) these blocks simply show. */
.motion .ck-mark.is-set { transition: transform 260ms var(--ease); }

/* The setup bar draws left to right, so the widths read as time. */
.motion.ck-io .ck-bar .box { clip-path: inset(0 100% 0 0); transition: clip-path 700ms var(--ease) calc(var(--n, 0) * 90ms); }
.motion.ck-io .ck-bar p { opacity: 0; transform: translateY(10px); transition: opacity 450ms var(--out), transform 450ms var(--out); transition-delay: calc(var(--n, 0) * 90ms + 250ms); }
.motion .ck-bar.is-on .box { clip-path: inset(0); }
.motion .ck-bar.is-on p { opacity: 1; transform: none; }

/* Price: the two figures land a beat after their fields' text. */
.motion.ck-io .ck-plan > * { opacity: 0; transform: translateY(16px); transition: opacity 450ms var(--out), transform 550ms var(--out); }
.motion .ck-plan .amt { transform: translateY(0.25em); transition-duration: 650ms; transition-delay: 160ms; }
.motion .ck-plan.p-ds > * { transition-delay: 120ms; }
.motion .ck-plan.p-ds .amt { transition-delay: 280ms; }
/* Buttons only fade, with the delay on opacity alone, so a press still answers at once. */
.motion .ck-plan .ck-plan-btn { transform: none; transition: opacity 450ms var(--out) 280ms, background-color 150ms var(--out), transform 160ms var(--out); }
.motion .ck-plan.p-ds .ck-plan-btn { transition-delay: 400ms, 0ms, 0ms; }
.motion .ck-price.is-on .ck-plan > * { opacity: 1; transform: none; }
.motion .ck-price.is-on .ck-plan .ck-plan-btn:active { transform: scale(0.97); }

/* The lime close opens out to the page edges. */
.motion.ck-io .ck main .ck-end { clip-path: inset(0 var(--m) 0 var(--m)); transition: clip-path 800ms var(--ease); }
.motion .ck main .ck-end.is-on { clip-path: inset(0); }
.js.motion .ck .ck-end .rv { transition-delay: calc(150ms + var(--i, 0) * 70ms); }

@media (max-width: 900px) {
  .ck-index { position: relative; top: auto; }
  .ck-mark { left: 0; top: 0; width: 1px; height: 2px; transform: translate(var(--x, 0), var(--b, 0)) scaleX(var(--w, 0)); }
  .motion.ck-io .ck-bar:not(.is-on) .box { clip-path: inset(0 0 100% 0); }
}
