:root {
  --cloud-dancer: #f0eee9;
  --cloud-light: #faf9f6;
  --cloud-deep: #dfdcd4;
  --ink: #0a1730;
  --ink-soft: #263751;
  --slate: #53627a;
  --line: #cbc8c0;
  --blue: #245fef;
  --blue-bright: #3976ff;
  --blue-pale: #dce6ff;
  --white: #fff;
  --success: #307e68;
  --shadow: 0 24px 70px rgb(10 23 48 / 10%);
  --radius: 6px;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cloud-dancer);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .23;
  background-image: linear-gradient(rgb(10 23 48 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(10 23 48 / 3%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 52%);
  z-index: -1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 7.2rem); font-weight: 640; }
h2 { font-size: clamp(2.2rem, 4vw, 4.5rem); font-weight: 620; }
h3 { font-size: 1.25rem; font-weight: 620; letter-spacing: -.02em; }
h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(240 238 233 / 88%); backdrop-filter: blur(16px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .85rem; letter-spacing: .14em; font-weight: 620; }
.brand strong { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 3vw, 2.4rem); }
.nav-links a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); text-decoration: none; font-size: .88rem; font-weight: 550; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: var(--blue); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; min-width: 68px; min-height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; cursor: pointer; }

.eyebrow { margin-bottom: 1.25rem; color: var(--blue); font-size: .72rem; line-height: 1.2; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #8fb0ff; }
.lede { max-width: 720px; margin-top: 2rem; color: var(--ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }
.hero { min-height: 730px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-block: 6.5rem; }
.hero-copy h1 { max-width: 760px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-size: .85rem; font-weight: 680; letter-spacing: .03em; }
.button.primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 30px rgb(36 95 239 / 22%); }
.button.primary:hover { background: #174ed2; }
.button.text { padding-inline: 0; border: 0; }
.button.text span { margin-left: .5rem; transition: transform .2s ease; }
.button.text:hover span { transform: translateX(4px); }
.button.dark { background: var(--ink); color: var(--white); }
.button.disabled { width: 100%; border-color: var(--line); background: var(--cloud-deep); color: var(--slate); cursor: not-allowed; }
.light-button.disabled { border-color: rgb(255 255 255 / 18%); background: rgb(255 255 255 / 10%); color: #cad2df; }

.signal-panel { overflow: hidden; border: 1px solid var(--line); background: var(--cloud-light); box-shadow: var(--shadow); }
.panel-top { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); color: var(--slate); font-size: .62rem; font-weight: 720; letter-spacing: .13em; }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .5rem; border-radius: 50%; background: var(--success); }
.signal-line { padding: 2rem 1.25rem 1rem; }
.signal-line svg { width: 100%; }
.signal-line path { fill: none; stroke: var(--blue); stroke-width: 3; }
.signal-line line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 4 6; }
.principles { margin: 0; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.principles div:last-child { border-bottom: 0; }
.principles dt { color: var(--blue); font: 650 .72rem/1.6 ui-monospace, monospace; }
.principles dd { margin: 0; font-size: .9rem; font-weight: 570; }

.dark-section { background: var(--ink); color: var(--cloud-light); }
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; padding-top: 7.5rem; }
.section-intro { max-width: 520px; margin: 0; color: #b6c0cf; font-size: 1.06rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 5rem 7.5rem; }
.feature { min-height: 270px; padding: 2rem; border: 1px solid rgb(255 255 255 / 14%); border-right: 0; }
.feature:last-child { border-right: 1px solid rgb(255 255 255 / 14%); }
.feature .index { color: #8fb0ff; font: 600 .72rem ui-monospace, monospace; }
.feature h3 { margin-top: 4rem; color: var(--white); }
.feature p { margin: 1rem 0 0; color: #aeb9c9; font-size: .93rem; }

.section { padding-block: 8rem; }
.section-heading { max-width: 720px; }
.section-heading > p:last-child { max-width: 610px; margin-top: 1.4rem; color: var(--slate); }
.mini-tiers { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 4rem 2.5rem; border: 1px solid var(--line); }
.mini-tiers article { min-height: 235px; padding: 2rem; border-right: 1px solid var(--line); }
.mini-tiers article:last-child { border-right: 0; }
.mini-tiers span { color: var(--blue); font-size: .68rem; font-weight: 750; letter-spacing: .15em; }
.mini-tiers h3 { margin: 3.2rem 0 1rem; }
.mini-tiers p { color: var(--slate); font-size: .92rem; }
.mini-tiers .inverse { background: var(--ink); color: var(--white); }
.mini-tiers .inverse span { color: #8fb0ff; }
.mini-tiers .inverse p { color: #aeb9c9; }
.closing { padding-block: 9rem; text-align: center; }
.closing .button { margin-top: 2.5rem; }

.page-hero { padding-block: 7.5rem 5.5rem; }
.page-hero h1 { max-width: 1020px; font-size: clamp(3rem, 6.2vw, 6.5rem); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; padding-bottom: 8rem; }
.price-card { display: flex; flex-direction: column; min-height: 610px; padding: 2.25rem; border: 1px solid var(--line); border-right: 0; background: rgb(250 249 246 / 62%); }
.price-card:last-child { border-right: 1px solid var(--line); }
.price-card.featured { transform: translateY(-1rem); border: 0; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.price-card .tier-number { margin-left: auto; color: var(--slate); font: 500 1rem ui-monospace, monospace; }
.price-card h2 { min-height: 96px; font-size: clamp(2rem, 3vw, 3rem); }
.price-card.featured h2 { color: var(--white); }
.tier-summary { min-height: 80px; margin-top: 1.2rem; color: var(--slate); }
.featured .tier-summary, .featured small { color: #b6c0cf; }
.check-list { flex: 1; margin: 1.5rem 0 2rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.check-list li { position: relative; margin-bottom: .9rem; padding-left: 1.6rem; font-size: .9rem; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--blue-bright); }
.price-card small, .platform-card small { display: block; margin-top: .7rem; text-align: center; color: var(--slate); font-size: .72rem; }
.price-card.featured .eyebrow { color: #8fb0ff; }
.price-card.featured .tier-number { color: #b6c0cf; }
.price-card.featured small { color: #b6c0cf; }
.note-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; margin-bottom: 8rem; padding: 3rem; border-left: 4px solid var(--blue); background: var(--cloud-light); box-shadow: var(--shadow); }
.note-panel h2 { font-size: 2.2rem; }
.note-panel > p { color: var(--ink-soft); }
.faq { padding-bottom: 8rem; }
.faq .section-heading { margin-bottom: 3rem; }
.faq details { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 44px; cursor: pointer; font-size: 1.1rem; font-weight: 650; }
.faq details p { max-width: 760px; margin: 1rem 0 0; color: var(--slate); }

.library-section { padding-block: 5rem 7rem; }
.indicator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / 14%); border: 1px solid rgb(255 255 255 / 14%); }
.indicator-card { min-width: 0; padding: 2rem; background: var(--ink); }
.card-code { color: #8fb0ff; font: 650 .72rem ui-monospace, monospace; letter-spacing: .12em; }
.mini-chart { height: 100px; margin: 1.75rem 0 2.5rem; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.mini-chart.bars { display: flex; align-items: end; gap: 10px; }
.mini-chart.bars i { flex: 1; background: #3976ff; opacity: .35; }
.mini-chart.bars i:nth-child(1) { height: 34%; }.mini-chart.bars i:nth-child(2) { height: 52%; }.mini-chart.bars i:nth-child(3) { height: 43%; }.mini-chart.bars i:nth-child(4) { height: 76%; opacity: .8; }.mini-chart.bars i:nth-child(5) { height: 65%; }.mini-chart.bars i:nth-child(6) { height: 92%; opacity: 1; }
.mini-chart.wave { display: flex; align-items: center; }
.mini-chart.wave path { fill: none; stroke: #6f98ff; stroke-width: 3; }
.mini-chart.zones { display: grid; align-content: center; gap: 10px; }
.mini-chart.zones i { height: 8px; background: rgb(57 118 255 / 32%); }.mini-chart.zones i:nth-child(2) { width: 70%; background: #3976ff; }.mini-chart.zones i:nth-child(3) { width: 42%; }
.indicator-card h2 { min-height: 110px; font-size: 2rem; }
.indicator-card > p:not(.eyebrow) { min-height: 110px; color: #b6c0cf; }
.indicator-card dl { margin: 1.5rem 0 2rem; border-top: 1px solid rgb(255 255 255 / 14%); }
.indicator-card dl div { padding: .85rem 0; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.indicator-card dt { color: #8b98aa; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }
.indicator-card dd { margin: .25rem 0 0; font-size: .85rem; }
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; padding-block: 8rem; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 55px 1fr; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list span { color: var(--blue); font: 650 .72rem ui-monospace, monospace; }
.process-list p { margin: .6rem 0 0; color: var(--slate); }

.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-bottom: 8rem; }
.platform-card { position: relative; padding: 3rem; border: 1px solid var(--line); background: var(--cloud-light); box-shadow: 0 15px 45px rgb(10 23 48 / 6%); }
.platform-card h2 { max-width: 460px; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.platform-card > p:not(.eyebrow) { max-width: 540px; margin-top: 1.5rem; color: var(--slate); }
.platform-icon { position: absolute; top: 2rem; right: 2rem; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: 1.3rem; }
.platform-card .check-list { min-height: 210px; }
.join-steps { padding-bottom: 7.5rem; }
.horizontal-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 5rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 18%); }
.horizontal-steps li { padding: 2rem 1.5rem; border-right: 1px solid rgb(255 255 255 / 18%); }
.horizontal-steps li:last-child { border-right: 0; }
.horizontal-steps span { color: #8fb0ff; font: 650 .72rem ui-monospace, monospace; }
.horizontal-steps h3 { margin-top: 2.5rem; }
.horizontal-steps p { margin-top: .7rem; color: #aeb9c9; font-size: .88rem; }
.safety-note { max-width: 900px; padding-block: 8rem; text-align: center; }
.safety-note h2 { font-size: clamp(2.2rem, 4.5vw, 4.8rem); }
.safety-note > p:not(.eyebrow) { max-width: 700px; margin: 2rem auto; color: var(--slate); }

.legal-hero { border-bottom: 1px solid var(--line); }
.updated { margin-top: 2rem; color: var(--slate); font: 600 .72rem ui-monospace, monospace; text-transform: uppercase; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 6rem; padding-block: 6rem 8rem; }
.legal-layout aside nav { position: sticky; top: 2rem; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.legal-layout aside a { min-height: 44px; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--slate); text-decoration: none; font-size: .82rem; }
.legal-layout aside a:hover { color: var(--blue); }
.legal-content { max-width: 800px; }
.legal-content section { scroll-margin-top: 2rem; padding-bottom: 4.5rem; }
.legal-content section + section { padding-top: 4.5rem; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 2rem; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.legal-content p { color: var(--ink-soft); }

.site-footer { background: #071126; color: #c4ccd8; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.footer-brand { color: var(--white); }
.footer-brand strong { color: #8fb0ff; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-top nav a { min-height: 44px; display: inline-flex; align-items: center; color: #aab5c5; text-decoration: none; font-size: .8rem; }
.footer-top nav a:hover { color: var(--white); }
.disclaimer { padding-block: 2rem; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.disclaimer strong { display: block; margin-bottom: .7rem; color: #8fb0ff; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.disclaimer p { margin: 0; color: #8f9bad; font-size: .7rem; line-height: 1.65; }
.copyright { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; color: #758297; font-size: .68rem; }

.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.error-page::before { opacity: .08; }
.error-content { padding-block: 5rem; }
.error-content h1 { max-width: 900px; }
.error-content > p:not(.eyebrow) { margin-top: 1.5rem; color: #b6c0cf; }
.error-content .button.text { color: var(--white); }

@media (max-width: 960px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 5rem; }
  .signal-panel { max-width: 680px; }
  .section-grid, .process { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .price-card, .price-card:last-child { min-height: auto; border: 1px solid var(--line); }
  .price-card.featured { transform: none; }
  .price-card h2, .tier-summary { min-height: auto; }
  .join-grid { grid-template-columns: 1fr; }
  .indicator-grid { grid-template-columns: 1fr; }
  .indicator-card h2, .indicator-card > p:not(.eyebrow) { min-height: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 3rem; }
  .legal-layout aside nav { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --shell: min(100% - 32px, 1180px); }
  body::before { background-size: 32px 32px; }
  .nav { min-height: 70px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 70px; padding: 1rem 16px 1.5rem; flex-direction: column; align-items: stretch; gap: .25rem; background: var(--cloud-light); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: .5rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .hero { gap: 3rem; padding-block: 4rem; }
  .page-hero { padding-block: 4.5rem 3.5rem; }
  .section-grid { padding-top: 5rem; }
  .feature-grid, .mini-tiers { grid-template-columns: 1fr; }
  .feature, .feature:last-child, .mini-tiers article { min-height: auto; border: 1px solid rgb(255 255 255 / 14%); border-bottom: 0; }
  .feature:last-child, .mini-tiers article:last-child { border-bottom: 1px solid rgb(255 255 255 / 14%); }
  .mini-tiers article { border-color: var(--line); }
  .mini-tiers article:last-child { border-color: var(--line); }
  .feature h3 { margin-top: 2rem; }
  .section, .closing, .process, .safety-note { padding-block: 5.5rem; }
  .pricing-grid, .join-grid { padding-bottom: 5.5rem; }
  .note-panel { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 5.5rem; padding: 2rem; }
  .platform-card { padding: 2rem; }
  .platform-icon { position: static; margin-left: auto; margin-bottom: 1.5rem; }
  .horizontal-steps { grid-template-columns: 1fr 1fr; }
  .horizontal-steps li:nth-child(2) { border-right: 0; }
  .horizontal-steps li:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / 18%); }
  .legal-layout { padding-block: 3.5rem 5.5rem; }
  .legal-layout aside nav { grid-template-columns: 1fr 1fr; }
  .footer-top, .copyright { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  h1 { font-size: 3rem; }
  .brand span { font-size: .72rem; }
  .panel-top { flex-direction: column; }
  .signal-line { padding-inline: .5rem; }
  .feature-grid { padding-block: 3rem 5rem; }
  .price-card, .indicator-card, .platform-card { padding: 1.5rem; }
  .horizontal-steps { grid-template-columns: 1fr; }
  .horizontal-steps li, .horizontal-steps li:nth-child(2) { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
  .legal-layout aside nav { grid-template-columns: 1fr; }
}

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