/* Vanta Tweaks. Colors match the Figma variables and DESIGN.md in vanta-design. */
/* The same font files as the apps (fonts/, OFL licensed), served from this site: nothing loads from Google */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-extrabold.ttf") format("truetype"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-regular.ttf") format("truetype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-semibold.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }
:root {
  --void: #0B0B0C;
  --surface: #141416;
  --raised: #1B1B1E;
  --line: #2A2A2D;
  --muted: #8A8A8E;
  --paper: #F2F2F2;
  --red: #FF4D2E;      /* spice, not sauce: the live dot, the main button, small accents */
  --ok: #3DDC84;       /* only for "yes, this works" answers */
  --warn: #FFB020;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: 16px;
  --radius: 14px;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  --discord: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.79 19.79 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.865-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.74 19.74 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.1 13.1 0 0 1-1.872-.892.077.077 0 0 1-.008-.128c.126-.094.252-.192.372-.291a.074.074 0 0 1 .078-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.3 12.3 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.84 19.84 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z'/%3E%3C/svg%3E");
}
@media (min-width: 600px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font: 400 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--paper); color: var(--void); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Type */
.display, .h1, .h2, .h3, .price, .step__num, .plan__price { font-family: var(--display); font-stretch: 112%; }
.display { font-weight: 900; font-size: clamp(52px, 10vw, 112px); line-height: 0.92; letter-spacing: -0.03em; }
.h1 { font-weight: 800; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-weight: 700; font-size: 24px; line-height: 1.15; }
.h3 { font-weight: 700; font-size: 20px; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36em; }
.note { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.fine { color: var(--muted); font-size: 14px; }
.link { color: var(--paper); font-weight: 600; font-size: 15px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  font: 600 16px/1 var(--text); white-space: nowrap;
  border: 1px solid var(--line); cursor: pointer; color: var(--paper); background: none;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { position: relative; overflow: hidden; background: var(--red); border-color: var(--red); color: var(--void);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 22px -10px rgba(255, 77, 46, .7); }
.btn--primary:hover { background: #ff6a50; border-color: #ff6a50; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 32px -8px rgba(255, 77, 46, .65); }
/* a quick shine across the main button on hover */
.btn--primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%); transition: transform .7s ease;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost:hover { border-color: var(--muted); background: var(--surface); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn--block { display: flex; width: 100%; }
.btn--discord::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: var(--discord) center / contain no-repeat; mask: var(--discord) center / contain no-repeat; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 12, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { margin-right: auto; display: block; color: var(--paper); }
.logo svg { display: block; width: 104px; height: auto; }
.top__nav { display: none; gap: 28px; color: var(--muted); font-size: 15px; }
.top__nav a:hover { color: var(--paper); }
@media (min-width: 860px) { .top__nav { display: flex; } }

/* Logged in: your Discord name and a small menu */
.who { position: relative; }
.me { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 6px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--paper); font: 600 14px var(--text); cursor: pointer; }
.me:hover, .me[aria-expanded="true"] { border-color: var(--muted); }
.me img { width: 30px; height: 30px; border-radius: 50%; }
.me span { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; display: grid;
  border: 1px solid var(--line); border-radius: 12px; background: var(--raised); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }
.menu a, .menu button { padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--paper); font: 500 15px var(--text); text-align: left; cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--surface); }
.menu button { color: var(--muted); }

/* Hero, with two soft lights drifting slowly behind the headline */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 9vw, 104px) 0 0; text-align: center; overflow: hidden; }
.aurora { position: absolute; inset: 0 0 auto; height: 820px; z-index: -1; pointer-events: none; }
.aurora span { position: absolute; left: 50%; border-radius: 50%; filter: blur(100px); }
.aurora span:first-child { top: -260px; width: 720px; height: 520px; margin-left: -560px; background: rgba(255, 77, 46, .3); animation: drift 16s ease-in-out infinite alternate; }
.aurora span:last-child { top: -180px; width: 560px; height: 440px; margin-left: -20px; background: rgba(255, 122, 46, .18); animation: drift 21s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(160px, 50px) scale(1.15); } }
.hero__text { display: grid; justify-items: center; gap: 22px; }
.hero__text .lead { max-width: 30em; }
/* A light that runs around a border: the pill and the product card */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --a: 360deg; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid transparent; border-radius: 999px; font-size: 14px; color: var(--paper);
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              conic-gradient(from var(--a), var(--line) 0 65%, var(--red) 80%, #ffb4a3 84%, var(--red) 88%, var(--line) 100%) border-box;
  animation: orbit 5s linear infinite;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero__actions--left { justify-content: flex-start; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
@media (max-width: 480px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Screenshot tabs above the hero picture */
.tabs { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: clamp(40px, 6vw, 64px) auto 16px; padding: 4px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 8px;
  background: none; color: var(--muted); font: 600 15px var(--text); cursor: pointer; }
.tabs button:hover { color: var(--paper); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--void); }
.tabs__tag { font-size: 12px; padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; }

/* App screenshot in a window frame */
.shot { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.shot__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.shot--hero { max-width: 1000px; margin-left: auto; margin-right: auto; text-align: left;
  /* fades into the page so the screenshot reads as part of the hero, not a pasted image */
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.shot [role="tabpanel"] { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; } }
/* The hero screenshot leans back and straightens as you scroll (--tilt from script.js), with a red light under it and
   a slow glare across the glass */
.stage { position: relative; perspective: 1600px; }
.stage::before { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; top: 6%; height: 55%; background: rgba(255, 77, 46, .2); filter: blur(90px); }
.shot--hero { position: relative; transform: rotateX(calc(var(--tilt, 0) * 18deg)); transform-origin: 50% 0; }
.glare { position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%); animation: glare 9s ease-in-out 1.5s infinite;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, .02) 52%, transparent 60%); }
@keyframes glare { 0% { transform: translateX(-100%); } 28%, 100% { transform: translateX(100%); } }

