/* RadiantMC site. Same look as the app's cream (paper) mode: ivory paper, a pale gold accent, serif headings. */

@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/quicksand-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/quicksand-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f0eee6;
  --surface: #faf9f5;
  --raised: #ffffff;
  --fill: #ece8dc;
  --line: #e0d9c9;
  --line-strong: #d3ccb9;
  --text: #1f1e1d;
  --muted: #5f5b52;
  --subtle: #8a867b;
  --gold: #d9b959;
  --gold-dim: #c4a444;
  --gold-deep: #6e5009;
  --gold-wash: #f4ecd0;
  --on-gold: #2b2208;
  --online: #14804c;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, "Segoe UI", Roboto, sans-serif;
  --wordmark: "Quicksand", "Nunito", system-ui, sans-serif;
  --window: 0 34px 60px -26px rgba(70, 55, 20, 0.5), 0 14px 26px -14px rgba(70, 55, 20, 0.28);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }

a { color: var(--gold-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #4a3606; }
:focus-visible { outline: 2px solid #8a6a12; outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }
.wm { font-family: var(--wordmark); font-weight: 700; letter-spacing: -0.01em; }
.px { width: 1.15em; height: 1.15em; flex: none; color: currentColor; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(240, 238, 230, 0.84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(211, 204, 185, 0.6); }
.top-in { width: min(100% - 40px, 1120px); margin-inline: auto; height: 66px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 22px; line-height: 1; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 24%; }
.top nav { display: none; gap: 26px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 0; }
.top nav a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: var(--fill); color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 60px; background: linear-gradient(180deg, #d4d9ee 0%, #e3e4ee 34%, #ece9e8 62%, var(--bg) 88%); }
.hero-in { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(250, 249, 245, 0.82); color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 22px; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--online); }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 4.7rem); max-width: 14.5em; font-weight: 600; }
.squig { position: relative; display: inline-block; padding-bottom: 0.2em; }
.squig-line { position: absolute; left: 0; bottom: 0; width: 100%; height: 0.32em; overflow: visible; pointer-events: none; }
.squig-line path { fill: none; stroke: #d9b959; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .squig-line path { stroke-dashoffset: 1; animation: squig-draw 1s cubic-bezier(0.45, 0, 0.25, 1) 0.35s forwards; }
@keyframes squig-draw { to { stroke-dashoffset: 0; } }
.lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--muted); }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 16px/1 var(--sans); padding: 16px 24px; border: 0; border-radius: 14px; color: var(--on-gold); background: var(--gold); text-decoration: none; }
.btn:disabled { cursor: not-allowed; opacity: 0.72; }
.btn.ghost { background: rgba(250, 249, 245, 0.82); color: var(--text); }
.btn.ghost:hover { background: var(--raised); color: var(--text); }
.small { margin-top: 14px; color: var(--subtle); font-size: 14px; }

.stage-wrap { width: 100%; margin-top: 54px; text-align: left; }
.stage { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #cfd4ea; box-shadow: 0 40px 70px -40px rgba(70, 55, 20, 0.55); }
.stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage-wrap .stage-app { width: 56%; margin: -17% 3.5% 0 auto; position: relative; }

/* the app's window frame */
.win { margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--window); }
.win img { display: block; width: 100%; height: auto; }

