/*
 * GOBAL / Editorial game companion
 * Native HTML + CSS. No font download, icon library or CSS framework required.
 * Sections are visible by default: JavaScript is an enhancement, never a gate.
 */
:root {
  color-scheme: dark;
  --bg: #0f1923;
  --bg-deep: #0b131b;
  --surface: #16222d;
  --surface-raised: #1e2b37;
  --paper: #ece8e1;
  --paper-card: #e3ded5;
  --text: #f3f0ea;
  --muted: #a6afb9;
  --ink: #0f1923;
  --ink-muted: #626665;
  --accent: #ff4454;
  --accent-hover: #ff6874;
  --mint: #c3e4d5;
  --violet: #c9b5dd;
  --line: #ffffff21;
  --line-light: #0f192326;
  --max: 1280px;
  --header-height: 88px;
  --gutter: clamp(24px, 5.4vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; min-width: 280px; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.7; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
body.is-modal-open { overflow: hidden; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--accent); }
.light-section :focus-visible, .download-section :focus-visible { outline-color: #193e88; }
input:focus-visible { outline-offset: 1px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.art { width: 100%; height: auto; overflow: visible; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 16px; background: var(--paper); color: var(--ink); padding: 12px 20px; transform: translateY(-150%); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.js-only { display: none !important; }
.enhanced .no-enhancement { display: none !important; }
.enhanced .js-only { display: inline-flex !important; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--max); margin-inline: auto; }
.section-space { padding-block: 112px; }
.light-section { color-scheme: light; background: var(--paper); color: var(--ink); }
.eyebrow, .micro-label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .095em; line-height: 1.5; }
.eyebrow { display: flex; gap: 14px; align-items: center; color: #c7cbcd; }
.square-dot { width: 7px; height: 7px; background: var(--accent); display: inline-block; flex-shrink: 0; }
.section-index { color: var(--accent); letter-spacing: .03em; }
.dark-eyebrow, .dark-eyebrow .section-index { color: #666961; }
.micro-label { letter-spacing: .09em; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 15px 24px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 700; line-height: 1.4; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.button .icon { width: 19px; height: 19px; transition: transform .25s var(--ease); }
.button:hover .icon { transform: translate(2px, -2px); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-header { min-height: 43px; padding: 10px 16px; gap: 20px; background: var(--paper); color: var(--ink); font-size: 13px; }
.button-header:hover { background: var(--accent); }
.button-ghost { color: var(--text); padding-inline: 6px; border-bottom-color: var(--line); border-radius: 0; }
.button-ghost:hover { color: var(--accent); border-bottom-color: var(--accent); }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; }
.inline-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 13px; font-weight: 650; }
.inline-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.inline-link:hover .icon { transform: translateX(4px); }
.inline-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-height); background: #0f1923f2; border-bottom: 1px solid var(--line); transition: box-shadow .2s; padding-top: env(safe-area-inset-top, 0px); }
.site-header.is-scrolled { box-shadow: 0 6px 28px #0003; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-group { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 850; letter-spacing: -.08em; line-height: 1; }
.brand-dot { color: var(--accent); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; box-shadow: 0 0 0 1px #ffffff1c, 0 6px 16px #0006; }
.brand-caption { border-left: 1px solid var(--line); padding-left: 20px; font-family: var(--mono); font-size: 9.5px; line-height: 1.6; letter-spacing: .12em; color: #a2a7ab; }
.desktop-nav { display: flex; gap: clamp(18px, 2.3vw, 35px); align-items: center; }
.desktop-nav a { position: relative; padding: 15px 0; color: #bec1c4; font-size: 13px; }
.desktop-nav a::after { content: ""; position: absolute; width: 4px; height: 4px; bottom: 5px; left: calc(50% - 2px); background: var(--accent); opacity: 0; transition: opacity .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--text); }
.desktop-nav a[aria-current]::after { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; }
.enhanced .menu-toggle { display: none !important; }
.mobile-menu { position: fixed; top: 0; bottom: auto; left: auto; right: 0; margin: 0; width: min(440px, 100%); max-width: 100%; max-height: 100dvh; padding: 24px; border: none; background: var(--bg); color: var(--text); }
.mobile-menu::backdrop { background: #0009; }
.menu-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 22px; font-size: 15px; font-weight: 700; }
.mobile-menu nav { display: grid; padding: 22px 0 28px; }
.mobile-menu nav a { display: flex; align-items: center; gap: 18px; padding: 19px 0; font-size: 23px; letter-spacing: -.04em; }
.mobile-menu nav a span:not(.i18n-copy) { color: var(--accent); font: 11px var(--mono); }
.mobile-menu nav .icon { margin-left: auto; }
.mobile-menu > .button { width: 100%; }
.menu-support { display: flex; gap: 20px; padding: 26px 0 8px; font-size: 13px; color: var(--muted); }

/* Intro / large type, quiet chrome, original illustrated concept */
.hero { position: relative; isolation: isolate; background: var(--bg); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; gap: 20px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 45px 0 52px; }
.hero-copy > .eyebrow { margin-bottom: 31px; font-size: 11px; letter-spacing: .11em; }
h1 { font-size: clamp(45px, 4.8vw, 72px); letter-spacing: -.065em; font-weight: 850; line-height: 1.24; }
.hero h1 { white-space: nowrap; }
.hero h1 > span:not(.i18n-copy) { color: var(--accent); }
.hero-description { color: #b5b9bd; margin-top: 28px; font-size: 16px; line-height: 1.9; letter-spacing: -.03em; }
.hero-description strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 26px; align-items: center; margin-top: 33px; }
.platform-line { display: flex; align-items: center; gap: 19px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.platform-line > span:not(.i18n-copy) { display: inline-flex; align-items: center; gap: 7px; }
.platform-line .icon { width: 13px; height: 13px; }
.platform-line > i { height: 11px; width: 1px; background: #4a5866; }
.hero-footnote { display: flex; align-items: center; gap: 15px; margin-top: 58px; }
.fine-line { height: 36px; width: 2px; background: var(--accent); }
.hero-footnote p { color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.hero-footnote strong { color: #e0e1de; font-weight: 500; }
.hero-coordinate { margin-left: auto; margin-right: 32px; color: #93999f; font: 9px/1.8 var(--mono); text-align: right; letter-spacing: .03em; }
.hero-visual { position: relative; min-width: 0; height: 686px; display: flex; justify-content: center; align-items: center; padding-bottom: 21px; }
.visual-grid { position: absolute; inset: 28px -38px 16px; background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse at center, #000, #000 35%, transparent 70%); pointer-events: none; }
.orbit { position: absolute; width: 570px; height: 380px; border: 1px solid #ff445438; border-radius: 50%; transform: rotate(-55deg); pointer-events: none; }
.orbit-one { background: radial-gradient(ellipse at 50% 50%, #ff445408, transparent 70%); }
.orbit-two { width: 660px; height: 440px; border-color: #ffffff0b; }
.visual-plus { position: absolute; color: #777a7d; font: 23px var(--mono); }
.plus-one { top: 74px; right: 12px; }
.plus-two { bottom: 115px; left: 18px; }
.visual-label { position: absolute; top: 28px; right: 0; font: 9px var(--mono); color: #999fa5; letter-spacing: .15em; }
.floating-tag { transition: opacity .2s; position: absolute; top: 102px; left: -12px; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 14px 20px 14px 14px; background: #1b2835; border: 1px solid #ffffff28; border-radius: 5px; box-shadow: 0 14px 26px #0002; transform: rotate(-5deg); pointer-events: none; }
.tag-icon { width: 31px; height: 31px; display: grid; place-items: center; background: #ff44541c; color: #ff7883; }
.tag-icon .icon { width: 19px; height: 19px; }
.floating-tag small { font: 8px var(--mono); letter-spacing: .07em; color: #b2b7bc; display: block; margin-bottom: 3px; }
.floating-tag strong { font-size: 12px; font-weight: 600; }
.floating-dictionary { transition: opacity .2s; position: absolute; right: -6px; bottom: 111px; z-index: 5; padding: 15px 20px 18px; width: 215px; background: var(--paper); color: var(--ink); border-radius: 4px; transform: rotate(7deg); box-shadow: 0 20px 40px #0004; pointer-events: none; }
.floating-dictionary > div { font: 9px var(--mono); display: flex; gap: 6px; align-items: center; color: #5c6365; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #386855; }
.floating-dictionary p { margin-top: 15px; font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.floating-dictionary p span:not(.i18n-copy) { display: block; font-size: 13px; font-weight: 500; margin-top: 1px; }
.dictionary-stamp { position: absolute; bottom: 18px; right: 14px; font: 9px var(--mono); writing-mode: vertical-rl; }
.dictionary-stamp span:not(.i18n-copy) { margin-block: 5px; color: #687670; }
.preview-disclaimer { position: absolute; bottom: 24px; left: 0; width: 100%; display: flex; justify-content: center; align-items: flex-start; gap: 6px; text-align: center; font-size: 11px; line-height: 1.7; color: #92999f; padding-inline: 15px; }
.preview-disclaimer .icon { width: 12px; height: 12px; margin-top: 1px; }
.try-caption { position: absolute; bottom: 66px; left: 10px; font-size: 12px; color: #b6b9ba; align-items: center; gap: 18px; }
.try-caption > span:not(.i18n-copy) { font-size: 28px; transform: rotate(-14deg); color: var(--accent); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); min-height: 68px; font: 10px var(--mono); letter-spacing: .1em; color: #a1a6ac; }
.scroll-hint { display: inline-flex; gap: 28px; align-items: center; }
.scroll-hint > span:not(.i18n-copy) { font-size: 17px; color: var(--text); }
.hero-bottom-note { font-size: 10px; letter-spacing: .16em; }

.hero-visual:focus-within .floating-tag,
.hero-visual:focus-within .floating-dictionary { opacity: 0; visibility: hidden; }

/* Functional phone preview. An explicit example, never a claimed screenshot. */
.phone { display: flex; flex-direction: column; position: relative; z-index: 3; width: 316px; height: 568px; flex-shrink: 0; background: #111b25; border: 5px solid #25313d; border-radius: 41px; box-shadow: 0 0 0 1px #5b6874, 0 0 0 3px #07090b, 20px 26px 75px #0007; padding: 0 16px; transform: rotate(5deg); transition: transform .6s var(--ease); }
.phone:focus-within { transform: rotate(0deg); }
.phone-camera { position: absolute; width: 81px; height: 20px; left: 50%; top: 8px; transform: translateX(-50%); border-radius: 30px; background: #090b0e; z-index: 1; }
.phone-status { flex-shrink: 0; height: 41px; display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 10px 0; font: 9px var(--mono); color: #dededb; }
.phone-signal { display: inline-flex; align-items: center; gap: 5px; font-size: 7px; }
.battery { display: inline-block; width: 14px; height: 7px; border: 1px solid #caccc9; border-radius: 2px; position: relative; }
.battery::before { content: ""; position: absolute; inset: 1px 3px 1px 1px; background: #caccc9; }
.phone-appbar { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; padding: 6px 0 12px; }
.phone-brand { font-size: 23px; font-weight: 850; letter-spacing: -.08em; }
.phone-brand > span:not(.i18n-copy) { color: var(--accent); }
.demo-badge { font-size: 9px; color: #b7bec5; border: 1px solid #ffffff20; border-radius: 20px; padding: 2px 8px; }
.preview-viewport { order: 1; flex: 1 1 0; min-height: 0; height: 392px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #4a5866 transparent; scroll-behavior: smooth; }
.preview-panel { padding-bottom: 8px; outline-offset: -3px; }
.screen-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 4px; }
.screen-heading .micro-label { font-size: 7.5px; color: #a6aeb9; letter-spacing: .09em; }
.screen-heading h2 { font-size: 20px; letter-spacing: -.065em; font-weight: 700; margin-top: 6px; }
.round-icon { width: 31px; height: 31px; border-radius: 50%; border: 1px solid #ffffff25; display: grid; place-items: center; color: #b6c0c9; }
.round-icon .icon { width: 14px; height: 14px; }
.showcase-card { position: relative; width: 100%; height: 214px; margin-top: 16px; overflow: hidden; border: 1px solid #ff8a9430; border-radius: 8px; background: radial-gradient(ellipse at 60% 40%, #74303b, #352030 66%, #261d2a); text-align: left; flex-direction: column; color: #fff0f1; padding: 13px; }
.showcase-card::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid #ffc9cf24; border-radius: 50%; left: 52px; top: 10px; pointer-events: none; }
.showcase-top { position: relative; z-index: 2; display: flex; width: 100%; justify-content: space-between; align-items: center; font: 8px var(--mono); letter-spacing: .06em; color: #f0c1c7; }
.showcase-top .icon { width: 13px; height: 13px; }
.showcase-word { display: block; position: absolute; top: 36px; left: 13px; font-family: Arial, sans-serif; font-size: 50px; font-weight: 900; font-style: italic; line-height: .82; letter-spacing: -.08em; color: #ffb7be; opacity: .47; }
.showcase-card > .art { position: absolute; width: 320px; max-width: none; left: -24px; top: 28px; filter: drop-shadow(4px 12px 7px #0009); transition: transform .45s var(--ease); }
.showcase-card:hover > .art { transform: translate(4px, -6px) rotate(-2deg); }
.showcase-bottom { position: absolute; left: 13px; bottom: 13px; display: grid; gap: 3px; }
.showcase-bottom strong { font-size: 13px; font-weight: 650; letter-spacing: -.02em; }
.showcase-bottom small { font-size: 9px; color: #d9b5bb; }
.mini-cards { display: flex; gap: 9px; margin-top: 9px; }
.mini-card { position: relative; flex: 1; height: 83px; min-width: 0; border-radius: 7px; overflow: hidden; border: 1px solid #ffffff15; padding: 0; align-items: flex-end; }
.mini-card.mint { background: #283c38; color: #d0e8d8; }
.mini-card.violet { background: #353143; color: #ded1ed; }
.mini-card > .art { position: absolute; width: 156px; max-width: none; top: -13px; left: -14px; transition: transform .3s; }
.mini-card:hover > .art { transform: translateY(-3px); }
.mini-card > span:not(.i18n-copy) { display: flex; justify-content: space-between; width: 100%; align-items: center; padding: 9px; font-size: 9.5px; }
.mini-card > span:not(.i18n-copy) .icon { width: 12px; height: 12px; }
.mini-card .mini-symbol { position: absolute; width: 36px; height: 36px; left: 50%; top: 9px; transform: translateX(-50%); stroke-width: 1; opacity: .8; }
.screen-note { color: #aab2b9; display: flex; align-items: flex-start; gap: 5px; font-size: 9px; margin-top: 12px; line-height: 1.7; }
.screen-note .icon { width: 10px; height: 10px; margin-top: 1px; }
.preview-tabs { order: 2; flex-shrink: 0; display: grid !important; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ffffff14; margin: 5px -5px 12px; padding-top: 8px; }
.enhanced .preview-tabs { display: grid !important; }
html:not(.enhanced) .preview-tabs { display: none !important; }
.preview-tabs button { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; min-height: 45px; border: 0; border-radius: 5px; background: transparent; color: #939eaa; font-size: 9.5px; padding: 3px; }
.preview-tabs button .icon { width: 17px; height: 17px; }
.preview-tabs button[aria-selected="true"] { color: #ffa5ac; background: #ff445416; }
.preview-tabs button:hover { color: #f1ded9; background: #ffffff06; }
.home-indicator { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 86px; height: 3px; border-radius: 2px; background: #a7afb8; }
.screen-description { font-size: 10.5px; color: #aab1ba; margin-top: 12px; }
.filter-chips { display: flex; gap: 6px; margin: 15px 0; }
.filter-chips button { flex: 1; min-height: 32px; padding: 5px 8px; border: 1px solid #ffffff20; background: transparent; color: #bac2ca; border-radius: 4px; font-size: 10px; }
.filter-chips button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.collection-list { display: grid; gap: 8px; }
.collection-item { display: flex; align-items: center; padding: 7px; gap: 10px; width: 100%; background: #192531; border: 1px solid #ffffff12; border-radius: 6px; text-align: left; }
.collection-item:hover { background: #21303e; }
.collection-art { width: 83px; height: 63px; display: grid; place-items: center; flex-shrink: 0; border-radius: 3px; overflow: hidden; }
.collection-art .art { min-width: 110px; }
.tone-coral { background: #482a34; }
.tone-mint { background: #2a403b; }
.tone-violet { background: #3c334b; }
.collection-item strong { display: block; font-size: 11.5px; font-weight: 600; }
.collection-item small { display: block; color: #a0aab5; font-size: 8.5px; margin-top: 4px; }
.collection-item > .icon { margin-left: auto; width: 12px; height: 12px; color: #a6b1b8; }
.result-status { font-size: 9px; color: #a1b0b8; margin-top: 12px; }
.guide-list { margin-top: 14px; }
.mini-guide { border-bottom: 1px solid #ffffff19; }
.mini-guide summary { display: flex; gap: 9px; align-items: center; min-height: 48px; padding: 10px 0; font-size: 11.5px; list-style: none; cursor: pointer; }
.mini-guide summary::-webkit-details-marker { display: none; }
.guide-number { font: 9px var(--mono); color: var(--accent); }
.mini-guide summary .icon { margin-left: auto; width: 12px; height: 12px; }
.mini-guide[open] summary .icon { transform: rotate(45deg); }
.mini-guide p { padding: 0 6px 14px 21px; font-size: 10.5px; color: #b2bbc3; line-height: 1.9; }
.screen-link { display: flex; align-items: center; gap: 12px; margin-top: 15px; font-size: 10.5px; color: #ffb4ba; min-height: 35px; }
.screen-link .icon { width: 13px; height: 13px; }
.dictionary-search { display: flex; align-items: center; gap: 8px; background: #1a2632; border: 1px solid #505b60; border-radius: 5px; margin-top: 15px; padding: 0 9px; min-height: 39px; }
.dictionary-search > .icon { width: 14px; height: 14px; color: #bdcac8; }
.dictionary-search input { width: 100%; min-width: 0; background: transparent; color: #e5eeea; border: 0; height: 36px; padding: 6px 2px; font-size: 12px; border-radius: 1px; }
.dictionary-search input::placeholder { color: #a6b4b9; }
.dictionary-search:focus-within { border-color: var(--mint); }
.dictionary-meta { display: flex; justify-content: space-between; color: #a7b8b6; font: 8px var(--mono); margin-top: 15px; }
.dictionary-results { list-style: none; margin: 6px 0 0; padding: 0; }
.dictionary-term { display: flex; gap: 11px; align-items: center; border-bottom: 1px solid #ffffff15; padding: 11px 0; }
.term-abbr { width: 34px; flex-shrink: 0; font-size: 11px; font-weight: 700; color: #c2e2d4; letter-spacing: -.03em; }
.dictionary-term strong { font-size: 11.5px; font-weight: 500; display: block; }
.dictionary-term small { font-size: 9px; color: #a5b2bc; display: block; margin-top: 2px; }
.empty-state { margin-top: 28px; padding: 14px 6px; text-align: center; color: #bdcac8; }
.empty-state > .icon { margin: 0 auto 13px; }
.empty-state strong { font-size: 11px; display: block; }
.empty-state p { font-size: 10px; margin-top: 8px; }
.empty-state button { display: flex; align-items: center; gap: 10px; margin: 10px auto 0; background: transparent; border: 0; color: var(--mint); font-size: 10px; min-height: 38px; }
.empty-state button .icon { width: 13px; height: 13px; }

/* Ribbon: a slow marquee; static and centred when reduced motion is requested. */
.feature-ribbon { background: var(--accent); color: var(--ink); padding-block: 20px; overflow: hidden; }
.feature-ribbon span:not(.i18n-copy) { font: 700 13px/1.2 var(--mono); letter-spacing: -.025em; }
.feature-ribbon i { font-size: 24px; font-style: normal; line-height: 1; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-heading h2, .faq-intro h2 { font-size: clamp(36px, 3.7vw, 52px); font-weight: 750; letter-spacing: -.065em; line-height: 1.25; margin-top: 22px; }
.section-description { font-size: 15px; line-height: 1.9; color: var(--muted); padding-bottom: 3px; }
.light-section .section-description { color: var(--ink-muted); }
.feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.feature-card { position: relative; border-radius: 6px; padding: 27px 30px 22px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.feature-card-top { display: flex; justify-content: space-between; align-items: center; }
.feature-number { font: 11px var(--mono); }
.feature-card-top > .icon { width: 23px; height: 23px; stroke-width: 1.5; }
.feature-card-copy { position: relative; z-index: 2; margin-top: 20px; }
.feature-card-copy .micro-label { font-size: 10px; color: #566153; }
.feature-card h3 { font-size: 28px; font-weight: 750; letter-spacing: -.06em; margin-top: 9px; }
.feature-card-copy p { font-size: 14px; color: #525e52; line-height: 1.9; margin-top: 14px; }
.feature-action { display: inline-flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 14px 0 0; min-height: 44px; width: 100%; background: transparent; border: 0; border-top: 1px solid #0f192330; font-size: 13px; font-weight: 600; text-align: left; position: relative; z-index: 3; }
.feature-action .icon { width: 18px; height: 18px; transition: transform .2s; }
.feature-action:hover .icon { transform: translate(3px, -3px); }
.feature-shop { background: #172430; color: var(--text); min-height: 501px; }
.feature-shop .feature-card-copy .micro-label { color: #adbbb6; }
.feature-shop .feature-card-copy p { color: #aeb7b4; }
.feature-shop .feature-action { border-color: #ffffff30; }
.feature-shop .feature-card-copy { max-width: 70%; }
.feature-shop-visual { position: relative; height: 202px; margin-top: -11px; }
.graphic-word { position: absolute; left: 6px; top: 44px; font: 900 italic 55px/.8 Arial, sans-serif; color: #a4b0a824; letter-spacing: -.055em; }
.feature-shop-visual::before { content: ""; width: 230px; height: 230px; border: 1px solid #b5c4b526; border-radius: 50%; position: absolute; right: 20px; top: -44px; }
.feature-shop-visual .art { position: absolute; top: -70px; right: -57px; width: 425px; max-width: none; filter: drop-shadow(1px 16px 16px #0008); transform: rotate(-5deg); transition: transform .6s var(--ease); }
.feature-shop:hover .feature-shop-visual .art { transform: rotate(-8deg) translateY(-7px); }
.art-caption { display: flex; align-items: center; justify-content: space-between; font: 9px var(--mono); position: absolute; left: 0; bottom: 17px; width: 100%; color: #a6b0ac; }
.feature-collection { min-height: 501px; background: #ddded6; }
.collection-visual { position: relative; height: 201px; display: flex; align-items: center; gap: 9px; margin-top: 0; padding-block: 19px 22px; }
.collection-visual > div { width: 34%; height: 133px; background: #c7cec6; border: 1px solid #24352822; border-radius: 5px; position: relative; box-shadow: 0 10px 12px #3447380d; transition: transform .4s var(--ease); }
.collection-visual > div:nth-child(1) { transform: rotate(-9deg) translateY(10px); background: #c3cec5; }
.collection-visual > div:nth-child(2) { transform: rotate(1deg) translateY(-3px); background: #cec7d7; z-index: 2; }
.collection-visual > div:nth-child(3) { transform: rotate(10deg) translateY(11px); background: #d6c2b9; }
.feature-collection:hover .collection-visual > div:nth-child(1) { transform: rotate(-12deg) translateY(3px); }
.feature-collection:hover .collection-visual > div:nth-child(3) { transform: rotate(13deg) translateY(4px); }
.collection-visual .art { position: absolute; width: 180px; max-width: none; left: 50%; top: 20px; transform: translateX(-50%) rotate(-26deg); filter: drop-shadow(0 8px 5px #303b4544); }
.collection-visual > div > span:not(.i18n-copy) { position: absolute; bottom: 12px; left: 10px; font: 9px var(--mono); letter-spacing: .06em; color: #46564e; }
.feature-guide { background: #e2ddd5; min-height: 351px; }
.feature-guide .feature-card-copy { max-width: 58%; margin-bottom: 37px; }
.feature-guide h3, .feature-dictionary h3 { font-size: 26px; }
.guide-visual { position: absolute; right: 26px; top: 87px; width: 39%; max-width: 215px; transform: rotate(6deg); border: 1px solid #8b837455; border-radius: 4px; background: #d8d1c3; padding: 12px; }
.guide-visual > span:not(.i18n-copy) { display: block; font: 9px var(--mono); color: #676150; }
.guide-visual > span:not(.i18n-copy):last-child { margin-top: 10px; font-size: 8px; }
.tactic-board { margin-top: 10px; position: relative; height: 140px; background-image: linear-gradient(#6a6a4520 1px, transparent 1px), linear-gradient(90deg, #6a6a4520 1px, transparent 1px); background-size: 20px 20px; border: 1px solid #797e5750; }
.tactic-board::before { content: ""; position: absolute; width: 50%; height: 80%; border: 1px solid #6a715b66; border-radius: 50%; left: 25%; top: 10%; transform: rotate(34deg); }
.tactic-board > .icon { width: 36px; height: 36px; position: absolute; top: 48%; left: 40%; color: #a33a48; stroke-width: 1; }
.tactic-line { width: 70%; height: 50%; position: absolute; left: 10%; top: 25%; border-top: 1px dashed #666e59; border-right: 1px dashed #666e59; transform: skewY(-22deg); }
.tactic-board > b { position: absolute; font: 11px var(--mono); color: #645545; }
.point-a { top: 11px; left: 11px; }
.point-b { bottom: 10px; right: 11px; }
.tactic-player { width: 8px; height: 8px; border: 1px solid #47684d; position: absolute; border-radius: 50%; background: #607b5944; }
.p1 { left: 21%; bottom: 18%; }.p2 { right: 23%; top: 16%; }.p3 { left: 38%; top: 27%; }
.feature-dictionary { background: var(--mint); min-height: 351px; }
.feature-dictionary .feature-card-copy { max-width: 100%; margin-bottom: 148px; }
.chat-visual { position: absolute; right: 24px; left: 40%; bottom: 69px; height: 115px; }
.chat-bubble { border-radius: 7px; padding: 13px 16px; font-size: 12px; }
.bubble-one { position: absolute; left: 0; top: 4px; background: #edf7ed; box-shadow: 0 7px 17px #406d4314; transform: rotate(-4deg); width: 174px; }
.bubble-one > span:not(.i18n-copy) { color: #47664c; font-weight: 700; margin-right: 12px; }
.bubble-one > small { display: block; font-size: 10.5px; margin-top: 4px; color: #5d6f62; padding-left: 30px; }
.bubble-two { position: absolute; right: 0; top: 59px; background: #2c5144; color: #e5f1df; transform: rotate(5deg); font-size: 12px; font-weight: 700; padding: 12px 15px; white-space: nowrap; }
.bubble-two > span:not(.i18n-copy) { display: inline-flex; gap: 10px; align-items: center; font-size: 10.5px; font-weight: 400; margin-left: 10px; }
.bubble-two .icon { width: 12px; height: 12px; }
.offline-label { display: none; }
.feature-fineprint { font-size: 12px; margin-top: 23px; color: #6e726c; text-align: right; }

/* Onboarding */
.how { background: var(--bg-deep); }
.muted-title { color: #7f898b; }
.steps { margin: 53px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps > li { position: relative; min-width: 0; padding: 0 29px; border-left: 1px solid var(--line); }
.steps > li:first-child { padding-left: 0; border-left: 0; }
.steps > li:last-child { padding-right: 0; }
.step-number { display: flex; align-items: baseline; gap: 7px; color: var(--accent); font: 13px var(--mono); }
.step-number > span:not(.i18n-copy) { font-size: 9px; color: #a4aab1; letter-spacing: .05em; }
.step-symbol { margin-top: 33px; height: 50px; display: flex; align-items: center; }
.step-symbol .icon { width: 31px; height: 31px; stroke-width: 1.25; }
.steps h3 { margin-top: 17px; font-size: 17px; font-weight: 650; letter-spacing: -.04em; }
.steps p { font-size: 14px; color: var(--muted); margin-top: 15px; line-height: 1.9; min-height: 85px; }
.steps .inline-link { margin-top: 8px; color: #ff9ea6; font-size: 13px; }
.step-note { display: block; margin-top: 8px; padding: 12px 0; font-size: 12px; color: #b8bdc2; }
.security-note { display: flex; gap: 12px; align-items: center; margin-top: 49px; border: 1px solid var(--line); border-radius: 3px; padding: 20px 24px; }
.security-note > .icon { width: 21px; height: 21px; color: var(--mint); }
.security-note > p { color: #bbc2c3; font-size: 13.5px; }
.security-note strong { font-weight: 550; color: var(--text); margin-right: 7px; }
.security-note > a { margin-left: auto; flex-shrink: 0; font-size: 12.5px; display: flex; gap: 15px; align-items: center; min-height: 30px; }
.security-note > a .icon { width: 14px; height: 14px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 92px; }
.faq-intro { position: relative; }
.faq-intro h2 { margin-top: 24px; }
.faq-intro > p:not(.eyebrow) { margin-top: 22px; font-size: 14px; color: var(--ink-muted); }
.faq-intro > .inline-link { margin-top: 12px; font-size: 13px; }
.faq-decoration { display: block; font: 900 132px/1 Arial, sans-serif; -webkit-text-stroke: 1px #b4b9ae; color: transparent; transform: rotate(-12deg); margin-top: 20px; margin-left: 4px; pointer-events: none; }
.faq-list { border-top: 1px solid #92978d; }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 21px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 550; letter-spacing: -.03em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 19px; height: 19px; transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item[open] summary { color: #b5102b; }
.faq-item > div { padding: 0 42px 24px 0; }
.faq-item p { font-size: 14px; line-height: 1.95; color: #656b60; }
.faq-item .inline-link { margin-top: 10px; font-size: 13px; }

/* Download */
.download-section { color-scheme: light; background: var(--accent); color: var(--ink); overflow: clip; }
.download-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 87px; }
.download-section .eyebrow { color: #3a0b14; }
.download-section .section-index { color: #3a0b14; }
.download-section h2 { font-size: clamp(44px, 4.7vw, 68px); letter-spacing: -.065em; line-height: 1.15; font-weight: 850; margin-top: 24px; }
.download-copy > p:not(.eyebrow):not(.download-note) { margin-top: 24px; font-size: 15px; color: #3a0b14; line-height: 1.9; }
.store-buttons { display: flex; gap: 12px; }
.download-stores { margin-top: 30px; }
.store-button { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid #0f1923; background: var(--bg); color: var(--paper); border-radius: 4px; transition: background .2s, transform .2s; }
.store-button:hover { background: #1f2d3b; transform: translateY(-3px); }
.store-button > .icon { width: 24px; height: 24px; }
.store-button small { display: block; font-size: 9.5px; letter-spacing: .08em; color: #bdc2c4; line-height: 1.4; }
.store-button strong { font-family: Arial, sans-serif; display: block; font-size: 17px; letter-spacing: -.025em; line-height: 1.5; }
.store-button > .store-arrow { width: 13px; height: 13px; margin-left: 6px; }
.download-note { font-size: 11.5px; color: #3a0b14; margin-top: 17px; }
.download-art { position: relative; align-self: center; min-width: 0; height: 370px; border: 1px solid #3a0b1438; border-radius: 0; display: flex; align-items: center; justify-content: center; }
.download-art::before { content: ""; position: absolute; width: 105%; height: 105%; border: 1px solid #3a0b1429; border-radius: 50%; transform: rotate(-28deg); }
.download-art::after { content: ""; position: absolute; inset: 15px; background-image: linear-gradient(#3a0b140f 1px, transparent 1px), linear-gradient(90deg, #3a0b140f 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.download-word { position: relative; z-index: 1; font: 900 italic clamp(94px, 10vw, 146px)/.74 Arial, sans-serif; letter-spacing: -.095em; display: block; transform: rotate(-10deg); padding-bottom: 26px; }
.download-word > span:not(.i18n-copy) { font: 500 38px var(--mono); position: absolute; right: -3px; top: -2px; transform: translateX(100%); }
.download-line { position: absolute; width: 160px; height: 12px; background: var(--paper); right: 0; bottom: 72px; z-index: 2; transform: rotate(-10deg); }
.download-art-caption { position: absolute; bottom: 20px; left: 19px; font: 9px/1.5 var(--mono); letter-spacing: .09em; }
.download-cross { position: absolute; font: 26px/1 var(--mono); color: #4d0f1b; }
.cross-top { top: -14px; left: -9px; }.cross-bottom { right: -9px; bottom: -14px; }

/* Policy / clear and readable, not hidden in decorative copy */
.policy-section { background: #111c26; }
.section-heading.compact h2 { font-size: 39px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1.75fr; border: 1px solid var(--line); border-radius: 4px; }
.privacy-card { padding: 33px; border-right: 1px solid var(--line); }
.policy-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #c8e3d83d; color: var(--mint); margin-bottom: 23px; }
.policy-icon .icon { width: 17px; height: 17px; }
.policy-grid h3 { font-size: 18px; font-weight: 600; letter-spacing: -.035em; }
.policy-grid p { font-size: 14px; line-height: 1.95; color: #aab1b7; margin-top: 17px; }
.privacy-card .inline-link { margin-top: 16px; color: #d4e4d9; font-size: 13px; }
.policy-secondary { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 10px; display: grid; }
.policy-secondary a { font-size: 13px; min-height: 36px; display: flex; justify-content: space-between; align-items: center; color: #b7c1c8; }
.policy-secondary a:hover { color: var(--text); }
.policy-secondary .icon { width: 13px; height: 13px; }
.riot-policy { padding: 33px 38px; }
.policy-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.status-badge { display: inline-flex; gap: 6px; align-items: center; padding: 4px 9px; border: 1px solid #d9be8c45; border-radius: 20px; color: #d8c69c; background: #dcc38608; font-size: 11px; flex-shrink: 0; }
.status-badge > span:not(.i18n-copy) { width: 4px; height: 4px; background: #dbc287; border-radius: 50%; }
.policy-links { display: flex; flex-wrap: wrap; gap: 5px 21px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 18px; }
.policy-links a { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; min-height: 30px; color: #c1c8cd; }
.policy-links a:hover { color: var(--accent); }
.policy-links .icon { width: 11px; height: 11px; }

/* Footer */
.site-footer { padding-block: 45px 28px; background: #0b131b; border-top: 1px solid #ffffff12; }
.footer-top { display: flex; align-items: center; gap: 50px; padding-bottom: 38px; }
.footer-top > div > p { margin-top: 13px; font-size: 12px; color: #969ea5; }
.footer-contact { margin-left: auto; display: block; }
.footer-contact small { display: block; font: 10px var(--mono); color: #9099a0; margin-bottom: 8px; }
.footer-contact > span:not(.i18n-copy) { display: flex; align-items: center; gap: 17px; font: 14px var(--mono); letter-spacing: -.035em; }
.footer-contact .icon { width: 18px; height: 18px; }
.back-top { width: 43px; height: 43px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 50%; }
.back-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
.back-top:hover { background: var(--accent); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px 28px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 21px; color: #999fa6; font-size: 11px; }
.footer-bottom nav { display: flex; gap: 21px; }
.footer-bottom nav a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-bottom nav a:hover { color: var(--text); }
.footer-signoff { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.mobile-download-bar { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 1px; background: #2a3846; border: 1px solid #ffffff30; border-radius: 6px; overflow: hidden; box-shadow: 0 7px 30px #0005; }
.mobile-download-bar > a { display: flex; flex: 1; gap: 8px; align-items: center; justify-content: center; min-height: 52px; padding: 12px; background: #111c26; color: var(--text); font-size: 13px; }
.mobile-download-bar > a > .icon { width: 17px; height: 17px; }
.mobile-download-bar > a > .icon:last-child { margin-left: auto; width: 12px; height: 12px; }

/* Native modal: Escape, focus containment and background inertness are browser-managed. */
.detail-dialog { width: min(480px, calc(100vw - 36px)); max-width: 100%; max-height: calc(100dvh - 40px); padding: 0; margin: auto; background: #132029; color: var(--text); border: 1px solid #ffffff30; border-radius: 12px; box-shadow: 0 30px 120px #0007; overflow: auto; }
.detail-dialog::backdrop { background: #050a10b8; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; z-index: 2; top: 13px; right: 13px; background: #132029c9; color: var(--text); }
.detail-art { position: relative; min-height: 230px; background: radial-gradient(ellipse, #5a2c38, #211f2d); padding: 25px; }
.detail-art .art { width: 100%; margin: 0 auto; filter: drop-shadow(0 14px 8px #0007); }
.detail-art > span:not(.i18n-copy) { position: absolute; left: 23px; bottom: 15px; font: 9px var(--mono); color: #d8bec2; letter-spacing: .055em; }
.detail-copy { padding: 30px; }
.detail-copy .eyebrow { font-size: 10px; color: #c0cbd0; }
.detail-copy h2 { font-size: 28px; letter-spacing: -.06em; margin-top: 15px; }
.detail-copy > p { color: #b6c0c8; font-size: 14px; line-height: 1.95; margin-top: 16px; }
.detail-copy .button { display: flex; justify-content: space-between; width: 100%; margin-top: 25px; font-size: 14px; }

/* Progressive enhancement and motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: entrance .65s var(--ease) both; }
  .hero-visual { animation: entrance .9s .08s var(--ease) both; }
  .preview-panel.is-entering { animation: panel-in .24s var(--ease); }
  @keyframes entrance { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes panel-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html, .preview-viewport { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .button, .feature-card, .phone, .filter-chips button, .mini-card, .showcase-card { border: 1px solid ButtonText; }
  .preview-tabs button[aria-selected="true"], .filter-chips button[aria-pressed="true"] { border: 2px solid Highlight; }
  .square-dot { background: CanvasText; }
  .orbit, .visual-grid { display: none; }
}

/* Laptop */
@media (min-width: 1600px) {
  .hero-grid { min-height: 755px; }
  .hero-visual { height: 727px; }
  h1 { font-size: 75px; }
  .phone { transform: rotate(5deg) scale(1.04); }
}
@media (max-width: 1199px) {
  :root { --gutter: 42px; }
  .brand-caption { display: none; }
  .hero-grid { min-height: 673px; gap: 5px; }
  .hero-copy > .eyebrow { font-size: 10px; letter-spacing: .07em; }
  h1 { font-size: clamp(40px, 4.9vw, 60px); }
  .hero-description { font-size: 14px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { padding-inline: 17px; font-size: 12px; gap: 15px; }
  .hero-visual { height: 660px; }
  .floating-tag { left: 0; top: 84px; padding: 10px; }
  .floating-dictionary { right: -18px; bottom: 100px; width: 171px; padding: 14px; }
  .floating-dictionary p { font-size: 23px; }
  .floating-dictionary p span:not(.i18n-copy) { font-size: 11px; }
  .floating-tag strong { font-size: 11px; }
  .floating-tag small { font-size: 7.5px; }
  .hero-coordinate { display: none; }
  .phone { width: 301px; transform: rotate(4deg); }
  .feature-card { padding: 25px; }
  .feature-card h3 { font-size: 25px; }
  .feature-card-copy p { font-size: 13px; }
  .feature-shop-visual .art { width: 370px; right: -62px; top: -37px; }
  .feature-guide h3, .feature-dictionary h3 { font-size: 23px; }
  .guide-visual { top: 104px; right: 20px; }
  .chat-visual { left: 29%; right: 15px; }
  .steps > li { padding-inline: 20px; }
  .steps h3 { font-size: 15px; }
  .steps p { min-height: 102px; }
  .faq-layout { gap: 50px; }
  .download-layout { gap: 50px; }
  .store-button { padding: 11px 12px; gap: 9px; }
  .store-button strong { font-size: 15px; }
  .store-button .store-arrow { display: none; }
  .download-art { height: 340px; }
  .download-word { font-size: 112px; }
  .security-note { flex-wrap: wrap; }
  .security-note > a { margin-left: 32px; }
  .footer-signoff { display: none; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --header-height: 74px; --gutter: 32px; }
  .section-space { padding-block: 82px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 12px; }
  .header-inner { gap: 16px; }
  .button-header { min-height: 40px; font-size: 12px; padding-inline: 12px; gap: 10px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .hero-copy { text-align: center; padding: 68px 0 20px; }
  .hero-copy > .eyebrow { justify-content: center; font-size: 10px; margin-bottom: 25px; }
  h1 { font-size: 64px; }
  .hero-description { font-size: 14px; margin-top: 22px; }
  .hero-actions { justify-content: center; gap: 28px; margin-top: 28px; }
  .hero-actions .button { font-size: 13px; padding-inline: 22px; gap: 24px; }
  .platform-line { justify-content: center; }
  .hero-footnote { display: none; }
  .hero-visual { width: 560px; max-width: 100%; margin: 0 auto; height: 668px; }
  .floating-tag { left: 16px; top: 94px; }
  .floating-tag strong { font-size: 12px; }
  .floating-tag small { font-size: 8px; }
  .floating-dictionary { right: 0; width: 205px; bottom: 114px; }
  .phone { width: 316px; }
  .visual-label { right: 10px; top: 29px; }
  .hero-bottom { min-height: 60px; }
  .section-heading h2, .faq-intro h2 { font-size: 43px; }
  .section-description { font-size: 14px; }
  .feature-grid { gap: 15px; grid-template-columns: 1fr 1fr; }
  .feature-card { padding: 24px; }
  .feature-card-copy p br { display: none; }
  .feature-shop .feature-card-copy { max-width: 100%; }
  .feature-shop, .feature-collection { min-height: 482px; }
  .feature-shop-visual .art { width: 350px; top: -5px; right: -55px; }
  .feature-shop-visual { height: 200px; margin-top: 0; }
  .feature-shop-visual::before { top: 0; width: 190px; height: 190px; right: 0; }
  .graphic-word { font-size: 40px; top: 62px; }
  .art-caption { font-size: 8px; }
  .collection-visual { height: 208px; padding-block: 35px; gap: 2px; }
  .collection-visual > div { height: 120px; }
  .collection-visual .art { width: 140px; }
  .feature-guide, .feature-dictionary { min-height: 395px; }
  .feature-guide .feature-card-copy, .feature-dictionary .feature-card-copy { max-width: 100%; margin-bottom: 0; }
  .guide-visual { position: relative; inset: auto; margin: 20px auto; width: 82%; height: 135px; }
  .tactic-board { height: 82px; }
  .guide-visual > span:not(.i18n-copy):last-child { display: none; }
  .chat-visual { position: relative; inset: auto; margin: 22px 0; height: 132px; }
  .bubble-one { width: 170px; top: 3px; }
  .bubble-two { top: 62px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .steps > li { padding: 0 !important; border: 0; }
  .step-symbol { margin-top: 19px; }
  .steps h3 { font-size: 18px; }
  .steps p { min-height: 64px; }
  .steps > li:nth-child(n + 3) { padding-top: 28px !important; border-top: 1px solid var(--line); }
  .security-note > p { flex: 1; }
  .security-note > a { width: 100%; }
  .faq-layout { grid-template-columns: .8fr 1.4fr; gap: 30px; }
  .faq-intro > .eyebrow { font-size: 10px; gap: 6px; }
  .faq-item summary { font-size: 15px; min-height: 74px; }
  .download-layout { grid-template-columns: 1.15fr 1fr; gap: 35px; padding-block: 72px; }
  .download-section h2 { font-size: 49px; }
  .download-section .eyebrow { font-size: 10px; gap: 8px; }
  .download-art { height: 300px; }
  .download-word { font-size: 90px; }
  .download-word > span:not(.i18n-copy) { font-size: 27px; }
  .download-line { width: 100px; bottom: 70px; }
  .store-buttons { gap: 8px; }
  .store-button { padding-inline: 12px; min-height: 56px; }
  .store-button strong { font-size: 14px; }
  .store-button > .icon { width: 21px; height: 21px; }
  .policy-grid { grid-template-columns: 1fr 1.5fr; }
  .privacy-card, .riot-policy { padding: 26px; }
  .policy-top { align-items: flex-start; flex-direction: column; }
  .policy-grid h3 { font-size: 17px; }
  .policy-grid p { font-size: 13.5px; }
  .footer-contact > span:not(.i18n-copy) { font-size: 12px; }
}

/* Mobile: real layout reflow, not a scaled-down desktop. */
@media (max-width: 680px) {
  :root { --header-height: 68px; --gutter: 24px; }
  .section-space { padding-block: 66px; }
  .site-header { padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px); }
  .brand { font-size: 25px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .desktop-nav { display: none; }
  .enhanced .menu-toggle { display: inline-flex !important; }
  .header-actions { gap: 10px; }
  .header-actions .button-header { background: transparent; color: var(--text); padding: 9px 0; font-size: 10px; }
  .header-actions .button-header .icon { width: 14px; height: 14px; }
  .hero-copy { text-align: left; padding: 52px 0 15px; }
  .hero-copy > .eyebrow { justify-content: flex-start; font-size: 10px; gap: 10px; margin-bottom: 22px; letter-spacing: .04em; }
  .square-dot { width: 6px; height: 6px; }
  h1 { font-size: clamp(33px, 8.7vw, 55px); letter-spacing: -.07em; line-height: 1.26; }
  .hero-description { font-size: 14.5px; line-height: 1.95; margin-top: 20px; max-width: 350px; }
  .hero-description br { display: none; }
  .hero-actions { justify-content: flex-start; gap: 23px; margin-top: 26px; }
  .hero-actions .button { min-height: 51px; font-size: 11px; padding-inline: 16px; gap: 20px; }
  .hero-actions .button-ghost { padding-inline: 0; gap: 8px; }
  .platform-line { justify-content: flex-start; font-size: 11.5px; margin-top: 19px; gap: 15px; }
  .platform-line .icon { width: 12px; height: 12px; }
  .hero-visual { height: 636px; padding-bottom: 30px; margin-top: 5px; width: 100%; }
  .phone { width: 292px; height: 556px; border-radius: 37px; padding-inline: 14px; transform: rotate(3deg); }
  .phone:focus-within { transform: rotate(0deg); }
  .phone-appbar { padding-bottom: 10px; }
  .phone-status { height: 38px; }
  .preview-viewport { height: 386px; }
  .phone .screen-heading h2 { font-size: 19px; }
  .showcase-card { height: 209px; }
  .showcase-card > .art { width: 299px; left: -24px; top: 34px; }
  .floating-tag { top: 40px; left: -4px; padding: 10px 12px; transform: rotate(-7deg); }
  .floating-tag small { font-size: 7.5px; }
  .floating-tag strong { font-size: 11px; }
  .floating-tag .tag-icon { width: 26px; height: 26px; }
  .floating-dictionary { right: -5px; bottom: 97px; width: 160px; padding: 12px 15px; }
  .floating-dictionary > div { font-size: 8px; }
  .floating-dictionary p { font-size: 22px; margin-top: 10px; }
  .floating-dictionary p span:not(.i18n-copy) { font-size: 10px; }
  .dictionary-stamp { font-size: 7.5px; bottom: 14px; right: 8px; }
  .preview-disclaimer { font-size: 10.5px; bottom: 13px; padding: 0; text-align: left; justify-content: flex-start; }
  .preview-disclaimer .icon { width: 11px; height: 11px; }
  .visual-label { display: none; }
  .plus-one { top: 18px; right: 16px; }
  .plus-two { left: -5px; bottom: 136px; }
  .try-caption { left: 0; bottom: 54px; font-size: 8px; gap: 13px; }
  .try-caption > span:not(.i18n-copy) { font-size: 21px; }
  .orbit { width: 390px; height: 305px; }
  .orbit-two { width: 450px; height: 370px; }
  .hero-bottom { min-height: 55px; font-size: 9px; }
  .scroll-hint { gap: 15px; }
  .hero-bottom-note { display: none; }
  .feature-ribbon { padding-block: 17px; }
  .feature-ribbon i { font-size: 17px; }
  .section-heading { display: block; margin-bottom: 31px; }
  .section-heading h2, .faq-intro h2 { font-size: 36px; margin-top: 17px; }
  .eyebrow { font-size: 10.5px; gap: 12px; }
  .section-description { margin-top: 21px; font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px; border-radius: 5px; }
  .feature-card h3 { font-size: 27px; }
  .feature-card-copy { margin-top: 17px; }
  .feature-card-copy p { font-size: 14px; }
  .feature-shop, .feature-collection { min-height: 465px; }
  .feature-shop-visual { height: 185px; margin-top: 5px; }
  .feature-shop-visual .art { width: 376px; top: -36px; right: -55px; }
  .feature-shop-visual::before { top: -40px; width: 215px; height: 215px; right: 0; }
  .graphic-word { top: 48px; font-size: 49px; }
  .art-caption { font-size: 8px; }
  .collection-visual { height: 185px; gap: 7px; }
  .collection-visual > div { height: 132px; }
  .collection-visual .art { width: 168px; }
  .collection-visual > div > span:not(.i18n-copy) { font-size: 8.5px; }
  .feature-guide, .feature-dictionary { min-height: 395px; }
  .feature-guide .feature-card-copy { max-width: 100%; }
  .guide-visual { margin: 23px auto; height: 137px; width: 70%; max-width: 230px; }
  .tactic-board { height: 87px; }
  .chat-visual { height: 121px; width: 250px; max-width: 100%; margin: 22px auto; }
  .bubble-one { width: 180px; }
  .bubble-two { right: -2px; }
  .feature-action { font-size: 13px; }
  .feature-fineprint { margin-top: 20px; text-align: left; font-size: 11.5px; line-height: 1.9; }
  .how .section-heading { margin-bottom: 40px; }
  .steps { display: block; margin-top: 0; }
  .steps > li { display: grid; grid-template-columns: 45px 1fr; column-gap: 18px; padding: 25px 0 !important; border-top: 1px solid var(--line); }
  .steps > li:nth-child(n + 3) { padding-top: 25px !important; }
  .step-number { grid-column: 1; grid-row: 1 / 4; font-size: 15px; padding-top: 4px; }
  .step-number > span:not(.i18n-copy) { display: none; }
  .step-symbol { display: none; }
  .steps h3 { grid-column: 2; margin: 0; font-size: 18px; }
  .steps p { grid-column: 2; min-height: 0; margin-top: 12px; font-size: 14px; line-height: 1.95; }
  .steps .inline-link, .step-note { grid-column: 2; font-size: 12.5px; margin-top: 7px; padding: 5px 0; min-height: 30px; }
  .security-note { margin-top: 8px; padding: 20px 18px; gap: 10px; align-items: flex-start; }
  .security-note > .icon { width: 19px; height: 19px; margin-top: 3px; }
  .security-note > p { font-size: 13px; line-height: 1.9; }
  .security-note > p > strong { display: block; margin-bottom: 3px; }
  .security-note > a { margin-left: 29px; min-height: 30px; font-size: 12.5px; }
  .faq-layout { display: block; }
  .faq-intro { padding-bottom: 34px; }
  .faq-intro > .eyebrow { font-size: 10.5px; gap: 12px; }
  .faq-intro h2 br { display: none; }
  .faq-intro > p:not(.eyebrow) { margin-top: 17px; font-size: 14px; }
  .faq-intro > .inline-link { margin-top: 3px; font-size: 13px; }
  .faq-decoration { position: absolute; right: 12px; top: 22px; font-size: 70px; opacity: .5; margin: 0; }
  .faq-item summary { min-height: 70px; font-size: 15px; gap: 13px; padding-block: 21px; }
  .faq-item summary .icon { width: 16px; height: 16px; }
  .faq-item > div { padding-right: 15px; padding-bottom: 22px; }
  .faq-item p { font-size: 14px; }
  .download-layout { display: block; padding-block: 58px 46px; }
  .download-section .eyebrow { font-size: 10px; }
  .download-section h2 { font-size: 49px; margin-top: 22px; }
  .download-copy > p:not(.eyebrow):not(.download-note) { font-size: 14.5px; margin-top: 22px; }
  .download-stores { margin-top: 27px; width: 100%; }
  .store-button { flex: 1; padding: 12px; gap: 9px; min-height: 61px; }
  .store-button strong { font-size: 15px; }
  .store-button small { font-size: 9.5px; }
  .download-note { font-size: 11px; margin-top: 17px; }
  .download-art { height: 235px; width: 100%; max-width: 390px; margin: 58px auto 14px; }
  .download-art::before { height: 125%; width: 85%; }
  .download-word { font-size: 112px; padding-bottom: 8px; }
  .download-word > span:not(.i18n-copy) { font-size: 30px; }
  .download-line { bottom: 35px; right: -2px; }
  .download-art-caption { font-size: 8px; bottom: 16px; left: 13px; }
  .section-heading.compact h2 { font-size: 35px; }
  .policy-grid { display: block; }
  .privacy-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .privacy-card, .riot-policy { padding: 25px; }
  .policy-icon { margin-bottom: 18px; }
  .policy-grid h3 { font-size: 18px; }
  .policy-grid p { font-size: 14px; line-height: 2; }
  .policy-top { flex-direction: row; align-items: center; gap: 10px; }
  .policy-top h3 { font-size: 16px; }
  .status-badge { font-size: 11px; }
  .policy-links { gap: 5px 16px; }
  .policy-links a { font-size: 12px; min-height: 33px; }
  .site-footer { padding-block: 35px 87px; }
  .footer-top { flex-wrap: wrap; gap: 24px 12px; padding-bottom: 28px; }
  .footer-top > div { width: calc(100% - 60px); }
  .footer-contact { order: 2; margin-left: 0; }
  .footer-contact > span:not(.i18n-copy) { font-size: 12px; gap: 18px; }
  .back-top { margin-left: auto; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11px; padding-top: 17px; }
  .footer-bottom nav { gap: 21px; }
  .detail-dialog { border-radius: 9px; }
  .detail-art { min-height: 180px; padding: 20px 13px; }
  .detail-copy { padding: 26px; }
  .detail-copy h2 { font-size: 25px; }
  .detail-copy > p { font-size: 13.5px; }
  .dictionary-search input { font-size: 16px; } /* Avoid focus zoom on iOS. */
}
@media (max-width: 359px) {
  :root { --gutter: 19px; }
  .hero h1 { font-size: 30px; }
  .hero-copy > .eyebrow { font-size: 9px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { font-size: 10px; padding-inline: 11px; gap: 10px; }
  .hero-actions .button-ghost { padding-inline: 0; }
  .phone { width: 267px; padding-inline: 11px; transform: rotate(0deg); }
  .floating-tag { top: 40px; left: -5px; }
  .floating-dictionary { right: -6px; width: 140px; }
  .floating-dictionary p { font-size: 20px; }
  .preview-disclaimer { font-size: 9.5px; }
  .hero-visual { height: 632px; }
  .screen-heading h2 { font-size: 18px; }
  .section-heading h2, .faq-intro h2 { font-size: 32px; }
  .feature-card { padding-inline: 20px; }
  .feature-shop-visual .art { width: 326px; top: -3px; }
  .feature-card-copy p { font-size: 13px; }
  .collection-visual .art { width: 145px; }
  .download-section h2 { font-size: 45px; }
  .store-button { gap: 7px; padding: 10px; }
  .store-button strong { font-size: 13px; }
  .store-button > .icon { width: 18px; height: 18px; }
  .privacy-card, .riot-policy { padding: 21px; }
  .policy-top { flex-wrap: wrap; }
  .hero-visual .try-caption { font-size: 7px; }
}
@media print {
  html { scroll-behavior: auto; }
  body { background: #fff; color: #111; }
  .site-header { position: static; }
  .hero-visual, .hero-bottom, .feature-ribbon, .mobile-download-bar, dialog, .menu-toggle, .js-only, .back-top { display: none !important; }
  .hero-grid, .feature-grid, .steps, .faq-layout, .download-layout, .policy-grid { display: block; }
  .wrap { width: 100%; }
  .section-space { padding: 24px 0; }
  .feature-card, .steps > li, .policy-grid article { break-inside: avoid; }
}

/* Locale controls and longer English labels use the existing page layout. */
.landing-language-picker { flex-shrink: 0; }
.hero h1 > span.i18n-copy,
.phone-brand > span.i18n-copy { color: inherit; }
html[lang="en"] .hero h1 { white-space: normal; font-size: clamp(40px, 4.4vw, 66px); }
html[lang="en"] .phone-brand { font-size: 21px; letter-spacing: -.05em; }
html[lang="en"] .screen-heading h2 { overflow-wrap: anywhere; }
html[lang="en"] .dictionary-meta { gap: 8px; }
html[lang="en"] .brand { letter-spacing: -.055em; }
@media (max-width: 1180px) {
  html[lang="en"] .desktop-nav { gap: 18px; }
  html[lang="en"] .brand-caption { display: none; }
}
@media (max-width: 680px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .button-header { display: none; }
  html[lang="en"] .hero h1 { font-size: clamp(36px, 9.4vw, 54px); }
}
@media print {
  .landing-language-picker { display: none; }
}

@media (max-width: 680px) {
  /* Let the language control fit between the brand and the menu button. */
  .header-actions { flex: 1; min-width: 0; justify-content: flex-end; }
  .header-actions .menu-toggle { flex-shrink: 0; }
  .landing-language-picker { min-width: 0; flex-shrink: 1; }
  .landing-language-picker .projecta-language-picker { display: flex; width: 100%; min-width: 0; }
  .landing-language-picker .projecta-language-picker > span { display: none; }
  .landing-language-picker .projecta-language-select { width: 100%; min-width: 0; }
}

/* ==========================================================================
   2026-10 renewal: app identity (navy #0F1923 + red #FF4454, real app icon),
   readable type floor, motion and pressed feedback. Layout fixes per breakpoint.
   ========================================================================== */
:root { --press: cubic-bezier(.2, .8, .2, 1); --radius: 10px; }
.brand { gap: 11px; }
.brand-mark { background: #0f1923; object-fit: cover; }
.phone-brand { display: inline-flex; align-items: center; }
.phone-icon { width: 22px; height: 22px; margin-right: 7px; border-radius: 6px; box-shadow: 0 0 0 1px #ffffff1f; }

/* Ribbon marquee: two identical sets, translated by exactly one set. */
.ribbon-track { display: flex; width: max-content; }
.ribbon-set { display: flex; align-items: center; gap: 48px; padding-right: 48px; flex-shrink: 0; }
.feature-ribbon i { font-size: 22px; font-style: normal; line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: ribbon 38s linear infinite; }
  .feature-ribbon:hover .ribbon-track { animation-play-state: paused; }
  @keyframes ribbon { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { width: auto; justify-content: center; }
  .ribbon-set + .ribbon-set { display: none; }
  .ribbon-set { flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 0 16px; }
}

/* Buttons: clearer hierarchy, softer corners, pressed feedback everywhere. */
.button { border-radius: 8px; }
.button-primary { color: #fff; box-shadow: 0 10px 26px #ff445438; }
.button-primary:hover { box-shadow: 0 14px 30px #ff44544d; }
.button-header { border-radius: 8px; }
.store-button { border-radius: 10px; border-color: #0f1923; }
.feature-card { border-radius: 14px; }
.policy-grid { border-radius: 14px; overflow: hidden; }
.security-note { border-radius: 12px; background: #ffffff05; }
.mobile-download-bar { border-radius: 14px; }
.detail-dialog { border-radius: 16px; }
.button, .store-button, .icon-button, .menu-toggle, .back-top, .feature-action, .mini-card, .showcase-card,
.collection-item, .filter-chips button, .preview-tabs button, .faq-item summary, .mini-guide summary,
.mobile-download-bar > a, .inline-link, .policy-secondary a, .policy-links a, .desktop-nav a, .mobile-menu nav a,
.footer-contact, .legal-toc nav a, .print-button, .legal-back, .empty-state button, .screen-link {
  transition-property: background-color, color, border-color, box-shadow, transform, opacity;
  transition-duration: .18s; transition-timing-function: var(--press);
}
.button:active, .store-button:active, .feature-action:active, .mini-card:active, .showcase-card:active,
.collection-item:active, .filter-chips button:active, .preview-tabs button:active, .icon-button:active,
.menu-toggle:active, .back-top:active, .mobile-download-bar > a:active, .print-button:active, .empty-state button:active {
  transform: scale(.965); transition-duration: .06s;
}
.button-primary:active { background: #e8384a; }
.button-header:active { background: #d8d3ca; }
.store-button:active { background: #1f2d3b; }
.faq-item summary:active, .mini-guide summary:active, .mobile-menu nav a:active, .policy-secondary a:active,
.legal-toc nav a:active { opacity: .62; }
.feature-action:active, .inline-link:active, .policy-links a:active, .screen-link:active, .legal-back:active { opacity: .7; }
.mobile-download-bar > a:active { background: #1d2a37; transform: none; }
.store-button:hover { box-shadow: 0 12px 26px #0f192340; }

/* Feature cards lift slightly on hover; artwork already animates inside. */
@media (hover: hover) {
  .feature-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
  .feature-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px #0f19231f; }
  .feature-shop:hover { box-shadow: 0 22px 44px #0f192366; }
}
/* Keep collection labels above the rotated artwork ("RIFLE" was clipped). */
.collection-visual > div > span:not(.i18n-copy) { z-index: 1; background: #ffffffb8; padding: 1px 5px; border-radius: 3px; }

/* Phone preview: an active-tab bar that slides and a softer selected state. */
.preview-tabs { position: relative; }
.preview-tabs button[aria-selected="true"] { color: #ff8a94; background: #ff44541a; }
.preview-tabs::before { content: ""; position: absolute; top: -1px; left: calc(var(--tab, 0) * 25% + 6%); width: 13%; height: 2px; border-radius: 2px; background: var(--accent); transition: left .32s var(--ease); }
.phone[data-active="collection"] { --tab: 1; }
.phone[data-active="guide"] { --tab: 2; }
.phone[data-active="dictionary"] { --tab: 3; }
.home-indicator { background: #8e98a3; }

/* Hero decoration: gentle idle drift (paused for reduced motion and on focus). */
@media (prefers-reduced-motion: no-preference) {
  .floating-tag { animation: drift-a 6.5s ease-in-out infinite; }
  .floating-dictionary { animation: drift-b 7.5s ease-in-out infinite; }
  .orbit-one { animation: orbit-spin 60s linear infinite; }
  @keyframes drift-a { 50% { translate: 0 -7px; } }
  @keyframes drift-b { 50% { translate: 0 6px; } }
  @keyframes orbit-spin { to { rotate: 360deg; } }
  .scroll-hint > span:not(.i18n-copy) { display: inline-block; animation: hint 1.8s ease-in-out infinite; }
  @keyframes hint { 50% { transform: translateY(4px); } }
}

/* Scroll reveal: only when app.js marks the document ready, so no-JS stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
  .reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
}

/* FAQ: answers slide open where the browser can animate details content. */
@supports (interpolate-size: allow-keywords) {
  .faq-item, .mini-guide { interpolate-size: allow-keywords; }
  .faq-item::details-content, .mini-guide::details-content { height: 0; overflow: clip; transition: height .32s var(--ease), content-visibility .32s allow-discrete; }
  .faq-item[open]::details-content, .mini-guide[open]::details-content { height: auto; }
}
.faq-item summary:hover { color: #b5102b; }
.faq-item summary .icon, .mini-guide summary .icon { transition: transform .25s var(--ease); }

/* Download: the app icon is the focal tile of the art panel. */
.download-art { border-radius: 18px; }
.download-icon { position: absolute; z-index: 3; left: 26px; top: 26px; width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 0 0 1px #0f192326, 0 18px 36px #3a0b1459; transform: rotate(-8deg); }
@media (prefers-reduced-motion: no-preference) {
  .download-icon { animation: drift-a 7s ease-in-out infinite; }
}

/* Policy: links settle at the bottom so the taller card leaves no hole. */
.riot-policy { display: flex; flex-direction: column; }
.riot-policy .policy-links { margin-top: auto; }
.riot-policy > p:last-of-type { margin-bottom: 25px; }

/* Footer brand row */
.footer-top .brand-mark { width: 38px; height: 38px; border-radius: 10px; }

@media (max-width: 900px) {
  .preview-tabs::before { width: 13%; }
}

/* Mobile */
@media (max-width: 680px) {
  .section-space { padding-block: 72px; }
  /* Compact language control so the header keeps brand + menu readable. */
  .landing-language-picker { flex: 0 1 auto; }
  .landing-language-picker .projecta-language-select { min-height: 40px; max-width: 132px; padding: .4rem 1.6rem .4rem .65rem; font-size: 13px; border-color: #ffffff2e; border-radius: 8px; }
  .menu-toggle { border-radius: 8px; }
  /* Hero art: keep both floating cards off the phone's content. */
  .hero-visual { height: 740px; align-items: flex-start; padding-top: 58px; }
  .floating-tag { top: 4px; left: 0; }
  .floating-dictionary { right: -4px; bottom: 36px; width: 150px; }
  .floating-dictionary p { font-size: 20px; margin-top: 8px; }
  .enhanced .try-caption { display: none !important; }
  .plus-two { bottom: 64px; left: 2px; }
  .preview-disclaimer { bottom: 0; padding-right: 160px; }
  .feature-ribbon { padding-block: 15px; }
  .feature-ribbon span:not(.i18n-copy) { font-size: 11px; }
  .ribbon-set { gap: 28px; padding-right: 28px; }
  .feature-ribbon i { font-size: 17px; }
  /* FAQ title wraps naturally; the "?" sits behind it instead of colliding. */
  .faq-intro h2 { padding-right: 70px; }
  .faq-decoration { top: 40px; right: 0; font-size: 84px; opacity: .35; z-index: -1; }
  .faq-intro { isolation: isolate; }
  .download-icon { width: 72px; height: 72px; border-radius: 18px; left: 16px; top: 18px; }
  .download-art-caption { display: none; }
  .feature-card { border-radius: 12px; }
  .riot-policy > p:last-of-type { margin-bottom: 0; }
  .riot-policy .policy-links { margin-top: 25px; }
}
@media (max-width: 359px) {
  .hero-visual { height: 730px; }
  .floating-dictionary { width: 132px; }
  .preview-disclaimer { padding-right: 136px; }
  .landing-language-picker .projecta-language-select { max-width: 118px; font-size: 12.5px; }
  /* Icon-only brand on very narrow phones; the link keeps its accessible name. */
  .site-header .brand > span { display: none; }
}
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .download-icon { display: none; }
}

/* Pretendard is tighter than the old system fallback: relax display tracking,
   more so for Latin text where negative tracking makes words collide. */
h1, .legal-hero h1 { letter-spacing: -.055em; }
.section-heading h2, .faq-intro h2, .download-section h2 { letter-spacing: -.05em; }
.feature-card h3, .detail-copy h2 { letter-spacing: -.045em; }
html[lang="en"] h1, html[lang="en"] .legal-hero h1 { letter-spacing: -.035em; }
html[lang="en"] .section-heading h2, html[lang="en"] .faq-intro h2, html[lang="en"] .download-section h2 { letter-spacing: -.03em; }
html[lang="en"] .feature-card h3, html[lang="en"] .detail-copy h2, html[lang="en"] .steps h3,
html[lang="en"] .screen-heading h2, html[lang="en"] .floating-dictionary p { letter-spacing: -.02em; }
html[lang="en"] .brand, html[lang="en"] .phone-brand { letter-spacing: -.03em; }
@media (max-width: 680px) {
  h1 { letter-spacing: -.055em; }
  html[lang="en"] h1 { letter-spacing: -.035em; }
}

/* Mobile menu: a full-height sheet that slides in; detail dialog scales in. */
.mobile-menu { height: 100dvh; display: none; flex-direction: column; box-shadow: -20px 0 60px #0008; }
.mobile-menu[open] { display: flex; }
.mobile-menu .menu-support { margin-top: auto; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
.mobile-menu nav a { border-bottom: 1px solid var(--line); }
.mobile-menu::backdrop { background: #050a10b3; backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu[open] { animation: sheet-in .34s var(--ease); }
  .mobile-menu[open]::backdrop { animation: fade-in .25s ease; }
  .detail-dialog[open] { animation: dialog-in .32s var(--ease); }
  .detail-dialog[open]::backdrop { animation: fade-in .25s ease; }
  @keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
  @keyframes dialog-in { from { transform: translateY(16px) scale(.97); opacity: 0; } }
  @keyframes fade-in { from { opacity: 0; } }
}

/* Tablet/laptop: lift the style tag above the phone's app bar and keep the
   tab hint off the phone body where the columns get narrow. */
@media (max-width: 1199px) and (min-width: 681px) {
  .floating-tag { top: 30px; }
}
@media (max-width: 1199px) and (min-width: 901px) {
  .enhanced .try-caption { display: none !important; }
}
