:root {
  --navy-950: #122a45;
  --navy-900: #173b5f;
  --navy-800: #075c86;
  --navy-700: #2e5090;
  --blue-500: #4a90c2;
  --blue-200: #d7e8f7;
  --blue-100: #edf5fb;
  --teal-600: #2a9d8f;
  --teal-500: #37b7aa;
  --gold-500: #e9c46a;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #213042;
  --muted: #66758a;
  --line: #dbe5ef;
  --shadow: 0 24px 70px rgba(18, 42, 69, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy-950);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(219, 229, 239, 0.8);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
}
.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(7, 92, 134, 0.24);
}
.brand strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy-950);
}
.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #405269;
  font-size: 0.92rem;
  font-weight: 650;
}
.nav-links a { transition: color .18s ease; }
.nav-links a:hover { color: var(--navy-800); }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 760;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.nav-cta {
  background: var(--navy-800);
  color: white;
  box-shadow: 0 12px 28px rgba(7, 92, 134, 0.24);
  white-space: nowrap;
}
.nav-cta:hover,
.button:hover { transform: translateY(-1px); }

.section-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(74, 144, 194, 0.16), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(42, 157, 143, 0.14), transparent 30%),
    linear-gradient(180deg, var(--paper) 0%, #eef6fb 100%);
}
.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 59, 95, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 59, 95, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 78%);
}

.hero { padding: 58px 0 64px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .86fr);
  align-items: start;
  gap: 52px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--navy-800);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1, h2 {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  color: var(--navy-950);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3.05rem, 6.2vw, 5.8rem);
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
}
h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 1.08rem;
  letter-spacing: -0.012em;
}

.hero-lede,
.section-heading p,
.split-grid > div > p,
.portal-copy > p,
.credibility-grid > div > p,
.faq-intro > p {
  color: #45586f;
  font-size: 1.12rem;
}
.hero-copy,
.portal-card,
.dashboard-window,
.split-grid > *,
.portal-grid > *,
.credibility-grid > *,
.faq-grid > * {
  min-width: 0;
}
.hero-lede { max-width: 720px; margin-bottom: 30px; }
.hero-actions, .portal-actions, .final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  box-shadow: 0 16px 34px rgba(7, 92, 134, 0.28);
}
.button-secondary {
  color: var(--navy-900);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(7, 92, 134, 0.2);
}
.button-ghost {
  color: white;
  border: 1px solid rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.08);
}
.demo-note {
  margin: 16px 0 22px;
  color: #607085;
  font-size: 0.91rem;
}
.demo-note.on-dark { color: rgba(255,255,255,0.76); }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
}
.trust-row span {
  display: block;
  padding: 10px 12px 10px 14px;
  border-left: 3px solid rgba(42,157,143,.72);
  border-radius: 10px;
  background: rgba(255,255,255,.44);
  color: var(--navy-900);
  font-size: .84rem;
  font-weight: 720;
  line-height: 1.18;
  box-shadow: none;
}

.portal-card {
  position: relative;
  margin-top: 10px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,251,254,0.94));
  box-shadow: var(--shadow);
}
.portal-card::after {
  content: "";
  position: absolute;
  inset: auto 24px -18px 24px;
  height: 36px;
  background: linear-gradient(90deg, var(--navy-800), var(--teal-600));
  border-radius: 0 0 24px 24px;
  opacity: .18;
  filter: blur(10px);
}
.portal-topbar,
.chart-heading,
.dash-header,
.final-cta-inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.portal-kicker {
  margin: 0 0 2px;
  color: var(--teal-600);
  font-size: .77rem;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.portal-topbar h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.status-pill {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--teal-600);
  background: rgba(42,157,143,.12);
  font-size: .78rem;
  font-weight: 820;
  white-space: nowrap;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}
