:root {
  --bg: #07111f;
  --bg-soft: #0d1a2e;
  --panel: #0f213b;
  --panel-alt: #122947;
  --surface: #f5f8fc;
  --surface-strong: #ffffff;
  --ink: #132033;
  --ink-soft: #536277;
  --line: rgba(15, 33, 59, 0.12);
  --line-dark: rgba(255, 255, 255, 0.1);
  --primary: #2070d0;
  --primary-deep: #124f9d;
  --primary-soft: #d9e9ff;
  --cyan: #8bc9ff;
  --success: #1f9b72;
  --warm: #f5c46b;
  --danger: #ef6a6a;
  --shadow: 0 22px 60px rgba(7, 17, 31, 0.18);
  --shadow-soft: 0 14px 32px rgba(7, 17, 31, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --header: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(32, 112, 208, 0.12), transparent 24rem),
    linear-gradient(180deg, #eef5ff 0%, #f7f9fc 36%, #ffffff 100%);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-link {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-dark {
  color: #edf4ff;
  background:
    radial-gradient(circle at top right, rgba(139, 201, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #07111f 0%, #0f1f37 58%, #143158 100%);
}

.section-surface {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(32, 112, 208, 0.12);
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  background: rgba(139, 201, 255, 0.12);
  color: #baddff;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-dark p,
.section-dark li {
  color: rgba(237, 244, 255, 0.78);
}

.lead {
  font-size: 1.14rem;
  max-width: 56rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 255, 0.84);
  border-bottom: 1px solid rgba(18, 41, 71, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.dark {
  background: rgba(8, 17, 31, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(7, 17, 31, 0.16);
}

.site-header.dark .brand {
  color: #edf4ff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.site-header.dark .nav-links a {
  color: rgba(237, 244, 255, 0.78);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(32, 112, 208, 0.11);
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.site-header.dark .nav-links a:hover,
.site-header.dark .nav-links a:focus-visible {
  background: rgba(139, 201, 255, 0.1);
  color: #cfe7ff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(18, 41, 71, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.site-header.dark .menu-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #edf4ff;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.35rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 16px 30px rgba(32, 112, 208, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 41, 71, 0.08);
}

.btn-secondary.dark {
  color: #edf4ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.hero {
  padding: 56px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy {
  padding: 2rem 0;
}

.hero-copy p {
  max-width: 43rem;
}

.hero-badges,
.metric-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.spacer-top-md {
  margin-top: 1.4rem;
}

.spacer-top-sm {
  margin-top: 1rem;
}

.spacer-top-xs {
  margin-top: 1.2rem;
}

.hero-badges {
  margin: 1.4rem 0 2rem;
}

.metric-chip,
.pill {
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 41, 71, 0.08);
  box-shadow: var(--shadow-soft);
}

.metric-chip strong,
.pill strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  padding: 1.3rem;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(11, 25, 43, 0.92), rgba(17, 45, 82, 0.84)),
    linear-gradient(135deg, rgba(139, 201, 255, 0.16), transparent 55%);
  box-shadow: 0 34px 80px rgba(7, 17, 31, 0.28);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.1) 0%, rgba(7, 17, 31, 0.66) 72%),
    radial-gradient(circle at 80% 12%, rgba(139, 201, 255, 0.28), transparent 22rem);
}

.overlay-stack {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.glass-card {
  border-radius: 24px;
  background: rgba(8, 17, 31, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #edf4ff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.glass-card.pad {
  padding: 1.2rem;
}

.signal-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.signal-board .summary strong {
  font-size: 2.5rem;
  display: block;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  height: 180px;
  padding-top: 1rem;
}

.chart-bars span {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--cyan), var(--primary));
  box-shadow: 0 14px 24px rgba(32, 112, 208, 0.2);
}

.h-45 {
  height: 45%;
}

.h-54 {
  height: 54%;
}

.h-60 {
  height: 60%;
}

.h-68 {
  height: 68%;
}

.h-72 {
  height: 72%;
}

.h-88 {
  height: 88%;
}

.note-card,
.ledger-card,
.pulse-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.note-card ul,
.legal-card ul,
.legal-card ol,
.clean-list,
.contact-list {
  margin: 0;
  padding-left: 1.2rem;
}

.step-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.step-card,
.feature-panel,
.quote-card,
.legal-card,
.info-card,
.contact-card,
.download-card,
.focus-card,
.principle-card,
.faq-card,
.form-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 41, 71, 0.08);
  box-shadow: var(--shadow-soft);
}

.feature-panel,
.quote-card,
.legal-card,
.info-card,
.contact-card,
.download-card,
.focus-card,
.principle-card,
.faq-card,
.form-card {
  padding: 1.5rem;
}

.step-card {
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(227, 238, 252, 0.92));
}

.step-index,
.card-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(32, 112, 208, 0.12);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.stagger-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.panel-stack {
  display: grid;
  gap: 1.1rem;
}

.market-layers {
  display: grid;
  gap: 1rem;
}