/* Boxes, and the soft light that follows the pointer over some of them */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.glow { position: relative; isolation: isolate; transition: border-color .2s; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 77, 46, .09), transparent 65%); }
.glow:hover { border-color: #3a3a3e; }
.glow:hover::before { opacity: 1; }
/* ...and lights up the border near the pointer */
.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 110, 80, .8), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow:hover::after { opacity: 1; }

/* Sections */
.section { padding-top: clamp(72px, 10vw, 128px); }
.section__head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.section__head .h1 { max-width: 18ch; }

/* Steps: a numbered line, not three boxes */
.steps { list-style: none; padding: 0; display: grid; gap: 32px; counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--red); }
.step .h3 { display: flex; align-items: center; gap: 10px; }
.step p { color: var(--muted); max-width: 30em; }
.step__num { font: 800 15px var(--display); font-stretch: 112%; color: var(--red); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.shot__note { margin-top: 14px; text-align: center; }

.tag { font: 600 13px/1.4 var(--text); color: var(--red); border: 1px solid var(--red); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tag--quiet { color: var(--muted); border-color: var(--line); }

.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--paper);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.ticks--big li { font-size: 17px; padding-left: 30px; }
.ticks--big li::before { top: 5px; background: var(--red); }

/* BIOS spotlight */
.spot { display: grid; gap: 40px; align-items: center; }
.spot__text { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 960px) { .spot { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }

/* Shop: the product with its plan picker */
.product { display: grid; gap: 28px; padding: clamp(22px, 3vw, 36px); border-color: transparent; box-shadow: 0 30px 80px -45px rgba(255, 77, 46, .45);
  background: linear-gradient(160deg, rgba(255, 77, 46, .08), transparent 45%) padding-box, linear-gradient(var(--surface), var(--surface)) padding-box,
              conic-gradient(from var(--a), rgba(255, 77, 46, .3) 0 62%, var(--red) 76%, #ffc2b4 80%, var(--red) 84%, rgba(255, 77, 46, .3) 100%) border-box;
  animation: orbit 9s linear infinite; }
.product__info { display: grid; gap: 16px; align-content: start; }
.product__info > p { color: var(--muted); font-size: 17px; }
.product__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font-size: 13px; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--void); }
.product__buy { display: grid; gap: 16px; align-content: start; }
.plans { border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.plans legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.plan { position: relative; display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--void);
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.plan:hover { border-color: var(--muted); }
.plan:active { transform: scale(.98); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { border-color: var(--red); background: rgba(255, 77, 46, .08); box-shadow: inset 0 0 0 1px var(--red), 0 12px 30px -14px rgba(255, 77, 46, .8); }
.plan { transition: border-color .15s, background .15s, transform .15s, box-shadow .25s; }
.plan:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.plan__len { font-weight: 600; font-size: 15px; }
.plan__price { font-weight: 800; font-size: 30px; line-height: 1.1; }
.plan__sub { font-size: 13px; color: var(--muted); }
.plan__badge { position: absolute; top: -10px; right: 12px; padding: 2px 9px; border-radius: 999px; background: var(--red); color: var(--void); font-size: 12px; font-weight: 700; }
.assure { list-style: none; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.assure li { position: relative; padding-left: 22px; }
.assure li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--muted);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.assure a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .product { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .product__buy { padding-left: 48px; border-left: 1px solid var(--line); }
}
@media (max-width: 380px) { .plan__price { font-size: 26px; } }

/* Shop: the fit checker and the free PC Check, side by side on wide screens */
.pop { display: inline-block; animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.2); } }
.shop__group { margin-top: clamp(64px, 8vw, 96px); }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.group__head p { color: var(--muted); }
.shop__more { display: grid; gap: 16px; }
@media (min-width: 860px) { .shop__more { grid-template-columns: 1.6fr 1fr; } }
.fit, .free { padding: 28px; display: grid; gap: 16px; align-content: start; }
.free > p { color: var(--muted); }
.free .btn { margin-top: auto; }
.fit__step { display: grid; gap: 10px; }
.fit__q { color: var(--muted); font-size: 15px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--void); color: var(--paper);
  font: 500 14px var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.choices button:hover { border-color: var(--muted); }
.choices button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--void); }
.fit__answer { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--void); animation: fade .3s ease; }
.fit__answer p { color: var(--muted); }
.fit__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 20px; }
.verdict::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.verdict--yes { color: var(--ok); }
.verdict--maybe { color: var(--warn); }
.verdict--no { color: var(--red); }

