/* NexusModWorks — mobile-first shared design system */
:root {
  --ink: #11111b;
  --ink-muted: #505066;
  --paper: #fffdf8;
  --paper-soft: #f7f6fb;
  --line: rgba(32, 28, 50, .12);
  --violet: #6957e8;
  --violet-dark: #4e3dcc;
  --pink: #e55b9e;
  --teal: #1ca89a;
  --shadow: 0 18px 50px rgba(31, 22, 62, .10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-display: "Space Grotesk";
  --font-body: "Space Grotesk";
}

.home-page { --page-accent: #6957e8; --page-tint: #efedff; }
.theme-swift { --page-accent: #3e6fe8; --page-tint: #e8efff; }
.theme-grande { --page-accent: #b65bc9; --page-tint: #fae9ff; }
.store-page { --page-accent: #5078df; --page-tint: #e8efff; }
.policy-page { --page-accent: #6957e8; --page-tint: #efedff; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
body.site-body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 460px;
  pointer-events: none;
  background: radial-gradient(circle at 6% 14%, rgba(229, 91, 158, .12), transparent 28%), radial-gradient(circle at 89% 10%, rgba(105, 87, 232, .15), transparent 33%);
  z-index: -1;
}
body.site-body.theme-swift::before {
  background: radial-gradient(circle at 6% 14%, rgba(62, 111, 232, .15), transparent 28%), radial-gradient(circle at 89% 10%, rgba(105, 87, 232, .15), transparent 33%);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-160%); background: var(--ink); color: #fff; border-radius: 8px; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 68px 0; }
.section-soft { background: var(--paper-soft); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--violet-dark); font-size: .74rem; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 8px; height: 8px; content: ""; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(105, 87, 232, .12); }
.section-title { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(1.85rem, 6vw, 3.4rem); letter-spacing: -.045em; line-height: 1.04; }
.section-intro { max-width: 650px; margin: 18px 0 0; color: var(--ink-muted); font-size: clamp(1rem, 2vw, 1.125rem); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(32, 28, 50, .09); background: rgba(255, 253, 248, .90); backdrop-filter: blur(16px); }
.site-nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; min-width: 0; color: var(--ink); font-size: .96rem; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.brand img { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 9px; box-shadow: 0 4px 10px rgba(65, 46, 135, .13); }
.nav-toggle { display: inline-grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 21px; }
.nav-links { display: none; }
.nav-links a { color: var(--ink-muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--violet-dark); }
.nav-links .nav-cta { padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.nav-links .nav-cta:hover { background: var(--violet-dark); color: #fff; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu.is-open { display: block; }
.mobile-menu .shell { padding: 12px 0 18px; display: grid; gap: 2px; }
.mobile-menu a { padding: 11px 6px; color: var(--ink); font-size: .96rem; font-weight: 750; text-decoration: none; }
.mobile-menu a:last-child { margin-top: 4px; padding: 11px 13px; border-radius: 10px; background: var(--ink); color: #fff; text-align: center; }

/* Buttons */
.button-row { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 13px; padding: 12px 17px; background: var(--violet); box-shadow: 0 10px 22px rgba(105, 87, 232, .22); color: #fff; font-size: .94rem; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--violet-dark); box-shadow: 0 13px 28px rgba(105, 87, 232, .28); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(105, 87, 232, .35); outline-offset: 3px; }
.button-secondary { border-color: var(--line); background: #fff; box-shadow: none; color: var(--ink); }
.button-secondary:hover { background: #f7f5ff; color: var(--violet-dark); box-shadow: none; }
.button svg { width: 18px; height: 18px; }

/* Home */
.home-hero { padding: 56px 0 38px; }
.home-hero-grid { display: grid; gap: 34px; align-items: center; }
.home-hero h1 { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(2.65rem, 11vw, 5.5rem); letter-spacing: -.07em; line-height: .94; }
.home-hero h1 em { color: var(--violet); font-style: normal; }
.hero-copy { max-width: 600px; margin: 19px 0 0; color: var(--ink-muted); font-size: clamp(1.05rem, 3vw, 1.24rem); }
.hero-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 17px; color: #69677a; font-size: .84rem; }
.hero-note svg { flex: 0 0 auto; width: 17px; margin-top: 2px; color: var(--teal); }
.quiz-preview { position: relative; min-height: 345px; display: grid; align-content: center; padding: 22px; overflow: hidden; border: 1px solid rgba(105, 87, 232, .17); border-radius: var(--radius-lg); background: linear-gradient(145deg, #252143, #0d0c16 78%); box-shadow: 0 24px 54px rgba(39, 26, 78, .20); color: #fff; }
.quiz-preview::after { width: 230px; height: 230px; position: absolute; right: -100px; bottom: -110px; content: ""; border-radius: 50%; background: #e85a9f; filter: blur(6px); opacity: .85; }
.quiz-window { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: 0 12px 30px rgba(0,0,0,.24); backdrop-filter: blur(6px); }
.quiz-window-top { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.10); font-size: .78rem; font-weight: 800; }
.quiz-window-top::before { width: 9px; height: 9px; content: ""; border-radius: 50%; background: #82e9ca; box-shadow: 0 0 0 4px rgba(130,233,202,.14); }
.quiz-question { padding: 23px 15px 15px; font-size: clamp(1.1rem, 4vw, 1.32rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.quiz-options { display: grid; gap: 8px; padding: 0 15px 17px; }
.quiz-option { padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.88); font-size: .84rem; }
.quiz-option.is-answer { border-color: rgba(248, 137, 192, .65); background: rgba(232, 90, 159, .22); color: #fff; }
.home-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
.home-stat { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.55); }
.home-stat strong { display: block; font-size: 1.05rem; letter-spacing: -.04em; }
.home-stat span { display: block; margin-top: 2px; color: var(--ink-muted); font-size: .78rem; }
.bot-grid { display: grid; gap: 16px; margin-top: 31px; }
.bot-card { min-height: 100%; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 7px 20px rgba(27, 20, 53, .04); transition: transform .25s ease, box-shadow .25s ease; }
.bot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bot-card-top { display: flex; align-items: center; gap: 14px; }
.bot-icon { width: 52px; height: 52px; flex: 0 0 auto; border-radius: 15px; object-fit: cover; }
.bot-card h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.04em; }
.bot-card .label { margin: 3px 0 0; color: var(--ink-muted); font-size: .84rem; font-weight: 650; }
.bot-card > p { margin: 20px 0; color: var(--ink-muted); font-size: .95rem; }
.bot-card .text-link { margin-top: auto; color: var(--violet-dark); font-size: .9rem; font-weight: 800; text-decoration: none; }
.bot-card .text-link:hover { text-decoration: underline; }
.steps { display: grid; gap: 12px; margin-top: 30px; }
.step { padding: 20px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 2px 0 rgba(32,28,50,.03); }
.step-number { display: inline-grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #ece9ff; color: var(--violet-dark); font-size: .78rem; font-weight: 900; }
.step h3 { margin: 13px 0 6px; font-size: 1rem; letter-spacing: -.025em; }
.step p { margin: 0; color: var(--ink-muted); font-size: .91rem; }
.content-columns { display: grid; gap: 28px; }
.prose p { margin: 0; color: var(--ink-muted); }
.prose p + p { margin-top: 14px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; color: var(--ink); cursor: pointer; font-size: .95rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--violet); font-size: 1.3rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 16px 17px; color: var(--ink-muted); font-size: .92rem; }

/* Bot landing pages */
.bot-page { --bot-accent: var(--violet); --bot-pale: #edeaff; }
.bot-page.theme-swift { --bot-accent: #3e6fe8; --bot-pale: #e7eeff; }
.bot-page.theme-grande { --bot-accent: #b65bc9; --bot-pale: #fae9ff; }
.bot-page .eyebrow { color: var(--bot-accent); }
.bot-page .button { background: var(--bot-accent); box-shadow: 0 10px 22px color-mix(in srgb, var(--bot-accent) 28%, transparent); }
.bot-page .button:hover { background: color-mix(in srgb, var(--bot-accent) 82%, #111); }
.bot-page .button-secondary { background: #fff; box-shadow: none; }
.bot-page .button-secondary:hover { background: var(--bot-pale); }
.bot-hero { padding: 46px 0 50px; }
.bot-hero-grid { display: grid; gap: 29px; align-items: center; }
.bot-brand-mark { width: 78px; height: 78px; margin-bottom: 22px; border-radius: 23px; box-shadow: 0 16px 36px color-mix(in srgb, var(--bot-accent) 30%, transparent); }
.bot-hero h1 { max-width: 670px; margin: 0; font-size: clamp(2.35rem, 9vw, 5rem); letter-spacing: -.065em; line-height: .95; }
.bot-hero h1 span { color: var(--bot-accent); }
.bot-hero .hero-copy { max-width: 620px; }
.bot-visual { min-height: 310px; position: relative; display: grid; align-content: end; padding: 17px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--bot-accent) 20%, #fff); border-radius: var(--radius-lg); background: linear-gradient(145deg, color-mix(in srgb, var(--bot-pale) 80%, white), #fff); }
.bot-visual::before { width: 250px; height: 250px; position: absolute; top: -100px; right: -90px; content: ""; border-radius: 50%; background: var(--bot-accent); opacity: .12; }
.bot-visual::after { width: 160px; height: 160px; position: absolute; bottom: -73px; left: -55px; content: ""; border-radius: 50%; background: var(--bot-accent); opacity: .09; }
.bot-visual-card { position: relative; z-index: 1; padding: 18px; border: 1px solid rgba(32,28,50,.08); border-radius: 17px; background: #fff; box-shadow: 0 14px 32px rgba(32, 28, 50, .09); }
.bot-visual-card .tiny-label { margin: 0 0 10px; color: var(--bot-accent); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.bot-visual-card h2 { margin: 0; font-size: 1.14rem; letter-spacing: -.04em; line-height: 1.2; }
.bot-visual-card p { margin: 9px 0 0; color: var(--ink-muted); font-size: .85rem; }
.visual-score { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 11px 12px; border-radius: 10px; background: var(--bot-pale); color: var(--ink); font-size: .8rem; font-weight: 800; }
.visual-score strong { color: var(--bot-accent); font-size: 1.05rem; }
.brand img, .footer-brand img, .bot-icon, .bot-brand-mark, .grande-mini-mark { background: transparent; mix-blend-mode: multiply; }
.bot-brand-mark { border-radius: 0; box-shadow: none; }

/* Original Telegram-style game previews, inspired by the live bot formats. */
.telegram-preview.bot-visual { min-height: 0; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 19px; background: #0d1a29; box-shadow: 0 17px 32px rgba(22, 30, 49, .18); color: #f4f7fb; }
.telegram-preview.bot-visual::before, .telegram-preview.bot-visual::after { display: none; }
.telegram-preview-bar { height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; background: #132338; font-size: .76rem; }
.swift-preview .telegram-preview-bar span { color: #65c7ff; }
.grande-preview .telegram-preview-bar span { color: #d987fa; }
.telegram-preview-bar small { padding: 2px 6px; border-radius: 999px; background: rgba(74, 205, 125, .15); color: #54cf86; font-size: .66rem; font-weight: 700; }
.preview-art { position: relative; min-height: 186px; overflow: hidden; }
.telegram-prompt { display: flex; align-items: flex-start; gap: 8px; padding: 9px 13px 6px; background: #152638; font-size: .75rem; line-height: 1.35; }
.telegram-prompt b { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); font-size: .72rem; }
.telegram-timer { display: flex; align-items: center; gap: 4px; padding: 5px 13px 10px; background: #152638; color: #f4f7fb; font-size: .72rem; font-weight: 700; }
.telegram-timer time { margin-left: auto; color: #7f96ab; font-weight: 500; }
.telegram-answer { display: flex; justify-content: space-between; gap: 9px; margin: 7px 10px 11px; padding: 9px 10px; border-radius: 12px; background: #1b3045; font-size: .72rem; line-height: 1.32; }
.telegram-answer div > span { display: block; margin-bottom: 2px; font-weight: 700; }
.swift-answer div > span { color: #67cbff; }
.grande-answer div > span { color: #ff7b94; }
.telegram-answer p { margin: 0; color: #fff; }
.telegram-answer p b { color: #78e3b2; }
.telegram-answer time { align-self: end; color: #7690a7; font-size: .65rem; white-space: nowrap; }

.swift-preview-art { background: radial-gradient(circle at 83% 11%, rgba(255,255,255,.76) 0 2px, transparent 2.5px), radial-gradient(circle at 16% 20%, rgba(255,255,255,.8) 0 2px, transparent 3px), linear-gradient(135deg, #d8e6ff, #a5c2f4); }
.swift-preview-art::before { width: 250px; height: 250px; position: absolute; top: -151px; left: -70px; content: ""; border: 16px solid rgba(255,255,255,.33); border-radius: 50%; }
.swift-preview-art::after { width: 240px; height: 140px; position: absolute; right: -116px; bottom: -94px; content: ""; border: 16px solid rgba(255,255,255,.38); border-radius: 50%; }
.swift-art-copy { position: relative; z-index: 2; padding: 37px 0 0 19px; color: #3f3b46; }
.swift-art-copy strong { display: block; font-family: var(--font-display); font-size: clamp(1rem, 2.5vw, 1.21rem); letter-spacing: -.06em; line-height: 1.04; }
.swift-art-copy em { display: block; margin-top: 9px; color: #765b68; font-size: .78rem; font-style: normal; font-weight: 700; }
.swift-chip { display: inline-flex; margin-bottom: 10px; padding: 5px 8px; border: 1px solid rgba(96,67,82,.12); border-radius: 8px; background: rgba(255,255,255,.52); box-shadow: 0 3px 8px rgba(123, 70, 92, .1); color: #514450; font-size: .63rem; font-weight: 800; letter-spacing: .06em; }
.preview-question-mark { position: absolute; z-index: 3; color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; opacity: .78; }
.mark-one { top: 21px; right: 37px; }
.mark-two { right: 15px; bottom: 17px; font-size: 1.2rem; }
.preview-star { position: absolute; z-index: 3; color: #fff; font-size: 1rem; }
.star-one { top: 10px; right: 13px; }
.swift-guitar { width: 73px; height: 125px; position: absolute; z-index: 2; right: 42px; bottom: 5px; transform: rotate(17deg); }
.swift-guitar::before { width: 62px; height: 72px; position: absolute; bottom: 0; left: 0; content: ""; border: 3px solid #f2c3c8; border-radius: 48% 52% 46% 52%; background: linear-gradient(145deg, #fef2ef, #f4c8c6); box-shadow: inset 8px 0 rgba(255,255,255,.45); }
.swift-guitar::after { width: 10px; height: 76px; position: absolute; top: 5px; right: 5px; content: ""; border-radius: 5px; background: #d59b9a; transform: rotate(4deg); }
.swift-guitar i { width: 16px; height: 16px; position: absolute; z-index: 1; bottom: 27px; left: 23px; border: 3px solid #9f7074; border-radius: 50%; background: #775458; }
.swift-guitar b { width: 3px; height: 85px; position: absolute; z-index: 2; top: 1px; right: 11px; border-radius: 3px; background: rgba(255,255,255,.92); box-shadow: 4px 0 rgba(255,255,255,.72); }

.grande-preview-art { display: grid; place-items: center; background-color: #fffdf9; background-image: linear-gradient(rgba(94,79,94,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(94,79,94,.055) 1px, transparent 1px); background-size: 12px 12px; }
.grande-ribbon { width: 86px; height: 30px; position: absolute; z-index: 1; border: 2px solid #9b347e; background: #df86ca; box-shadow: inset 0 -4px rgba(123, 44, 101, .15); }
.ribbon-top { top: 0; right: -21px; border-top: 0; border-radius: 0 0 5px 12px; transform: rotate(55deg); }
.ribbon-bottom { bottom: -3px; left: -25px; border-bottom: 0; border-radius: 11px 4px 0 0; transform: rotate(55deg); }
.grande-mini-mark { width: 31px; height: 31px; position: absolute; top: 33px; left: calc(50% - 15px); }
.grande-art-copy { position: relative; z-index: 2; display: grid; justify-items: center; padding-top: 46px; color: #7a1763; text-align: center; }
.grande-art-copy strong { font-family: var(--font-display); font-size: .95rem; letter-spacing: -.05em; line-height: 1.1; }
.grande-art-copy em { margin-top: 7px; font-family: var(--font-display); font-size: 1.1rem; font-style: normal; font-weight: 700; }
.grande-art-copy i { margin-top: 2px; font-size: .72rem; font-style: normal; letter-spacing: .1em; }
.feature-grid { display: grid; gap: 12px; margin-top: 30px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.feature-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--bot-pale); color: var(--bot-accent); }
.feature-icon svg { width: 20px; }
.feature h3 { margin: 16px 0 7px; font-size: 1rem; letter-spacing: -.03em; }
.feature p { margin: 0; color: var(--ink-muted); font-size: .91rem; }
.play-panel { padding: 28px 22px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.play-panel h2 { max-width: 520px; margin: 0; font-size: clamp(1.7rem, 6vw, 2.7rem); letter-spacing: -.05em; line-height: 1.02; }
.play-panel p { max-width: 620px; margin: 13px 0 0; color: rgba(255,255,255,.72); }
.play-panel .button { margin-top: 24px; background: #fff; box-shadow: none; color: var(--ink); }
.play-panel .button:hover { background: var(--bot-pale); color: var(--ink); }

/* Store */
.store-page { --store: #5078df; --store-pale: #e8efff; }
.store-hero { padding: 48px 0 38px; }
.store-hero-grid { display: grid; gap: 24px; align-items: end; }
.store-hero h1 { max-width: 650px; margin: 0; font-size: clamp(2.45rem, 9.5vw, 5.2rem); letter-spacing: -.065em; line-height: .94; }
.store-hero h1 span { color: var(--store); }
.store-hero p { max-width: 565px; margin: 17px 0 0; color: var(--ink-muted); font-size: 1.08rem; }
.affiliate-note { padding: 13px 15px; border: 1px solid #d8e1fc; border-radius: 13px; background: #f7f9ff; color: #56566a; font-size: .8rem; }
.product-grid { display: grid; gap: 14px; }
.product-card { min-height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-image-wrap { aspect-ratio: 1 / .8; display: grid; place-items: center; overflow: hidden; background: #f4f5f8; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.03); }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 17px; }
.product-info h2 { margin: 0; font-size: 1.03rem; letter-spacing: -.035em; line-height: 1.2; }
.product-info p { margin: 9px 0 16px; color: var(--ink-muted); font-size: .88rem; }
.product-info .text-link { margin-top: auto; color: var(--store); font-size: .88rem; font-weight: 800; text-decoration: none; }
.product-info .text-link:hover { text-decoration: underline; }

/* Legal pages */
body.policy-page { background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.6; align-items: stretch; }
body.policy-page::before { background: radial-gradient(circle at 8% 5%, rgba(105, 87, 232, .12), transparent 30%), radial-gradient(circle at 95% 19%, rgba(229,91,158,.1), transparent 25%); }
.policy-page > nav { position: sticky; top: 0; min-height: 68px; padding: 0 max(16px, calc((100vw - 1160px) / 2)); background: rgba(255,253,248,.88); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.policy-page .nav-brand { gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: .96rem; }
.policy-page .nav-brand img { width: 31px; height: 31px; }
.policy-page .nav-home { color: var(--violet-dark); font-size: .88rem; font-weight: 800; text-decoration: none; }
.policy-page .nav-home:hover { text-decoration: underline; }
.legal-site-header .site-nav { position: static; top: auto; z-index: auto; width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.legal-site-header .nav-home { color: var(--violet-dark); font-size: .84rem; font-weight: 800; text-decoration: none; }
.legal-site-header .nav-home:hover { text-decoration: underline; }
.policy-page .container { width: min(830px, calc(100% - 32px)); margin: 0 auto; padding: 106px 0 70px; }
.policy-page .header, .policy-page .policy-header { margin-bottom: 31px; text-align: left; }
.policy-page .header h1, .policy-page .policy-header h1 { margin: 0; background: none; background-clip: border-box; -webkit-background-clip: border-box; -webkit-text-fill-color: var(--ink); color: var(--ink); font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 4.3rem); letter-spacing: -.065em; line-height: .96; }
.policy-page .header p, .policy-page .policy-header p { margin: 14px 0 0; color: var(--ink-muted); }
.policy-page .badge { display: inline-flex; margin: 0 0 14px; padding: 6px 10px; border: 1px solid #ddd8ff; border-radius: 999px; background: #f0eeff; color: var(--violet-dark); font-size: .71rem; font-weight: 800; letter-spacing: .07em; line-height: 1.1; text-transform: uppercase; }
.policy-page .section { margin: 12px 0; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgba(25,19,50,.035); }
.policy-page .section h2 { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; color: var(--ink); font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -.035em; }
.policy-page .section h3 { margin: 22px 0 8px; color: var(--ink); font-size: .98rem; }
.policy-page .section p { color: var(--ink-muted); }
.policy-page .section li { color: var(--ink-muted); }
.policy-page .section a { color: var(--violet-dark) !important; font-weight: 700; }
.policy-page .section-number { width: 27px; height: 27px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; background: #ece9ff; color: var(--violet-dark); font-family: var(--font-body); font-size: .75rem; font-weight: 900; }
.policy-page .highlight, .policy-page .contact-box, .policy-page .notice-box, .policy-page .warning-box, .policy-page .info-box { border-color: var(--line) !important; background: #f8f7fc !important; color: var(--ink-muted) !important; }
.policy-page .data-table-wrapper { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.policy-page .data-table { min-width: 540px; margin: 16px 0; font-size: .8rem; }
.policy-page .data-table th, .policy-page .data-table td { padding: 12px; }
.policy-page footer, .site-footer { padding: 30px 16px; border-top: 1px solid var(--line); background: var(--paper-soft); color: var(--ink-muted); text-align: center; }
.footer-links, .legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-links a, .legal-links a { color: var(--ink-muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover, .legal-links a:hover { color: var(--violet-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-copyright, .site-footer p, .policy-page .copyright { margin: 12px 0 0; color: var(--ink-muted); font-size: .78rem; }
.policy-page footer { width: 100%; margin-top: auto; }

@media (min-width: 640px) {
  .shell { width: min(1160px, calc(100% - 48px)); }
  .section { padding: 84px 0; }
  .button-row { flex-direction: row; }
  .button { min-width: 164px; }
  .home-stat-row { max-width: 450px; grid-template-columns: repeat(3, 1fr); }
  .bot-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; gap: 23px; }
  .mobile-menu { display: none !important; }
  .home-hero { padding: 90px 0 74px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(400px, .8fr); gap: 70px; }
  .quiz-preview { min-height: 418px; padding: 28px; }
  .bot-hero { padding: 78px 0 82px; }
  .bot-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(370px, .75fr); gap: 72px; }
  .bot-visual { min-height: 395px; padding: 23px; }
  .content-columns { grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: start; }
  .store-hero { padding: 78px 0 60px; }
  .store-hero-grid { grid-template-columns: 1fr .8fr; gap: 60px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .policy-page .container { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Floating Game Icon */
.floating-game-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.floating-game-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(97, 85, 237, 0.25));
}
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}


@media (max-width: 859px) {
  .home-hero-grid {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    gap: 15px !important;
    align-items: center !important;
  }
  .home-hero h1 {
    font-size: clamp(2rem, 7vw, 2.5rem) !important;
    line-height: 1.1 !important;
  }
  .hero-copy {
    font-size: 0.95rem !important;
  }
  .home-stat-row {
    grid-template-columns: 1fr !important;
  }

}

/* Make bot cards fully clickable */
.bot-card { position: relative; }
.bot-card .text-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
