/* =====================================================================================================================
   CERTY LOOK A ("Broadcast") — 80-site.css (lane L8): the site pages. docs/look/APP_LOOK.md §6.9 (the hero story card),
   §6.22 (the ticker), §9 (landing, /start, /record, legal, 404), frame h-landing.
   SCOPE. Every rule here is under .lk-site, the class on the <html> of a site page (index, start, record). The app never
   carries it, so when LZ concatenates this part into /look.css nothing here touches the app. The site pages link this
   file directly (/look/80-site.css; index and record also /look/00-base.css for the shared primitives), so a page works
   whether or not the concatenated /look.css is current. The legal pages and the 404 page use app/legal.css instead.
   TOKENS. The site's copy of the app's Look A tokens is the one :root block below (.lk-site:root, so it never applies to
   the app): every colour on the site pages comes from it. Team grounds arrive inline as --tc/--td (--ac/--ad/--hc/--hd)
   from look.js lkTeam()/lkPair(), exactly as in the app.
   FONTS. The @font-face rules live in each page's own <style> (the app declares the same families in app.html's head;
   declaring them here too would load them twice in the app).
   RULES. Corners 0. No pills, no yellow, no blur, no blend. Green = Certy's own pre-game %, ONE green lower third per
   story card, a graded hit, and brand chrome (the ticker rule, the c. dot, the record bug's rule). Red = OUT only.
   Unbounded (--f-num) only at 24 px and up. Text never under 11 px. Every transition here is listed at the end, under
   reduced motion.
   ===================================================================================================================== */
.lk-site:root{
  --bg:#05060A; --surface:#0C0E14; --surface-2:#12151C; --black:#000; --ink:#06070B;
  --tx:#fff; --tx2:rgba(235,238,245,.68);
  --paper:#fff; --on-paper:#06070B; --on-panel:#fff; --on-panel-2:rgba(255,255,255,.88);
  --green:#2BE86A; --green-ink:#04220F; --green-deep:#0E3A22; --green-deeper:#04140B; --red:#FF453A;
  --slate:#22304D; --slate-deep:#0B1220; --graphite:#33363D; --graphite-deep:#16181D;
  --edge:rgba(255,255,255,.10); --edge-hi:rgba(255,255,255,.26); --hair:rgba(255,255,255,.14); --ghost:rgba(255,255,255,.045);
  --dim-fill:rgba(255,255,255,.12); --outline:rgba(255,255,255,.46); --scrim:rgba(5,6,10,.62); --shade:rgba(0,0,0,.55);
  --band-rule:rgba(255,255,255,.92); --halo:rgba(255,255,255,.22);
  --f-body:'Certy',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --f-disp:'CertyWide','Certy',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --f-num:'CertyNum','CertyWide','Certy',sans-serif;
  --stripes:repeating-linear-gradient(-62deg,rgba(255,255,255,.055) 0 1px,transparent 1px 7px);
  --stripes-faint:repeating-linear-gradient(-62deg,rgba(255,255,255,.035) 0 1px,transparent 1px 7px);
  --sweep:linear-gradient(112deg,transparent 30%,rgba(255,255,255,.05) 43%,rgba(255,255,255,.11) 50%,rgba(255,255,255,.05) 57%,transparent 70%);
  --vign:radial-gradient(130% 90% at 40% 30%,transparent 50%,rgba(0,0,0,.55));
  --flash:linear-gradient(90deg,transparent,rgba(255,255,255,.07) 50%,transparent);
  --pass:linear-gradient(90deg,transparent,rgba(255,255,255,.16) 50%,transparent);
  --grain:url('/img/look/grain-160.png');
  --t-fast:120ms; --t-base:220ms; --t-panel:380ms; --t-count:720ms;
  --e-snap:cubic-bezier(.2,.9,.1,1); --e-wipe:cubic-bezier(.76,0,.24,1); --e-out:cubic-bezier(.32,.72,0,1);
  --gut:16px; --max:1080px;
}

/* ---------- the page ground, the visually hidden copy, focus ---------- */
.lk-site body{margin:0;background:var(--bg);color:var(--tx);font-family:var(--f-body);-webkit-font-smoothing:antialiased;
  font-feature-settings:"tnum" 1,"lnum" 1}
.lk-site .sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lk-site :focus-visible{outline:2px solid var(--tx);outline-offset:2px;border-radius:0}
.lk-site .lk-dim,.lk-site .dim{color:var(--tx2)}