.metric-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.metric-card.accent { grid-column: span 2; background: linear-gradient(135deg, #f5fbff, #eaf7f4); }
.metric-card span,
.metric-card small,
.chart-heading small,
.dash-cards span,
.dash-header span,
.mini-metrics span,
.yield-card span,
.cred-cards span { color: var(--muted); }
.metric-card span,
.metric-card small { display: block; }
.metric-card span { font-size: .82rem; font-weight: 720; }
.metric-card strong {
  display: block;
  margin: 4px 0 0;
  color: var(--navy-800);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.metric-card small { margin-top: 7px; font-size: .78rem; }
.chart-panel {
  padding: 18px;
  border-radius: 18px;
  background: var(--navy-950);
  color: white;
  overflow: hidden;
}
.chart-heading { margin-bottom: 12px; }
.chart-heading span { font-weight: 760; }
.bar-chart {
  height: 176px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 4px 0;
  background: repeating-linear-gradient(to top, rgba(255,255,255,.1) 0 1px, transparent 1px 40px);
}
.bar-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--teal-500), var(--blue-500));
}
.portal-link {
  display: block;
  margin-top: 16px;
  color: var(--navy-800);
  font-weight: 820;
}

.section { padding: 80px 0; }
.section-soft {
  padding-top: 68px;
  background: linear-gradient(180deg, #eef6fb, #f8fbfd);
}
.section-white { background: var(--white); }
.section-heading {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading.narrow { max-width: 700px; }
.card-grid {
  display: grid;
  gap: 18px;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card {
  min-height: 260px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 44px rgba(18,42,69,.07);
}
.info-card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--navy-800);
  font-size: .82rem;
  font-weight: 840;
}

.value-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.72)),
    radial-gradient(circle at 78% 50%, rgba(42,157,143,.16), transparent 30%);
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 64px;
  align-items: center;
}
.check-list {
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  display: grid;
  gap: 15px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: #405269;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(42,157,143,.14);
  color: var(--teal-600);
  font-weight: 900;
}
.yield-panel {
  padding: 22px;
  border: 1px solid rgba(7,92,134,.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, white, #f0f7fc);
  box-shadow: var(--shadow);
}
.yield-card.large {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: white;
}
.yield-card span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.72); text-transform: uppercase; font-size: .74rem; font-weight: 820; letter-spacing: .12em; }
.yield-card strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; }
.yield-card p { margin: 12px 0 0; color: rgba(255,255,255,.78); }
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.mini-metrics div {
  padding: 15px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.mini-metrics strong { display: block; color: var(--navy-800); font-size: 1.15rem; }
.mini-metrics span { display: block; font-size: .76rem; line-height: 1.25; }

.portal-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 8%, rgba(74,144,194,.24), transparent 34%),
    radial-gradient(circle at 94% 80%, rgba(42,157,143,.24), transparent 26%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
}
.portal-section h2,
.portal-section .eyebrow { color: white; }
.portal-section .eyebrow { color: var(--gold-500); }
.portal-copy p { color: rgba(255,255,255,.78); }
.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(400px, 1fr);
  gap: 58px;
  align-items: center;
}
.dashboard-window {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: #f6f8fb;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  overflow: hidden;
  color: var(--ink);
}
.window-chrome {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #e8eef5;
  border-bottom: 1px solid #d6e0eb;
}
.window-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b8c4d2;
}
.window-chrome span:first-child { background: #ef776f; }
.window-chrome span:nth-child(2) { background: #f0c45f; }
.window-chrome span:nth-child(3) { background: #65c489; }
.window-chrome strong {
  margin-left: 12px;
  color: #69788c;
  font-size: .78rem;
  font-weight: 720;
}
.dash-header { justify-content: flex-start; padding: 22px; background: white; }
.dash-logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-700);
  color: white;
  font-size: .78rem;
  font-weight: 900;
}
.dash-header strong,
.dash-header span { display: block; }
.dash-header strong { color: #172335; }
.dash-header span { font-size: .86rem; }
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  padding: 18px 22px 22px;
}
.dash-cards div {
  min-height: 106px;
  padding: 16px;
  border: 1px solid #dfe7ef;
  border-radius: 16px;
  background: white;
}
.dash-cards span,
.dash-cards strong { display: block; }
.dash-cards span { font-size: .78rem; font-weight: 720; }
.dash-cards strong { margin-top: 12px; color: var(--navy-700); font-size: 1.18rem; letter-spacing: -.03em; }
.dash-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid #dfe7ef;
  background: #dfe7ef;
}
.dash-list div {
  padding: 18px;
  background: white;
  font-size: .88rem;
  font-weight: 720;
}
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
}
.dot.teal { background: var(--teal-600); }
.dot.blue { background: var(--blue-500); }
.dot.gold { background: var(--gold-500); }

