/* The landing and the terms (15 Nov 2026): the site's ground (the still light from backdrop.js), its glass and its three
   themes from look.css. Glass for the picture of the site and the cards; the rest is words on the ground.
   Spacing: 8 12 16 24 32 48 64 96 128. Type: 14 16 18 20 24 40 80. */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 17px/1.55 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
[hidden]{display:none!important}
.svg-library{position:absolute;width:0;height:0}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.wrap{width:min(1200px,100%);margin-inline:auto;padding-inline:clamp(16px,4vw,48px)}
section[id]{scroll-margin-top:24px}
h1,h2,h3,p,dl,dd,ol,ul,figure{margin:0;padding:0}
ol,ul{list-style:none}
h2{font-size:clamp(28px,3.4vw,40px);line-height:1.1;letter-spacing:-.025em;font-weight:600;text-wrap:balance}
h3{font-size:18px;line-height:1.3;font-weight:600;letter-spacing:-.01em}
b,dt{font-weight:600}
kbd,code{font:600 .86em/1 var(--font);padding:.18em .42em;border-radius:5px;background:var(--row-hover);box-shadow:inset 0 0 0 1px var(--hair-strong);color:var(--text);white-space:nowrap}
code{font-weight:500}
.v{white-space:nowrap}

/* Top */
.top{display:flex;align-items:center;gap:32px;padding-block:24px}
.logo{display:inline-flex;align-items:flex-start;gap:9px;text-decoration:none}
.logo-mark{width:26px;height:26px;fill:var(--brand-mark)}
.logo-word{width:108.1px;height:33.8px;margin-bottom:-7.8px;fill:var(--text)}
.top-nav{display:flex;gap:24px;font-size:15px}
.top-nav a,.plain{color:var(--secondary);text-decoration:none;transition:color .15s ease-out}
.top-nav a:hover,.plain:hover{color:var(--text)}
.top-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.top-tools .plain{font-size:15px;margin-right:8px}
.tool{display:inline-grid;place-items:center;width:40px;height:40px;border:0;border-radius:8px;background:none;color:var(--secondary);cursor:pointer}
.tool:hover{background:var(--row-hover);color:var(--text)}
.tool-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cta{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:8px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background-color .15s ease-out}
.cta-small{min-height:40px;padding:0 16px;font-size:14px;margin-left:8px}
.ghost{display:inline-flex;align-items:center;min-height:52px;padding:0 4px;color:var(--secondary);font-weight:600;text-decoration:none;transition:color .15s ease-out}
.ghost::after{content:"↓";margin-left:8px;font-weight:400}
.ghost:hover{color:var(--text)}