/* ---------- the c. mark and the wordmark (certy. with the square green dot) ---------- */
.lk-site .lk-cm{display:flex;align-items:baseline;font:800 30px/1 var(--f-body);letter-spacing:-.02em;color:var(--tx);text-decoration:none}
.lk-site .lk-cm i{display:inline-block;flex:none;width:.17em;height:.17em;background:var(--green);margin-left:.06em}
.lk-site .lk-cm.word{display:inline-flex;align-items:baseline;font-size:26px;letter-spacing:-.035em;padding:9px 0}

/* ---------- the top bar: the wordmark and square buttons; solid, never blurred (APP_LOOK §0.8) ---------- */
.lk-site .lk-nav{position:sticky;top:0;z-index:50;background:var(--bg);padding-top:env(safe-area-inset-top)}
.lk-site .lk-nav.stuck{box-shadow:inset 0 -1px 0 var(--edge)}
.lk-site .lk-nav .nav-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px}
.lk-site .lk-nav .nav-cta{display:flex;align-items:center;gap:8px}
@media (max-width:560px){ .lk-site .lk-nav .nav-cta .ghost{display:none} }

/* ---------- buttons on the site: the base .lk-btn (00-base.css) plus a CSS arrow, so a button's text stays plain text
   (the tests read `href="/start">Start the free week</a>` as it is). The arrow is a mask over currentColor. ---------- */
.lk-site .lk-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:10px 16px;border:0;border-radius:0;
  background:var(--paper);color:var(--on-paper);cursor:pointer;text-decoration:none;text-align:left;
  font:800 13px/1.15 var(--f-disp);font-variation-settings:'wdth' 112;letter-spacing:.09em;text-transform:uppercase}
