/* mintgm.com. Tokens live in tokens.css (dark by default, light follows the visitor's system); nothing here hard-codes a colour,
   size or duration that has a token. One sheet for every page: the bar and the footer, the text pages, the home's tiles, the
   waitlist's form, the odds tables. No motion but the press of a key. The Designer restyles it; the markup is src/site. */
*,*::before,*::after{box-sizing:border-box}
/* the page edge, clear of a notch held sideways (the layout asks for viewport-fit=cover); the type, its fallbacks sized to it (fonts.css), so a first
   load doesn't jump; the ground behind a poster, dark in both looks as the posters are, so one never pops from white; and the form's ink, the edge that
   says where a control is, as the head of design ruled it, at 3:1 on every ground as painted over the control's fill (src/site/site.test.ts). Light has its own below. */
:root{--edge-l:max(var(--s16),env(safe-area-inset-left,0px));--edge-r:max(var(--s16),env(safe-area-inset-right,0px));--font:'Plus Jakarta Sans','Mint Arial','Mint Roboto',-apple-system,system-ui,sans-serif;--poster-ground:#0A0A0A;--form-edge:rgba(255,255,255,.42)}
/* Contrast in light (src/site/site.test.ts checks every pair): small text takes ink2's strength, the pour ends at g600 so a
   headline in it reads at 3:1, and the attention label is darker. The brand's tokens.css is left as it is. */
html[data-mode="light"]{--ink3:var(--ink2);--pour:linear-gradient(90deg,var(--g700),var(--g600));--att:#7A6B0B;--form-edge:rgba(60,60,67,.62)}
@media (prefers-color-scheme: light){html:not([data-mode]){--ink3:var(--ink2);--pour:linear-gradient(90deg,var(--g700),var(--g600));--att:#7A6B0B;--form-edge:rgba(60,60,67,.62)}}
html{-webkit-text-size-adjust:100%;color-scheme:dark light;scroll-padding-top:calc(52px + env(safe-area-inset-top,0px))}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;font-size:var(--t-body);line-height:var(--lh-body);letter-spacing:var(--tr-body);min-height:100vh;display:flex;flex-direction:column}
img{max-width:100%}
a{color:var(--aura);text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--aura);outline-offset:3px;border-radius:var(--r-sm)}
.skip{position:absolute;left:var(--edge-l);top:-100px;background:var(--s1);color:var(--ink);padding:var(--s8) var(--s16);border:1px solid var(--bd3);border-radius:var(--r-sm);z-index:30}
.skip:focus{top:var(--s8)}
main{flex:1;outline:none}
.wrap{width:100%;max-width:44rem;margin:0 auto;padding:var(--s40) var(--edge-r) var(--s64) var(--edge-l)}
.wrap.wide{max-width:60rem}

/* the bar: the name, and the one key */
.bar{position:sticky;top:0;z-index:20;padding-top:env(safe-area-inset-top,0px);background:var(--canvas);border-bottom:1px solid var(--bd)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) and (background:color-mix(in srgb,red,blue)){
  .bar{background:color-mix(in srgb,var(--canvas) 72%,transparent);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}
}
.bar-in{max-width:68rem;margin:0 auto;height:52px;padding:0 var(--edge-r) 0 var(--edge-l);display:flex;align-items:center;justify-content:space-between;gap:var(--s16)}
.brand{display:inline-flex;align-items:center;min-height:24px;line-height:0}
.brand img{height:20px;width:auto}
.key{display:inline-flex;align-items:center;min-height:32px;padding:0 var(--s12);border:1px solid transparent;border-radius:var(--r-sm);background:var(--ink);color:var(--canvas);font-size:var(--t-label);font-weight:700;letter-spacing:-.005em;text-decoration:none;transition:transform var(--d-instant) var(--e-move)}
.key:active{transform:scale(.96)}
.key:focus-visible{outline-color:var(--ink)}

/* the footer */
.foot{border-top:1px solid var(--bd);background:var(--s1);font-size:var(--t-label);line-height:var(--lh-label);color:var(--ink3)}
.foot .wrap{padding-top:var(--s32);padding-bottom:calc(var(--s40) + env(safe-area-inset-bottom,0px))}
.foot p{margin:0 0 var(--s8);max-width:34rem}
.foot-nav{display:flex;flex-wrap:wrap;gap:0 var(--s20);margin:0 0 var(--s16)}
.foot-nav a{color:var(--ink2);text-decoration:none;padding:var(--s8) 0;font-weight:var(--fw-label)}
.foot-nav a:hover{color:var(--ink)}
.foot-nav a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--aura);text-decoration-thickness:2px}
.foot-credits{font-size:var(--t-caption);line-height:var(--lh-caption)}

