:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5f6b73;
  --line: #d9e2e1;
  --panel: #ffffff;
  --paper: #f4f7f5;
  --soft: #e7f0ed;
  --accent: #0e7c66;
  --accent-2: #c88a2d;
  --danger: #b84a52;
  --deep: #132926;
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(244, 247, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-size: 13px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.active {
  color: var(--ink);
}

.mobile-nav {
  display: none;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: flex;
  min-height: min(700px, calc(100vh - 75px));
  flex-direction: column;
  justify-content: center;
  padding-top: 92px;
  padding-bottom: 56px;
}

.hero-copy {
  max-width: 910px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  color: #51605f;
  font-weight: 650;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 690px;
  margin: 30px 0 0;
  color: #344148;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  color: #4c5a5f;
  font-weight: 750;
}

.text-link:hover {
  color: var(--ink);
}

.dashboard-main,
.info-card,
.boundary-card,
.dashboard-list article,
.disclaimer {
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.06);
}

.hero-principle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin-top: auto;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  color: #687474;
  font-size: 14px;
  font-weight: 700;
}

.hero-principle span,
.hero-principle strong {
  position: relative;
  padding-right: 28px;
}

.hero-principle span::after {
  position: absolute;
  right: 18px;
  color: #a6b0ae;
  content: "\2192";
}

.hero-principle strong {
  color: var(--accent);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  border: 1px solid rgba(14, 124, 102, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--accent);
  background: rgba(14, 124, 102, 0.08);
}

.phase-card {
  padding: 24px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(92, 225, 185, 0.18), transparent 36%),
    var(--deep);
}

.phase-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 2rem;
  line-height: 1;
}

.phase-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-grid,
.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric-grid div,
.record-grid div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 8px;
  background: var(--paper);
}

.metric-grid strong,
.record-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.38rem;
  line-height: 1.1;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: #344148;
  font-size: 1.12rem;
}

.copy-stack p,
.section-heading p,
.boundary-note,
.disclaimer p {
  margin: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.06rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.info-card {
  min-height: 250px;
  padding: 24px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.info-card p,
.dashboard-list p,
.boundary-card li {
  color: var(--muted);
}

.action-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 5vw, 64px);
  padding-left: clamp(20px, 5vw, 64px);
  background: var(--ink);
}

.action-section h2,
.action-section .eyebrow {
  color: #ffffff;
}

.action-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.action-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.action {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.action span {
  display: block;
  margin-bottom: 44px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 850;
}

.action small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.action.buy {
  border-color: rgba(92, 225, 185, 0.5);
}

.action.exit,
.action.avoid {
  border-color: rgba(184, 74, 82, 0.45);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.dashboard-main {
  padding: 22px;
}

.track-record-intro {
  min-height: 248px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 8px;
  color: #ffffff;
  background: var(--deep);
}

.track-record-intro p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.04rem;
}

.track-record-intro .track-record-kicker {
  max-width: 720px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
}

.verification-note {
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-list {
  display: grid;
  gap: 12px;
}

.dashboard-list article {
  padding: 20px;
  box-shadow: none;
}

.dashboard-list p {
  margin: 0;
}

.boundary-section {
  border-top: 1px solid var(--line);
}

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

.boundary-card {
  padding: 26px;
  box-shadow: none;
}

.boundary-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.boundary-card.public {
  border-color: rgba(14, 124, 102, 0.26);
}

.boundary-card.private {
  border-color: rgba(200, 138, 45, 0.32);
}

.boundary-note {
  margin-top: 22px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  color: #334148;
  background: rgba(255, 255, 255, 0.72);
}

.disclaimer {
  margin-bottom: 68px;
  padding: clamp(24px, 5vw, 42px);
  background: #ffffff;
}

.disclaimer h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.disclaimer p {
  color: #3d4a51;
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 850;
}

.site-footer div {
  display: flex;
  gap: 20px;
}

.compact-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.compact-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.compact-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.concise-copy {
  gap: 10px;
}

.signal-grid,
.dashboard-summary,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.signal-grid article {
  padding: 22px 0 4px;
  border-top: 2px solid var(--ink);
}

.signal-grid article > span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 850;
}

.signal-grid p,
.boundary-card p {
  margin: 0;
  color: var(--muted);
}

.light-heading h2,
.light-heading .eyebrow {
  color: #ffffff;
}

.concise-actions .action {
  min-height: 88px;
  display: flex;
  align-items: center;
}

.concise-actions .action span {
  margin: 0;
}

.dashboard-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-summary article {
  min-height: 126px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.dashboard-summary strong {
  display: block;
  margin-top: 18px;
  font-size: 1.12rem;
}

.page-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.page-links a {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--deep);
}

.page-links span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.concise-boundary .boundary-card {
  min-height: 150px;
}

.legal-note {
  border-top: 1px solid var(--line);
}

.legal-note p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
}

.page-hero {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1050px;
}

.page-hero > p:last-child {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.verification-banner {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--deep);
}

.verification-banner span {
  color: #79d4ba;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.verification-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.backtest-summary article {
  min-height: 144px;
}