.lk-site .lk-btn.full{display:flex;width:100%}
.lk-site .lk-btn.ghost{background:transparent;color:var(--tx);box-shadow:inset 0 0 0 1.5px var(--outline)}
.lk-site .lk-btn.sm{min-height:44px;padding:0 14px;font-size:11px;gap:10px}
.lk-site .lk-btn.lg{min-height:52px}
.lk-site .lk-btn.arw::after{content:"";flex:none;width:18px;height:18px;background:currentColor;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M5 12h13.5M13 6.5l5.5 5.5-5.5 5.5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M5 12h13.5M13 6.5l5.5 5.5-5.5 5.5'/%3E%3C/svg%3E");
  -webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
.lk-site .lk-btn.sm.arw::after{width:16px;height:16px}
.lk-site .lk-btn:focus-visible{outline:2px solid var(--tx);outline-offset:2px}

/* ---------- the kicker (one line of wide caps over the h1; flow, not flex, so the spaces between its runs are kept and it
   wraps at a space) ---------- */
.lk-site .lk-kick{display:block;margin:0;font:800 12px/1.5 var(--f-disp);
  font-variation-settings:'wdth' 125;letter-spacing:.07em;text-transform:uppercase;color:var(--tx)}
.lk-site .lk-kick > *{display:inline}
.lk-site .lk-kick .sep::before{content:"\00a0\00b7\00a0"}
.lk-site .lk-ft .tl{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;object-fit:contain}

/* ---------- the hero story card (§6.9), for the landing. The app's card geometry, measured against the CARD's width
   (container units) instead of the viewport's, so the head safe box holds wherever the card sits (a phone's full width,
   or a desktop column): face bottom = 187.7px - 17.8vw with vw = card + 32 px  ->  182px - 17.8cqw; the number
   min(118px, 30vw) -> min(118px, 9.6px + 30cqw). The vw lines stay first as the fallback. ---------- */
.lk-site .lk-hero{position:relative;overflow:hidden;height:424px;max-width:430px;background:var(--bg);color:var(--on-panel);container-type:inline-size}
.lk-site .lk-hero .pan{position:absolute;left:0;right:0;top:52px;bottom:0;overflow:hidden}
.lk-site .lk-hero .lk-tex.st.dr{left:-16px;right:-16px}
.lk-site .lk-hero .ghost{position:absolute;left:-8px;top:58px;z-index:1;margin:0;font-size:150px;color:var(--ghost);white-space:nowrap;pointer-events:none}
.lk-site .lk-hero .face{position:absolute;right:-11%;z-index:2;width:min(70%,260px);height:auto;bottom:calc(187.7px - 17.8vw);bottom:calc(182px - 17.8cqw);
  filter:drop-shadow(0 18px 22px var(--shade));-webkit-mask-image:linear-gradient(#000 70%,transparent 97%);mask-image:linear-gradient(#000 70%,transparent 97%)}
.lk-site .lk-hero .hl{position:absolute;left:var(--gut);right:var(--gut);top:64px;z-index:3;margin:0;font-size:38px;line-height:.86}
.lk-site .lk-hero .hl .lk-fit{display:block}
.lk-site .lk-hero .l3{position:absolute;left:var(--gut);right:var(--gut);bottom:150px;z-index:3}
.lk-site .lk-hero .big{position:absolute;left:12px;bottom:46px;z-index:3;line-height:.8}
.lk-site .lk-hero .big .lk-num{font-size:min(118px,30vw);font-size:min(118px,calc(9.6px + 30cqw))}
.lk-site .lk-hero .dk{position:absolute;left:var(--gut);right:var(--gut);bottom:16px;z-index:3;color:var(--on-panel-2)}
.lk-site .lk-hero .dk b{color:var(--on-panel);font-weight:800}
.lk-site .lk-hero .lk-band{z-index:4}
.lk-site .lk-hero > .lk-tex.vg{z-index:0}
.lk-site .lk-hero .lk-band .mid .s{font-size:11px}

/* ---------- face tiles, rows and marks on the site (the base primitives, with the site's monogram fallback) ---------- */
.lk-site .lk-ft .mono[hidden]{display:none}
.lk-site .lk-ft .gl{position:absolute;inset:0;display:grid;place-items:center;color:var(--on-panel)}
.lk-site .lk-ft .gl svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lk-site .lk-row .rt .src{font-size:11px}
.lk-site .lk-row .nm{margin:0}

/* ---------- the hit / miss grid (/record; the X record card's grid): one square per graded play, hits first. A hit is
   green, a miss red (C3, 11/09); the words beside it say which is which (never colour alone). ---------- */
.lk-site .lk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(6px,1fr));gap:2px}
.lk-site .lk-grid i{display:block;aspect-ratio:1;background:var(--red)}
.lk-site .lk-grid i.h{background:var(--green)}
.lk-site .lk-key{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:12px}
.lk-site .lk-key span{display:inline-flex;align-items:center;gap:8px}

/* ---------- the record bug (the landing's split NFL record): black, a 2 px green top rule, white counts ---------- */
.lk-site .lk-bugb{background:var(--black);border-top:2px solid var(--green)}

/* ---------- the ticker (§6.22): closes every site page. Black, a 2 px green rule, c. | certy.bet, the offer in green,
   the page's full disclaimer, the legal links (44 px targets). Never in the app (the tab bar wears this skin there). ---------- */
.lk-site .lk-ticker{background:var(--black);border-top:2px solid var(--green);color:var(--tx2);
  padding:18px 0 calc(26px + env(safe-area-inset-bottom));font:450 13px/1.6 var(--f-body)}
.lk-site .lk-ticker .row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.lk-site .lk-ticker .url{padding-left:14px;box-shadow:inset 1px 0 0 var(--edge-hi);font:800 22px/1 var(--f-body);letter-spacing:-.01em;color:var(--tx)}
.lk-site .lk-ticker .url b{color:var(--green);font-weight:800}
.lk-site .lk-ticker .offer{margin:12px 0 0;color:var(--green);font:800 12px/1.4 var(--f-disp);font-variation-settings:'wdth' 125;letter-spacing:.07em;text-transform:uppercase}
.lk-site .lk-ticker .ft{margin:10px 0 0;max-width:72ch;color:var(--tx2)}
.lk-site .lk-ticker .ft b,.lk-site .lk-ticker .rg{color:var(--tx);font-weight:650}
.lk-site .lk-ticker a{color:var(--tx);text-decoration:underline;text-underline-offset:2px}
.lk-site .lk-ticker .links{display:flex;flex-wrap:wrap;gap:0 20px;margin-top:10px}
.lk-site .lk-ticker .links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;text-decoration:none;font-weight:650;color:var(--tx)}   /* LZ: 'Terms' was 38 px wide; a row of links is not a sentence (§8) */
.lk-site .lk-ticker .co{margin-top:2px;color:var(--tx2)}

/* ---------- reduced motion (§7.1): the site's own transitions, by name; html.rm is the previews' switch ---------- */
@media (prefers-reduced-motion:reduce){
  .lk-site{scroll-behavior:auto}
  .lk-site .lk-nav{transition:none}
}
html.rm.lk-site .lk-nav{transition:none}

/* ---------- FIXER C7: the helpline is one unit on every site page (it split '1-800-' / 'GAMBLER' at its hyphens in the
   landing's Pro card and its why-trust block): a tap-to-call link and a marked run (.nw) never break ---------- */
.lk-site .nw,.lk-site a[href^="tel:"]{white-space:nowrap}
