:root {
  --stable-green: #123d33;
  --stable-green-deep: #092a23;
  --leather: #784729;
  --gold: #c79947;
  --gold-light: #ebcf92;
  --cream: #f5eddb;
  --card: #fffaf1;
  --charcoal: #1f1f1c;
  --secondary: #665e52;
  --success: #337d4f;
  --warning: #d38a29;
  --border: rgba(120, 71, 41, 0.16);
  --shadow: 0 24px 70px rgba(9, 42, 35, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--stable-green);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(9, 42, 35, .94);
  backdrop-filter: blur(14px);
  color: white;
}
.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.15rem;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 650;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-light); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(235,207,146,.5);
  border-radius: 999px;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: transparent;
  color: white;
  cursor: pointer;
}

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.section { padding: 96px 0; }
.section-tight { padding: 68px 0; }
.section-dark { color: white; background: var(--stable-green); }
.section-card { background: var(--card); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--leather);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-dark .eyebrow { color: var(--gold-light); }
h1, h2, h3 {
  margin-top: 0;
  font-family: ui-rounded, "SF Pro Rounded", Inter, sans-serif;
  line-height: 1.1;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }
.lead { max-width: 700px; color: var(--secondary); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section-dark .lead { color: rgba(255,255,255,.76); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 12% 18%, rgba(199,153,71,.25), transparent 35%),
    linear-gradient(135deg, var(--stable-green-deep), var(--stable-green));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 72px;
  padding-block: 76px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--gold-light); }
.hero-copy > p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 1.22rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--stable-green-deep); background: var(--gold-light); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.button-secondary { color: white; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.button-green { color: white; background: var(--stable-green); }
.coming-soon { margin-top: 14px; color: rgba(255,255,255,.62); font-size: .88rem; }
.hero-visual { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: var(--stable-green-deep);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  box-shadow: 0 38px 90px rgba(0,0,0,.32);
}
.floating-card {
  position: absolute;
  left: -42px;
  bottom: 42px;
  width: min(300px, 78%);
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(9,42,35,.92);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.floating-card strong { display: block; color: var(--gold-light); font-size: 1.65rem; }
.floating-card span { color: rgba(255,255,255,.7); font-size: .9rem; }

.feature-grid, .steps-grid, .record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.feature-card, .step-card, .info-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 14px 38px rgba(9,42,35,.06);
}
.feature-icon, .step-number {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: var(--stable-green);
  border-radius: 11px;
  font-size: 1.2rem;
  font-weight: 850;
}
.feature-card p, .step-card p, .info-card p { margin-bottom: 0; color: var(--secondary); }
.step-card { position: relative; padding-top: 30px; }
.step-number { border-radius: 50%; }

.beta-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
  padding: 54px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, var(--stable-green-deep), #174f42);
  box-shadow: var(--shadow);
}
.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  color: #3b2708;
  background: #f2c45b;
  border-radius: 999px;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.beta-band p { color: rgba(255,255,255,.75); }
.beta-list { margin: 0; padding: 0; list-style: none; }
.beta-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.beta-list li:last-child { border-bottom: 0; }
.check { color: var(--gold-light); font-weight: 900; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.anatomy-preview {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.text-link { color: var(--stable-green); font-weight: 760; text-underline-offset: 4px; }

.page-hero {
  padding: 88px 0 76px;
  color: white;
  background:
    radial-gradient(circle at 78% 30%, rgba(199,153,71,.24), transparent 28%),
    linear-gradient(135deg, var(--stable-green-deep), var(--stable-green));
}
.page-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.76); font-size: 1.15rem; }

.guide-section { padding: 34px 0; }
.guide-section + .guide-section { border-top: 1px solid var(--border); }
.guide-list { display: grid; gap: 16px; margin-top: 24px; }
.guide-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.guide-step .number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--stable-green);
  border-radius: 50%;
  font-weight: 850;
}
.guide-step h3 { margin-bottom: 5px; font-size: 1.05rem; }
.guide-step p { margin-bottom: 0; color: var(--secondary); }
.tip {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(199,153,71,.12);
}
.tip strong { color: var(--leather); }

.anatomy-viewer {
  position: relative;
  margin: 32px auto 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  overflow: auto;
  cursor: zoom-in;
}
.anatomy-viewer img { width: 100%; min-width: 0; transition: width .25s ease; }
.anatomy-viewer.zoomed img { width: 180%; max-width: none; }
.zoom-note { margin-top: 14px; color: var(--secondary); text-align: center; font-size: .9rem; }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { padding: 20px 0; cursor: pointer; font-weight: 760; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--stable-green); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 720px; padding-bottom: 20px; color: var(--secondary); }

.form-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 760; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--charcoal);
  border: 1px solid rgba(120,71,41,.25);
  border-radius: 8px;
  background: white;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(199,153,71,.28); border-color: var(--gold); }
.form-status { min-height: 25px; margin: 14px 0 0; color: var(--success); font-weight: 700; }

.legal { padding: 68px 0 96px; }
.legal h2 { margin-top: 46px; font-size: 1.65rem; }
.legal h3 { margin-top: 30px; font-size: 1.1rem; }
.legal p, .legal li { color: var(--secondary); }
.legal .effective { color: var(--leather); font-weight: 750; }

.cta {
  padding: 70px 40px;
  text-align: center;
  border-radius: 24px;
  color: white;
  background: var(--stable-green);
  box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: 16px; }
.cta p { max-width: 640px; margin: 0 auto 26px; color: rgba(255,255,255,.75); }

.site-footer { padding: 54px 0 28px; color: rgba(255,255,255,.72); background: var(--stable-green-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 40px; }
.footer-brand { max-width: 420px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 6px; color: var(--gold-light); font-size: .83rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }

@media (max-width: 900px) {
  .menu-button { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 26px 20px 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--stable-green-deep);
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { margin-top: 12px; text-align: center; border: 1px solid rgba(235,207,146,.45) !important; }
  .hero-grid, .split, .beta-band { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; padding-block: 64px; }
  .hero { min-height: auto; }
  .hero-visual { width: min(560px, 92%); margin: 0 auto; }
  .floating-card { left: -22px; }
  .feature-grid, .steps-grid, .record-grid { grid-template-columns: repeat(2, 1fr); }
  .beta-band { gap: 28px; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 70px 0; }
  .section-tight { padding: 52px 0; }
  .hero-grid { padding-block: 52px 68px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  .hero-copy > p { font-size: 1.05rem; }
  .hero-visual { width: 100%; }
  .floating-card { left: 14px; bottom: 14px; }
  .feature-grid, .steps-grid, .record-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .field-full { grid-column: auto; }
  .beta-band { padding: 28px 22px; border-radius: 18px; }
  .cta { padding: 52px 22px; border-radius: 18px; }
  .page-hero { padding: 66px 0 58px; }
}

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