/* ─── 2026 design tokens ───────────────────────────────────────────── */
:root {
  --bg: #07030a; --bg2: #0e0612; --fg: #f7eef4; --muted: #a58ca0; --text2: #dcc9d6;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --accent: #ff2e79; --accent-2: #ff6fa5; --accent-fg: #fff7fa; --red: #ff3b5c; --violet: #8b5cf6; --cyan: #22d3ee; --gold: #ffb3c9;
  --glass: rgba(255,255,255,.045); --glass-2: rgba(255,255,255,.08); --card: rgba(20,8,20,.72); --soft: rgba(255,46,121,.10);
  --r: 20px; --r-sm: 12px;
  --display: "Space Grotesk", "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", -apple-system, "PingFang SC", sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Malgun Gothic", "Microsoft YaHei", sans-serif;
  --serif: var(--display);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16.5px/1.7 var(--sans); overflow-x: hidden;
  background-image:
    radial-gradient(60% 45% at 8% -5%, rgba(255,46,121,.28), transparent 60%),
    radial-gradient(45% 40% at 95% 5%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(50% 40% at 50% 110%, rgba(255,59,92,.16), transparent 60%);
  background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; color: var(--fg); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 2.6rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
h2 small { font-weight: 400; color: var(--muted); font-size: .85rem; font-family: var(--sans); margin-left: .5rem; letter-spacing: 0; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
.numeral { font-family: var(--display); color: var(--accent-2); letter-spacing: .1em; }

.card, .book-list li, .guide-grid a, .guide-list a, .cat-grid a, .steps a, .pay-panel, .get-box, .pop-box, .langs-menu, .ai-panel, .tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.card { padding: 1.5rem 1.6rem; }
.card h2 { margin-top: 0; }
.card.accent { background: linear-gradient(150deg, rgba(255,46,121,.18), rgba(139,92,246,.12) 60%, rgba(20,8,20,.7)); border-color: rgba(255,111,165,.35); }

/* header: floating pill nav */
.site-header { position: sticky; top: 12px; z-index: 40; pointer-events: none; }
.site-header .wrap { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
  padding: .55rem .9rem .55rem 1.1rem; border-radius: 999px; background: rgba(12,5,14,.62); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.brand { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: .5rem; }
.brand::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: conic-gradient(from 90deg, var(--accent), var(--violet), var(--cyan), var(--accent)); box-shadow: 0 0 14px var(--accent-2); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.site-header nav { display: flex; flex-wrap: wrap; gap: .1rem .2rem; }
.site-header nav a { color: var(--text2); padding: .38rem .75rem; border-radius: 999px; font-size: .92rem; transition: background .2s, color .2s; }
.site-header nav a.on, .site-header nav a:hover { color: var(--fg); background: var(--glass-2); text-decoration: none; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .84rem; color: var(--text2); user-select: none; background: var(--glass); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: "▾"; color: var(--muted); font-size: .75rem; }
.langs[open] summary, .langs summary:hover { border-color: var(--accent-2); color: var(--fg); }
.globe { width: .8em; height: .8em; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; display: inline-block; }
.globe::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border-left: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: scaleX(.45); }
.langs-menu { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 170px; padding: .4rem; display: flex; flex-direction: column; z-index: 50; box-shadow: var(--shadow); }
.langs-menu a { display: block; padding: .45rem .8rem; border-radius: 8px; color: var(--text2); font-size: .92rem; }
.langs-menu a:hover { background: var(--glass-2); color: var(--fg); text-decoration: none; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--violet), var(--cyan)); z-index: 60; }

main.wrap { padding: 2.4rem 22px 4rem; }
main.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
.side-col h3 { margin-top: 0; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.side-list a { color: var(--text2); }

/* hero */
.hero { padding: 1.5rem 0 1rem; }
.hero h1 { max-width: 18ch; }
.hero-img { position: relative; margin: 0; padding: 0; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .95; transform: scale(1.02); }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,3,10,.98) 6%, rgba(7,3,10,.7) 45%, rgba(7,3,10,.1) 80%, transparent), linear-gradient(115deg, rgba(255,46,121,.25), transparent 55%); }
.hero-text { position: relative; z-index: 1; padding: 6rem 2rem 2.2rem; max-width: 760px; }
.hero-text h1, .hero-text .eyebrow, .hero-text .lead { text-shadow: 0 2px 24px rgba(0,0,0,.9); }
.eyebrow { font-family: var(--display); color: var(--gold); font-size: 1rem; letter-spacing: .18em; margin-bottom: .9rem; }
.eyebrow cite, .motto cite { font-style: normal; color: var(--muted); font-size: .75rem; letter-spacing: .05em; margin-left: .6rem; }
.adults { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(255,46,121,.5); border-radius: 999px; padding: .25rem .8rem; margin-bottom: 1rem; background: rgba(7,3,10,.5); backdrop-filter: blur(8px); }
.adults::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.lead { font-size: 1.12rem; color: var(--text2); max-width: 62ch; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass-2); color: var(--fg); font-weight: 600; transition: transform .2s, border-color .2s, background .2s; backdrop-filter: blur(8px); }
.btn:hover { text-decoration: none; border-color: var(--accent-2); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--red) 60%, var(--violet)); background-size: 200% 200%; color: var(--accent-fg); border-color: transparent; box-shadow: 0 8px 30px rgba(255,46,121,.4); animation: sheen 6s ease infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn.primary:hover { filter: brightness(1.08); }
.btn.big { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn.disabled { opacity: .5; cursor: not-allowed; }
.stats { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; color: var(--muted); }
.stats li { padding: .7rem 1rem; border-radius: var(--r-sm); background: rgba(7,3,10,.55); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: .85rem; }
.stats strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--fg); letter-spacing: -0.03em; }