/* the name, by canvas */
.logo-dark{display:block}.logo-light{display:none}
html[data-mode="light"] .logo-dark{display:none}html[data-mode="light"] .logo-light{display:block}
@media (prefers-color-scheme: light){
  html:not([data-mode]) .logo-dark{display:none}
  html:not([data-mode]) .logo-light{display:block}
}

/* the DRAFT banner: stays until the owner approves a page */
.draft{background:var(--s1);border:1px solid var(--bd3);border-left:4px solid var(--att);border-radius:var(--r-sm);padding:var(--s16);margin:0 0 var(--s32);font-size:var(--t-label);line-height:1.5;color:var(--ink);box-shadow:var(--e1)}
.draft p{margin:0 0 var(--s8)}.draft p:last-child{margin:0}
.draft-label{display:block;font-weight:700;color:var(--att);letter-spacing:.04em;text-transform:uppercase;font-size:var(--t-caption);margin-bottom:var(--s8)}
.draft blockquote{margin:0;padding:0;border:0;color:inherit}

/* the text pages */
.prose{overflow-wrap:break-word;font-size:var(--t-body);line-height:1.6}
.prose h1{font-size:clamp(2rem,7vw,var(--t-headline));line-height:var(--lh-headline);letter-spacing:var(--tr-headline);font-weight:700;margin:0 0 var(--s24);text-wrap:balance}
.prose h2{font-size:1.375rem;line-height:1.25;letter-spacing:-.015em;font-weight:700;margin:var(--s48) 0 var(--s12);text-wrap:balance;scroll-margin-top:var(--s16)}
.prose h3{font-size:1.0625rem;line-height:1.35;font-weight:700;margin:var(--s32) 0 var(--s8);scroll-margin-top:var(--s16)}
.prose h4{font-size:var(--t-body);font-weight:600;margin:var(--s24) 0 var(--s8);scroll-margin-top:var(--s16)}
.prose p,.prose ul,.prose ol,.prose dl{margin:0 0 var(--s16)}
.prose p,.prose li,.prose dd{color:var(--ink2)}
.prose strong{font-weight:700;color:var(--ink)}
.prose .lead{font-size:1.1875rem;line-height:1.45;color:var(--ink2);margin-bottom:var(--s24)}
.prose ul,.prose ol{padding-left:var(--s24)}
.prose li{margin:0 0 var(--s8)}
.prose li::marker{color:var(--ink3)}
.prose hr{border:0;border-top:1px solid var(--bd2);margin:var(--s40) 0}
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;background:var(--s2c);border:1px solid var(--bd);border-radius:var(--r-sm);padding:0 var(--s4);overflow-wrap:anywhere}
.prose blockquote{margin:0 0 var(--s16);padding:var(--s4) var(--s16);border-left:3px solid var(--bd3);color:var(--ink2)}
.prose .fine{font-size:var(--t-label);line-height:var(--lh-label);color:var(--ink3)}
.prose a[href^="tel:"]{white-space:nowrap}

