:root {
  color-scheme: dark;
  --ink: #f7f8ff;
  --muted: #aab6d1;
  --muted-strong: #d5dcf0;
  --night: #050814;
  --night-soft: #0b1224;
  --panel: #101a33;
  --line: rgba(154, 180, 255, .2);
  --blue: #99dcff;
  --violet: #b9a0ff;
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", sans-serif; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.8) .7px, transparent .7px); background-size: 89px 89px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
a { color: inherit; }
code { padding: 2px 5px; border-radius: 5px; background: rgba(89,105,215,.1); color: #4f5fd2; font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; }
.container { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; top: 10px; left: 14px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: var(--night); transform: translateY(-140%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid rgba(177, 202, 255, .13); background: rgba(5, 8, 20, .76); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; font-weight: 680; letter-spacing: -.02em; }
.brand-mark { display: inline-flex; width: 36px; height: 36px; }
.brand-mark svg { width: 100%; height: 100%; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a, .footer-nav a { color: var(--muted-strong); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .footer-nav a:hover, .footer-nav a:focus-visible { color: var(--ink); }
.nav-action { padding: 9px 15px; border: 1px solid rgba(153,220,255,.45); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 13px; transition: background .2s ease, border-color .2s ease; }
.nav-action:hover, .nav-action:focus-visible { border-color: var(--blue); background: rgba(153,220,255,.12); }
.hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-image, .hero-vignette { position: absolute; inset: 0; pointer-events: none; }
.hero-image { z-index: -3; background: url("/assets/cosmic-sky.jpg") 54% 35% / cover no-repeat; opacity: .58; }
.hero-vignette { z-index: -2; background: linear-gradient(90deg, #050814 0%, rgba(5,8,20,.9) 30%, rgba(5,8,20,.26) 69%, rgba(5,8,20,.72) 100%), linear-gradient(0deg, #050814 0%, transparent 30%, rgba(5,8,20,.2) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(500px, 1.16fr); align-items: center; gap: 54px; padding: 94px 0 110px; }
.hero-copy { max-width: 560px; }
.eyebrow, .section-kicker { margin: 0 0 17px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin-bottom: 26px; font-size: clamp(50px, 5.6vw, 76px); line-height: .98; letter-spacing: -.065em; }
.hero-lead { max-width: 530px; margin-bottom: 34px; color: var(--muted-strong); font-size: clamp(18px, 2vw, 23px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-bottom: 22px; }
.button { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 12px 19px; border-radius: 11px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #6677e9, #8e6bda); color: white; box-shadow: 0 14px 34px rgba(86, 91, 205, .25); }
.button-primary:hover, .button-primary:focus-visible { background: linear-gradient(135deg, #7384f4, #9d78e9); }
.button-secondary { border: 1px solid rgba(174, 191, 255, .4); color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--blue); background: rgba(153,220,255,.1); }
.text-link { color: var(--blue); text-underline-offset: 5px; font-size: 14px; }
.text-link:hover, .text-link:focus-visible { color: white; }
.platform-note { color: #8e9ab8; font-size: 13px; }
.hero-visual { position: relative; margin: 0; border: 1px solid rgba(190, 209, 255, .25); border-radius: 25px; overflow: hidden; background: rgba(4, 9, 23, .42); box-shadow: 0 32px 90px rgba(0,0,0,.35); transform: rotate(1.2deg); }
.hero-visual::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.1); border-radius: inherit; pointer-events: none; }
.hero-visual img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.hero-visual figcaption { position: absolute; left: 20px; bottom: 17px; color: #e1e8ff; font-size: 13px; text-shadow: 0 2px 16px #000; }
.section { position: relative; padding: 128px 0; overflow: hidden; }
.section-light { background: #f6f8ff; color: #11172a; }
.section-light .section-kicker { color: #5969d7; }
.feature-intro { max-width: 700px; margin-bottom: 64px; }
.feature-intro h2, .support-section h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; letter-spacing: -.055em; }
.feature-intro > p:last-child { max-width: 520px; color: #58627c; font-size: 19px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .8fr); align-items: center; gap: 90px; }
.feature-media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #0d1730; box-shadow: 0 22px 48px rgba(18,29,68,.17); }
.feature-media img { display: block; width: 100%; aspect-ratio: 1.08; object-fit: cover; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 9, 24, .76), transparent 48%); pointer-events: none; }
.media-caption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; color: white; }
.media-caption span:first-child { font-size: 21px; font-weight: 700; }
.media-caption span:last-child { color: #bcd2ff; font-size: 12px; }
.feature-copy { max-width: 440px; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 24px; border: 1px solid #9788ea; border-radius: 50%; color: #7466db; font-size: 24px; }
.feature-copy h3 { margin-bottom: 20px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.feature-copy > p { color: #58627c; font-size: 17px; }
.feature-list { display: grid; gap: 14px; padding: 25px 0 0; margin: 28px 0 0; border-top: 1px solid #d8ddef; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: #2f3750; font-size: 14px; }
.feature-list span { color: #7680a6; font-variant-numeric: tabular-nums; }
.ar-section { background: #071229; }
.ar-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,14,36,.98) 0%, rgba(5,14,36,.72) 47%, rgba(5,14,36,.45) 100%), url("/assets/meteor-shower.jpg") 65% center / cover no-repeat; opacity: .94; }
.ar-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr); align-items: center; gap: 90px; min-height: 470px; }
.ar-copy { max-width: 480px; }
.ar-mark { display: grid; width: 53px; height: 53px; place-items: center; margin-bottom: 23px; border: 1px solid #6c95f4; border-radius: 50%; color: #a9caff; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.ar-copy .section-kicker { color: #9fbaff; }
.ar-copy h2 { margin-bottom: 21px; font-size: clamp(42px, 5vw, 70px); line-height: 1.03; letter-spacing: -.06em; }
.ar-copy h2 em { color: var(--blue); font-style: normal; }
.ar-copy p:not(.section-kicker) { max-width: 420px; color: #bdc8e1; font-size: 17px; }
.text-link-light { color: #a8dfff; }
.constellation-panel { min-height: 320px; border-bottom: 1px solid rgba(165,193,255,.35); }
.constellation-panel svg { display: block; width: 100%; height: auto; }
.section-dark { background: #071024; }
.pro-section { padding: 84px 0; border-top: 1px solid rgba(171,193,255,.13); border-bottom: 1px solid rgba(171,193,255,.13); }
.pro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr); align-items: center; gap: 80px; }
.pro-section .section-kicker { color: #b8a7ff; }
.pro-section h2 { margin-bottom: 17px; font-size: clamp(34px, 4vw, 53px); letter-spacing: -.055em; }
.pro-section h2 span { color: #b9a0ff; }
.pro-lead { max-width: 510px; color: #b7c2db; font-size: 17px; }
.pro-detail { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 28px; padding: 21px 0 21px 27px; border: 1px solid rgba(174,190,255,.27); border-radius: 17px; }
.price { display: flex; flex-direction: column; color: #a99aff; font-size: 20px; font-weight: 700; line-height: 1; }
.price strong { font-size: 54px; letter-spacing: -.06em; }
.price small { margin-top: 10px; color: #aab6d1; font-size: 11px; font-weight: 500; line-height: 1.4; }
.pro-detail ul { display: grid; gap: 7px; padding: 0 0 0 23px; margin: 0; border-left: 1px solid rgba(174,190,255,.2); color: #d3daf0; font-size: 13px; list-style: none; }
.pro-detail li::before { content: "✓"; margin-right: 8px; color: #9edcff; }
.pro-detail .button { margin-right: 21px; white-space: nowrap; }
.site-footer { background: #050814; color: #e5eaff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 132px; }
.footer-brand { font-size: 16px; }
.footer-brand small { display: block; margin-top: 4px; color: #7f8ba9; font-size: 11px; font-weight: 400; }
.footer-nav { display: flex; gap: 28px; }

/* Shared legal/support page surface. */
.legal-main { min-height: calc(100vh - 132px); padding: 92px 0 120px; background: #f6f8ff; color: #11172a; }
.legal-main .back { display: inline-flex; margin-bottom: 36px; color: #5969d7; text-decoration: none; font-size: 14px; }
.legal-main h1 { max-width: 800px; margin-bottom: 25px; font-size: clamp(48px, 7vw, 82px); }
.legal-main h2 { max-width: 760px; margin: 54px 0 9px; font-size: 25px; letter-spacing: -.03em; }
.legal-main p { max-width: 760px; color: #58627c; font-size: 17px; }
.legal-main .lead { max-width: 760px; color: #2f3750; font-size: 21px; }
.legal-main a:not(.back) { color: #5969d7; }
.callout { max-width: 760px; margin-top: 46px; padding: 20px 22px; border: 1px solid #d9ddef; border-radius: 16px; background: #fff; color: #58627c; }
.legal-footer { background: #f6f8ff; color: #78839e; }

@media (max-width: 880px) {
  .container { width: min(var(--max), calc(100% - 40px)); }
  .main-nav { gap: 18px; }
  .hero-grid, .feature-row, .ar-grid, .pro-grid, .support-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-grid { padding: 82px 0 92px; }
  .hero-visual { max-width: 720px; transform: none; }
  .feature-row { gap: 48px; }
  .feature-copy { max-width: 620px; }
  .ar-grid { min-height: 0; padding-top: 25px; padding-bottom: 25px; }
  .constellation-panel { max-width: 680px; }
  .pro-detail { grid-template-columns: 140px 1fr; }
  .pro-detail .button { grid-column: 1 / -1; justify-self: start; margin: 0 0 0 0; }
}

@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav-wrap { min-height: 67px; gap: 14px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .main-nav { display: none; }
  .nav-action { margin-left: auto; padding: 8px 11px; font-size: 12px; }
  .hero { min-height: 700px; }
  .hero-image { background-position: 63% center; opacity: .49; }
  .hero-vignette { background: linear-gradient(90deg, rgba(5,8,20,.96), rgba(5,8,20,.54)), linear-gradient(0deg, #050814 0%, transparent 55%); }
  .hero-grid { gap: 48px; padding: 70px 0 82px; }
  h1 { max-width: 100%; font-size: clamp(40px, 12vw, 48px); }
  .hero-lead { font-size: 18px; }
  .hero-actions { gap: 18px; }
  .button { min-height: 46px; padding: 11px 15px; }
  .hero-visual { width: calc(100% + 6px); margin-left: -3px; }
  .hero-visual figcaption { font-size: 12px; }
  .section { padding: 87px 0; }
  .feature-intro { margin-bottom: 41px; }
  .feature-intro > p:last-child { font-size: 16px; }
  .feature-media img { aspect-ratio: 1.1; }
  .media-caption { left: 17px; right: 17px; bottom: 15px; }
  .media-caption span:first-child { font-size: 17px; }
  .media-caption span:last-child { font-size: 10px; }
  .ar-copy h2 { font-size: 47px; }
  .constellation-panel { min-height: 195px; }
  .pro-section { padding: 72px 0; }
  .pro-grid { gap: 34px; }
  .pro-detail { grid-template-columns: 1fr; gap: 21px; padding: 23px; }
  .pro-detail ul { border-left: 0; border-top: 1px solid rgba(174,190,255,.2); padding: 18px 0 0; }
  .pro-detail .button { grid-column: auto; justify-self: stretch; justify-content: center; }
  .footer-grid { align-items: flex-start; flex-direction: column; padding: 30px 0; }
  .footer-nav { flex-wrap: wrap; gap: 16px 24px; }
  .legal-main { padding: 65px 0 88px; }
  .legal-main h1 { font-size: 53px; }
  .legal-main h2 { margin-top: 41px; font-size: 22px; }
  .legal-main p { font-size: 16px; }
}

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

:focus-visible { outline: 3px solid #8edbff; outline-offset: 4px; }