/* Hero: the headline on the left, what it is and the way in on the right, both on one baseline at the foot. */
.hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:32px clamp(32px,5vw,80px);align-items:end;padding-block:clamp(24px,4vw,56px) clamp(40px,5vw,64px)}
h1{font-size:clamp(44px,6.4vw,80px);line-height:1;letter-spacing:-.035em;font-weight:600;text-wrap:balance}
h1 kbd{font-size:.8em;padding:.04em .22em .08em;border-radius:.16em;vertical-align:.06em;box-shadow:inset 0 0 0 2px var(--hair-strong)}
.lead{font-size:18px;color:var(--secondary);max-width:34em}
.hero-plus{margin-top:16px;font-size:18px;font-weight:600}
.hero-actions{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.hero-note{margin-top:16px;font-size:14px;color:var(--muted)}

/* The picture: our site in a glass frame, the game's panel laid over its corner. */
.stage{position:relative}
.stage-frame{border-radius:16px;overflow:hidden;background:var(--tile);border:1px solid var(--tile-edge);box-shadow:0 48px 96px -48px #000c}
.shot{display:block;width:100%;height:auto;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.shot-phone{display:none}
.shot-hud{position:absolute;right:clamp(-8px,-1vw,0px);bottom:40px;width:clamp(180px,20vw,252px);border-radius:12px;box-shadow:0 32px 64px -24px #000d,0 0 0 1px var(--tile-edge)}
.stage figcaption{margin-top:16px;font-size:14px;color:var(--muted);max-width:44em}
:root[data-theme=light] .stage-frame{box-shadow:0 32px 64px -40px #0006}

/* Sections (16 Nov 2026): one rhythm for the whole page. The same space above every section, its title, then its content. */
.block{padding-top:clamp(96px,11vw,152px)}
.block>h2{margin-bottom:40px}

/* How it trades: the one idea shown working, a Bazaar order book where your Buy Order is moved back to the top. */
.trade{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:48px clamp(40px,7vw,112px);align-items:center}
.trade h2,.away h2,.care h2{font-size:clamp(32px,4.2vw,52px);margin-bottom:0}
.trade-text p,.away-text p{margin-top:20px;font-size:19px;line-height:1.6;color:var(--secondary);max-width:30em}
.book{margin:0;border-radius:16px;background:var(--tile);border:1px solid var(--tile-edge);box-shadow:0 48px 96px -48px #000c;padding:8px 8px 4px}
.book-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 16px 14px;font-size:15px}
.book-item{display:inline-flex;align-items:center;gap:10px;font-weight:600}
.book-item img{image-rendering:pixelated}
.book-kind{color:var(--muted);font-size:14px}
.book-rows{position:relative}
.book-rows li{display:grid;grid-template-columns:1.3fr 1fr 1fr;align-items:center;gap:12px;height:52px;padding-inline:16px;border-radius:10px;font-variant-numeric:tabular-nums;font-size:16px;color:var(--secondary);will-change:transform}
.book-rows li+li{box-shadow:inset 0 1px 0 var(--hair)}
.book-rows .price{color:var(--text);font-weight:600}
.book-rows .who{text-align:right}
.book-rows li.you{background:var(--accent-wash);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent);color:var(--text)}
.book-rows li.you .who{color:var(--accent-text);font-weight:600}
.book-rows li.you+li{box-shadow:none}
.book-rows li.fresh .price{color:var(--red)}
.book-status{display:flex;align-items:center;gap:10px;padding:14px 16px 12px;font-size:14px;color:var(--muted);min-height:48px}
.book-status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green);flex:none;transition:background-color .3s ease-out}
.book-status.outbid::before{background:var(--red)}

/* Away: the phone, large, beside two lines. */
.away{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:48px clamp(40px,7vw,112px);align-items:center}
.away-shot{justify-self:center;width:min(100%,360px);border-radius:32px;overflow:hidden;border:1px solid var(--tile-edge);box-shadow:0 48px 96px -40px #000d;max-height:620px;-webkit-mask-image:linear-gradient(#000 78%,transparent);mask-image:linear-gradient(#000 78%,transparent)}
:root[data-theme=light] .away-shot,:root[data-theme=light] .book{box-shadow:0 32px 64px -40px #0006}

/* It looks after itself: three sentences in large type, nothing else. */
.care-lines{margin-top:40px;display:grid}
.care-lines li{padding-block:24px;border-top:1px solid var(--hair-strong);font-size:clamp(20px,2.3vw,28px);line-height:1.35;letter-spacing:-.01em;color:var(--secondary);text-wrap:pretty}
.care-lines li:last-child{border-bottom:1px solid var(--hair-strong)}
.care-lines b{color:var(--text);font-weight:600}

/* Three steps: a real sequence, so numbered. */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:step}
.steps li{counter-increment:step;padding-top:20px;border-top:1px solid var(--hair-strong)}
.steps li::before{content:counter(step);display:block;margin-bottom:16px;font-size:14px;font-weight:600;color:var(--accent-text);font-variant-numeric:tabular-nums}
.steps p{margin-top:8px;color:var(--secondary);font-size:16px}
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.plan{padding-top:20px;border-top:1px solid var(--hair-strong)}
.plan-price{display:flex;align-items:baseline;gap:8px;margin-top:12px;font-variant-numeric:tabular-nums}
.plan-price b{font-size:44px;font-weight:600;letter-spacing:-.02em;line-height:1}
.plan-price span{color:var(--secondary);font-size:16px}
.plan p:last-child{margin-top:12px;color:var(--secondary);font-size:16px}
.cta.cta-off,.cta.cta-off:hover,:root[data-theme] .cta.cta-off,:root[data-theme] .cta.cta-off:hover{background:var(--hair-strong);color:var(--secondary);box-shadow:none;border-color:transparent;cursor:default}
.plan-buy .cta{margin-top:12px;min-height:44px;width:100%;text-decoration:none}

/* Questions: the title on the left, the answers on the right. */
.questions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);gap:32px clamp(32px,5vw,80px)}
.questions>h2{margin-bottom:0}
.faq details{border-bottom:1px solid var(--hair-strong)}
.faq summary{min-height:56px;padding-block:14px;font-size:18px;display:flex;align-items:center;gap:16px;list-style:none;cursor:pointer}
.faq details:first-child summary{padding-top:0;min-height:42px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:8px;height:8px;margin:-4px 4px 0 auto;border:solid var(--muted);border-width:0 1.6px 1.6px 0;transform:rotate(45deg);transition:transform .18s ease-out,margin .18s ease-out}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.faq summary:hover::after{border-color:var(--text)}
.faq p{padding-bottom:16px;color:var(--secondary);font-size:16px;max-width:42em}

/* The last word */
.last{margin-top:clamp(96px,11vw,152px);padding-block:clamp(48px,6vw,96px);position:relative}
.last::before,.foot::before{content:"";position:absolute;top:0;inset-inline:clamp(16px,4vw,48px);border-top:1px solid var(--hair-strong)}
.last p{margin-top:12px;color:var(--secondary);font-size:18px}

/* Foot */
.foot{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding-block:32px 48px;position:relative}
.foot::before{border-top-color:var(--hair)}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:15px}
.foot-links a,.foot-links span{color:var(--secondary);text-underline-offset:3px}
.foot-links a:hover{color:var(--text)}
.foot-note{font-size:14px;color:var(--muted);flex-basis:100%}

