/* Strikefall site. The frame (type, top bar, Projects and language menus, cards, marquee, panel, footer) follows
   scintlabs.com and gummyscrews.scintlabs.com; the palette is the game's: night blue-black, amber and fire. */

@font-face { font-family: 'Bricolage Grotesque Variable'; src: url('../fonts/bricolage-grotesque-latin-wght.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: 'Space Grotesk Variable'; src: url('../fonts/space-grotesk-latin-wght.woff2') format('woff2-variations'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }

:root {
  --bg: #0b0e12;
  --paper: #141a21;
  --paper-2: #1b222b;
  --ink: #eef1f5;
  --muted: #9aa5b3;
  --line: rgba(238, 241, 245, 0.1);
  --amber: #ffb020;
  --fire: #ff6a1f;
  --red: #ff4d2e;
  /* scintlabs.com accents (menus, the mark) */
  --pink: #ff2e88; --violet: #7b3bff; --cyan: #00c2ff; --lime: #c8ff2e; --yellow: #ffd21f; --orange: #ff7a1a;
  --spring: cubic-bezier(0.2, 1.5, 0.35, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --display: 'Bricolage Grotesque Variable', 'Arial Black', system-ui, sans-serif;
  --body: 'Space Grotesk Variable', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
p, li, td { overflow-wrap: break-word; }
::selection { background: var(--amber); color: #0b0e12; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #0b0e12; padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- top bar (scintlabs.com .nav) ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: .04em; }
.brand b { font-weight: 800; color: var(--amber); }
.brand img { flex: none; width: 36px; height: 36px; border-radius: 11px; transition: transform .45s var(--spring); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-space { margin-left: auto; }
.nav-links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 1080px) { .nav-links { display: none; } .nav-space { margin-left: auto; } .projects { margin-left: auto; } }
@media (max-width: 440px) { .brand-name { display: none; } }
@media (max-width: 380px) { .brand { font-size: 1rem; gap: 7px; } .brand img { width: 32px; height: 32px; } .lang-btn > svg:first-child { display: none; } .lang-btn { padding: 7px 10px; } }

/* language and Projects menus (scintlabs.com LangMenu) */
.lang { position: relative; flex: none; }
.lang-btn { display: flex; align-items: center; gap: 7px; padding: 7px 12px 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .82rem; font-weight: 700; letter-spacing: .04em; transition: background .2s, color .2s, border-color .2s; }
.lang-btn:hover { border-color: var(--ink); }
.lang.is-open .lang-btn { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lang-chevron { transition: transform .35s var(--spring); }
.lang.is-open .lang-chevron { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 30; min-width: 220px; max-height: calc(100vh - 90px); overflow-y: auto; margin: 0; padding: 10px 8px 8px; list-style: none; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 28px 60px -24px rgba(0, 0, 0, .7), 0 10px 24px -12px rgba(255, 106, 31, .25); transform-origin: top right; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.94); transition: opacity .15s ease, transform .3s ease, visibility 0s .3s; }
.lang-menu::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--lime), var(--cyan), var(--violet)); }
.lang.is-open .lang-menu, html:not(.js) .lang:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .4s var(--spring); }
.lang.is-open .lang-menu li { animation: lang-item .4s var(--spring) both; animation-delay: calc(var(--i) * 24ms + 40ms); }
@keyframes lang-item { from { opacity: 0; transform: translateX(10px); } }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 10px 8px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s, color .15s; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--ink); color: var(--bg); outline: none; }
.lang-tag { padding: 2px 7px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.lang-menu a[aria-current='page'] .lang-tag { background: var(--amber); color: #0b0e12; }
.lang-menu a[aria-current='page'] { font-weight: 800; }
.lang-menu a span:first-child { white-space: nowrap; }
.lang-menu .menu-icon { display: inline-flex; width: 24px; height: 24px; flex: none; }
.lang-menu .menu-icon svg { width: 24px; height: 24px; }
.projects .lang-menu::before { content: none; }
.lang-menu img.menu-icon { border-radius: 7px; }
.lang-menu .menu-group { padding: 10px 12px 4px; font: 700 .7rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lang-menu .menu-group:first-child { padding-top: 4px; }

/* ---------- hero: a frame from the game ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(92vh, 940px); display: flex; align-items: flex-end; padding: 120px var(--gutter) clamp(56px, 8vw, 96px); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: hero-zoom 22s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
/* the trailer's action loop over the frame once it plays (site.js: wide screens, motion allowed, no data saver) */
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-video.on { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 14, 18, .94) 0%, rgba(11, 14, 18, .7) 38%, rgba(11, 14, 18, .1) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 18, 0) 38%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(0deg, var(--bg) 8%, rgba(11, 14, 18, .82) 55%, rgba(11, 14, 18, .45) 100%); } }
.hero-in { width: 100%; max-width: var(--max); margin: 0 auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(20, 26, 33, .75); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--amber); animation: fade-up .7s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wordmark { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 13vw, 9.5rem); line-height: .86; letter-spacing: -.02em; animation: fade-up .9s .1s ease both; }
.wordmark span { background: linear-gradient(180deg, #fff 0%, #ffe3a8 45%, #ffb020 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 26px rgba(255, 106, 31, .35)); }
.wordmark b { font-weight: 800; background: linear-gradient(180deg, #ffd36b 0%, #ff8a1f 70%, #ff4d2e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { margin: 16px 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3.4vw, 2rem); line-height: 1.15; animation: fade-up .9s .2s ease both; }
.lead { margin: 0 0 26px; max-width: 36em; color: #c8d0da; font-size: 1.08rem; animation: fade-up .9s .3s ease both; }
.stores { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; animation: fade-up .9s .4s ease both; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px; background: rgba(20, 26, 33, .82); border: 1px solid rgba(238, 241, 245, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: .98rem; line-height: 1.1; }
.store svg { width: 22px; height: 22px; flex: none; color: var(--amber); }
.store small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ghost-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--amber); color: var(--amber); font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .35s var(--spring); }
.ghost-btn:hover { background: var(--amber); color: #0b0e12; transform: translateY(-2px); }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; }
/* the trailer: framed like the screenshots */
.trailer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 50px -30px #000; background: #000; }

/* ---------- marquee (scintlabs.com), in fire ---------- */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--red), var(--fire), var(--amber)); color: #0b0e12; padding: 14px 0; border-top: 3px solid #000; border-bottom: 3px solid #000; position: relative; z-index: 4; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.marquee-item:nth-child(even) { color: #fff; font-weight: 300; }
.marquee-item svg { width: .7em; height: .7em; flex: none; color: #0b0e12; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 120px) var(--gutter) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-bottom: 36px; }
.section-title { margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 6.4vw, 4.6rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; max-width: 20ch; }
.section-sub { margin: 0; max-width: 36em; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .9s var(--spring); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

.card { position: relative; background: var(--paper); border-radius: 24px; border: 1px solid var(--line); transition: transform .5s var(--spring), box-shadow .4s ease, border-color .3s, opacity .7s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 176, 32, .45); box-shadow: 0 30px 60px -28px rgba(255, 106, 31, .55); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.3vw, 1.55rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

/* modes */
.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 1100px) { .modes { grid-template-columns: repeat(5, 1fr); } }
.mode { padding: 24px 22px; }
.mode-num { display: block; margin-bottom: 14px; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amber); }
.mode:last-child { background: linear-gradient(160deg, rgba(255, 176, 32, .16), var(--paper) 60%); border-color: rgba(255, 176, 32, .35); }

/* maps */
.maps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.map-card { position: relative; grid-column: span 2; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--paper); }
.map-card:nth-child(1), .map-card:nth-child(2) { grid-column: span 3; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.map-card:hover img { transform: scale(1.06); }
.map-card div { position: absolute; inset: auto 0 0; padding: 40px 20px 18px; background: linear-gradient(0deg, rgba(11, 14, 18, .95), rgba(11, 14, 18, 0)); }
.map-card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.02em; }
.map-card p { margin: 2px 0 0; color: var(--amber); font-weight: 600; font-size: .92rem; }
@media (max-width: 860px) { .maps { grid-template-columns: 1fr 1fr; } .map-card, .map-card:nth-child(1), .map-card:nth-child(2) { grid-column: span 1; } .map-card:nth-child(1) { grid-column: span 2; } }
@media (max-width: 520px) { .maps { grid-template-columns: 1fr; } .map-card:nth-child(1) { grid-column: span 1; } }

/* ---------- arsenal: the dark lab panel of scintlabs.com, lit by fire ---------- */
.panel-wrap { padding: clamp(72px, 10vw, 120px) var(--gutter) 0; }
.panel { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: 36px; background: #06080b; border: 1px solid var(--line); overflow: hidden; }
.panel::after { content: ''; position: absolute; width: 460px; height: 460px; right: -140px; top: -160px; border-radius: 50%; background: conic-gradient(from 90deg, var(--red), var(--amber), var(--fire), var(--red)); filter: blur(70px); opacity: .4; animation: spin-r 18s linear infinite; pointer-events: none; }
@keyframes spin-r { to { transform: rotate(360deg); } }
.panel > * { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 0 36px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.stats dt { margin-top: 6px; color: var(--muted); font-weight: 500; }
.stats div:nth-child(1) dd { color: var(--amber); } .stats div:nth-child(2) dd { color: var(--fire); } .stats div:nth-child(3) dd { color: var(--red); } .stats div:nth-child(4) dd { color: var(--ink); }
.spin-num { display: inline-block; font-variant-numeric: tabular-nums; }
.features { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.feature { padding: 22px; border-radius: 22px; background: rgba(238, 241, 245, .04); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--spring); }
.feature:hover { border-color: rgba(255, 176, 32, .5); transform: translateY(-4px); }
.feature h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 14px; display: grid; place-items: center; background: linear-gradient(160deg, var(--amber), var(--fire)); box-shadow: 0 10px 24px -10px rgba(255, 106, 31, .7); }
.icon svg { width: 30px; height: 30px; color: #0b0e12; }

/* ---------- screenshots ---------- */
.shots-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .shots-nav { display: flex; } }
.round { all: unset; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1.5px solid var(--ink); background: var(--paper); transition: transform .35s var(--spring), background .2s, color .2s; }
.round:hover { background: var(--amber); color: #0b0e12; transform: translateY(-2px) rotate(-4deg); }
.round:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.round svg { width: 22px; height: 22px; }
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--amber) transparent; }
.shot { flex: 0 0 auto; width: min(86vw, 760px); scroll-snap-align: center; margin: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 50px -30px #000; background: var(--paper); }

/* ---------- closing call ---------- */
.cta { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta .section-title { max-width: 18ch; }
.cta p { margin: 16px 0 26px; color: var(--muted); font-size: 1.1rem; max-width: 32em; }
.cta .stores { justify-content: center; }
.cta-icon { width: 110px; height: 110px; margin-bottom: 18px; border-radius: 28px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -16px rgba(255, 106, 31, .6); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* ---------- footer (scintlabs.com) ---------- */
.footer { padding: 40px var(--gutter) 32px; overflow: hidden; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr 1.6fr; align-items: start; } }
.footer a[aria-current] { font-weight: 700; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { color: var(--ink); text-decoration-color: rgba(238, 241, 245, .25); text-underline-offset: 3px; }
.footer a:hover { text-decoration-color: var(--amber); }
.foot-h { font: 700 .78rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo b { font-weight: 800; }
.logo .mark { margin-top: -6px; overflow: visible; }
.fine { max-width: var(--max); margin: 30px auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.fine .tm { flex-basis: 100%; }
/* the Scint Labs mark */
.mark-bubble { opacity: 0; animation: bubble 2.6s ease-in infinite; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20%, 80% { opacity: .8; } 100% { transform: translateY(-11px); opacity: 0; } }
.mark-fizz, .mark-fizz-star, .mark-fizz-ring { animation-duration: 3.5s; animation-iteration-count: infinite; animation-delay: var(--delay); }
.mark-fizz { transform: translate(32px, 24px); animation-name: fizz-rise; animation-timing-function: cubic-bezier(.25, .6, .4, 1); }
@keyframes fizz-rise { 0% { transform: translate(32px, 24px); } 40%, 100% { transform: translate(calc(32px + var(--dx)), var(--dy)); } }
.mark-fizz-star, .mark-fizz-ring { transform-box: fill-box; transform-origin: center; }
.mark-fizz-star { opacity: 0; animation-name: fizz-star; animation-timing-function: ease-out; }
@keyframes fizz-star { 0% { transform: scale(.2) rotate(0); opacity: 0; } 8% { opacity: 1; } 38% { transform: scale(1) rotate(90deg); opacity: 1; } 44% { transform: scale(1.6) rotate(110deg); opacity: 0; } 100% { transform: scale(0); opacity: 0; } }
.mark-fizz-ring { opacity: 0; animation-name: fizz-ring; animation-timing-function: ease-out; }
@keyframes fizz-ring { 0%, 38% { transform: scale(.2); opacity: 0; } 40% { opacity: 1; } 56% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(.2); opacity: 0; } }
.mark-liquid { animation: slosh 2.4s linear infinite; }
@keyframes slosh { to { transform: translateX(20px); } }

/* ---------- privacy, delete account ---------- */
.doc-hero { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 9vw, 110px) var(--gutter) 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.doc-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 30%, rgba(255, 106, 31, .18), transparent 70%); }
.doc-hero .section-title { max-width: 18ch; }
.doc-hero p { margin: 18px auto 0; max-width: 34em; color: var(--muted); font-size: 1.1rem; }
.doc-mark { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--amber); animation: spin-r 18s linear infinite; }
.doc { max-width: 880px; margin: 0 auto; padding: 10px var(--gutter) clamp(60px, 9vw, 110px); }
.doc-card { padding: clamp(22px, 4vw, 44px); }
.doc-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.doc-card h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1.1; letter-spacing: -.03em; margin: 1.6em 0 .5em; }
.doc-card p, .doc-card li { color: #c8d0da; }
.doc-card ul, .doc-card ol { padding-left: 1.3em; }
.doc-card li { margin-bottom: .45em; }
.doc-card li::marker { color: var(--amber); }
.doc-card a { text-decoration-color: var(--amber); text-underline-offset: 3px; }
.updated { font-weight: 700; color: var(--muted) !important; font-size: .92rem; margin-top: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0 !important; list-style: none; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.toc a:hover { background: var(--amber); border-color: var(--amber); color: #0b0e12; }
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--line); margin: 0 0 1em; }
.callout svg { width: 28px; height: 28px; flex: none; color: var(--amber); }
.callout p { margin: 0 0 .4em; }
.callout ul { margin: 0; }
.kbd { display: inline-block; padding: 0 9px; border-radius: 8px; background: var(--paper-2); border: 1.5px solid var(--muted); box-shadow: 0 2px 0 var(--muted); font-weight: 700; font-size: .92em; white-space: nowrap; color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
.doc-card table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .96rem; }
.doc-card th, .doc-card td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #c8d0da; }
.doc-card th { font-weight: 700; background: var(--paper-2); color: var(--ink); }
.doc-card th:first-child { border-top-left-radius: 12px; } .doc-card th:last-child { border-top-right-radius: 12px; }
@media (max-width: 640px) {
  .doc-card thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc-card table, .doc-card tbody, .doc-card tr, .doc-card td { display: block; }
  .doc-card tr { margin: 0 0 12px; padding: 10px 14px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); }
  .doc-card td { border: 0; padding: 3px 0; }
  .doc-card td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}
.steps-doc { counter-reset: d; list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 0 0 1.4em; }
.steps-doc li { counter-increment: d; position: relative; padding: 14px 16px 14px 62px; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--line); margin: 0; }
.steps-doc li::before { content: counter(d); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font: 800 1.1rem/1 var(--display); color: #0b0e12; background: linear-gradient(160deg, var(--amber), var(--fire)); }
.mailbox { text-align: center; padding: 20px; border-radius: 20px; border: 1.5px dashed rgba(238, 241, 245, .25); margin: 0 0 1.2em; }
.mail-btn { display: inline-block; margin-top: 6px; padding: 12px 22px; border-radius: 999px; background: linear-gradient(160deg, var(--amber), var(--fire)); color: #0b0e12 !important; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 24px; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100svh - 70px); display: grid; place-items: center; text-align: center; padding: 60px var(--gutter) 70px; }
.nf-mark { width: 96px; height: 96px; margin: 0 auto 10px; color: var(--amber); animation: spin-r 10s linear infinite; }
.nf h1 { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 18vw, 8rem); line-height: 1; letter-spacing: -.05em; margin: 0; }
.nf p { font-weight: 600; font-size: 1.15rem; max-width: 26em; margin: 6px auto 22px; color: #c8d0da; }

/* German: long words; titles a touch smaller */
:lang(de) .section-title { font-size: clamp(2.05rem, 5.8vw, 4.2rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { width: auto; overflow: hidden; }
}
