:root {
  --paper: #fff;
  --ink: #1d3446;
  --muted: #586d7b;
  --gold: #bd9650;
  --gold-deep: #70501f;
  --sky: #edf5fa;
  --line: #dae5ec;
  --radius: 16px;
  --shell: min(1180px, calc(100% - 64px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { min-width: 0; margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #397fa8; outline-offset: 5px; }
::selection { color: #1d3446; background: #d4e9f5; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden, .icon-sprite { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 12px 20px; border-radius: 8px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; z-index: 30; top: 16px; left: 50%; display: flex; width: min(1220px, calc(100% - 40px)); align-items: center; justify-content: space-between; gap: 24px; padding: 8px 18px; border: 1px solid rgba(255,255,255,.88); border-radius: 14px; background: rgba(255,255,255,.74); box-shadow: 0 8px 30px rgba(39,76,99,.08); backdrop-filter: blur(18px); transform: translateX(-50%); transition: background .2s, box-shadow .2s; }
.site-header.is-scrolled, .site-header.nav-open { background: rgba(255,255,255,.96); box-shadow: 0 8px 28px rgba(39,76,99,.13); }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 132px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.main-nav a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; transition: color .18s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--gold-deep); }
.main-nav a.is-active { box-shadow: inset 0 -2px var(--gold); }
.main-nav .nav-register { padding: 0 19px; border: 1px solid #dbc18d; border-radius: 10px; color: var(--gold-deep); background: #fff6e3; }
.main-nav .nav-register:hover { background: #f8ebce; }
.nav-toggle { display: none; flex: 0 0 auto; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:last-child { transform: translateY(-6px) rotate(-45deg); }
.hero { position: relative; display: grid; min-height: clamp(760px, 94svh, 940px); overflow: hidden; isolation: isolate; background: #d6e8f4; }
.hero-bg { position: absolute; z-index: -3; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(244,249,252,.2), rgba(244,249,252,.65) 36%, rgba(244,249,252,.65) 64%, rgba(244,249,252,.2)); }
.hero::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(237,245,250,.16), transparent 28%, transparent 70%, #fff 100%); pointer-events: none; }
.hero-character { position: absolute; z-index: -1; bottom: 0; width: min(43vw, 640px); height: auto; max-height: 88%; object-fit: contain; object-position: center bottom; opacity: .85; pointer-events: none; }
.hero-character-left { left: max(-120px, calc((100vw - 1740px) / 2 - 30px)); }
.hero-character-right { right: max(-130px, calc((100vw - 1740px) / 2 - 30px)); }
.hero-inner { position: relative; z-index: 2; display: grid; align-items: center; justify-items: center; padding-block: 136px 104px; }
.hero-content { width: min(640px, 100%); text-align: center; }
.beta-badge { display: inline-flex; min-height: 34px; align-items: center; gap: 10px; margin: 0 0 20px; padding: 5px 14px; border: 1px solid rgba(170,128,53,.26); border-radius: 999px; color: #624921; background: rgba(255,252,240,.86); font-size: 13px; box-shadow: 0 3px 16px rgba(130,103,50,.05); }
.beta-badge strong { padding-right: 10px; border-right: 1px solid #dccca9; font-size: 13px; }
.beta-dot { width: 6px; height: 6px; border-radius: 50%; background: #c49435; }
.hero-logo { width: min(620px, 100%); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 12px 20px rgba(28,56,75,.15)); }
.hero-version { margin: 0 0 6px; color: #283e4f; font-size: clamp(20px, 2vw, 25px); font-weight: 700; letter-spacing: .01em; }
.hero-description { margin: 0; color: #445e70; font-size: 17px; font-weight: 500; }
.hero-description span { margin-inline: 7px; color: #977a42; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border: 1px solid transparent; border-radius: 10px; font-size: 16px; font-weight: 650; line-height: 1.3; text-align: center; transition: background .18s, box-shadow .18s, transform .18s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.btn-primary { border-color: #b28a42; color: #3d2b12; background: linear-gradient(135deg, #f6e4ae, #d5b064); box-shadow: 0 8px 22px rgba(149,111,42,.2), inset 0 1px rgba(255,255,255,.62); }
.btn-primary:hover { background: linear-gradient(135deg, #fff0c6, #e1bd75); box-shadow: 0 10px 26px rgba(149,111,42,.24); transform: translateY(-1px); }
.btn-secondary { border-color: #c8dbe7; color: var(--ink); background: rgba(255,255,255,.88); box-shadow: 0 5px 16px rgba(56,91,112,.04); }
.btn-secondary:hover { background: #fff; border-color: #9cbdd1; transform: translateY(-1px); }
.hero-news { display: inline-block; margin-top: 20px; color: #405d70; font-size: 14px; text-decoration: underline; text-decoration-color: #a5becd; text-underline-offset: 4px; }
.hero-news:hover { color: var(--gold-deep); }
.section { padding-block: 80px; scroll-margin-top: 16px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 32px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--gold-deep); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
h3 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.015em; line-height: 1.35; }
.section-heading p { margin: 0; max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.feature-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #fff, #f6fafc); transition: box-shadow .2s, border-color .2s; }
.feature-card:hover { border-color: #b9ccd8; box-shadow: 0 10px 30px rgba(39,76,99,.06); }
.feature-icon { display: grid; width: 44px; height: 44px; margin-bottom: 24px; border: 1px solid #ecddbd; border-radius: 12px; background: #fdf6e7; place-items: center; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: #a67a31; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.feature-card strong { display: block; font-size: clamp(23px, 2.1vw, 28px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.feature-caption { display: block; margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.play-section { border-top: 1px solid #e5edf2; background: linear-gradient(180deg, #f2f7fb, #edf5fa); }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.step-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid #dbe6ee; border-radius: var(--radius); background: #fff; }
.step-number { display: block; margin-bottom: 20px; color: #8aa9bd; font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.step-card p { flex: 1; margin: 12px 0 24px; color: var(--muted); font-size: 16px; }
.step-link { display: inline-flex; min-height: 36px; align-items: center; color: var(--gold-deep); font-size: 15px; font-weight: 650; text-decoration: underline; text-decoration-color: #d5bf95; text-underline-offset: 5px; }
.step-link:hover { color: #3c6a88; text-decoration-color: #9dbacb; }
.community-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; padding: 30px 32px; border: 1px solid #d9e5ed; border-radius: var(--radius); background: #e3eff7; }
.community-strip p { margin: 8px 0 0; color: #506b7d; font-size: 15px; }
.community-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.community-actions .btn { font-size: 15px; }
.site-footer { padding-block: 32px 26px; border-top: 1px solid #dfe9ef; background: #fff; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px 32px; }
.footer-brand img { width: 150px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; color: #4d687a; font-size: 14px; }
.footer-links a:hover, .back-top:hover { color: var(--gold-deep); }
.footer-note { margin: 0; color: #60717f; font-size: 13px; }
.back-top { justify-self: end; color: #4d687a; font-size: 13px; }
.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .main-nav { gap: 20px; font-size: 14px; }
  .hero-character { opacity: .58; width: 50vw; }
  .hero-character-left { left: -13%; }
  .hero-character-right { right: -14%; }
  .community-strip { align-items: flex-start; flex-direction: column; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-card strong { font-size: 27px; }
  .steps-grid { gap: 14px; }
  .step-card { padding: 24px; }
}
@media (max-width: 800px) {
  :root { --shell: calc(100% - 40px); }
  .site-header { top: 10px; width: calc(100% - 24px); padding: 6px 12px; }
  .brand img { width: 120px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(39,76,99,.14); }
  .nav-open .main-nav { display: grid; gap: 4px; }
  .main-nav a { min-height: 48px; justify-content: center; border-radius: 8px; font-size: 16px; }
  .main-nav a:hover { background: #f4f8fb; }
  .main-nav .nav-register { margin-top: 4px; }
  .hero { min-height: 760px; }
  .hero-inner { padding-block: 128px 92px; }
  .hero-logo { width: min(560px,100%); }
  .hero-character { width: 56vw; opacity: .36; }
  .hero-character-left { left: -17%; }
  .hero-character-right { right: -18%; }
  .section { padding-block: 60px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .section-heading p { max-width: 620px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { position: relative; padding: 26px; }
  .step-number { margin-bottom: 14px; }
  .step-card p { max-width: 560px; margin-bottom: 16px; }
}
@media (max-width: 480px) {
  :root { --shell: calc(100% - 32px); }
  html { scroll-padding-top: 96px; }
  .hero { min-height: 710px; }
  .hero-inner { padding-block: 128px 80px; }
  .beta-badge { gap: 8px; margin-bottom: 24px; padding: 6px 11px; font-size: 12px; }
  .beta-badge strong { padding-right: 8px; font-size: 12px; }
  .hero-logo { margin-bottom: 24px; }
  .hero-version { font-size: 22px; }
  .hero-description { font-size: 14px; }
  .hero-description span { margin-inline: 4px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 26px; }
  .btn { min-height: 52px; width: 100%; }
  .hero-news { font-size: 13px; }
  .hero-character { bottom: 30px; width: 72vw; opacity: .2; }
  .hero-character-left { left: -34%; }
  .hero-character-right { right: -38%; }
  .hero-bg img { object-position: 52% center; }
  .section { padding-block: 48px; }
  h2 { font-size: 30px; }
  .section-heading p { font-size: 16px; }
  .feature-grid { gap: 12px; }
  .feature-card { padding: 20px 16px; }
  .feature-icon { width: 38px; height: 38px; margin-bottom: 20px; border-radius: 10px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-card strong { font-size: 22px; }
  .feature-caption { font-size: 14px; }
  .community-strip { padding: 24px; }
  .community-actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { justify-content: flex-start; gap: 12px 20px; }
  .footer-note { font-size: 12px; }
  .back-top { justify-self: start; }
}
@media (max-width: 360px) {
  .beta-badge { flex-wrap: wrap; max-width: 260px; justify-content: center; }
  .beta-badge span:last-child { flex-basis: 100%; }
  .beta-badge strong { border: 0; padding: 0; }
  .feature-card strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}
