/* AKG Interactive — site v2 (generated pages: web_src/build.mjs). One stylesheet, no framework. */
/* Manrope (SIL OFL 1.1), self-hosted variable font 400–800 */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-latin.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:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-cyrillic.woff2) format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-cyrillic-ext.woff2) format("woff2");unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}

:root {
  --bg: #07080f;
  --bg-2: #0d0f1c;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef0f8;
  --muted: #a3a8c3;
  --dim: #6f7493;
  --brand: #ff8a1f;
  --brand-2: #ffb347;
  --accent: var(--brand);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 32px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ja"] body, html[lang="ko"] body { line-height: 1.75; word-break: keep-all; }
html[lang="ja"] body { font-family: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; }
html[lang="ko"] body { font-family: "Manrope", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ko"] h1, html[lang="ko"] h2 { letter-spacing: 0; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 8, 15, 0.72); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.nav .logo img { height: 30px; width: auto; }
.nav .links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav .links > a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav .links > a:hover, .nav .links > a[aria-current] { color: var(--text); background: var(--panel); }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang[open] summary, .lang summary:hover { color: var(--text); border-color: var(--line-2); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 180px;
  background: #121427; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.lang li a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--muted); white-space: nowrap; }
.lang li a:hover { background: var(--panel-2); color: var(--text); }
.lang li a[aria-current] { color: var(--brand); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .menu-btn { display: grid; place-items: center; }
  .nav .links {
    position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--pad) 16px;
    background: rgba(7, 8, 15, 0.96); border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open .links { display: flex; }
  .nav .links > a { padding: 12px; font-size: 16px; }
  .lang ul { position: static; margin-top: 8px; grid-template-columns: 1fr 1fr 1fr; box-shadow: none; }
}

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 20px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  font-family: inherit; color: var(--text); background: none;
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0b0b10; box-shadow: 0 10px 30px -10px var(--accent); }
.btn-primary:hover { box-shadow: 0 14px 40px -10px var(--accent); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-store { background: #fff; color: #0b0b10; padding: 10px 18px 10px 14px; }
.btn-store small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .02em; opacity: .7; margin-bottom: 3px; text-transform: uppercase; }
.btn-store span { display: block; font-size: 16px; font-weight: 800; }
.btn-store svg { width: 24px; height: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text);
  padding: 7px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.soon { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.soon svg { width: 16px; height: 16px; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
html[lang="ja"] .kicker, html[lang="ko"] .kicker { letter-spacing: .06em; }
.h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.head .lead { margin: 0; }

/* ---------- hero (home: Project Deadzone) ---------- */
.hero { min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,8,15,.25) 0%, rgba(7,8,15,.1) 30%, rgba(7,8,15,.75) 70%, var(--bg) 100%),
              linear-gradient(90deg, rgba(7,8,15,.85) 0%, rgba(7,8,15,.35) 55%, rgba(7,8,15,0) 100%);
}
.hero .wrap { padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero .wordmark { width: min(440px, 80%); margin: 18px 0 22px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.7)); }
.hero h1 { font-size: clamp(36px, 6vw, 72px); max-width: 820px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero p.lead { color: #d6d9ea; margin: 22px 0 30px; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.hero .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badges { display: flex; gap: 6px; margin-top: 28px; }
.badges img { width: 52px; height: 52px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.6)); }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-bg img { object-position: 22% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(7,8,15,.2) 0%, rgba(7,8,15,.55) 45%, rgba(7,8,15,.92) 75%, var(--bg) 100%); }
  .hero .wrap { padding-top: clamp(240px, 46vh, 460px); }
}

/* ---------- feature spotlight (home) ---------- */
.spot { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.spot .copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.spot .copy p { color: var(--muted); }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.video > button, .video > .yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; }
.video > button { cursor: pointer; background: #000; }
.video > button img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video > button:hover img { opacity: 1; transform: scale(1.02); }
.video .play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 20px 50px rgba(0,0,0,.6); transition: transform .2s;
}
.video > button:hover .play { transform: scale(1.06); }
.video .play svg { width: 34px; height: 34px; margin-left: 5px; fill: #0b0b10; }
.video .label { position: absolute; left: 18px; bottom: 16px; font-weight: 700; font-size: 14px; background: rgba(0,0,0,.6); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- bento & cards ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  padding: 26px; transition: border-color .25s, transform .25s, background .25s;
}
a.card { text-decoration: none; display: flex; flex-direction: column; }
a.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-3px); background: var(--panel-2); }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
@media (max-width: 900px) { .span-2, .span-3, .span-4 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4, .span-6 { grid-column: auto; } }