/* tables: figures scroll sideways in their frame on a small screen, words stack (below); a caption stands above, where it wraps and stays in view */
.prose .caption{margin:0 0 var(--s8);color:var(--ink3);font-size:var(--t-caption);line-height:var(--lh-caption)}
.table-scroll,.table-frame{margin:0 0 var(--s24);border:1px solid var(--bd2);border-radius:var(--r-sm);background:var(--s1)}
.table-scroll{overflow-x:auto;background:linear-gradient(to right,var(--s1) 30%,transparent) 0 0/32px 100% no-repeat local,linear-gradient(to left,var(--s1) 30%,transparent) 100% 0/32px 100% no-repeat local,linear-gradient(to right,color-mix(in srgb,var(--ink) 18%,transparent),transparent) 0 0/12px 100% no-repeat scroll,linear-gradient(to left,color-mix(in srgb,var(--ink) 18%,transparent),transparent) 100% 0/12px 100% no-repeat scroll;background-color:var(--s1)}
.table-frame{position:relative}
.table-scroll:focus-visible{outline-offset:0}
.prose table{border-collapse:collapse;width:100%;font-size:var(--t-label);line-height:1.45}
.prose th,.prose td{text-align:left;vertical-align:top;padding:var(--s12);border-bottom:1px solid var(--bd)}
.prose thead th{font-weight:700;color:var(--ink)}
.prose tbody th{font-weight:600;color:var(--ink)}
.prose tr:last-child>*{border-bottom:0}
/* number tables: tabular figures, right-aligned, the row's head held in view while the rest scrolls */
/* the Blackjack report's tables: compact, tabular figures */
.prose .report{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}
.prose .report th,.prose .report td{padding:var(--s8)}
.prose .num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap}
.prose .num td,.prose .num thead th:not(:first-child){text-align:right}
.prose .num th,.prose .num td{padding:var(--s8) var(--s12)}
.prose .num tbody th,.prose .num thead th:first-child,.prose .report tbody th,.prose .report thead th:first-child{position:sticky;left:0;background:var(--s1);box-shadow:1px 0 0 var(--bd)}

/* the odds page: each game under its own anchor, clear of the bar */
.odds .game{margin-top:var(--s64);scroll-margin-top:var(--s16)}
.odds .game h2{margin-top:0}
.odds .line{color:var(--ink3);margin-top:calc(-1 * var(--s8))}
.odds .figure{font-size:1.125rem;margin-top:var(--s16)}
.odds .same{color:var(--ink)}

/* the press kit's facts */
.prose dl.facts{display:grid;gap:0;margin:0 0 var(--s24);border:1px solid var(--bd2);border-radius:var(--r-sm);background:var(--s1)}
.prose dl.facts div{display:grid;grid-template-columns:minmax(7.5rem,32%) minmax(0,1fr);gap:var(--s12);padding:var(--s12);border-bottom:1px solid var(--bd);font-size:var(--t-label);line-height:1.45}
.prose dl.facts div:last-child{border-bottom:0}
.prose dl.facts dt{font-weight:600;color:var(--ink)}
.prose dl.facts dd{margin:0;overflow-wrap:anywhere}

