/* Newsbike website. Self-hosted fonts, no external resource: the page's Content-Security-Policy allows nothing else. */
@font-face { font-family: "Kalam"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/kalam-bold.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/static/fonts/hanken-grotesk.woff2") format("woff2"); }

:root {
  --sun: #FFB51D; --coral: #F24B4F; --magenta: #CC007D; --cream: #FCFCF5; --plum: #2A0A20;
  --bg: #FCFCF5; --bg-alt: #F6EFE3; --card: #FFFFFF; --fg: #2A1420; --muted: #65505C; --line: rgba(42, 20, 32, .12);
  --accent: #C4007A; --accent-fg: #FFFFFF; --glow-a: rgba(255, 181, 29, .28); --glow-b: rgba(242, 75, 79, .18);
  --shadow: 0 24px 60px -24px rgba(120, 0, 70, .35); --mark: #FFE9A8;
  --display: "Kalam", "Segoe Print", "Bradley Hand", cursive; --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #160A12; --bg-alt: #1E0F1A; --card: #27141F; --fg: #FBF3EA; --muted: #BCA6B3; --line: rgba(251, 243, 234, .14);
  --accent: #FF6DB4; --accent-fg: #2A0A20; --glow-a: rgba(255, 181, 29, .12); --glow-b: rgba(242, 75, 79, .16);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8); --mark: #5A4310; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #160A12; --bg-alt: #1E0F1A; --card: #27141F; --fg: #FBF3EA; --muted: #BCA6B3; --line: rgba(251, 243, 234, .14);
  --accent: #FF6DB4; --accent-fg: #2A0A20; --glow-a: rgba(255, 181, 29, .12); --glow-b: rgba(242, 75, 79, .16);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8); --mark: #5A4310; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 8vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap > * { min-width: 0; }
.hero .wrap, .lang-grid, .custom, .doc .wrap, .steps { grid-template-columns: minmax(0, 1fr); }
.eyebrow { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 34em; }
.todo { background: var(--mark); color: inherit; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font: 700 1.55rem/1 var(--display); margin-right: auto; }
.brand .chip { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(150deg, var(--sun), var(--coral) 55%, var(--magenta)); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(204, 0, 125, .6); }
.brand .chip img { width: 26px; height: 26px; }
.nav-links { display: none; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--fg); }
.langswitch { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-decoration: none; color: var(--fg); border: 1px solid var(--line); padding: 7px 11px; border-radius: 999px; }
.langswitch:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 880px) { .nav-links { display: flex; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 14px; padding: 12px 18px; font: 700 1rem/1.1 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn-store { background: var(--fg); color: var(--bg); }
.btn-store svg { width: 22px; height: 22px; fill: currentColor; }
.btn-store.soon { opacity: .72; cursor: default; }
.btn-ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 9px 13px; font-size: .88rem; border-radius: 11px; }
.nav .btn-store { display: none; }
@media (min-width: 560px) { .nav .btn-store { display: inline-flex; } }

/* hero */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(48px, 8vw, 110px); background: radial-gradient(60% 50% at 82% 30%, var(--glow-a), transparent 70%), radial-gradient(50% 50% at 10% 0%, var(--glow-b), transparent 70%); }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero-text { display: grid; gap: 22px; justify-items: start; }
.hero h1 { background: linear-gradient(95deg, var(--sun), var(--coral) 45%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .04em .06em .12em 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }

/* the phone */
.phone-col { display: grid; justify-items: center; gap: 18px; }
.phone { width: min(330px, 100%); border-radius: 46px; padding: 10px; background: #1A0B14; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.screen { border-radius: 37px; padding: 22px 20px 20px; color: var(--cream); background: linear-gradient(165deg, #FFB51D -10%, #F24B4F 38%, #CC007D 100%); display: grid; gap: 14px; justify-items: center; position: relative; overflow: hidden; }
.p-head { display: flex; align-items: center; gap: 8px; justify-self: start; font: 700 1.2rem/1 var(--display); }
.p-head img { width: 24px; height: 24px; }
.p-greet { text-align: center; }
.p-greet h2 { font-size: 1.9rem; color: var(--cream); }
.p-greet p { font-size: .9rem; opacity: .95; }
.p-globe { position: relative; width: 190px; height: 190px; margin: 2px 0; }
.p-globe canvas { width: 100%; height: 100%; }
.p-globe svg { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(252, 252, 245, .28); stroke-width: 3; }
.ring-bar { fill: none; stroke: var(--cream); stroke-width: 3.5; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.p-play { width: 66px; height: 66px; border-radius: 50%; border: 0; background: var(--cream); color: #B0006D; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 22px -8px rgba(60, 0, 40, .6); transition: transform .15s; }
.p-play:hover { transform: scale(1.05); } .p-play:active { transform: scale(.96); }
.p-play svg { width: 28px; height: 28px; fill: currentColor; }
.p-play .i-pause { display: none; }
.p-play[aria-pressed="true"] .i-play { display: none; } .p-play[aria-pressed="true"] .i-pause { display: block; }
.p-time { font-size: .85rem; font-variant-numeric: tabular-nums; opacity: .95; }
.p-label { font-size: .78rem; text-align: center; opacity: .95; max-width: 21em; }
.p-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; }
.p-chapters button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: rgba(42, 0, 28, .3); color: var(--cream); border: 0; border-radius: 12px; padding: 10px 12px; font: 600 .92rem/1.2 var(--body); cursor: pointer; }
.p-chapters button:hover { background: rgba(42, 0, 28, .42); }
.p-chapters button[aria-current="true"] { background: var(--cream); color: #8A0054; }
.p-chapters time { font-weight: 500; font-size: .8rem; opacity: .9; font-variant-numeric: tabular-nums; }
.phone-notes { max-width: 330px; display: grid; gap: 12px; font-size: .9rem; color: var(--muted); }
.transcript { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.transcript summary { cursor: pointer; padding: 11px 14px; font-weight: 700; color: var(--fg); }
.transcript div { padding: 0 14px 14px; display: grid; gap: 10px; font-size: .92rem; color: var(--fg); }
.transcript h4 { margin: 0; font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.transcript p.on { background: var(--mark); border-radius: 6px; }
noscript audio { width: 100%; margin-top: 6px; }

/* sections */
section { padding-block: clamp(56px, 9vw, 116px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vw, 52px); max-width: 40rem; }
.alt { background: var(--bg-alt); }
.steps { display: grid; gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; display: grid; gap: 10px; }
.steps li::before { content: counter(step); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 1.7rem/1 var(--display); color: #fff; background: linear-gradient(150deg, var(--sun), var(--coral) 55%, var(--magenta)); }
.steps p { color: var(--muted); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.feature svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* language globe */
.lang-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .lang-grid { grid-template-columns: 1fr 1fr; } }
.lang-copy { display: grid; gap: 22px; }
.lang-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-buttons button { font: 600 .98rem/1 var(--body); color: var(--fg); background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 15px; cursor: pointer; }
.lang-buttons button:hover { border-color: var(--accent); }
.lang-buttons button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.reach { font: 700 1.35rem/1.2 var(--display); }
.globe-big { width: min(480px, 100%); aspect-ratio: 1; margin-inline: auto; cursor: grab; touch-action: pan-y; }
.globe-big:active { cursor: grabbing; }
.globe-big canvas { width: 100%; height: 100%; }

/* custom brief */
.custom { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .custom { grid-template-columns: 1.1fr .9fr; } }
.custom-copy { display: grid; gap: 20px; justify-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("/static/img/tick.svg") center/14px no-repeat; }
.price { font: 700 2rem/1 var(--display); }
.price-note { color: var(--muted); font-size: .92rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); max-width: 420px; width: 100%; justify-self: center; display: grid; gap: 6px; }
.panel h3 { font-size: 1.7rem; margin-bottom: 8px; }
.panel dl { margin: 0; display: grid; }
.panel .row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 4px; border-top: 1px solid var(--line); }
.panel dt { color: var(--muted); } .panel dd { margin: 0; font-weight: 700; text-align: right; }

/* everything you can follow */
.browse { display: grid; gap: 28px; margin-bottom: 18px; }
@media (min-width: 900px) { .browse { grid-template-columns: 1fr 1fr; } }
.browse > div { display: grid; gap: 14px; align-content: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .95rem; }

/* privacy promises, faq */
.promises { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-bottom: 28px; }
.promise { border-top: 3px solid var(--accent); padding-top: 14px; display: grid; gap: 6px; } .promise p { color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 46rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; padding: 17px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: .94rem; color: var(--muted); }
footer .wrap { display: grid; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--fg); }

/* documents (privacy policy, legal notice) */
.doc { padding-block: clamp(36px, 6vw, 80px); }
.doc .wrap { display: grid; gap: 36px; }
.doc-body { max-width: 56rem; display: grid; gap: 18px; }
.doc-body h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.doc-body h2 { font-size: 1.9rem; margin-top: 30px; }
.doc-body h3 { font: 700 1.05rem/1.3 var(--body); margin-top: 10px; }
.doc-body ul, .doc-body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.doc-body > p, .doc-body li { max-width: 46rem; }
.doc-body .meta { color: var(--muted); font-size: .95rem; }
.doc-body .summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .94rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.doc tr:last-child td { border-bottom: 0; }
.toc { display: grid; gap: 8px; font-size: .94rem; align-content: start; }
.toc a { color: var(--muted); text-decoration: none; } .toc a:hover { color: var(--accent); }
.toc strong { font: 700 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 980px) { .doc .wrap { grid-template-columns: 220px 1fr; } .toc { position: sticky; top: 90px; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ring-bar { transition: none; } }