/* pixel clouds in the sky: ten shapes, each its own size, height and speed */
.cloud { position: absolute; z-index: 1; left: -360px; width: var(--w, 160px); height: auto; pointer-events: none; animation: drift linear infinite; }
.cloud.k1 { --w: 210px; top: 60px; opacity: 0.8; animation-duration: 170s; animation-delay: -20s; }
.cloud.k2 { --w: 120px; top: 150px; opacity: 0.6; animation-duration: 230s; animation-delay: -170s; }
.cloud.k3 { --w: 150px; top: 320px; opacity: 0.55; animation-duration: 200s; animation-delay: -90s; }
.cloud.k4 { --w: 190px; top: 440px; opacity: 0.5; animation-duration: 260s; animation-delay: -30s; }
.cloud.k5 { --w: 70px; top: 110px; opacity: 0.7; animation-duration: 150s; animation-delay: -120s; }
.cloud.k6 { --w: 230px; top: 520px; opacity: 0.45; animation-duration: 300s; animation-delay: -210s; }
.cloud.k7 { --w: 170px; top: 240px; opacity: 0.6; animation-duration: 190s; animation-delay: -60s; }
.cloud.k8 { --w: 260px; top: 30px; opacity: 0.4; animation-duration: 320s; animation-delay: -250s; }
.cloud.k9 { --w: 280px; top: 380px; opacity: 0.5; animation-duration: 280s; animation-delay: -140s; }
.cloud.k10 { --w: 130px; top: 590px; opacity: 0.55; animation-duration: 240s; animation-delay: -80s; }
@keyframes drift { to { transform: translateX(calc(100vw + 720px)); } }

/* ---------- quick facts ---------- */
.facts { padding-top: 38px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--surface); color: var(--muted); font-size: 15px; line-height: 1.45; }
.facts li .px { width: 28px; height: 28px; color: var(--gold-deep); margin-top: 2px; }
.facts strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }

/* ---------- sections ---------- */
.band { margin-top: 90px; padding: 84px 0; background: var(--surface); border-block: 1px solid var(--line); }
.head { padding-top: 90px; }
.head h2, .band .head h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.band .head { padding-top: 0; }
.sub { margin-top: 12px; color: var(--muted); font-size: 1.08rem; max-width: 36em; }

.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--gold-deep); font-weight: 800; font-size: 15px; }
.kicker .px { width: 22px; height: 22px; }

.split { display: grid; gap: 34px; align-items: center; }
.split .copy h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
.split .copy h3 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.split .copy > p { margin-top: 14px; color: var(--muted); }
.feature { padding-top: 76px; }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.steps strong { color: var(--text); font-weight: 800; }
.steps .n { flex: none; width: 1.1em; text-align: center; color: #a8862a; font: 600 2rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; transform: translateY(0.085em); }

.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-weight: 600; font-size: 16px; }
.ticks .px { width: 20px; height: 20px; margin-top: 3px; color: var(--online); }

