:root {
  --brand-50:  #eef6f5;
  --brand-100: #d7ebe8;
  --brand-300: #93cdc4;
  --brand-500: #2f9186;
  --brand-600: #257a71;
  --brand-700: #1d635c;
  --brand-800: #17504a;
  --brand-900: #113d38;

  --ink-900: #14201e;
  --ink-700: #3c4c49;
  --ink-500: #667370;
  --ink-300: #b7c2bf;

  --paper: #fbfaf7;
  --paper-alt: #f1efe9;
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 20px 50px -25px rgba(17, 61, 56, 0.35);
  --shadow-card: 0 10px 30px -18px rgba(17, 61, 56, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

.skip-link a {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-700);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link a:focus { left: 0; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-700); }

a { color: var(--brand-700); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-600);
  margin: 0 0 0.75em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(17, 61, 56, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-900);
  text-decoration: none;
}
.brand-mark { width: 32px; height: 32px; }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--brand-700); }
.nav-cta {
  background: var(--brand-700);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--brand-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid rgba(17, 61, 56, 0.08);
}
.mobile-nav a {
  padding: 12px 0;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(17, 61, 56, 0.06);
}
.mobile-nav.open { display: flex; }

/* Hero */
.hero {
  background: radial-gradient(1100px 500px at 50% -10%, var(--brand-100), transparent 60%), var(--paper);
  padding: 88px 0 64px;
}
.hero-inner { max-width: 780px; }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin-bottom: 0.55em;
}
.hero h1 span { color: var(--brand-700); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-700);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--brand-800); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--brand-700);
  border: 1.5px solid var(--brand-300);
}
.btn-ghost:hover { border-color: var(--brand-600); background: var(--brand-50); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(17, 61, 56, 0.12);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-700);
}
.stat-label { font-size: 0.88rem; color: var(--ink-500); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: left; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.section-sub { font-size: 1.05rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(17, 61, 56, 0.06);
}
.card h3 { font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.card .citation {
  font-size: 0.85rem;
  color: var(--ink-500);
  border-top: 1px solid rgba(17, 61, 56, 0.1);
  padding-top: 16px;
  margin-top: 16px;
}
.card .citation a { color: var(--brand-700); }

.evidence-more {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(17, 61, 56, 0.1);
}
.evidence-more h3 { font-size: 1.05rem; margin-bottom: 0.75em; }
.ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ref-list li {
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.6;
}
.ref-list a { color: var(--brand-700); }

/* Product */
.product-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.product-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(17, 61, 56, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-list h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}
.feature-list p { margin-bottom: 0; }

/* Steps */
.steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border: 1px solid rgba(17, 61, 56, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.1rem; }
.steps p { margin-bottom: 0; }
.diagram-visual {
  background: var(--white);
  border: 1px solid rgba(17, 61, 56, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}
.diagram-img {
  max-width: 460px;
  width: 100%;
  height: auto;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-500);
  border-top: 1px solid rgba(17, 61, 56, 0.1);
  padding-top: 24px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(17, 61, 56, 0.06);
}
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-role {
  color: var(--brand-600);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.team-card p:last-child { margin-bottom: 0; }

/* CTA */
.cta-section {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: #fff;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.82); font-size: 1.05rem; }
.cta-section .btn-primary {
  background: #fff;
  color: var(--brand-800);
}
.cta-section .btn-primary:hover { background: var(--brand-50); }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(17, 61, 56, 0.08);
}
.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-500);
}

/* Responsive */
@media (max-width: 860px) {
  .grid-2, .steps, .team-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-visual { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
}