/* the home: one idea per tile, the tiles alternating the canvas and the first surface step */
.home main{padding:0}
.tile{display:grid;justify-items:center;text-align:center;gap:var(--s16);padding:clamp(var(--s64),12vh,var(--s128)) var(--edge-r) clamp(var(--s64),12vh,var(--s128)) var(--edge-l)}
.tile-alt{background:var(--s1)}
.tile > *{margin:0;max-width:44rem}
.display{font-size:clamp(2.75rem,10.5vw,6rem);line-height:1.02;letter-spacing:-.045em;font-weight:var(--fw-display);text-wrap:balance}
.headline{font-size:clamp(2.25rem,7vw,4.5rem);line-height:1.05;letter-spacing:-.04em;font-weight:var(--fw-display);text-wrap:balance}
.tile .lead,.note-page .lead{font-size:clamp(1.125rem,2.4vw,1.5rem);line-height:1.3;letter-spacing:-.012em;font-weight:600;color:var(--ink2);max-width:22.9em;text-wrap:balance}
.fine{font-size:var(--t-label);line-height:var(--lh-label);color:var(--ink3);max-width:29.3em}
.pour{background:var(--pour);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.more{font-weight:600;text-decoration:none}
.more::after{content:" \203A";content:" \203A" / ""}
.more:hover{text-decoration:underline}
.tile-hero{padding-top:clamp(var(--s64),14vh,var(--s128));padding-bottom:var(--s32)}
.tile-hero .badges{margin-top:28px}

/* the games: the seven posters, in a row that scrolls sideways on a phone. 150 wide, so the third peeks: 50 of it shows at 390 (the head of design's) */
.tile-games{padding-top:var(--s40);padding-bottom:var(--s40);padding-left:0;padding-right:0}
.tile-get{padding-top:var(--s48)}
.tile-games > .games-scroll{max-width:none;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:var(--edge-l);scroll-padding-right:var(--edge-r);scrollbar-width:none}
.games-scroll::-webkit-scrollbar{display:none}
.games{display:flex;gap:var(--s12);list-style:none;margin:0;padding:var(--s8) var(--edge-r) var(--s8) var(--edge-l);width:max-content;text-align:left}
.games .game{flex:none;width:150px;scroll-snap-align:start;display:grid;align-content:start;gap:var(--s4)}
.games .game img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;background:var(--poster-ground);border-radius:var(--r-md);margin-bottom:var(--s8);box-shadow:0 0 0 1px var(--bd)}
.games .game b{font-size:1.125rem;line-height:1.2;letter-spacing:-.015em;font-weight:700}
.games .game span{font-size:var(--t-label);line-height:1.3;color:var(--ink2)}

/* the store badges (S1, S2): Apple's and Google's artwork, unmodified; Apple's at least 40 px high, first */
.badges{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s12);margin:0;padding:0;list-style:none}
.badge{display:inline-flex;padding:var(--s8);line-height:0}
.badge img{height:48px;width:auto;flex:none;max-width:none}
/* Google's file carries its own clear space (41 of 250 px a side): drawn 72 tall, its badge stands 48, as Apple's, in the same room */
/* its width is set too, 186 for its 646 x 250 file (the img's own attributes say so): an auto width let the inline-flex badge squeeze it to 162; its -12px margins shrink the badge to 162, so the page's img{max-width:100%} clamped it there (w8x-80) */
.badge-google img{height:72px;width:186px;flex:none;max-width:none;margin:-12px}

/* the waitlist's form */
.waitlist{display:grid;gap:var(--s20);width:100%;max-width:26rem;text-align:left}
.field{display:grid;gap:var(--s8);margin:0;padding:0;border:0;min-width:0}
.field > label,.choice legend{font-size:var(--t-label);font-weight:600;color:var(--ink)}
.choice legend{padding:0;margin:0 0 var(--s8)}
.waitlist input[type="email"][aria-invalid="true"]{border-color:var(--neg)}
.waitlist input[type="email"]{width:100%;min-height:48px;padding:0 var(--s12);font:inherit;font-size:var(--t-body);font-feature-settings:"calt" 0;color:var(--ink);background:var(--s2c);border:1px solid var(--form-edge);border-radius:var(--r-sm)}
.waitlist input[type="email"]:focus-visible{outline-offset:1px}
.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s8)}
.choices label{position:relative;display:flex}
.choices input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.choices span{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 var(--s8);border:1px solid var(--form-edge);border-radius:var(--r-sm);background:var(--s2c);font-size:var(--t-label);font-weight:600;color:var(--ink2)}
.choices input:checked + span{border-color:var(--aura);color:var(--ink);box-shadow:inset 0 0 0 1px var(--aura)}
.choices input:focus-visible + span{outline:2px solid var(--aura);outline-offset:2px}
.tick label{display:flex;gap:var(--s12);align-items:flex-start;font-size:var(--t-body);color:var(--ink);cursor:pointer}
.tick input{flex:none;-webkit-appearance:none;appearance:none;display:grid;place-content:center;width:22px;height:22px;margin:1px 0 0;background:var(--s2c);border:1px solid var(--form-edge);border-radius:var(--r-sm);cursor:pointer}
.tick input:checked{background:var(--aura);border-color:var(--aura)}
.tick input:checked::before{content:"";width:6px;height:11px;margin-top:-2px;border:solid var(--canvas);border-width:0 2px 2px 0;transform:rotate(45deg)}
.waitlist .note{margin:0 0 0 34px;font-size:var(--t-label);line-height:var(--lh-label);color:var(--ink3)}
.waitlist .consent{margin:0;font-size:var(--t-label);line-height:1.45;color:var(--ink3)}
.waitlist button{min-height:48px;padding:0 var(--s20);font:inherit;font-size:var(--t-body);font-weight:700;color:var(--canvas);background:var(--aura);border:1px solid transparent;border-radius:var(--r-sm);cursor:pointer;transition:transform var(--d-instant) var(--e-move)}
.waitlist button:active{transform:scale(.98)}
.waitlist button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* a page that says one thing: a waitlist answer, the 404 */
.note-page{display:grid;justify-items:center;text-align:center;gap:var(--s16);padding:clamp(var(--s64),16vh,var(--s128)) var(--edge-r) clamp(var(--s64),16vh,var(--s128)) var(--edge-l)}
.note-page > *{margin:0}
.note-page .waitlist{margin-top:var(--s16)}

