:root {
  color-scheme: dark;
  --bg: #09131f;
  --surface: #111f30;
  --surface-strong: #17283b;
  --line: #2b4055;
  --text: #e7edf3;
  --muted: #aab9c7;
  --gold: #f0d381;
  --teal: #9ed7cb;
  --shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 75% 0, #183149 0, var(--bg) 38rem); background-size: 150% 150%; background-position: 70% 0; color: var(--text); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; animation: sky-shift 18s ease-in-out infinite alternate; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: #c6eee5; }
code { padding: .12em .35em; border-radius: 4px; background: #1c3045; color: var(--gold); }
.shell { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(158, 215, 203, .18); background: rgba(9, 19, 31, .86); backdrop-filter: blur(12px); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { color: var(--gold); font: 700 1.25rem Georgia, serif; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { color: var(--gold); }

.hero { padding-block: clamp(72px, 11vw, 132px); animation: page-rise .8s ease both; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--gold); font-family: Georgia, serif; line-height: 1.15; }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.7rem, 7vw, 5.5rem); letter-spacing: -.035em; text-shadow: 0 0 28px rgba(240, 211, 129, .12); animation: title-glow 7s ease-in-out infinite; }
h2 { margin: 0 0 20px; font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { margin: 0 0 10px; font-size: 1.25rem; }
.lede { max-width: 720px; margin: 26px 0 0; color: #c6d2dd; font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid #496378; border-radius: 7px; color: var(--text); font-weight: 750; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.store-icon { width: 22px; height: 22px; margin-right: 10px; flex: 0 0 auto; }
.button:hover { transform: translateY(-3px); border-color: var(--teal); color: white; box-shadow: 0 10px 24px rgba(0, 0, 0, .24); }
.button.primary { border-color: #c7a95e; background: linear-gradient(#f0d381, #c89f4c); color: #172130; box-shadow: 0 8px 22px rgba(198, 164, 94, .16); }

.section { padding-block: clamp(52px, 8vw, 92px); border-top: 1px solid rgba(158, 215, 203, .16); animation: page-rise .8s ease both; }
.section:nth-of-type(2) { animation-delay: .08s; }
.section:nth-of-type(3) { animation-delay: .16s; }
.section:nth-of-type(4) { animation-delay: .24s; }
.section:nth-of-type(5) { animation-delay: .32s; }
.steps p, .callout p { margin: 0; color: var(--muted); }
.feature-tour-heading { max-width: 740px; }
.feature-tour-heading > p:last-child { margin: -6px 0 0; color: var(--muted); font-size: 1.05rem; }
.feature-carousel { margin-top: 34px; }
.feature-track { overflow: hidden; border: 1px solid #526b7e; border-radius: 14px; background: #0b1523; box-shadow: var(--shadow); }
.feature-slide { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); min-height: 480px; animation: slide-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.feature-slide[hidden] { display: none; }
.feature-slide-copy { align-self: center; padding: clamp(28px, 5vw, 54px); }
.slide-number { display: block; margin-bottom: 16px; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.feature-slide h3 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.feature-slide-copy p { margin: 0; color: #c6d2dd; font-size: 1.05rem; }
.feature-slide-copy ul { margin: 22px 0 0; padding-left: 1.2rem; color: var(--muted); }
.feature-slide-copy li + li { margin-top: 8px; }
.feature-visual { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 10px; border-left: 1px solid var(--line); background: #08111c; }
.feature-visual img { display: block; width: 100%; aspect-ratio: 8 / 5; border-radius: 8px; object-fit: cover; object-position: top; }
.feature-visual figcaption { padding: 12px 6px 2px; color: var(--muted); font-size: .88rem; }
.slide-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; }
.slide-button, .slide-toggle, .slide-dot { border: 1px solid #496378; background: #17283b; color: var(--text); cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.slide-button { width: 42px; height: 38px; border-radius: 7px; font-size: 1.1rem; }
.slide-toggle { min-width: 76px; height: 38px; padding-inline: 14px; border-radius: 7px; font-weight: 750; }
.slide-button:hover, .slide-toggle:hover { transform: translateY(-2px); }
.slide-button:hover, .slide-toggle:hover, .slide-dot:hover { border-color: var(--teal); color: white; }
.slide-position { display: grid; flex: 1; justify-items: center; gap: 7px; }
.slide-dots { display: flex; gap: 8px; }
.slide-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; }
.slide-dot[aria-current="true"] { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 4px rgba(240, 211, 129, .12); }
.slide-status { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.slide-button:focus-visible, .slide-toggle:focus-visible, .slide-dot:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 8vw, 100px); }
.steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.steps li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #6c8ca1; border-radius: 50%; color: var(--gold); font-weight: 800; }
.steps strong { display: block; margin-bottom: 3px; color: var(--text); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding: clamp(28px, 5vw, 52px); border: 1px solid #526b7e; border-radius: 14px; background: linear-gradient(120deg, #17283b, #20384b, #17283b); background-size: 200% 200%; box-shadow: var(--shadow); animation: surface-shift 12s ease-in-out infinite alternate; }
.callout > div { max-width: 700px; }

.prose { max-width: 800px; padding-block: clamp(58px, 9vw, 100px); }
.prose h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.prose h2 { margin-top: 48px; font-size: 1.65rem; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: #c6d2dd; }
.prose li + li { margin-top: 8px; }
.effective { color: var(--muted); }
.notice { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--surface); color: #dce5ec; }

.site-footer { margin-top: 42px; border-top: 1px solid rgba(158, 215, 203, .16); color: var(--muted); }
.site-footer a { color: var(--muted); }

@keyframes sky-shift { from { background-position: 70% 0; } to { background-position: 100% 24%; } }
@keyframes page-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(18px) scale(.99); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes title-glow { 0%, 100% { text-shadow: 0 0 28px rgba(240, 211, 129, .12); } 50% { text-shadow: 0 0 42px rgba(240, 211, 129, .27); } }
@keyframes surface-shift { from { background-position: 0 50%; } to { background-position: 100% 50%; } }

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

@media (max-width: 760px) {
  .header-inner, .footer-inner, .callout { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
  .feature-slide, .split { grid-template-columns: 1fr; }
  .feature-slide { min-height: 0; }
  .feature-visual { border-top: 1px solid var(--line); border-left: 0; }
  .slide-controls { gap: 10px; }
  .slide-dots { gap: 6px; }
  .slide-toggle { min-width: 66px; padding-inline: 10px; }
}
