:root {
  --bg: #050b19;
  --bg-soft: #08152d;
  --surface: rgba(12, 29, 58, .75);
  --surface-strong: #0c1d3a;
  --line: rgba(153, 190, 255, .14);
  --text: #f5f8ff;
  --muted: #a9b8d4;
  --cyan: #24d8ff;
  --blue: #4b8dff;
  --purple: #af62ff;
  --gold: #ffc329;
  --pink: #ff4e9d;
  --green: #8ee900;
  --shadow: 0 30px 80px rgba(0, 0, 0, .35);
  --radius: 26px;
  --shell: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% -10%, rgba(31, 94, 216, .22), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: white; color: black; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(5, 11, 25, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 8px 28px rgba(36, 216, 255, .16); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { text-decoration: none; color: var(--muted); padding: 10px 13px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.055); }
.nav .nav-cta { color: #04101e; background: linear-gradient(135deg, var(--cyan), #7fdcff); }
.nav .nav-cta:hover { color: #04101e; background: linear-gradient(135deg, #5fe2ff, #a4e8ff); }
.menu-button { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); border-radius: 12px; padding: 10px 13px; font: inherit; }
.mobile-nav { border-top: 1px solid var(--line); padding: 10px 20px 16px; }
.mobile-nav a { display: block; padding: 11px 0; text-decoration: none; color: var(--muted); }

.hero { position: relative; overflow: hidden; padding: 84px 0 78px; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: #8edfff; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: 12px; margin: 0 0 16px; }
.hero h1 { font-size: clamp(50px, 6.5vw, 88px); line-height: .96; letter-spacing: -.055em; margin: 0; }
.hero h1 span { background: linear-gradient(90deg, #fff, var(--cyan) 35%, #ac78ff 68%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 620px; margin: 28px 0 0; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 20px; border-radius: 16px; text-decoration: none; font-weight: 850; border: 1px solid transparent; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #03111c; background: linear-gradient(135deg, #24d8ff, #76e8ff); box-shadow: 0 14px 40px rgba(36,216,255,.2); }
.button-primary small { display: block; font-size: 11px; opacity: .68; font-weight: 800; }
.button-ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.button-ghost:hover { background: rgba(255,255,255,.075); border-color: rgba(153,190,255,.3); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-row span { color: #c6d4ea; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 750; }

.hero-art { position: relative; }
.art-frame { position: relative; padding: 1px; border-radius: 28px; background: linear-gradient(135deg, rgba(36,216,255,.8), rgba(175,98,255,.2), rgba(255,195,41,.55)); box-shadow: var(--shadow); }
.art-frame:before { content: ""; position: absolute; inset: 15%; background: rgba(36,216,255,.18); filter: blur(50px); z-index: -1; }
.art-frame img { width: 100%; border-radius: 27px; aspect-ratio: 1024 / 500; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: baseline; gap: 8px; padding: 12px 15px; border-radius: 16px; background: rgba(7, 19, 42, .86); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.float-card strong { font-size: 24px; color: var(--gold); }
.float-card span { color: #d2ddf0; font-size: 12px; font-weight: 700; }
.float-card-one { left: -22px; bottom: 28px; }
.float-card-two { right: 24px; top: -22px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; opacity: .34; }
.hero-glow-a { width: 420px; height: 420px; background: radial-gradient(circle, rgba(44,139,255,.4), transparent 70%); right: -120px; top: 30px; }
.hero-glow-b { width: 330px; height: 330px; background: radial-gradient(circle, rgba(175,98,255,.32), transparent 70%); left: -150px; bottom: -50px; }

.section { padding: 96px 0; }
.section-dark { background: linear-gradient(180deg, rgba(12,29,58,.4), rgba(5,11,25,.2)); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .privacy-copy h2, .download-copy h2 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.045em; margin: 0; }
.section-heading > p:last-child, .privacy-copy > p { color: var(--muted); font-size: 18px; margin: 20px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 290px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(17,38,73,.75), rgba(7,18,39,.65)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #04101f; font-weight: 900; background: linear-gradient(135deg, var(--cyan), #78eaff); margin-bottom: 42px; }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--purple), #e285ff); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--gold), #ffe37b); }
.feature-card h3 { font-size: 21px; margin: 0 0 10px; }
.feature-card p { color: var(--muted); margin: 0; }

.chapter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.chapter-card { display: flex; gap: 22px; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.chapter-card > span { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(36,216,255,.08); border: 1px solid rgba(36,216,255,.24); color: #8fe8ff; font-weight: 900; }
.chapter-card h3 { margin: 0 0 6px; font-size: 20px; }
.chapter-card p { margin: 0; color: var(--muted); }

.privacy-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 58px; align-items: center; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.legal-links a { color: #8edfff; font-weight: 800; text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.privacy-card { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(15,36,72,.82), rgba(8,19,42,.85)); padding: 12px 26px; box-shadow: var(--shadow); }
.privacy-card ul { list-style: none; padding: 0; margin: 0; }
.privacy-card li { position: relative; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.065); }
.privacy-card li:last-child { border: 0; }
.privacy-card li > span { grid-row: 1 / span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(142,233,0,.1); color: #a7ef3c; border: 1px solid rgba(142,233,0,.2); font-weight: 900; }
.privacy-card strong { font-size: 15px; }
.privacy-card small { color: var(--muted); font-size: 13px; }

.download-section { padding: 0 0 98px; }
.download-panel { display: grid; grid-template-columns: 150px 1fr; gap: 34px; align-items: center; padding: 38px; border-radius: 34px; border: 1px solid rgba(255,255,255,.1); background:
  radial-gradient(circle at 15% 20%, rgba(36,216,255,.15), transparent 28rem),
  radial-gradient(circle at 86% 75%, rgba(175,98,255,.12), transparent 28rem),
  #0a1933;
  box-shadow: var(--shadow);
}
.download-icon { border-radius: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.38); }
.download-copy p { color: var(--muted); margin: 14px 0 0; }
.download-note { font-size: 13px; max-width: 780px; }
.download-note strong { color: #dbe6fa; }
.checksum-links { font-size: 12px; }
.checksum-links a { color: #8edfff; }

.site-footer { border-top: 1px solid var(--line); background: #040914; padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.footer-brand { margin-bottom: 9px; }
.footer-grid p { color: var(--muted); margin: 0; font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a, .legal-footer a { color: #c7d5ec; text-decoration: none; font-size: 13px; }
.footer-links a:hover, .legal-footer a:hover { color: white; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); }
.owner-placeholder { color: #7183a2; }

/* legal pages */
.legal-page { background: #061027; }
.legal-main { padding: 70px 0 90px; }
.legal-document { max-width: 860px; }
.legal-document h1 { font-size: clamp(46px, 7vw, 74px); line-height: 1; letter-spacing: -.05em; margin: 0 0 18px; }
.legal-meta { color: var(--muted); padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-document h2 { font-size: 23px; margin: 42px 0 10px; letter-spacing: -.02em; }
.legal-document p { color: #c3cfe3; }
.legal-summary, .legal-callout { margin: 30px 0; padding: 20px 22px; border-radius: 18px; background: rgba(36,216,255,.055); border: 1px solid rgba(36,216,255,.18); }
.legal-summary strong, .legal-callout strong { color: #8ce8ff; }
.legal-summary p, .legal-callout p { margin-bottom: 0; }
.legal-callout { background: rgba(255,195,41,.055); border-color: rgba(255,195,41,.18); }
.legal-callout strong { color: #ffd361; }
.legal-footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 58px; }
  .hero-grid, .privacy-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-icon { margin-bottom: 24px; }
  .download-panel { grid-template-columns: 110px 1fr; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1160px); }
  .nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero { padding: 38px 0 66px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(46px, 14vw, 68px); }
  .hero-lead { font-size: 17px; }
  .float-card { display: none; }
  .section { padding: 72px 0; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-card { padding: 20px; }
  .download-section { padding-bottom: 72px; }
  .download-panel { grid-template-columns: 1fr; padding: 26px; }
  .download-icon { width: 96px; height: 96px; border-radius: 22px; }
  .download-actions .button, .hero-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
  .legal-nav .nav-cta { display: inline-block; }
  .legal-main { padding-top: 50px; }
  .legal-footer { flex-direction: column; }
}
