/* Beanie VPN website.
   Phone first: the base rules are the 390 px layout; 760 px and 1100 px widen it. The look is the prototype's
   Website view in "colour bands" with the Violet theme (Mat's pick, 2026-11-03). Every section names a band
   (brand, paper, cream, ink, tint) and the band sets its colours. theme.css, generated from the prototype,
   supplies --brand and the text-safe variants of it. */
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("/fonts/fredoka-700-logo.woff2") format("woff2"); }

:root {
  --night: #0b0c10; --paper: #ffffff; --cream: #f4f2ec; --r2: 24px; --pad: 22px; --max: 1180px;
  --sans: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--night); color: #101114; font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--b-acc, var(--brand)); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #fff; color: #101114; font-weight: 700; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bands ---------- */
.b-brand { --b-bg: var(--brand); --b-ink: var(--brand-ink-w); --b-muted: var(--brand-ink-w); --b-card: var(--brand-card); --b-line: color-mix(in srgb, var(--brand-ink-w) 22%, transparent); --b-acc: var(--brand-ink-w); }
.b-paper { --b-bg: var(--paper); --b-ink: #101114; --b-muted: #555a65; --b-card: #f3f3f0; --b-line: rgba(16,17,20,.1); --b-acc: var(--brand-text); }
.b-cream { --b-bg: var(--cream); --b-ink: #101114; --b-muted: #53575f; --b-card: #ffffff; --b-line: rgba(16,17,20,.1); --b-acc: var(--brand-text); }
.b-ink { --b-bg: var(--night); --b-ink: #f3f4f6; --b-muted: #a3a8b3; --b-card: #171a21; --b-line: rgba(255,255,255,.09); --b-acc: var(--brand-glow); }
.b-tint { --b-bg: color-mix(in srgb, var(--brand) 15%, #ffffff); --b-ink: #101114; --b-muted: #474b55; --b-card: #ffffff; --b-line: rgba(16,17,20,.1); --b-acc: var(--brand-text); }
.band { position: relative; overflow: clip; padding: 72px var(--pad); background: var(--b-bg); color: var(--b-ink); }
.wrap { max-width: var(--max); margin: 0 auto; }

/* ---------- Shared type ---------- */
.eye { display: block; margin-bottom: 14px; color: var(--b-acc); font: 700 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.h2 { max-width: 17ch; font-size: clamp(36px, 8.6vw, 58px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.h2 em { color: var(--b-acc); font-style: normal; }
.sub { max-width: 46ch; margin-top: 16px; color: var(--b-muted); font-size: 17px; }
.center { text-align: center; }
.center .h2, .center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand span { font: 700 19px/1 "Fredoka", var(--sans); letter-spacing: -.005em; }
.brand em { color: var(--knit-on-light); font-style: normal; }
.b-ink .brand em { color: var(--knit-on-dark); }

/* ---------- Menu: a pill floating over the page ---------- */
.nav { position: fixed; z-index: 20; top: 10px; left: 10px; right: 10px; }
.pill { display: flex; align-items: center; gap: 18px; max-width: var(--max); min-height: 56px; margin: 0 auto; padding: 6px 8px 6px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: #101114; box-shadow: 0 14px 34px -16px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pill nav { display: none; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; }
.pill nav a { padding: 10px 2px; text-decoration: none; }
.pill nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pill .gplay { margin-left: auto; }
.pill .brand { min-height: 44px; }

/* ---------- The official Google Play badge: never recoloured or rearranged, at least 28 px high,
   a quarter of its height clear around it (Google's badge guidelines, read 2026-11-03) ---------- */
.gplay { display: inline-block; flex: none; border-radius: 8px; line-height: 0; }
.gplay img { width: auto; height: 56px; }
.pill .gplay img { height: 44px; }
.soon { display: inline-flex; align-items: center; gap: 8px; color: var(--b-muted); font-size: 14px; font-weight: 600; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.qr { display: none; align-items: center; gap: 12px; }
.qr img { width: 84px; height: 84px; padding: 7px; border-radius: 12px; background: #fff; }
.qr small { color: var(--b-muted); font-size: 13.5px; line-height: 1.35; }

/* ---------- Hero ---------- */
.hero { padding-top: 100px; padding-bottom: 36px; }
.hero .wrap { display: grid; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--b-card); font-size: 14px; font-weight: 650; }
.tag svg { width: 15px; height: 15px; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(46px, 13vw, 92px); line-height: .96; letter-spacing: -.04em; font-weight: 850; }
.lead { max-width: 30ch; margin-bottom: 28px; color: var(--b-muted); font-size: 18px; line-height: 1.45; }
.hero .soon { margin-top: 14px; }
.stage { position: relative; display: grid; place-items: center; height: 500px; margin-top: 18px; }
.rings { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: repeating-radial-gradient(circle, color-mix(in srgb, var(--b-ink) 16%, transparent) 0 2px, transparent 2px 52px); -webkit-mask: radial-gradient(circle, #000 30%, transparent 68%); mask: radial-gradient(circle, #000 30%, transparent 68%); animation: pulse 6s ease-in-out infinite; }
.orb { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--b-ink) 22%, transparent), transparent 62%), color-mix(in srgb, var(--b-ink) 7%, transparent); }
.phone { position: relative; width: 232px; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.masc { position: absolute; z-index: 3; right: -4px; top: 6px; width: 128px; height: 128px; filter: drop-shadow(0 22px 26px rgba(0,0,0,.28)); }
.masc img, .masc svg { width: 100%; height: 100%; }
/* What the café Wi-Fi sees: the address, then scrambled, then sealed. Hostname only: over HTTPS, someone on
   the same network sees the site's name (DNS, TLS SNI), never the page path. */
.chip { position: absolute; z-index: 2; left: 0; bottom: 18px; display: grid; gap: 6px; width: 236px; padding: 14px 16px; border-radius: 18px; background: #0b0c10; color: #f3f4f6; box-shadow: 0 24px 60px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.chip small { color: #a3a8b3; font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.chip code { color: #fff; font: 650 18px/1.25 var(--mono); white-space: nowrap; }
.chip .st { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; }
.chip .st i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6f; box-shadow: 0 0 0 4px rgba(255,107,111,.18); }
.chip.sealed code { color: #7ee2ad; }
.chip.sealed .st i { background: #2dd27f; box-shadow: 0 0 0 4px rgba(45,210,127,.18); }
@keyframes pulse { 50% { transform: scale(1.05); opacity: .8; } }

/* ---------- Three phones: a swipeable row on a phone, side by side on wider screens ---------- */
.trio { display: flex; gap: 20px; margin: 40px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trio::-webkit-scrollbar { display: none; }
.trio figure { display: grid; flex: none; justify-items: center; gap: 16px; margin: 0; scroll-snap-align: center; }
.trio img { width: 220px; height: auto; filter: drop-shadow(0 22px 30px rgba(16,17,20,.22)); }
.trio figcaption { font-size: 15px; font-weight: 650; }
.trio figcaption small { display: block; color: var(--b-muted); font-weight: 400; }
.swipe { margin-top: 6px; color: var(--b-muted); font-size: 13px; }

/* ---------- Features ---------- */
.grid6 { display: grid; gap: 14px; margin-top: 36px; }
.feat { padding: 26px; border: 1px solid var(--b-line); border-radius: var(--r2); background: var(--b-card); }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--brand); color: var(--brand-ink-w); }
.ico svg { width: 22px; height: 22px; }
.feat h3 { margin: 20px 0 6px; font-size: 20px; }
.feat p { color: var(--b-muted); }

/* ---------- How it works: each step's real screen rises out of its card ---------- */
.steps { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.step { position: relative; height: 430px; overflow: clip; padding: 26px 26px 0; border: 1px solid var(--b-line); border-radius: var(--r2); background: var(--b-card); }
.num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--b-ink); color: var(--b-bg); font: 700 14px/1 var(--mono); }
.step h3 { margin: 16px 0 6px; font-size: 21px; }
.step p { color: var(--b-muted); }
.step img { position: absolute; left: 50%; top: 190px; width: 236px; height: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 24px rgba(16,17,20,.2)); }

/* ---------- How it is free ---------- */
.big { max-width: 19ch; margin-bottom: 26px; font-size: clamp(38px, 9vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 820; }
.big em { color: var(--b-acc); font-style: normal; }
.monoline { color: var(--b-muted); font: 650 13px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; padding: 6px 0 2px; border-bottom: 2px solid currentColor; font-weight: 700; text-decoration: none; }
.more svg { width: 16px; height: 16px; }

/* ---------- With and without ---------- */
.table { width: 100%; max-width: 980px; margin-top: 36px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 8px; border-bottom: 1px solid var(--b-line); text-align: left; vertical-align: top; }
.table thead th { color: var(--b-muted); font-size: 13px; font-weight: 650; }
.table th[scope="row"] { font-weight: 650; }
.table td:nth-child(2) { color: var(--b-muted); }
.table :is(th, td):nth-child(3) { background: color-mix(in srgb, var(--brand) 10%, transparent); }

/* ---------- Questions: big rows, the whole row is the button, a round plus on the right ---------- */
.qs { max-width: 880px; margin-top: 30px; border-bottom: 1px solid var(--b-line); }
.qs details { border-top: 1px solid var(--b-line); }
.qs summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 650; line-height: 1.3; list-style: none; cursor: pointer; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--b-card); color: var(--b-acc); font: 400 22px/1 var(--sans); transition: transform .2s; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { max-width: 68ch; padding: 0 50px 22px 0; color: var(--b-muted); }

/* ---------- Last call: the mascot rises out of the bottom of the band ---------- */
.final { padding-top: 88px; padding-bottom: 0; text-align: center; }
.giant { margin-bottom: 30px; font-size: clamp(64px, 17vw, 150px); line-height: .9; letter-spacing: -.05em; font-weight: 850; }
.final .ctas { justify-content: center; }
.final .soon { margin-top: 16px; }
.rise { width: 210px; height: 120px; margin: 40px auto 0; overflow: clip; }
.rise img { width: 210px; height: 210px; }

/* ---------- Footer: few links, then the name edge to edge ---------- */
.foot { padding-top: 64px; padding-bottom: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.cols > div:first-child { grid-column: 1 / -1; }
.cols h2 { margin-bottom: 10px; color: var(--b-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cols a:not(.brand) { display: block; padding: 8px 0; text-decoration: none; }
.cols a:not(.brand):hover { text-decoration: underline; text-underline-offset: 4px; }
.cols p { max-width: 30ch; margin-top: 14px; color: var(--b-muted); }
.word { margin-top: 48px; color: var(--b-acc); font: 700 min(calc((100vw - 2 * var(--pad)) / 5.6), 210px)/.8 "Fredoka", var(--sans); letter-spacing: -.03em; white-space: nowrap; }
.legal { display: grid; gap: 6px; padding: 22px 0 28px; border-top: 1px solid var(--b-line); color: var(--b-muted); font-size: 13px; }

/* ---------- Text pages (privacy, 404) ---------- */
.doc { padding-top: 112px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 10vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 850; }
.updated { margin-top: 14px; color: var(--b-muted); font-size: 15px; }
.doc .intro { margin-top: 26px; font-size: 19px; line-height: 1.5; }
.toc { margin: 30px 0 0; padding: 18px 20px 18px 42px; border-radius: 18px; background: var(--b-card); }
.toc li { padding: 4px 0; }
.toc a { display: inline-block; padding: 5px 0; font-weight: 600; text-underline-offset: 3px; }
.doc section { padding-top: 34px; }
.doc h2 { font-size: 26px; letter-spacing: -.02em; }
.doc p, .doc ul { margin-top: 12px; color: #2d3038; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.ask { display: grid; gap: 14px; margin-top: 44px; padding: 26px; border-radius: var(--r2); background: var(--brand); color: var(--brand-ink-w); }
.ask h2 { font-size: 24px; }
.doc .ask p { margin: 0; color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: start; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #0b0c10; color: #fff; font-weight: 700; text-decoration: none; }
.lost { display: grid; min-height: 100vh; min-height: 100svh; place-items: center; padding-top: 110px; text-align: center; }
.lost img { width: 150px; height: 150px; margin: 0 auto 18px; }
.lost h1 { font-size: clamp(42px, 11vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 850; }
.lost p { margin: 16px auto 28px; max-width: 32ch; font-size: 18px; }
.lost .btn { justify-self: center; }

/* Toast for the badge before launch day */
.toast { position: fixed; z-index: 30; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 28px); padding: 14px 18px; border-radius: 16px; background: #0b0c10; color: #f3f4f6; font-size: 15px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 760 px and up ---------- */
@media (min-width: 760px) {
  :root { --pad: 44px; }
  .band { padding-top: 96px; padding-bottom: 96px; }
  .nav { top: 16px; left: 24px; right: 24px; }
  .pill { gap: 26px; padding: 8px 8px 8px 18px; }
  .pill nav { display: flex; }
  .pill .gplay { margin-left: 0; }
  .qr { display: flex; }
  .sub { font-size: 19px; }
  .grid6 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .trio { justify-content: center; align-items: flex-end; gap: 36px; margin: 56px 0 0; padding: 0; overflow: visible; }
  .trio figure:nth-child(2) img { width: 250px; }
  .swipe { display: none; }
  .table { font-size: 17px; }
  .table th, .table td { padding: 18px 20px; }
  .qs summary { font-size: 20px; }
  .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .cols > div:first-child { grid-column: auto; }
  .legal { display: flex; justify-content: space-between; gap: 20px; }
}

/* ---------- 1100 px and up: hero side by side ---------- */
@media (min-width: 1100px) {
  :root { --pad: 72px; }
  .band { padding-top: 104px; padding-bottom: 104px; }
  .hero { min-height: 800px; padding-top: 128px; padding-bottom: 72px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
  .lead { margin-bottom: 36px; font-size: 21px; }
  .stage { height: 650px; margin: 0; }
  .rings { width: 820px; height: 820px; }
  .orb { width: 470px; height: 470px; }
  .phone { width: 300px; }
  .masc { right: -6px; top: 70px; width: 196px; height: 196px; }
  .chip { left: -14px; bottom: 96px; width: 290px; padding: 16px 18px; }
  .chip code { font-size: 19px; }
  .grid6, .steps { grid-template-columns: repeat(3, 1fr); }
  .step { height: 500px; padding: 28px 28px 0; }
  .step img { top: 210px; width: 232px; }
  .final { padding-top: 140px; }
  .rise { width: 260px; height: 150px; margin-top: 56px; }
  .rise img { width: 260px; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings { animation: none; }
  .qs summary::after, .toast { transition: none; }
}