/* AI advisor */
.ai-tile { margin-top: 1.2rem; padding: 1.4rem 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center;
  background: linear-gradient(140deg, rgba(139,92,246,.2), rgba(34,211,238,.08) 50%, rgba(20,8,20,.7)); border-color: rgba(139,92,246,.4); }
.ai-orb { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent), var(--violet), var(--cyan), var(--accent)); box-shadow: 0 0 40px rgba(139,92,246,.6); animation: spin 10s linear infinite; position: relative; flex: none; }
.ai-orb::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg2); }
.ai-tile h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.ai-tile p { margin: 0 0 .8rem; color: var(--text2); }
.ai-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.ai-form input, .ai-panel input { flex: 1; min-width: 220px; padding: .75rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7,3,10,.6); color: var(--fg); font: inherit; }
.ai-form input:focus, .ai-panel input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.25); }
.ai-form button, .ai-input button { font: inherit; cursor: pointer; }
.ai-fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; border: 1px solid rgba(139,92,246,.5); background: rgba(12,5,14,.8); color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.5), 0 0 30px rgba(139,92,246,.25); }
.ai-fab .ai-orb, .ai-head .ai-orb { width: 22px; height: 22px; box-shadow: none; }
.ai-fab .ai-orb::after, .ai-head .ai-orb::after { inset: 3px; }
body:has(.bar:not([hidden])) .ai-fab { bottom: 84px; }
.ai-panel { position: fixed; right: 18px; bottom: 80px; z-index: 46; width: min(420px, calc(100vw - 36px)); max-height: min(640px, calc(100vh - 110px)); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow); }
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; }
.ai-head button { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.ai-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; font-size: .95rem; }
.msg { max-width: 92%; padding: .65rem .9rem; border-radius: 16px; line-height: 1.55; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--violet)); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--glass-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text2); }
.msg.ai a { color: var(--cyan); }
.msg.ai p { margin: 0 0 .5rem; } .msg.ai p:last-child { margin: 0; }
.msg.ai ul, .msg.ai ol { margin: .3rem 0 .5rem; padding-left: 1.2rem; }
.msg.thinking::after { content: "…"; animation: pulse 1s infinite; }
.ai-input { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); }
.ai-input button { padding: .6rem 1rem; }
.ai-note { padding: 0 1rem .7rem; font-size: .72rem; color: var(--muted); }
.ai-acct { display: flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-bottom: 1px solid var(--line); font-size: .82rem; }
.ai-acct[hidden] { display: none; }
.ai-addr { font-family: ui-monospace, monospace; color: var(--text2); }
.ai-left { color: var(--cyan); font-weight: 600; margin-right: auto; }
.btn.small { padding: .35rem .8rem; font-size: .8rem; }
.ai-out { background: none; border: 0; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; }
.ai-login, .ai-topup { padding: .9rem 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.ai-login[hidden], .ai-topup[hidden] { display: none; }
.ai-login p, .ai-topup p { margin: 0 0 .7rem; color: var(--text2); }
.ai-login .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.ai-login .row .btn { flex: 1; justify-content: center; font-size: .88rem; padding: .6rem .8rem; }
.ai-topup .addr { display: grid; gap: .1rem; margin: 0 0 .5rem; font-size: .78rem; }
.ai-topup .addr b { color: var(--fg); font-weight: 600; }
.ai-topup .addr code { word-break: break-all; color: var(--text2); background: none; padding: 0; }
.ai-topup form { display: grid; gap: .45rem; }
.ai-topup select, .ai-topup input { padding: .6rem .9rem; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7,3,10,.6); color: var(--fg); font: inherit; font-size: .88rem; }
.ai-msg { font-size: .82rem; margin: .5rem 0 0 !important; }
.ai-msg.ok { color: #6ee7b7; } .ai-msg.bad { color: #fca5a5; }
.ai-input[hidden] { display: none; }

/* journey / guides / local / categories */
.journey { margin-top: 2.6rem; }
.steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; }
.steps a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; color: var(--fg); transition: transform .3s, border-color .3s; }
.steps a:hover { border-color: var(--accent-2); transform: translateY(-3px); text-decoration: none; }
.steps a:hover video, .steps a:hover img { transform: scale(1.06); }
.steps video, .steps img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.steps a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,3,10,.96) 0, rgba(7,3,10,.3) 55%, rgba(255,46,121,.08)); }
.step-n, .step-name, .step-text { position: absolute; left: 0; z-index: 1; padding: 0 1rem; }
.step-n { top: .7rem; font-family: var(--display); color: var(--accent-2); font-size: 1rem; }
.step-name { bottom: 2.4rem; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.step-text { bottom: .8rem; right: 0; color: var(--text2); font-size: .82rem; line-height: 1.35; }
.guides-strip { margin-top: 2.6rem; }
.guide-grid, .guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.guide-grid a, .guide-list a { display: block; height: 100%; padding: 1.15rem 1.25rem; color: var(--fg); transition: transform .25s, border-color .25s; }
.guide-grid a:hover, .guide-list a:hover { border-color: var(--accent-2); transform: translateY(-3px); text-decoration: none; }
.guide-title { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: .4rem; }
.guide-teaser { display: block; color: var(--text2); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.local { margin-top: 2.2rem; }
.local p { color: var(--text2); max-width: 70ch; }
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.cat-grid a { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; min-height: 130px; padding: .9rem 1rem; overflow: hidden; color: var(--fg); background-size: cover; background-position: center; transition: transform .25s, border-color .25s; }
.cat-grid a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,3,10,.95), rgba(7,3,10,.35) 60%, rgba(7,3,10,.1)); transition: opacity .3s; }
.cat-grid a:hover::before { opacity: .8; }
.cat-grid a:hover { border-color: var(--accent-2); transform: translateY(-3px); text-decoration: none; }
.cat-grid .cat-name, .cat-grid .cat-count { position: relative; }
.cat-name { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.cat-count { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.checks { padding-left: 1.2rem; }
.checks li { margin: .4rem 0; }
.price strong { font-family: var(--display); font-size: 2.1rem; margin-left: .5rem; color: var(--fg); letter-spacing: -0.03em; }

/* library */
.search { width: 100%; max-width: 560px; padding: .8rem 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7,3,10,.55); color: var(--fg); font: inherit; margin: .2rem 0 1rem; backdrop-filter: blur(10px); }
.search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,46,121,.25); }
.book-list li[hidden], .cat-section[hidden] { display: none; }
.cat-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1.5rem; }
.cat-nav a { padding: .32rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--glass); color: var(--text2); font-size: .88rem; }
.cat-nav a:hover { border-color: var(--accent-2); text-decoration: none; }
.cat-nav small { color: var(--muted); }
.cat-section { scroll-margin-top: 6rem; margin-top: 2.5rem; }
.cat-banner { position: relative; height: 190px; border-radius: var(--r); overflow: hidden; margin-bottom: 1rem; border: 1px solid var(--line); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 1rem 1.3rem; }
.cat-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,3,10,.95), rgba(7,3,10,.2) 70%, transparent); z-index: 1; }
.cat-banner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner h2 { position: relative; z-index: 2; margin: 0; font-size: 1.7rem; }
.book-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .9rem; }
.book-list li { padding: 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .25rem; transition: border-color .2s, transform .2s; }
.book-list li:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.book-list li > a { color: var(--fg); }
.book-title { display: block; font-family: var(--display); font-size: 1.08rem; font-weight: 700; letter-spacing: -0.015em; }
.book-author { display: block; color: var(--muted); font-size: .9rem; }
.book-meta { font-size: .78rem; color: var(--muted); }
.book-core { font-size: .93rem; color: var(--text2); margin: .3rem 0 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* book page */
.crumb { color: var(--muted); font-size: .9rem; }
.book-hero { position: relative; height: 230px; border-radius: var(--r); overflow: hidden; margin: .5rem 0 1.4rem; border: 1px solid var(--line); background-size: cover; background-position: center; }
.book-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(7,3,10,.85), rgba(7,3,10,.2)); z-index: 1; }
.book .author { color: var(--muted); font-size: 1.05rem; margin-top: -.3rem; }
.download-row { margin: 1.2rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }

