@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --ink: #1C2B26;
  --pine: #0E4D3A;
  --pine-deep: #0A3A2C;
  --gold: #C2A24C;
  --gold-soft: #EFE6CC;
  --cream: #F4F2EC;
  --gray: #5C6660;
  --border: #D9D5CB;
  --white: #FFFFFF;

  --display: 'Space Grotesk', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max: 1080px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--pine);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--ink); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; color: var(--ink); }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.9em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--gray); font-size: 1.05rem; }

hr.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 4px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--pine); color: var(--cream); }
.btn-primary:hover { background: var(--pine-deep); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a.navlink {
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
nav.primary a.navlink:hover { color: var(--pine); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  header.site { position: static; }
  nav.primary { position: fixed; top: 0; left: 0; right: 0; height: 100vh; z-index: 60; background: var(--white);
    visibility: hidden; flex-direction: column; align-items: flex-start; padding: 90px var(--gutter) 28px;
    gap: 22px; transform: translateY(-8px); opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow-y: auto; -webkit-overflow-scrolling: touch; }
  nav.primary.open { visibility: visible; transform: translateY(0); opacity: 1; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 0.6em; }
.hero .lede { font-size: 1.15rem; color: var(--gray); max-width: 480px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.route-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
}
.route-card svg { width: 100%; height: auto; }
.route-caption {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.72rem; color: var(--gray);
  margin-top: 10px; letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .hero .grid { grid-template-columns: 1fr; }
  .route-card { order: -1; }
}

/* ---------- Who it's for ---------- */
.who-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.who-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 1.02rem;
}
.who-list .mark {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--gold); margin-top: 3px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.service-card { background: var(--white); padding: 30px 28px; }
.service-card .num { font-family: var(--mono); color: var(--gold); font-size: 0.85rem; }
.service-card h3 { margin-top: 10px; }
.service-card .includes { color: var(--gray); font-size: 0.92rem; margin-top: 10px; }
.service-card .ideal { font-size: 0.85rem; color: var(--pine); font-weight: 600; margin-top: 10px; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing table ---------- */
table.pricing { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.pricing th {
  background: var(--pine); color: var(--cream); text-align: left;
  font-family: var(--body); font-weight: 600; font-size: 0.85rem;
  padding: 12px 16px;
}
table.pricing td {
  padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top;
  font-size: 0.95rem;
}
table.pricing td.figure { font-family: var(--mono); color: var(--pine); white-space: nowrap; }
table.pricing tr:last-child td { border-bottom: none; }
.pricing-note { color: var(--gray); font-size: 0.88rem; margin-top: 12px; font-style: italic; }

@media (max-width: 700px) {
  table.pricing, table.pricing tbody, table.pricing tr, table.pricing td { display: block; width: 100%; }
  table.pricing thead { display: none; }
  table.pricing tr { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 14px; padding: 14px; }
  table.pricing td { border-bottom: none; padding: 4px 0; }
  table.pricing td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step .step-num {
  font-family: var(--mono); color: var(--gold); font-size: 0.85rem;
  border-top: 2px solid var(--gold); padding-top: 10px; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--gray); font-size: 0.92rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- About / founder ---------- */
.about-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.avatar {
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--pine); display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 4px solid var(--cream); box-shadow: 0 0 0 1px var(--border);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .initials { font-family: var(--display); font-size: 3.2rem; color: var(--gold-soft); }
.about-name { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: 2px; }
.about-role { color: var(--gray); font-size: 0.92rem; margin-bottom: 18px; }
.track-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.track-list li { display: flex; gap: 18px; font-size: 0.96rem; }
.track-list .figure { font-family: var(--mono); color: var(--pine); font-weight: 600; flex: none; min-width: 78px; }

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; text-align: left; }
  .avatar { width: 140px; height: 140px; }
  .avatar .initials { font-size: 2.2rem; }
}

/* ---------- Working terms ---------- */
.terms-panel { background: var(--cream); border-radius: 8px; padding: 36px 36px; border: 1px solid var(--border); }
.terms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.terms-list li { display: flex; gap: 12px; font-size: 0.96rem; }
.terms-list li::before { content: '\2014'; color: var(--gold); flex: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pine); color: var(--cream); text-align: center; padding: 64px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gold-soft); }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--gold-soft); }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: var(--cream); padding: 48px 0 28px; font-size: 0.88rem; }
footer.site .foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer.site a { color: var(--gold-soft); }
footer.site a:hover { color: var(--white); }
footer.site .legal { color: #9FAEA7; max-width: 560px; line-height: 1.7; }
footer.site .legal .ph { background: rgba(194,162,76,0.25); padding: 0 3px; border-radius: 2px; }
footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site .copyright { margin-top: 28px; color: #7E8E87; font-size: 0.8rem; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page h2 { margin-top: 1.6em; }
.legal-page .updated { color: var(--gray); font-size: 0.88rem; margin-bottom: 2em; }
.legal-page .ph { background: var(--gold-soft); padding: 1px 4px; border-radius: 2px; }

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 720px; margin: 0 auto;
  background: var(--ink); color: var(--cream);
  border-radius: 8px; padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: translateY(120%); transition: transform 0.35s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { margin: 0; font-size: 0.86rem; color: #D7E0DC; flex: 1 1 320px; }
#cookie-banner a { color: var(--gold-soft); text-decoration: underline; }
#cookie-banner .actions { display: flex; gap: 10px; flex: none; }
#cookie-banner button { font-family: var(--body); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
