:root {
  color-scheme: light;
  --navy: #121d32;
  --blue: #3264c0;
  --blue-strong: #2c60bf;
  --blue-bright: #4374c8;
  --ice: #c4e2f1;
  --bg: #f7fafc;
  --surface: #ffffff;
  --soft: #eff4f8;
  --border: #d6e0ea;
  --text-soft: #52627a;
  --success: #2f7a5d;
  --radius-card: 20px;
  --radius-hero: 24px;
  --radius-button: 14px;
  --shadow-soft: 0 20px 60px rgba(18, 29, 50, 0.08);
  --shell: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.narrow { max-width: 880px; }

.section { padding: 96px 0; }

h1, h2, .brand {
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.04;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

p { color: var(--text-soft); }

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-light { color: #cfe2ff; }

.section-lead {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(214, 224, 234, 0.75);
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a,
.login-link {
  color: #435168;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover,
.login-link:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 28px rgba(50, 100, 192, 0.22);
}

.button-primary:hover { background: var(--blue-strong); }

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.mobile-menu { display: none; }

.hero {
  overflow: hidden;
  padding-top: 72px;
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 56px;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.core-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 50%, rgba(196, 226, 241, 0.55), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eff4f8 100%);
  box-shadow: var(--shadow-soft);
}

.core-orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(50, 100, 192, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a { width: 310px; height: 310px; }
.orbit-b { width: 430px; height: 430px; }

.core-node {
  position: absolute;
  width: 160px;
  min-height: 92px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(214, 224, 234, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(18, 29, 50, 0.08);
}

.core-node span {
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.core-node strong { margin-top: 4px; }

.node-center {
  width: 190px;
  min-height: 130px;
  left: 50%;
  top: 50%;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.node-center span { color: var(--ice); }

.node-nutrition { top: 54px; left: 50%; transform: translateX(-50%); }
.node-training { left: 26px; bottom: 74px; }
.node-progress { right: 26px; bottom: 74px; }

.problem-section { background: var(--navy); color: white; }
.problem-section h2 { max-width: 800px; }
.problem-section p { color: #c7d1df; }

.change-grid {
  margin: 36px 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.12);
}

.change-grid span {
  padding: 24px;
  background: #17243b;
  color: #f7fafc;
  font-size: 1.1rem;
  font-weight: 650;
}

.section-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
}

.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 4px; }

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card,
.product-card,
.plan-card,
.modes-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(18, 29, 50, 0.04);
}

.feature-card {
  min-height: 250px;
  padding: 28px;
}

.feature-card-accent {
  border-color: rgba(50, 100, 192, 0.28);
  background: linear-gradient(160deg, #ffffff 20%, #edf5fb 100%);
}

.feature-index,
.product-tag {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confidence-section { background: var(--soft); }

.confidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 72px;
  align-items: center;
}

.confidence-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-hero);
  overflow: hidden;
  background: var(--surface);
}

.confidence-steps li {
  min-height: 104px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.confidence-steps li:last-child { border-bottom: 0; }

.confidence-steps > li > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.confidence-steps div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.confidence-steps small { color: var(--text-soft); }

.product-grid {
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  min-height: 260px;
  padding: 30px;
}

.product-card-wide {
  grid-column: 1 / -1;
  min-height: 210px;
  background: linear-gradient(135deg, #ffffff 35%, #eef5fb 100%);
}

.product-card .product-tag { margin-bottom: 52px; }

.section-action {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}
.product-proof-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: #69788e;
  font-size: 0.86rem;
}

.plans-section { background: var(--navy); color: white; }
.plans-section .section-heading p { color: #bdc8d8; }
.plans-section .eyebrow { color: var(--ice); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.plan-card {
  padding: 32px;
  border-color: rgba(255,255,255,0.12);
  background: #17243b;
  color: white;
  box-shadow: none;
}

.plan-card-pro {
  background: linear-gradient(150deg, #244d91 0%, #1d3b6b 100%);
}

.plan-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-heading span {
  color: var(--ice);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.plan-heading strong { font-size: 1.25rem; }

.plan-card ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.11);
  color: #d7dfeb;
}

.physiology-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: center;
}

.context-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.context-chips span {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: #42516a;
  font-weight: 650;
}

.modes-section { background: var(--soft); }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.modes-grid article { padding: 32px; }
.modes-grid article > span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e7f2f8;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.access-card {
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 44px;
  align-items: center;
  border-radius: 28px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-soft);
}

.access-card h2 { margin-bottom: 14px; }
.access-card p { margin-bottom: 0; color: #c7d1df; }

.access-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.button-light {
  background: white;
  color: var(--navy);
}

.button-disabled {
  cursor: default;
  opacity: 0.72;
}

.button-disabled:hover { transform: none; }

.text-link-light {
  color: white;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  padding: 36px 0 46px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.footer-inner p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.footer-meta {
  display: flex;
  gap: 18px;
  color: #728097;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .desktop-nav,
  .desktop-cta { display: none; }

  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; }

  .mobile-menu summary {
    cursor: pointer;
    color: var(--navy);
    font-weight: 700;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }

  .mobile-menu[open] nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 68px;
    padding: 18px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-soft);
  }

  .mobile-menu nav a {
    padding: 10px 8px;
    text-decoration: none;
    font-weight: 650;
  }

  .hero-grid,
  .confidence-grid,
  .physiology-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid { min-height: 0; }
  .core-visual { min-height: 500px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 68px; gap: 16px; }
  .login-link { display: none; }

  h1 {
    font-size: clamp(2.65rem, 11.5vw, 3.8rem);
    line-height: 1.01;
  }

  .hero { padding-top: 46px; }
  .hero-grid { gap: 38px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }

  .core-visual { min-height: 430px; border-radius: 26px; }
  .orbit-a { width: 250px; height: 250px; }
  .orbit-b { width: 340px; height: 340px; }
  .core-node { width: 132px; min-height: 82px; padding: 12px; font-size: 0.84rem; }
  .node-center { width: 158px; min-height: 112px; }
  .node-nutrition { top: 38px; }
  .node-training { left: 14px; bottom: 50px; }
  .node-progress { right: 14px; bottom: 50px; }

  .change-grid,
  .feature-grid,
  .product-grid,
  .plans-grid,
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .change-grid span { padding: 20px; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card-wide { grid-column: auto; }
  .confidence-grid,
  .physiology-grid { gap: 36px; }

  .access-card {
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta { flex-direction: column; gap: 4px; }
}

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


/* Product education layer */
.product-hero {
  padding-top: 76px;
  padding-bottom: 72px;
}

.product-hero-copy {
  max-width: 900px;
}

.product-hero h1 {
  max-width: 920px;
}

.product-anchor-nav {
  position: sticky;
  top: 78px;
  z-index: 35;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(247, 250, 252, 0.95);
  backdrop-filter: blur(16px);
}

.product-anchor-inner {
  min-height: 58px;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-anchor-inner::-webkit-scrollbar { display: none; }

.product-anchor-inner a {
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 999px;
  color: #435168;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.product-anchor-inner a:hover,
.product-anchor-inner a:focus-visible {
  background: #eaf1fa;
  color: var(--blue);
}

.product-detail {
  scroll-margin-top: 150px;
}

.product-detail:nth-of-type(even) {
  background: var(--soft);
}

.module-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 64px;
  align-items: start;
}

.module-copy h2 {
  max-width: 720px;
}

.module-copy .section-lead {
  margin-bottom: 24px;
}

.module-principle {
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.72);
  color: #435168;
  font-size: 0.95rem;
}

.use-profiles {
  display: grid;
  gap: 12px;
}

.use-profile {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.use-profile header {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.use-profile header span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.use-profile h3 {
  margin: 0;
  font-size: 1.1rem;
}

.use-profile p {
  margin-bottom: 0;
}

.module-layers {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.layer-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
}

.layer-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-card p { margin-bottom: 0; }

.decision-list {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}

.decision-list li {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: #435168;
  font-weight: 650;
}

.connection-flow {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  list-style: none;
  counter-reset: connected;
}

.connection-flow li {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: #17243b;
  color: #d7dfeb;
}

.connection-flow li::before {
  counter-increment: connected;
  content: "0" counter(connected);
  display: block;
  margin-bottom: 22px;
  color: var(--ice);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.connected-section {
  background: var(--navy);
  color: white;
}

.connected-section p { color: #c7d1df; }
.connected-section .eyebrow { color: var(--ice); }

.product-close-card {
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.product-close-card h2 { margin-bottom: 12px; }
.product-close-card p { margin-bottom: 0; }

@media (max-width: 960px) {
  .product-anchor-nav { top: 68px; }
  .module-intro { grid-template-columns: 1fr; gap: 36px; }
  .connection-flow { grid-template-columns: repeat(2, 1fr); }
  .product-close-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .product-hero {
    padding-top: 52px;
    padding-bottom: 54px;
  }

  .product-anchor-inner {
    width: calc(100% - 16px);
    margin-right: 0;
  }

  .module-layers,
  .decision-list,
  .connection-flow {
    grid-template-columns: 1fr;
  }

  .use-profile { padding: 22px 20px; }
  .product-close-card { padding: 28px 22px; }
}


/* WEB3 lead capture */
.lead-access-card {
  align-items: start;
}

.lead-intro {
  align-self: center;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-field {
  display: grid;
  gap: 8px;
}

.lead-field label {
  color: #edf3fb;
  font-size: 0.82rem;
  font-weight: 700;
}

.lead-field label span {
  margin-left: 5px;
  color: #9eacc1;
  font-weight: 500;
}

.lead-field input,
.lead-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(214, 224, 234, 0.34);
  border-radius: 14px;
  background: rgba(255,255,255,0.98);
  color: var(--navy);
  font: inherit;
}

.lead-field input:focus,
.lead-field select:focus {
  outline: 3px solid rgba(196, 226, 241, 0.48);
  outline-offset: 2px;
  border-color: var(--ice);
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  color: #c7d1df;
  font-size: 0.82rem;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-bright);
}

.turnstile-slot:empty {
  display: none;
}

.lead-form .button[disabled] {
  cursor: not-allowed;
  opacity: 0.66;
  transform: none;
}

.lead-status {
  margin: 0;
  color: #b8c5d7;
  font-size: 0.82rem;
}

.lead-status[data-state="success"] { color: #bfe6d3; }
.lead-status[data-state="error"] { color: #ffd0d0; }

.lead-login {
  margin: 2px 0 0;
  color: #aebbd0;
  font-size: 0.86rem;
  text-align: center;
}

.lead-login a { margin-left: 4px; }

@media (max-width: 720px) {
  .lead-access-card { gap: 34px; }
}