.game-card { padding: 0; min-height: 420px; }
.game-card .art { position: absolute; inset: 0; z-index: 0; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.game-card:hover .art img { transform: scale(1.05); }
.game-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,8,15,0) 25%, rgba(7,8,15,.7) 60%, rgba(7,8,15,.96) 100%); }
.game-card .body { position: relative; z-index: 2; margin-top: auto; padding: 26px; }
.game-card .icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); }
.game-card h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.game-card p { color: #c7cbe0; margin-bottom: 16px; font-size: 16px; }
.game-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); color: #e7e9f3; }
.tag.hot { background: var(--accent); color: #0b0b10; border-color: transparent; }
.game-card .go { position: absolute; top: 20px; right: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.game-card .go svg { width: 18px; height: 18px; }
.game-card:hover .go { background: var(--accent); color: #0b0b10; transform: rotate(-45deg); }
.game-card.big { min-height: 560px; }
@media (max-width: 640px) { .game-card, .game-card.big { min-height: 440px; } }

.feature h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 15.5px; margin: 0; }
.feature .n { font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 14px; display: block; letter-spacing: .08em; }
.stat .num { font-size: clamp(44px, 5vw, 64px); font-weight: 800; line-height: 1; color: var(--text); }
.stat .num span { color: var(--accent); }
.stat p { color: var(--muted); margin: 10px 0 0; }

/* ---------- screenshots rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 620px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 18px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail.portrait { grid-auto-columns: min(60%, 300px); }
.rail figure { margin: 0; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.rail img { width: 100%; height: auto; }

/* ---------- game page ---------- */
.ghero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 14vw, 170px) 0 clamp(48px, 7vw, 80px); }
.ghero-bg { position: absolute; inset: 0; z-index: -2; }
.ghero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ghero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,8,15,.45) 0%, rgba(7,8,15,.7) 55%, var(--bg) 100%), linear-gradient(90deg, rgba(7,8,15,.9) 0%, rgba(7,8,15,.3) 70%); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.ghero .title { display: flex; gap: 22px; align-items: center; margin-bottom: 20px; }
.ghero .title img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 40px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); flex: none; }
.ghero h1 { font-size: clamp(36px, 6vw, 68px); }
.ghero .tagline { font-size: clamp(18px, 2vw, 23px); color: #d9dcec; margin: 6px 0 0; font-weight: 600; }
.ghero .wordmark { width: min(420px, 78%); margin-bottom: 18px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.7)); }
.ghero .btns { margin-top: 28px; }
.ghero .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.prose p { color: #cfd2e3; font-size: 18px; }
.facts { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--dim); font-size: 14px; font-weight: 700; }
.facts dd { margin: 0; font-size: 15px; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 24px; color: var(--accent); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* HistoryGuessr in-page player */
.player { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b1e2a; }
.player > button { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; padding: 0; background: radial-gradient(ellipse at 50% 40%, #1aa3bb, #073a4c); color: #fff; font: inherit; display: grid; place-items: center; }
.player > button .in { display: grid; justify-items: center; gap: 16px; }
.player > button img { width: 110px; height: 110px; border-radius: 26px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.player > button b { font-size: 22px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.full { position: fixed; inset: 0; z-index: 90; border-radius: 0; aspect-ratio: auto; }
.player .x { position: absolute; top: 10px; right: 10px; z-index: 2; display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; cursor: pointer; }
.player.full .x { display: block; }
body.lock { overflow: hidden; }

/* ---------- privacy ---------- */
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.doc .updated { color: var(--dim); font-size: 15px; margin-bottom: 28px; }
.doc .short { border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 9%, transparent); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 34px; }
.doc .short b { display: block; color: var(--accent); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.doc .short p { margin: 0; }
.doc h2 { font-size: 22px; margin: 34px 0 12px; letter-spacing: -0.01em; }
.doc .no { color: var(--accent); margin-right: 8px; }
.doc p, .doc li { color: #cdd0e1; }
.doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--brand-2); }
.policy { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 48px; }
.policy .ph { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.policy .ph img { width: 54px; height: 54px; border-radius: 14px; }
.policy .ph h2 { margin: 0; font-size: 28px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 10px; }

/* ---------- contact & footer ---------- */
.contact { text-align: center; padding: clamp(40px, 6vw, 72px) var(--pad); border-radius: 30px; background: radial-gradient(ellipse at 50% 0%, rgba(255,138,31,.18), transparent 60%), var(--panel); border: 1px solid var(--line); }
.contact .h2 { margin-left: auto; margin-right: auto; max-width: 760px; }
.contact .lead { margin: 0 auto 28px; }
.contact .btns { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 48px 0 36px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; color: var(--text); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .logo img { height: 32px; width: auto; margin-bottom: 14px; }
.foot .base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: 14px; color: var(--dim); }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* language suggestion */
.suggest { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 80; display: flex; gap: 12px; align-items: center; background: #15172b; border: 1px solid var(--line-2); border-radius: 18px; padding: 8px 8px 8px 16px; width: max-content; box-shadow: 0 20px 50px rgba(0,0,0,.6); font-size: 14px; max-width: calc(100% - 24px); }
.suggest a { background: var(--brand); color: #0b0b10; text-decoration: none; font-weight: 800; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.suggest button { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; padding: 0 8px; }

/* reveal on scroll (progressive) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.doc h3 { font-size: 19px; margin: 26px 0 10px; letter-spacing: -0.01em; }
.suggest span { flex: 1 1 auto; min-width: 0; }
@media (max-width: 480px) { .suggest { width: calc(100% - 24px); } }