/* Shop: what's coming next */
.soon__list { list-style: none; padding: 0; display: grid; gap: 12px; }
/* dashed: these aren't for sale yet */
.soon__list li { display: grid; gap: 4px; align-content: start; padding: 18px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.soon__list span { color: var(--muted); font-size: 14px; }
@media (min-width: 700px) { .soon__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .soon__list { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--text); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 40em; }

/* Final call */
.final { padding: clamp(40px, 6vw, 72px) 24px; display: grid; gap: 16px; justify-items: center; text-align: center;
  background: radial-gradient(70% 90% at 50% 100%, rgba(255, 77, 46, .1), transparent 70%), var(--surface); }
.final .h1 { max-width: 16ch; }

/* Footer */
.foot { margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--paper); }
.foot__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.foot__brand { display: grid; gap: 12px; align-content: start; max-width: 300px; }
.foot__brand a:not(.logo) { color: var(--paper); }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav h2 { margin: 0 0 4px; font: 600 13px var(--text); color: var(--paper); }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 20px; padding-bottom: 32px; font-size: 13px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
@media (min-width: 700px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* Phone: "Open this on your PC" sheet */
.sheet { width: min(420px, calc(100% - 32px)); padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--paper); }
.sheet::backdrop { background: rgba(0, 0, 0, .7); }
.sheet p { margin-top: 10px; color: var(--muted); }
.sheet__actions { display: grid; gap: 10px; margin-top: 22px; }
.sheet__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 24px; cursor: pointer; }

/* Fade in on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* big movement stops; the small light on borders and the glare stay, they don't move the page */
  .pill__dot, .shot [role="tabpanel"], .fit__answer, .aurora span { animation: none; }
  .shot--hero { transform: none; }
}

/* Legal pages */
.prose { max-width: 720px; margin: 0 auto; padding-top: clamp(48px, 8vw, 96px); }
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 20px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 10px; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: 14px; }

/* Buy and thank-you pages */
.thanks { max-width: 640px; margin: 0 auto; padding-top: clamp(56px, 9vw, 112px); text-align: center; }
.thanks > div { display: grid; gap: 18px; justify-items: center; }
.keybox { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--void); }
.keybox code { flex: 1; font: 600 clamp(15px, 3.6vw, 19px)/1.3 ui-monospace, Consolas, monospace; letter-spacing: .04em; text-align: left; overflow-wrap: anywhere; }
.thanks .ends { color: var(--muted); font-size: 15px; }
.thanks .next { text-align: left; color: var(--muted); display: grid; gap: 8px; padding-left: 22px; margin: 4px 0 8px; }
.thanks .next strong { color: var(--paper); }
.thanks .lead code { color: var(--paper); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* My keys */
.account { max-width: 760px; margin: 0 auto; padding-top: clamp(48px, 8vw, 88px); display: grid; gap: 24px; }
.account__head { display: flex; align-items: center; gap: 18px; }
.account__head img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); }
.account__head p { color: var(--muted); }
.keys { display: grid; gap: 14px; }
.keycard { padding: 24px; display: grid; gap: 14px; }
.keycard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.keycard__ends { color: var(--muted); font-size: 15px; }
.keycard__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.keycard__hint { color: var(--muted); font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--on { color: var(--ok); border-color: rgba(61, 220, 132, .35); }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px;
  border: 1px solid rgba(255, 176, 32, .4); border-radius: 12px; background: rgba(255, 176, 32, .06); color: var(--paper); }
.empty { padding: 32px 24px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.empty p { color: var(--muted); }
.center { display: grid; gap: 18px; justify-items: center; text-align: center; }
.stack { display: grid; gap: 24px; }

/* On phones: a bar with the way to buy, after the top and until the shop is on screen (script.js) */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 20, 22, .92); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); font-size: 15px; color: var(--muted);
  transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.dock strong { color: var(--paper); }
.dock--on { transform: none; visibility: visible; }
@media (min-width: 700px) { .dock { display: none; } }

/* Breadcrumbs on the inner pages */
.crumbs { display: flex; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--paper); }
.crumbs [aria-current] { color: var(--paper); }

/* Buy page: what you're buying, and the tick box before paying */
.plan-line { margin-top: -8px; font: 800 22px var(--display); font-stretch: 112%; color: var(--red); }
.agree { display: flex; gap: 12px; max-width: 30em; padding: 14px 16px; text-align: left; font-size: 15px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .15s; }
.agree input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.agree a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.agree--need { border-color: var(--red); }
