/* Adapt Your Table — shared styles for every page */
:root {
  --teal: #125e55;
  --teal-dark: #0c4740;
  --forest: #2b4a27;
  --sage: #9aab80;
  --sage-light: #e8eedf;
  --cream: #fbfcf8;
  --ink: #1f2a1e;
  --muted: #5b6658;
  --line: #dfe5d6;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--sage-light);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--teal);
  transition: background .15s, color .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--sage-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 252, 248, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 10px; padding-bottom: 10px;
}
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav .btn { padding: 10px 18px; color: #fff; }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle {
    display: block; background: none; border: 2px solid var(--line);
    border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 800;
    color: var(--forest); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--teal); }
}

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-img img { border-radius: 24px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: 0 20px 50px rgba(18, 94, 85, .18); }
.page-hero { padding: 56px 0 40px; background: var(--sage-light); }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sage-light);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px;
}
.card p:last-child { margin-bottom: 0; }
.tint { background: var(--sage-light); }
.dark { background: var(--teal); color: #e9f3ef; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #cfe3dc; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 24px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage); color: var(--forest); font-weight: 800; margin-bottom: 12px;
}
.steps strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }

/* Quotes */
.quotes { columns: 3 280px; column-gap: 24px; margin-top: 40px; }
.quote {
  break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin: 0 0 24px;
}
.quote p { font-size: 1rem; }
.quote footer { font-weight: 800; color: var(--forest); font-size: .95rem; }
.quote footer span { display: block; font-weight: 400; color: var(--muted); }

/* Founder */
.founder img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 420px; }
.creds { list-style: none; padding: 0; margin: 0 0 1.2em; }
.creds li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.creds li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px; margin-top: 28px; }
.badges img { height: 84px; width: auto; object-fit: contain; }

/* Kit page */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list li strong { color: var(--forest); }
.price-card {
  background: #fff; border: 2px solid var(--teal); border-radius: 20px; padding: 36px;
  max-width: 560px; margin: 0 auto; text-align: center;
}
.price { font-family: "Fraunces", Georgia, serif; font-size: 3.2rem; color: var(--teal); font-weight: 700; line-height: 1; margin: 8px 0 6px; }
.price-card ul { text-align: left; margin: 20px 0 24px; padding-left: 20px; }

/* Course: week cards */
.weeks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.week { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.week .wk { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.week h3 { margin-top: 6px; }
.week p { font-size: 1rem; color: var(--muted); margin: 0; }
.week .hist { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--forest); }
.week .hist b { color: var(--teal); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 32px; }
.checklist li { break-inside: avoid; padding: 8px 0 8px 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--teal); font-weight: 800; }

/* Logbook mock */
.logbook { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px rgba(18, 94, 85, .12); }
.logbook-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.logbook-head strong { font-family: "Fraunces", Georgia, serif; color: var(--forest); font-size: 1.15rem; }
.logbook-head span { font-size: .85rem; color: var(--muted); }
.logbook svg { width: 100%; height: auto; display: block; }
.logbook .readings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.logbook .readings div { background: var(--sage-light); border-radius: 10px; padding: 10px; text-align: center; font-size: .8rem; color: var(--muted); }
.logbook .readings b { display: block; font-size: 1.2rem; color: var(--forest); }
.caption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 900px) { .weeks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .weeks, .before-after { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; padding: 0 24px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; color: var(--forest);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Signup form */
.signup { background: var(--forest); color: #e8efe3; }
.signup h2 { color: #fff; }
.signup .lead { color: #cdd9c6; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; max-width: 720px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid #5c7a57;
  background: #fff; color: var(--ink);
}
.form button { justify-self: start; background: var(--sage); border-color: var(--sage); color: var(--forest); cursor: pointer; font: inherit; font-weight: 800; }
.form button:hover { background: #fff; border-color: #fff; }
.small { font-size: .85rem; opacity: .85; }

/* Footer */
.site-footer { background: #142a12; color: #b9c7b3; padding: 40px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: #e2ebdc; text-decoration: none; margin-right: 18px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .badges img { height: 64px; }
  .logo img { height: 44px; }
}