/* a text table on a phone: each row a block, each cell with its head beside it; the head stays for a screen reader */
@media (max-width:34rem){
  .table-frame table,.table-frame tbody,.table-frame tr,.table-frame td,.table-frame th{display:block}
  .table-frame thead{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .table-frame tr{padding:var(--s12);border-bottom:1px solid var(--bd)}
  .table-frame tr:last-child{border-bottom:0}
  .prose .table-frame td,.prose .table-frame tbody th{padding:0;border-bottom:0}
  .prose .table-frame td + td,.prose .table-frame td + th,.prose .table-frame th + td{margin-top:var(--s8)}
  .table-frame td[data-label]::before{content:attr(data-label);display:block;margin-bottom:var(--s2);font-size:var(--t-caption);line-height:var(--lh-caption);font-weight:600;color:var(--ink3)}
}
@media (min-width:48rem){
  :root{--edge-l:max(var(--s24),env(safe-area-inset-left,0px));--edge-r:max(var(--s24),env(safe-area-inset-right,0px))}
  .wrap{padding-top:var(--s64)}
  .tile-games{padding-bottom:clamp(var(--s64),12vh,var(--s128))}
  .tile-get{padding-top:clamp(var(--s64),12vh,var(--s128))}
}
@media (min-width:64rem){
  .tile-games > .games-scroll{max-width:68rem;overflow:visible}
  .games{display:grid;grid-template-columns:repeat(7,1fr);width:auto}
  .games .game{width:auto}
}
/* a key answers the pointer, where there is one */
@media (hover:hover){
  .key:hover,.waitlist button:hover{filter:brightness(1.1)}
  .choices label:hover span{border-color:var(--ink2)}
}
/* the names in /odds' table of games are 24 px each way with a pointer (WCAG 2.5.8), and 44 on a touch screen (below) */
table.summary th a{display:inline-flex;align-items:center;min-width:24px;min-height:24px}
/* a tap is 44 px on a touch screen: the bar's key, the brand, the footer's links, a page's own links, the tick, each help line's number, a
   list of links (a page's contents, Start here), and the names in /odds' table of games */
@media (pointer:coarse){
  .key{min-height:44px;padding:0 var(--s16)}
  .brand{min-height:44px;align-items:center}
  .foot-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px}
  .more{display:inline-flex;align-items:center;gap:.25em;min-height:44px}
  .tick label{align-items:center;min-height:44px}
  .prose a[href^="tel:"],.prose li > a:only-child{display:inline-flex;align-items:center;min-height:44px}
  table.summary th a{min-width:44px;min-height:44px}
}
/* forced colours (Windows' high contrast) drop fills and shadows: the clear borders on the keys show, a chosen chip keeps the system's own highlight, and
   the tick is the browser's own */
@media (forced-colors:active){
  .choices input:checked + span{forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:Highlight}
  .tick input{-webkit-appearance:auto;appearance:auto}
}
