/* Layout: one calm column with a wide hero. The rising energy bars are the signature element; goldfinch yellow is used only for calls to action and the top bar. */
:root {
  --bg: #F1F5F4;
  --surface: #FFFFFF;
  --fg: #16262B;
  --muted: #475C63;
  --line: #D3DDDB;
  --soft: #E3ECEA;
  --brand: #1D4B53;
  --brand-ink: #FFFFFF;
  --accent: #E6B31C;
  --accent-ink: #241C00;
  --drain: #A9B8B6;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E181B;
    --surface: #152327;
    --fg: #E7EFEE;
    --muted: #9FB4B8;
    --line: #27393E;
    --soft: #14252A;
    --brand: #8CCBD2;
    --brand-ink: #0B1A1D;
    --accent: #EDBC2A;
    --accent-ink: #241C00;
    --drain: #3F565B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E181B;
  --surface: #152327;
  --fg: #E7EFEE;
  --muted: #9FB4B8;
  --line: #27393E;
  --soft: #14252A;
  --brand: #8CCBD2;
  --brand-ink: #0B1A1D;
  --accent: #EDBC2A;
  --accent-ink: #241C00;
  --drain: #3F565B;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 46rem; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band { background: var(--soft); }
.stack { display: grid; gap: 1.25rem; }
.stack-lg { display: grid; gap: 2rem; }
.measure { max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; max-width: 36rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.9rem;
}
.brand { text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--fg); }
.brand .mark { font-weight: 800; }
.brand .tld { font-weight: 500; color: var(--muted); }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--fg); text-decoration: none; font-weight: 500; padding-block: 0.4rem; display: inline-block; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-bottom-color: var(--line); }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-sm { min-height: 40px; padding: 0.35rem 1.05rem; font-size: 0.95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; justify-items: start; }
.cred { font-size: 0.95rem; color: var(--muted); }
.cred strong { color: var(--fg); font-weight: 650; }

/* Energy bars */
.ladder { margin: 0; display: grid; gap: 0.9rem; min-width: 0; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; grid-template-rows: minmax(0, 1fr); height: clamp(220px, 34vw, 300px); border-bottom: 2px solid var(--fg); }
.bars li {
    background: var(--brand);
  color: var(--brand-ink);
  border-radius: 6px 6px 0 0;
  display: flex;
  justify-content: center;
  padding-top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.15rem;
}
.b1{height:16%}.b2{height:28%}.b3{height:42%}.b4{height:56%}.b5{height:70%}.b6{height:84%}.b7{height:100%}
.bars li.drain { background: var(--drain); color: var(--fg); }
.bars li.top { background: var(--accent); color: var(--accent-ink); }
.ladder-key { display: grid; grid-template-columns: 2fr 5fr; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.ladder-key span { border-top: 0; padding-top: 0.1rem; }
.ladder figcaption { font-size: 0.95rem; color: var(--muted); }

/* Feeling lists */
.feelings { list-style: none; margin: 0; padding: 0; }
.feelings li {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  max-width: 34ch;
}
.feelings li:last-child { border-bottom: 1px solid var(--line); }

/* Definition rows */
.rows { margin: 0; }
.rows > div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.4rem 2.5rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows dt { font-family: var(--font-display); font-weight: 650; font-size: 1.25rem; line-height: 1.2; }
.rows dd { margin: 0; max-width: 60ch; }

/* Five Fs */
.fs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 1.5rem 1.25rem; }
.fs li { border-top: 2px solid var(--brand); padding-top: 0.8rem; min-width: 0; }
.fs h3 { font-size: 1.3rem; }
.fs p { font-size: 0.97rem; color: var(--muted); margin-top: 0.25rem; }

/* Two-column text */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem 4rem; align-items: start; }

/* Energy levels */
.levels { list-style: none; margin: 0; padding: 0; }
.levels li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.levels .n { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--brand); }
.levels .drain-n { color: var(--muted); }
.levels h3 { margin-bottom: 0.2rem; }
.levels .says { font-family: var(--font-display); font-size: 1.15rem; color: var(--fg); margin-bottom: 0.45rem; }
.levels p { max-width: 60ch; }
.group-title { display: grid; gap: 0.35rem; margin-top: 2.5rem; }
.group-title:first-child { margin-top: 0; }
.checkin { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding-block: 1rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; cursor: pointer; list-style-position: outside; }
.faq details p { margin-top: 0.7rem; max-width: 62ch; }

/* Notes */
.note { background: var(--soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: 0.98rem; }
.band .note { background: var(--surface); }
.todo { border: 2px dashed var(--accent); background: var(--surface); border-radius: var(--radius); padding: 1.1rem 1.25rem; }

/* Forms */
.form { display: grid; gap: 1.15rem; max-width: 36rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}
.field textarea { min-height: 9rem; resize: vertical; }
.check { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.7rem; align-items: start; font-size: 0.97rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--brand); }
.form-msg { padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--soft); }
.hint { font-size: 0.92rem; color: var(--muted); }

/* CTA band */
.cta-band { text-align: left; }
.cta-band .wrap { display: grid; gap: 1.25rem; justify-items: start; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding-block: 3rem 2.5rem; font-size: 0.97rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.foot-grid ul { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.foot-grid h2 { font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.legal { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); display: grid; gap: 0.5rem; max-width: 70ch; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .rows > div { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .levels li { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 0.9rem; }
  .levels .n { font-size: 1.9rem; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 1rem; border-radius: var(--radius); z-index: 10; }

.ruled { border-top: 1px solid var(--line); }
.rows dt a { color: var(--fg); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
