/* =========================================================
   Hybrid Performance Coaching
   White background · single evergreen accent · Inter · compact
   ========================================================= */

:root {
  /* Color - white base, one accent */
  --bg: #ffffff;
  --bg-soft: #f6f7f6;
  --ink: #1a1d1b;
  --ink-soft: #54595a;
  --ink-faint: #6f7573;
  --line: #e7e9e8;
  --line-strong: #d7dad8;

  --accent: #1f6b52;        /* evergreen */
  --accent-dark: #185340;
  --accent-soft: #eef4f1;
  --accent-tint: #f5f9f7;
  --accent-light: #27855f;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Compact scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.825rem;
  --fs-base: 0.9rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.4rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26, 29, 27, 0.04), 0 4px 12px rgba(26, 29, 27, 0.05);
  --shadow: 0 4px 16px rgba(26, 29, 27, 0.07);
  --container: 1080px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 420px) {
  :root {
    --fs-3xl: 1.85rem;
    --fs-2xl: 1.5rem;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation: none !important; }
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { max-width: 64ch; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-sm); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.section + .section:not(.band) { border-top: none; }
main { flex: 1; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 42px;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.45rem 0.85rem; min-height: 36px; font-size: var(--fs-xs); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  box-shadow: var(--shadow-sm);
}
.card--link { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.card:hover { border-color: #27855f; box-shadow: 0 0 0 1px #27855f, var(--shadow); }

.grid { display: grid; gap: clamp(0.8rem, 2vw, 1.1rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.4rem; margin-bottom: 0.45rem; color: var(--ink-soft); font-size: var(--fs-base); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-dark);
}
.tag--muted { background: var(--bg-soft); color: var(--ink-faint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-top);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 1rem; }
.brand { font-weight: 700; font-size: var(--fs-md); letter-spacing: -0.02em; color: var(--accent); white-space: nowrap; }
.brand span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; padding: 0; }
.nav-links a {
  padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; padding: 0.5rem; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.1rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--gutter) 1rem;
    transform: translateY(-6px); opacity: 0; pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.7rem 0.8rem; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero h1 { max-width: 16ch; margin-bottom: 0.9rem; }
.hero .lead { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 52ch; margin-bottom: 1.5rem; line-height: 1.55; }
.hero .btn-row { justify-content: flex-start; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-art { width: 100%; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art__cap { display: flex; justify-content: space-between; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.5rem; padding-inline: 0.3rem; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; margin-top: 0.5rem; }
  .hero { text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 3vw, 2rem); text-align: center; }
.page-hero h1 { font-size: var(--fs-2xl); margin-bottom: 0.5rem; }
.page-hero p { font-size: var(--fs-md); color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.page-hero .eyebrow { text-align: center; }

/* ---------- Section head ---------- */
.section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); max-width: 60ch; margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p { color: var(--ink-soft); margin-inline: auto; }

.band { background: var(--bg-soft); }

/* ---------- Square tool tiles (equal size) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.7rem, 1.8vw, 1rem); }
@media (max-width: 720px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem; aspect-ratio: 1 / 1;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tile:hover { border-color: #27855f; box-shadow: 0 0 0 1px #27855f, var(--shadow); }
.tile__status { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.tile__status.live { color: var(--accent); }
.tile__status.soon { color: var(--ink-faint); }
.tile__icon { width: 60px; height: 60px; margin: auto; }
.tile h3 { font-size: var(--fs-md); margin: 0 0 0.35rem; }
.tile p { margin-top: 0; }
.tile .tile__go { margin-top: 0.7rem; }
.tile p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
.tile__go { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); margin-top: 0.7rem; }
.tile--soon { background: var(--bg-soft); }
@media (max-width: 540px) { .tile { aspect-ratio: auto; min-height: 150px; } }

/* ---------- Three feature cards (home) ---------- */
.feature h3 { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.4rem; }
.feature .idx { font-size: var(--fs-xs); color: var(--accent); font-weight: 700; }
.feature p { font-size: var(--fs-base); }
.feature .feature__go { display: inline-block; margin-top: 0.8rem; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }

/* ---------- Plans (simple stacked rows) ---------- */
.plan-list { display: flex; flex-direction: column; gap: 0.9rem; }
.plan-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.5rem clamp(1.1rem, 2.5vw, 1.6rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.plan-row:hover { border-color: #27855f; box-shadow: 0 0 0 1px #27855f, var(--shadow); }
.plan-row__meta { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; flex-wrap: wrap; }
.plan-row h3 { font-size: var(--fs-md); }
.plan-row p { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: 0.15rem; }
@media (max-width: 560px) { .plan-row { grid-template-columns: 1fr; } .plan-row .btn { width: 100%; } }

/* ---------- Price cards ---------- */
.price { display: flex; flex-direction: column; }
.price--feature { border-color: var(--accent); }
.price__amount { font-size: var(--fs-2xl); font-weight: 700; margin: 0.4rem 0 0; letter-spacing: -0.02em; }
.price__amount .per { font-size: var(--fs-sm); color: var(--ink-faint); font-weight: 400; }
.price .ticks { margin: 1rem 0; flex: 1; }
.ribbon { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }

/* ---------- Phase rows (about) ---------- */
.phase { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase__num { font-size: var(--fs-sm); color: var(--accent); font-weight: 700; padding-top: 0.1rem; }
.phase h3 { font-size: var(--fs-md); margin-bottom: 0.2rem; }
.phase p { font-size: var(--fs-base); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .hint { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-base);
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: var(--fs-xs); color: var(--ink-faint); }
.form-group-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.2rem; }
.form-group-title.is-second { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.form-success { display: none; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-dark); font-size: var(--fs-sm); font-weight: 500; margin-bottom: 1rem; }
.form-success.show { display: block; }

/* ---------- Tool (calculator) ---------- */
.tool-shell { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.75rem); align-items: start; }
@media (max-width: 760px) {
  .tool-shell { grid-template-columns: 1fr; }
  .tool-output { position: static; }
  .result-row { padding: 0.5rem 0; }
}
.tool-output { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.5rem); position: sticky; top: 74px; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.result-row:last-child { border-bottom: none; }
.result-row .k { font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.result-row .v { font-size: var(--fs-lg); font-weight: 700; }
.result-row .v.is-empty, .result-row .v:not(:has(.u)) { color: var(--line-strong); font-weight: 400; }
.result-row .v .u { font-size: var(--fs-xs); color: var(--ink-faint); font-weight: 400; }

.prompt-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; font-size: var(--fs-sm); line-height: 1.55; white-space: pre-wrap; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(1.75rem, 4vw, 2.5rem); padding-bottom: calc(clamp(1.75rem, 4vw, 2.5rem) + var(--safe-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; list-style: none; padding: 0; }
.footer-nav a { font-size: var(--fs-sm); color: var(--ink-soft); }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { font-size: var(--fs-xs); color: var(--ink-faint); }

@media (max-width: 560px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; width: 100%; }
}

/* ---------- Misc ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; z-index: 200; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }
.divider { height: 1px; background: var(--line); border: none; margin-block: clamp(1.5rem, 4vw, 2.5rem); }

/* ---------- About: photo + credentials ---------- */
.about-media {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; text-align: left;
}
.about-media__photo {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); border: 1px dashed var(--line-strong);
  min-height: 420px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.6rem;
}
.about-media__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-media__ph-icon { width: 40px; height: 40px; color: var(--ink-faint); opacity: 0.6; }
.about-media__ph { color: var(--ink-faint); font-size: var(--fs-sm); letter-spacing: 0.03em; }
.cred-group + .cred-group { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.cred-group__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
@media (max-width: 720px) {
  .about-media { grid-template-columns: 1fr; }
  .about-media__photo { min-height: 220px; order: -1; }
}

/* ---------- Testimonial ---------- */
.testimonial { max-width: 620px; margin-inline: auto; text-align: center; }
.testimonial blockquote {
  font-size: var(--fs-lg); line-height: 1.5; font-weight: 500;
  color: var(--ink); margin: 0 0 0.9rem;
}
.testimonial__who { font-size: var(--fs-sm); color: var(--ink-soft); }