@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --bg-soft: #fcfaf6;
  --surface: rgba(255, 252, 247, 0.96);
  --surface-strong: #ffffff;
  --text: #14212f;
  --text-soft: #536171;
  --line: rgba(20, 33, 47, 0.14);
  --line-strong: rgba(20, 33, 47, 0.22);
  --brand: #0f766e;
  --brand-strong: #0b5b55;
  --accent: #d8a15f;
  --shadow: 0 14px 32px rgba(20, 33, 47, 0.06);
  --shadow-soft: 0 8px 18px rgba(20, 33, 47, 0.04);
  --success: #126b52;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(216, 161, 95, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 26%),
    linear-gradient(180deg, #f3ede4 0%, #f6f1e8 32%, #fbf8f2 100%);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  border-radius: 999px;
  background: #fff;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(20, 33, 47, 0.1);
  background: rgba(255, 252, 248, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  border-radius: 22px;
  padding: 12px 14px 12px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 10px);
  display: none;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.98);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text-soft);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current='page'] {
  background: rgba(15, 118, 110, 0.08);
  color: var(--text);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--text);
  color: #fff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #0d1722;
  color: #fff;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0 13px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero-section {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-visual {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  color: var(--text);
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.value-card p,
.footer-brand p,
.panel-item span,
.metric-row span {
  color: var(--text-soft);
}

.hero-text {
  max-width: 36rem;
  margin-bottom: 0;
  font-size: 1.04rem;
  line-height: 1.6;
}

.hero-trust {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-actions,
.final-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0 22px;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 33, 47, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0d1722;
  box-shadow: 0 14px 28px rgba(20, 33, 47, 0.16);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(15, 118, 110, 0.26);
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 33, 47, 0.05);
}

.hero-secondary-link,
.hero-tertiary-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand-strong);
  font-weight: 800;
}

.hero-secondary-link {
  color: var(--text);
}

.hero-secondary-link:hover,
.hero-secondary-link:focus-visible,
.hero-tertiary-link:hover,
.hero-tertiary-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.hero-visual {
  display: grid;
}

.product-preview {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fffdf9;
  box-shadow: var(--shadow);
  padding: 24px;
}

.product-preview__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.product-preview__topline {
  color: var(--text-soft);
  font-weight: 800;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.status-badge-live {
  background: rgba(19, 118, 90, 0.1);
  color: var(--success);
  box-shadow: inset 0 0 0 1px rgba(19, 118, 90, 0.25);
}

.product-preview__score {
  border: 1px solid rgba(18, 107, 82, 0.16);
  border-radius: 18px;
  background: #f5faf8;
  padding: 18px;
}

.product-preview__score span,
.product-preview__route span {
  display: block;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-preview__score strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--success);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.product-preview__score p,
.product-preview__note {
  margin-bottom: 0;
  color: var(--text-soft);
}

.product-preview__routes {
  display: grid;
  gap: 12px;
}

.product-preview__route {
  border-top: 1px solid rgba(20, 33, 47, 0.08);
  padding-top: 12px;
}

.product-preview__route:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-preview__route span {
  display: block;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-preview__route strong {
  display: block;
  margin: 4px 0;
  font-size: 1.06rem;
}

.product-preview__route p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.panel-label,
.card-kicker {
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-list {
  display: grid;
  gap: 14px;
}

.panel-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  padding: 13px 14px;
}

.panel-item strong,
.metric-row strong {
  display: block;
  margin-bottom: 2px;
}

.panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(216, 161, 95, 0.2));
  position: relative;
}

.panel-icon::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 10px;
  border: 2px solid rgba(20, 33, 47, 0.44);
}

.panel-icon-study::after {
  inset: 10px 13px;
  border-radius: 0;
  border-left-width: 3px;
  border-right-width: 3px;
}

.panel-icon-pathway::after {
  inset: 12px 10px;
  border-radius: 999px;
}

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

.metric-row div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.metric-row strong {
  font-size: 1.6rem;
  line-height: 1;
}