/* and also */
.also { margin-top: 96px; }
.cards { display: grid; gap: 16px; margin-top: 34px; grid-template-columns: 1fr; }
.card { padding: 24px 24px 26px; border-radius: 20px; background: var(--bg); }
.card .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--raised); color: var(--gold-deep); margin-bottom: 16px; }
.card .ico .px { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.aside { margin-top: 26px; color: var(--muted); font-size: 15px; }

/* questions */
.faq { max-width: 780px; padding-top: 96px; }
.faq h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin-bottom: 26px; }
.faq details { background: var(--surface); border-radius: 16px; margin-bottom: 10px; transition: background 0.2s; }
.faq details[open] { background: var(--raised); }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* closing */
.closing { padding: 90px 0 0; }
.closing-card { position: relative; overflow: hidden; text-align: center; padding: 170px 24px 56px; border-radius: 28px; background: linear-gradient(180deg, rgba(250, 249, 245, 0) 0, rgba(250, 249, 245, 0) 95px, rgba(250, 249, 245, 0.9) 253px, #faf9f5 396px), url("images/sunset.png") center top / cover no-repeat, #faf9f5; }
.closing-card h2 { font-size: clamp(2rem, 5vw, 3rem); }
.closing-card p { margin: 12px auto 26px; color: var(--muted); max-width: 30em; }
.closing-card .btn { background: var(--on-gold); color: #f7edc7; }

/* footer */
.foot { margin-top: 96px; padding: 44px 0 56px; border-top: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font-size: 14.5px; }
.foot-in { display: grid; gap: 28px; }
.foot p { margin: 0 0 8px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; margin-bottom: 12px !important; }
.foot-brand img { border-radius: 24%; }
.foot .fine { color: var(--subtle); font-size: 13px; }

/* reveal on scroll (only when the script runs) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .top nav { display: flex; }
  .hero { padding-top: 84px; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .split.flip { grid-template-columns: 1.3fr 1fr; }
  .split.flip .copy { order: 2; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr 1.2fr; gap: 48px; }
}

@media (max-width: 560px) {
  .top-in { gap: 12px; height: 60px; }
  .brand { font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .pill { padding: 6px 11px; font-size: 12.5px; }
  .pill .px { display: none; }
  .hero { padding-top: 40px; }
  .cloud { width: calc(var(--w, 160px) * 0.55); }
  .stage { border-radius: 18px; aspect-ratio: 4 / 3; }
  .stage-wrap .stage-app { width: 84%; margin: -22% 0 0 auto; }
  .win { border-radius: 12px; }
  .band { padding: 60px 0; margin-top: 64px; }
  .feature { padding-top: 56px; }
  .head, .faq, .closing { padding-top: 64px; }
  .btn { width: 100%; }
  .closing-card { padding-top: 150px; background: linear-gradient(180deg, rgba(250, 249, 245, 0) 0, rgba(250, 249, 245, 0) 39px, rgba(250, 249, 245, 0.94) 154px, #faf9f5 224px), url("images/sunset.png") center top / cover no-repeat, #faf9f5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud { animation: none; }
  .cloud.k1 { left: 6%; } .cloud.k2 { left: 62%; } .cloud.k3 { left: 30%; } .cloud.k4 { left: 74%; } .cloud.k5 { left: 48%; } .cloud.k6 { left: 14%; } .cloud.k7 { left: 84%; } .cloud.k8 { left: 40%; } .cloud.k9 { left: 22%; } .cloud.k10 { left: 66%; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* software */
.sw-grid { display: grid; gap: 16px; margin-top: 34px; grid-template-columns: 1fr; }
.sw { display: flex; gap: 22px; align-items: center; padding: 24px; border-radius: 22px; background: #fff3cf; }
.sw .ico { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; background: var(--raised); color: var(--gold-deep); }
.sw .ico .px { width: 64px; height: 64px; }
.sw h3 { font-size: 1.4rem; margin-bottom: 6px; }
.sw p { color: var(--muted); font-size: 16px; }
@media (min-width: 720px) { .sw-grid { grid-template-columns: 1fr 1fr; } }

/* faq list: two columns on a wide screen, an opened one does not stretch its neighbour */
.faq-list { display: grid; gap: 10px; align-items: start; }
.faq-list details { margin-bottom: 0; }
@media (min-width: 900px) {
  .faq { max-width: none; }
  /* the list reads down the left column, then down the right one: 8 questions each */
  .faq-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(8, auto); grid-auto-flow: column; gap: 12px 16px; }
}

/* faq: on a wide screen an opened answer floats under its question, so nothing else moves */
@media (min-width: 900px) {
  .faq-list details { position: relative; }
  .faq-list details[open] { z-index: 6; border-bottom-left-radius: 0; border-bottom-right-radius: 0; filter: drop-shadow(0 20px 22px rgba(70, 55, 20, 0.16)); }
  .faq-list details[open] > p { position: absolute; left: 0; right: 0; top: 100%; padding: 4px 22px 20px; background: var(--raised); border-radius: 0 0 16px 16px; }
}
.faq details { transition: none; }

/* no text grabbing: dragging or double-clicking does not select text. The email addresses stay selectable so people can copy them. */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
a[href^="mailto:"] { -webkit-user-select: text; user-select: text; }

/* hover: a question turns creamy yellow, the "And also" and software cards grow a little */
@media (hover: hover) {
  .faq summary { transition: color 0.18s ease; }
  .faq-list details:not([open]) { transition: background-color 0.18s ease; }
  .faq-list details:not([open]):hover { background: #fff3cf; }
  .faq-list details:not([open]):hover summary { color: var(--gold-deep); }
  .card, .sw { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
  .card:hover, .sw:hover { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .faq summary, .faq-list details, .card, .sw { transition: none; }
  .card:hover, .sw:hover { transform: none; }
}


/* pictures: they grow a little on hover, and open big on a click */
.win { position: relative; }
.win:not(.stage-app) { cursor: zoom-in; }
@media (hover: hover) {
  .win:not(.stage-app) { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
  .win:not(.stage-app):hover { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) { .win:not(.stage-app) { transition: none; } .win:not(.stage-app):hover { transform: none; } }

html.lb-open { overflow: hidden; }
html.lb-open body { padding-right: var(--sbw, 0px); }
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px 48px 68px; cursor: zoom-out; outline: none; }
.lb[hidden] { display: none; }
.lb.closing { pointer-events: none; cursor: auto; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(31, 30, 29, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity 0.3s ease; }
.lb-fig { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.lb-fig img { display: block; width: auto; height: auto; max-width: min(calc(100vw - 96px), 1500px); max-height: calc(100vh - 96px); }
.lb-hint { position: fixed; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.9); font: 600 14px/1 var(--sans); letter-spacing: 0.01em; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.3s ease 0.25s; pointer-events: none; }
.lb.open .lb-backdrop { opacity: 1; }
.lb.open .lb-hint { opacity: 1; }
@media (max-width: 699px) {
  .lb { padding: 16px 16px 56px; }
  .lb-fig img { max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); }
}
@media (prefers-reduced-motion: reduce) { .lb-backdrop, .lb-hint { transition: none; } }

/* a little less empty space under the "What's inside" heading */
.inside .head + .feature { padding-top: 40px; }

/* 404 page: a server console says it, in the same words as the app's own console */
.nf { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.nf-main { flex: 1; width: min(100% - 40px, 760px); margin-inline: auto; padding: clamp(56px, 12vh, 120px) 0 90px; }
.nf-kicker { margin: 0 0 14px; color: var(--gold-deep); font-weight: 800; font-size: 15px; }
.nf h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); max-width: 11em; }
.nf-lead { margin: 24px 0 26px; max-width: 32em; color: var(--muted); font-size: 1.12rem; }
.nf-console { margin: 0 0 32px; padding: 20px 24px; border-radius: 18px; background: var(--fill); color: var(--text); font: 500 14.5px/1.9 ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; overflow-x: auto; }
.nf-console p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; opacity: 0; animation: nf-line 0.4s ease forwards; }
.nf-console p:nth-child(1) { animation-delay: 0.3s; }
.nf-console p:nth-child(2) { animation-delay: 0.9s; }
.nf-console p:nth-child(3) { animation-delay: 1.5s; }
.nf-console p:nth-child(4) { animation-delay: 2s; }
.nf-console .t { color: var(--subtle); }
.nf-console .warn { color: #a85f00; }
.nf-console .err { color: #c92d39; }
.nf-prompt { display: flex; align-items: baseline; gap: 10px; }
.nf-input { flex: 1; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; caret-color: var(--gold-deep); -webkit-user-select: text; user-select: text; }
.nf-input::placeholder { color: var(--subtle); opacity: 1; }
.nf-console { cursor: text; }
.nf-cursor { display: inline-block; width: 0.62em; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: var(--gold-deep); animation: nf-blink 1.05s steps(1) infinite 2.3s; }
@keyframes nf-line { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes nf-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nf-console p { opacity: 1; animation: none; } .nf-cursor { animation: none; } }

/* share window */
.share { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; color: var(--text); overflow: visible; }
.share::backdrop { background: rgba(31, 30, 29, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.share-card { width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 32px; border-radius: 28px; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.share-card h2 { font-size: 1.9rem; }
.share-lead { margin: 10px 0 22px; color: var(--muted); }
.share-link { display: flex; gap: 10px; margin: 0 0 20px; }
.share-link input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: none; border-radius: 14px; background: var(--fill); color: var(--text); font: 600 15px/1 var(--sans); -webkit-user-select: text; user-select: text; }
.share-link .btn { flex: none; padding: 15px 20px; }
.share-link input::selection { background: #f1e3b0; color: var(--text); }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.share-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 14px; border: 0; border-radius: 18px; background: var(--bg); color: var(--text); font: 700 14px/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; }
.share-tile[hidden] { display: none; }
.share-tile .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--raised); color: var(--gold-deep); }
.share-tile .ico .px { width: 32px; height: 32px; }
@media (hover: hover) {
  .share-tile { transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease, color 0.18s ease; }
  .share-tile:hover { background: #fff3cf; color: var(--gold-deep); transform: scale(1.04); }
}
.share-note { margin: 20px 0 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 480px) { .share-card { padding: 22px; } .share-grid { gap: 8px; } .share-tile { padding: 14px 4px 12px; font-size: 13px; } .share-tile .ico { width: 48px; height: 48px; } .share-tile .ico .px { width: 32px; height: 32px; } .share-link { flex-direction: column; } .share-link input { padding: 16px 18px; } }
@media (prefers-reduced-motion: reduce) { .share-tile { transition: none; } .share-tile:hover { transform: none; } }
.share-hint { margin: 22px 0 0; text-align: center; color: var(--subtle); font-size: 14px; font-weight: 600; }

/* the copy button: the icon and the words slide up and swap, the colour fades to green, and the button gives a small pop */
.share-link .copy { position: relative; justify-content: center; min-width: 10.6em; overflow: hidden; cursor: pointer; transition: background-color 0.35s ease, color 0.35s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) { .share-link .copy:not(.copied):hover { background: #e6ca6f; transform: scale(1.035); } }
.share-link .copy:not(.copied):active { transform: scale(0.98); }
.copy .cp-ico { position: relative; display: block; flex: none; width: 1.15em; height: 1.15em; overflow: hidden; }
.copy .cp-ico svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.copy .cp-ico svg:last-child { transform: translateY(120%); opacity: 0; }
.copy .cp-txt { display: grid; overflow: hidden; }
.copy .cp-txt span { grid-area: 1 / 1; white-space: nowrap; text-align: center; transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease; }
.copy .cp-txt span:last-child { transform: translateY(130%); opacity: 0; }
.copy.copied .cp-ico svg:first-child { transform: translateY(-120%); opacity: 0; }
.copy.copied .cp-ico svg:last-child { transform: none; opacity: 1; }
.copy.copied .cp-txt span:first-child { transform: translateY(-130%); opacity: 0; }
.copy.copied .cp-txt span:last-child { transform: none; opacity: 1; }
.copy.copied.ok { background: #cdeadb; color: #0e5c37; animation: cp-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes cp-pop { 35% { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .share-link .copy, .copy .cp-ico svg, .copy .cp-txt span { transition: none; } .copy.copied.ok { animation: none; } }
@media (prefers-reduced-motion: reduce) { .share-link .copy:not(.copied):hover, .share-link .copy:not(.copied):active { transform: none; } }

/* no blue flash when something is tapped on a phone */
html { -webkit-tap-highlight-color: transparent; }

/* the four short facts under the hero grow a tiny bit on hover */
@media (hover: hover) {
  .facts li { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
  .facts li:hover { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) { .facts li { transition: none; } .facts li:hover { transform: none; } }

/* 404 page on a phone: the console input is hidden so nothing can be typed (and no keyboard pops up); a still blinking cursor stands in for it */
@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .nf-input { display: none; }
  .nf-console { cursor: default; }
  .nf-prompt::after { content: ""; display: inline-block; align-self: center; width: 0.62em; height: 1.05em; background: var(--gold-deep); animation: nf-blink 1.05s steps(1) infinite 2.3s; }
}
@media (prefers-reduced-motion: reduce) { .nf-prompt::after { animation: none; } }

/* ---------- privacy page ---------- */
.lg { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.legal { flex: 1; width: min(100% - 40px, 700px); margin-inline: auto; padding: clamp(40px, 8vh, 84px) 0 12px; }
.legal-lang { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.legal-lang[hidden] { display: none; }
.legal-lang button { font: 700 14px/1 var(--sans); padding: 9px 16px; border: 0; border-radius: 999px; background: var(--fill); color: var(--muted); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.legal-lang button:hover { color: var(--text); }
.legal-lang button[aria-pressed="true"] { background: var(--gold-wash); color: var(--gold-deep); cursor: default; }
.legal article { -webkit-user-select: text; user-select: text; animation: legal-in 0.35s ease both; }
.legal article[hidden] { display: none; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal-date { margin-top: 12px; color: var(--subtle); font-size: 14.5px; }
.legal-date + .legal-date { margin-top: 4px; }
.legal-lead { margin-top: 22px; color: var(--muted); font-size: 1.12rem; }
.legal h2 { margin: 42px 0 12px; font-size: clamp(1.4rem, 3.2vw, 1.75rem); }
.legal h2 + p { margin-top: 0; }
.legal p + p { margin-top: 14px; }
.legal article > p:not(.legal-date):not(.legal-lead) { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 800; }
@keyframes legal-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .legal article { animation: none; } .legal-lang button { transition: none; } }

/* ---------- release news sign-up (closing card) ---------- */
.closing-card .news { max-width: 600px; margin: 42px auto 0; text-align: left; }
.closing-card .news-lead { margin: 0 0 12px; max-width: none; text-align: center; color: var(--text); font-weight: 700; }
.news-row { display: flex; gap: 10px; }
.news-in { flex: 1 1 0; min-width: 0; padding: 15px 18px; border: 0; border-radius: 14px; background: var(--fill); color: var(--text); font: 600 16px/1.2 var(--sans); outline: none; transition: background 0.2s ease, box-shadow 0.2s ease; -webkit-user-select: text; user-select: text; }
.news-name { flex-grow: 0.85; }
.news-mail { flex-grow: 1.2; }
.news-in::placeholder { color: var(--subtle); opacity: 1; font-weight: 500; }
.news-in:focus { background: var(--raised); box-shadow: inset 0 0 0 1.5px var(--gold-dim); }
.news-in[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #c92d39; }
.closing-card .news .btn { flex: none; padding: 15px 22px; background: var(--gold); color: var(--on-gold); transition: background 0.2s ease, transform 0.2s ease; }
.closing-card .news .btn:hover { background: #e6ca6f; }
.closing-card .news .btn:disabled { opacity: 0.7; cursor: default; }
.news-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.closing-card .news-fine { margin: 12px 0 0; max-width: none; text-align: center; font-size: 13.5px; color: var(--subtle); }
.closing-card .news-msg { margin: 6px 0 0; max-width: none; min-height: 1.5em; text-align: center; font-size: 14px; color: #c92d39; }
.news-done { max-width: 30em; margin: 42px auto 0; text-align: center; }
.news-done[hidden] { display: none; }
.news-check { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-deep); animation: news-pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.news-check .px { width: 28px; height: 28px; }
.closing-card .news-done p { margin: 0 auto; animation: news-rise 0.5s ease 0.12s both; }
.closing-card .news-done .news-done-title { margin-bottom: 6px; color: var(--text); font: 600 1.5rem/1.2 var(--serif); }
@keyframes news-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes news-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .news-row { flex-direction: column; }
  .closing-card .news .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .news-in, .closing-card .news .btn { transition: none; } .news-check, .closing-card .news-done p { animation: none; } }