.process-list {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-list li {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, white, #f8fbfd);
}
.process-list li::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -17px;
  width: 18px;
  height: 2px;
  background: var(--line);
}
.process-list li:last-child::after { display: none; }
.process-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--navy-800);
  color: white;
  font-weight: 850;
}
.process-list p { margin: 0; color: var(--muted); }

.credibility-section { background: #eef6fb; }
.credibility-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1fr);
  gap: 50px;
  align-items: center;
}
.cred-cards {
  display: grid;
  gap: 14px;
}
.cred-cards div {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(7,92,134,.12);
  background: white;
  box-shadow: 0 10px 32px rgba(18,42,69,.06);
}
.cred-cards strong,
.cred-cards span { display: block; }
.cred-cards strong { color: var(--navy-900); font-size: 1.08rem; }
.cred-cards span { margin-top: 6px; }

.faq-section { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, .55fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 12px;
}
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy-950);
  font-weight: 800;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--teal-600);
  font-size: 1.2rem;
}
details[open] summary::after { content: "–"; }
details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta { padding: 78px 0; }
.final-cta-inner {
  position: relative;
  z-index: 1;
  padding: 40px;
  border: 1px solid rgba(7,92,134,.13);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.74);
  box-shadow: 0 22px 70px rgba(18,42,69,.12);
}
.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}
.final-actions { justify-content: flex-end; min-width: 300px; }

.site-footer {
  padding: 54px 0 34px;
  background: var(--navy-950);
  color: rgba(255,255,255,.72);
}
.footer-grid {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 34px;
}
.footer-brand strong { color: white; }
.footer-brand small { color: rgba(255,255,255,.6); }
.site-footer h3 {
  color: white;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.site-footer a { color: white; }
.site-footer p { margin-bottom: 0; }
.disclaimer {
  padding-top: 24px;
  font-size: .78rem;
  color: rgba(255,255,255,.54);
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid,
  .split-grid,
  .portal-grid,
  .credibility-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .portal-card,
  .dashboard-window { max-width: min(680px, 100%); }
  .card-grid.four,
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li::after { display: none; }
  .final-cta-inner,
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .final-actions { justify-content: flex-start; min-width: 0; }
}

@media (max-width: 650px) {
  html,
  body,
  main,
  header,
  footer,
  section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .container { width: min(calc(100% - 28px), var(--max)); max-width: calc(100vw - 28px); }
  .site-header { position: static; }
  .nav-wrap { min-height: auto; padding: 14px 0; max-width: 100%; }
  .brand { min-width: 0; }
  .brand strong { font-size: .82rem; }
  .brand small { font-size: .68rem; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-cta { display: none; }
  .hero, .section, .final-cta { padding: 52px 0; }
  h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.9rem);
    overflow-wrap: anywhere;
  }
  h2 { overflow-wrap: anywhere; }
  .eyebrow { letter-spacing: 0.08em; }
  .hero-grid,
  .split-grid,
  .portal-grid,
  .credibility-grid,
  .faq-grid,
  .value-section { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 34px; }
  .hero-copy,
  .portal-card,
  .dashboard-window,
  .chart-panel,
  .card,
  .value-card,
  .faq-card,
  .metric-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  h1,
  h2,
  h3,
  p,
  a,
  span,
  strong,
  small {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-actions, .portal-actions, .final-actions { align-items: stretch; }
  .button {
    width: 100%;
    min-height: 0;
    padding: 14px 16px;
    text-align: center;
  }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row span { width: auto; }
  .metric-grid,
  .card-grid.four,
  .process-list,
  .dash-cards,
  .dash-list,
  .mini-metrics { grid-template-columns: 1fr; }
  .metric-card.accent { grid-column: span 1; }
  .portal-card {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }
  .portal-topbar { align-items: flex-start; }
  .status-pill { white-space: normal; text-align: center; }
  .bar-chart { gap: 7px; min-width: 0; }
  .bar-chart div,
  .bar-chart span { min-width: 0; }
  .final-cta-inner { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