/* Terms and privacy */
.legal{max-width:760px;padding-block:clamp(24px,4vw,48px) clamp(64px,7vw,96px)}
.legal h1{font-size:clamp(36px,4.4vw,48px)}
.legal-meta{margin-top:12px;font-size:15px;color:var(--muted)}
.legal-tabs{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:24px;padding-bottom:16px;border-bottom:1px solid var(--hair-strong);font-size:15px}
.legal-tabs a{color:var(--secondary);text-decoration:none}
.legal-tabs a:hover,.legal-tabs a[aria-current="page"]{color:var(--text);font-weight:600}
.legal h2{margin-top:40px;font-size:clamp(20px,2.4vw,24px);line-height:1.25}
.legal h3{margin-top:20px;font-size:17px}
.legal p,.legal li{color:var(--secondary);font-size:16px}
.legal p{margin-top:10px}
.legal a{color:var(--text);text-underline-offset:3px}
.legal ul{margin-top:10px;padding-left:20px;list-style:disc;display:grid;gap:6px}
.legal b,.legal strong{color:var(--text);font-weight:600}

@media(max-width:980px){
  .hero{grid-template-columns:minmax(0,1fr);align-items:start}
  .trade,.away{grid-template-columns:minmax(0,1fr)}
  .away-shot{order:2}
  .questions{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  body{font-size:16px}
  .top{gap:12px;padding-block:16px}
  .top-nav,.top .logo-word,.top-tools .plain{display:none}
  .top-tools{gap:4px}
  .tool{width:44px;height:44px}
  .cta-small{min-height:44px}
  .hero-actions .cta{width:100%}
  .lead,.hero-plus{font-size:17px}
  /* On a phone the picture is the phone page, without the game's panel. */
  .shot-site,.shot-hud{display:none}
  .shot-phone{display:block}
  .stage-frame{width:min(100%,340px);margin-inline:auto;border-radius:24px;max-height:560px;-webkit-mask-image:linear-gradient(#000 75%,transparent);mask-image:linear-gradient(#000 75%,transparent)}
  .stage figcaption{text-align:center;margin-inline:auto}
  .block{padding-top:80px}
  .block>h2{margin-bottom:28px}
  .steps,.plans{grid-template-columns:minmax(0,1fr)}
  .book-rows li{grid-template-columns:1.2fr 1fr .9fr;font-size:15px;padding-inline:12px}
  .care-lines li{padding-block:20px}
  .steps{gap:24px}
  .last{margin-top:80px}
  .foot{flex-direction:column;align-items:flex-start}
  .foot-note{margin-left:0}
  .foot-links a,.foot-links span{display:inline-flex;align-items:center;min-height:44px}
}
@media(pointer:coarse){.top-nav a{display:inline-flex;align-items:center;min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.book-rows li{transition:none!important}.cta,.ghost,.top-nav a,.plain{transition:none}.faq summary::after{transition:none}}