.baseline-note {
  display: grid;
  grid-template-columns: 0.45fr 1fr 1.25fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.baseline-note span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.baseline-note p {
  margin: 0;
  color: var(--muted);
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.year-grid article {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.year-grid article > span {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 850;
}

.year-grid small {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.year-grid strong {
  margin-top: 8px;
  color: var(--accent);
  font-size: 1.2rem;
}

.metric-table {
  border-top: 1px solid var(--ink);
}

.metric-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.metric-table span {
  color: var(--muted);
}

.methodology-band {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 5vw, 64px);
  padding-left: clamp(20px, 5vw, 64px);
  background: var(--ink);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-steps div {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
}

.method-steps span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.price-card.featured {
  color: #ffffff;
  background: var(--deep);
}

.plan-name {
  margin: 0 0 44px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.featured .plan-name {
  color: #79d4ba;
}

.price-card h2 {
  min-height: 68px;
  font-size: 1.8rem;
  line-height: 1.12;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 30px 0;
  padding-left: 20px;
  color: var(--muted);
}

.featured ul {
  color: rgba(255, 255, 255, 0.7);
}

.plan-status {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.featured .plan-status {
  border-color: rgba(255, 255, 255, 0.16);
}

.subscription-boundary {
  border-top: 1px solid var(--line);
}

.subscription-boundary h2 {
  max-width: 920px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.subscription-boundary > p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .split,
  .dashboard-layout,
  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .dashboard-summary,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verification-banner {
    grid-template-columns: 1fr;
  }

  .baseline-note {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0;
    list-style: none;
    background: #ffffff;
  }

  .mobile-nav summary::before {
    content: "\2630";
    font-size: 20px;
  }

  .mobile-nav > div {
    position: absolute;
    top: 50px;
    right: 0;
    display: grid;
    width: 210px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .mobile-nav a {
    padding: 11px 12px;
    font-weight: 750;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 62px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 40px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 1.08;
  }

  .dashboard-main,
  .info-card,
  .boundary-card,
  .disclaimer {
    padding: 18px;
  }

  .metric-grid,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .track-record-intro {
    min-height: 0;
    padding: 28px 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-principle {
    grid-template-columns: 1fr 1fr;
    gap: 16px 22px;
    margin-top: 72px;
    padding-top: 26px;
  }

  .hero-principle span::after {
    display: none;
  }

  .signal-grid,
  .dashboard-summary,
  .page-links,
  .pricing-grid,
  .method-steps,
  .metric-table > div {
    grid-template-columns: 1fr;
  }

  .year-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid {
    gap: 28px;
  }

  .page-hero {
    min-height: 400px;
  }

  .price-card {
    min-height: 360px;
  }
}

.account-actions { display: flex; align-items: center; gap: 8px; }
.button.quiet, .button.secondary { color: var(--ink); background: transparent; cursor: pointer; font: inherit; }
.button.compact { min-height: 40px; padding: 8px 14px; }
.mobile-nav button { width: 100%; padding: 11px 12px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-weight: 750; cursor: pointer; }
.auth-dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--panel); box-shadow: var(--shadow); }
.auth-dialog::backdrop { background: rgba(8, 18, 22, .58); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.dialog-head h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.dialog-head p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 24px; cursor: pointer; }
.auth-form { display: grid; gap: 16px; }
.auth-form label { display: grid; gap: 6px; font-weight: 700; }
.auth-form input:not([type=checkbox]) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bac8c5; border-radius: 7px; color: var(--ink); background: #fff; font: inherit; }
.auth-form .check-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.auth-form .check-row input { margin-top: 5px; }
.form-status { min-height: 1.5em; margin: 0; color: var(--muted); }
.account-section [data-account-status] { max-width: 720px; color: var(--muted); }
.account-section .hero-actions { margin-top: 14px; }
.registration-confirmation p, .account-section [data-notice] { padding: 18px 20px; border: 1px solid #a9d3bf; border-radius: 8px; color: #145a42; background: #eaf6ef; font-weight: 650; }
.registration-confirmation p:empty, .account-section [data-notice]:empty { display: none; }
@media (max-width: 620px) { .account-actions { display: none; } .site-header { gap: 10px; } .auth-dialog { padding: 22px; } }
.account-section [hidden] { display: none !important; }
.member-dashboard { width: min(100% - 40px, 1500px); min-height: calc(100vh - 92px); padding-top: 32px; }
.member-dashboard iframe { display: block; width: 100%; min-height: calc(100vh - 220px); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.member-dashboard iframe[hidden], [hidden] { display: none !important; }
.resend-button { justify-self: start; min-height: 40px; padding: 8px 14px; }
.auth-links { margin: -2px 0 0; font-size: .92rem; }
.auth-links button { padding: 0; border: 0; color: var(--blue, #0878b9); background: transparent; cursor: pointer; font: inherit; text-decoration: none; }
.auth-links a { display: inline-block; padding: 0; color: #0878b9; font: inherit; text-decoration: none; }
.auth-links button:hover, .auth-links button:focus-visible { text-decoration: underline; text-underline-offset: .15em; }
.auth-links a:hover, .auth-links a:focus-visible { color: #005d91; text-decoration: underline; text-underline-offset: .15em; }
.auth-form .form-status:empty { display: none; }