.pathways-section,
.value-section,
.founder-section,
.final-cta-section {
  padding: 52px 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 36rem;
  margin-bottom: 0;
  font-size: 1rem;
}

.section-heading-compact {
  margin-bottom: 18px;
}

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

.pathway-card,
.value-card,
.founder-shell,
.final-cta-shell {
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.pathway-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.pathway-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.04), rgba(216, 161, 95, 0.03));
  opacity: 0;
  transition: opacity 220ms ease;
}

.pathway-card:hover,
.pathway-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.2);
  box-shadow: 0 24px 52px rgba(20, 33, 47, 0.1);
  outline: none;
}

.pathway-card:hover::before,
.pathway-card:focus-visible::before {
  opacity: 1;
}

.pathway-card > * {
  position: relative;
  z-index: 1;
}

.pathway-card-primary {
  border-color: rgba(15, 118, 110, 0.2);
  background: #fcfdfb;
}

.pathway-card h3 {
  margin-bottom: 10px;
}

.pathway-card p {
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-weight: 800;
}

.card-link::after {
  content: '→';
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.value-card-link {
  display: block;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.value-card-link:hover,
.value-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.18);
  box-shadow: 0 14px 28px rgba(20, 33, 47, 0.06);
  outline: none;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

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

.founder-shell {
  display: grid;
  gap: 16px;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #fffdf9;
}

.founder-shell h2 {
  max-width: 20ch;
  margin-bottom: 0;
}

.founder-shell p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--text-soft);
}

.final-cta-shell {
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.final-cta-shell .section-heading {
  margin-inline: auto;
}

.final-cta-links {
  justify-content: center;
}

.final-cta-links a {
  display: inline-flex;
  align-items: center;
  color: var(--text-soft);
  font-weight: 700;
}

.final-cta-links a:hover,
.final-cta-links a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  outline: none;
}

.shell-trust-section {
  padding: 0 0 30px;
}

.shell-trust-note {
  border: 1px solid rgba(216, 161, 95, 0.2);
  background: rgba(216, 161, 95, 0.12);
  border-radius: 24px;
  padding: 24px 28px;
}

.shell-trust-note p {
  margin: 0;
  color: var(--text-soft);
}

.site-footer {
  padding: 40px 0 56px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  background: #fffdf9;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.footer-brand p {
  max-width: 30rem;
  margin-bottom: 0;
  color: var(--text-soft);
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (min-width: 720px) {
  .hero-section {
    padding: 56px 0 34px;
  }

  .product-preview {
    gap: 18px;
    padding: 24px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }

  .footer-links {
    justify-self: end;
  }

  .founder-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

@media (max-width: 719px) {
  .site-header {
    padding-top: 10px;
  }

  .footer-grid {
    padding: 22px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-height: 46px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: start;
  }
}

@media (min-width: 960px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .site-header {
    padding-top: 22px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 48px;
  }

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

  .pathway-card {
    min-height: 290px;
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hero metric row 3-column variant */
.metric-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Pathway feature section */
.pathway-feature-section {
  padding: 52px 0;
}

.pathway-feature-shell {
  display: grid;
  gap: 32px;
  align-items: start;
  border: 1px solid var(--line);
  background: #fffdf9;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.pathway-feature-shell h2 {
  max-width: 18ch;
  margin-bottom: 14px;
}

.pathway-feature-shell > div:first-child > p {
  max-width: 36rem;
  margin-bottom: 22px;
  color: var(--text-soft);
}

.pathway-feature-points {
  display: grid;
  gap: 18px;
}

.pathway-feature-item {
  border-top: 1px solid rgba(20, 33, 47, 0.08);
  padding-top: 18px;
}

.pathway-feature-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.pathway-feature-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.06rem;
}

.pathway-feature-item span {
  display: block;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Final CTA button color fix */
.final-cta-links .button.button-primary {
  color: #fff;
}

.final-cta-links .button.button-secondary {
  color: var(--text);
}

@media (min-width: 720px) {
  .pathway-feature-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    padding: 40px;
  }
}