.market-layers .feature-panel:nth-child(2) {
  margin-left: 2rem;
}

.market-layers .feature-panel:nth-child(3) {
  margin-left: 4rem;
}

.feature-panel.dark {
  background: linear-gradient(180deg, #0d1c31, #122947);
  border-color: rgba(255, 255, 255, 0.08);
}

.panel-soft {
  background: rgba(255, 255, 255, 0.94);
}

.feature-panel.dark h3,
.feature-panel.dark p,
.feature-panel.dark li {
  color: #edf4ff;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.data-box {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(8, 17, 31, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.data-box strong {
  display: block;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.focus-board,
.quote-grid,
.card-grid,
.info-grid,
.requirements-grid {
  display: grid;
  gap: 1rem;
}

.focus-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid,
.requirements-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(234, 241, 252, 0.95));
}

.quote-card strong {
  display: block;
  color: var(--ink);
  margin-top: 1.1rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(139, 201, 255, 0.18), transparent 20rem),
    linear-gradient(135deg, #0b1a30 0%, #12305b 100%);
  color: #edf4ff;
  box-shadow: 0 26px 70px rgba(7, 17, 31, 0.26);
}

.cta-band p {
  color: rgba(237, 244, 255, 0.76);
}

.cta-side {
  display: grid;
  gap: 1rem;
}

.cta-mini {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding: 52px 0 46px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.8rem;
  align-items: stretch;
}

.page-hero-card {
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 241, 252, 0.94));
  border: 1px solid rgba(18, 41, 71, 0.08);
  box-shadow: var(--shadow);
}

.photo-frame {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #0c1830, #154178);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.12), rgba(7, 17, 31, 0.56));
}

.photo-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(8, 17, 31, 0.56);
  color: #edf4ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.split-section {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 1.5rem;
  align-items: start;
}

.clean-list li,
.contact-list li {
  margin-bottom: 0.65rem;
}

.legal-layout {
  display: grid;
  gap: 1rem;
}

.legal-card.highlight {
  background: linear-gradient(180deg, rgba(14, 31, 54, 0.97), rgba(18, 48, 91, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
}

.legal-card.highlight h1,
.legal-card.highlight h2,
.legal-card.highlight h3,
.legal-card.highlight p,
.legal-card.highlight li {
  color: #edf4ff;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
  align-items: start;
}

.section-anchor {
  scroll-margin-top: calc(var(--header) + 12px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.4rem;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 41, 71, 0.12);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(32, 112, 208, 0.6);
  box-shadow: 0 0 0 4px rgba(32, 112, 208, 0.12);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.form-note {
  min-height: 1.4rem;
  margin-top: 0.7rem;
  font-weight: 700;
}

.form-note.error {
  color: var(--danger);
}

.form-note.success {
  color: var(--success);
}

.download-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.store-grid {
  display: grid;
  gap: 0.9rem;
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 41, 71, 0.08);
  box-shadow: var(--shadow-soft);
}

.store-badge strong {
  color: var(--ink);
  display: block;
}

.store-badge span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.store-badge.disabled {
  opacity: 0.9;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--ink);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin-top: 0.9rem;
}

.site-footer {
  padding: 56px 0 34px;
  border-top: 1px solid rgba(18, 41, 71, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  display: grid;
  gap: 1.4rem;
  text-align: center;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.h5-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.h5-card {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 41, 71, 0.08);
  box-shadow: var(--shadow-soft);
}

.h5-top {
  padding: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.h5-top img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.h5-pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(32, 112, 208, 0.12);
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.h5-title {
  margin: 0.5rem 0 0;
  font-size: 2rem;
}

.h5-subtitle {
  font-size: 1.6rem;
}

.mb-0 {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid,
  .split-section,
  .stagger-grid,
  .cta-band,
  .contact-layout,
  .legal-grid,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .quote-grid,
  .card-grid,
  .focus-board,
  .info-grid,
  .requirements-grid,
  .step-line,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .market-layers .feature-panel:nth-child(2),
  .market-layers .feature-panel:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --header: 76px;
  }

  .section,
  .section-tight {
    padding: 56px 0;
  }

  .hero {
    padding: 34px 0 56px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-wrap {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 41, 71, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-header.dark .nav-wrap {
    background: rgba(8, 17, 31, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .nav-wrap.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-wrap .btn {
    width: 100%;
  }

  .overlay-stack,
  .signal-board,
  .quote-grid,
  .card-grid,
  .focus-board,
  .info-grid,
  .requirements-grid,
  .step-line,
  .form-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .photo-frame {
    min-height: 420px;
  }

  .metric-chip,
  .pill {
    width: 100%;
  }

  .cta-band,
  .page-hero-card,
  .feature-panel,
  .quote-card,
  .legal-card,
  .info-card,
  .contact-card,
  .download-card,
  .focus-card,
  .principle-card,
  .faq-card,
  .form-card,
  .step-card {
    padding: 1.25rem;
  }
}