/* prose */
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--text2); }
.prose strong { color: var(--fg); }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1rem 0; padding: .4rem 1rem; color: var(--text2); background: var(--soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose pre, .prose table { overflow-x: auto; display: block; max-width: 100%; }
.toc ul { list-style: none; padding-left: 0; margin: 0; font-size: .9rem; }
.toc ul ul { padding-left: 1rem; }
.toc li { margin: .25rem 0; }
.toc a { color: var(--text2); }

/* handbook */
.hero.product { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: center; }
.product-cover { width: 280px; height: auto; border-radius: var(--r-sm); box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 70px rgba(255,46,121,.28); }
.product-card { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: start; }
.product-card img { width: 120px; height: auto; border-radius: 8px; grid-row: 1 / 4; box-shadow: 0 8px 24px rgba(0,0,0,.6); }
.product-card h2, .product-card p, .product-card a { grid-column: 2; }
.preview { position: relative; }
.preview-fade { height: 120px; margin-top: -120px; position: relative; background: linear-gradient(to bottom, transparent, var(--bg)); }
.pay { margin-top: 2.5rem; padding-top: 1.8rem; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.pay-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.pay-tabs button { font: inherit; font-size: .9rem; padding: .42rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text2); cursor: pointer; }
.pay-tabs button.on { border-color: var(--accent); color: var(--fg); background: rgba(255,46,121,.16); }
.pay-panel { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: center; padding: 1.3rem; }
.pay-panel[hidden] { display: none; }
.qr { background: #fff; border-radius: 12px; padding: 8px; line-height: 0; }
.qr svg { width: 100%; height: auto; display: block; }
.pay-amount strong { font-family: var(--display); font-size: 1.6rem; color: var(--fg); }
.addr code { display: inline-block; max-width: 100%; word-break: break-all; font-size: .9rem; background: rgba(7,3,10,.6); padding: .45rem .65rem; border-radius: 8px; color: var(--fg); border: 1px solid var(--line); }
.btn.copy { font: inherit; font-size: .85rem; padding: .38rem .85rem; cursor: pointer; margin-left: .4rem; }
.pay-verify { margin-top: 1.2rem; }
.pay-verify label { display: block; margin-bottom: .4rem; color: var(--text2); }
.pay-verify .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.pay-verify input { flex: 1; min-width: 240px; padding: .7rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7,3,10,.55); color: var(--fg); font: inherit; }
.pay-verify input:focus { outline: none; border-color: var(--accent); }
.pay-verify button { font: inherit; cursor: pointer; }
.pay-msg { margin-top: .8rem; color: var(--text2); }
.pay-msg.ok { color: #7cf2a8; }
.pay-msg.bad { color: var(--accent-2); }

/* conversion */
.get h1 { font-size: 2rem; }
.get-box { padding: 1.6rem; margin: 1.2rem 0 1.5rem; text-align: center; }
.get-wait { font-size: 1.1rem; color: var(--text2); margin: 0 0 .5rem; }
.get-wait strong { font-family: var(--display); font-size: 2.2rem; color: var(--fg); margin: 0 .3rem; }
.get-ready { margin: 0; }
.ad-inter { margin: 1.4rem auto 0; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-inline { margin: 2rem 0; }
.upsell { max-width: 720px; }
.bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: min(760px, calc(100vw - 28px)); z-index: 20; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .65rem 2.8rem .65rem 1.1rem; border-radius: 999px; background: rgba(12,5,14,.82); backdrop-filter: blur(14px); border: 1px solid var(--line-2); font-size: .93rem; box-shadow: var(--shadow); }
.bar[hidden] { display: none; }
.bar .btn { padding: .45rem 1rem; font-size: .9rem; }
.bar-x { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
body:has(.bar:not([hidden])) main { padding-bottom: 6rem; }
.pop { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.pop[hidden] { display: none; }
.pop-box { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: center; max-width: 640px; padding: 1.6rem; box-shadow: var(--shadow), 0 0 80px rgba(255,46,121,.2); background: linear-gradient(150deg, rgba(255,46,121,.16), rgba(20,8,20,.85)); }
.pop-box img { width: 180px; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.pop-box h2 { margin-top: 0; }
.pop-box button.btn { font: inherit; cursor: pointer; }

.ad { text-align: center; margin: 1.5rem auto; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .3rem; }
.ad-top { max-width: 728px; }
.ad-side { margin-top: 2rem; }
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 3.2rem; font-size: .9rem; color: var(--text2); position: relative; z-index: 1; }
.motto { font-family: var(--display); color: var(--gold); font-size: 1.1rem; letter-spacing: .12em; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .brand::before, .ai-orb, .btn.primary { animation: none; } }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .site-header { top: 8px; }
  .site-header .wrap { border-radius: 22px; padding: .6rem .9rem; }
  .site-header nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -.9rem; padding: 0 .9rem; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { white-space: nowrap; flex: none; }
  main.with-side { grid-template-columns: 1fr; }
  .hero-img { min-height: 520px; border-radius: 22px; }
  .hero-text { padding: 4rem 1.2rem 1.6rem; }
  .side-col { border-top: 1px solid var(--line); padding-top: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; } .step-text { display: none; } .step-name { bottom: .8rem; font-size: 1.15rem; }
  .hero.product { grid-template-columns: 1fr; }
  .product-cover { width: 200px; }
  .product-card { grid-template-columns: 90px 1fr; } .product-card img { width: 90px; }
  .cat-banner { height: 130px; } .book-hero { height: 150px; }
  .pay-panel { grid-template-columns: 1fr; } .qr { max-width: 220px; }
  .pop-box { grid-template-columns: 1fr; text-align: center; } .pop-box img { width: 120px; margin: 0 auto; }
  .bar { flex-wrap: wrap; font-size: .85rem; gap: .5rem; padding-right: 2.5rem; border-radius: 18px; }
  .ai-tile { grid-template-columns: 1fr; }
  .ai-panel { right: 10px; left: 10px; width: auto; bottom: 74px; }
}
