/* NutraScale. Restrained executive style: warm-white surfaces, deep ink type, muted copper accents.
   Proposed launch colors from the page brief, paired with the approved capsule-bars logo (2026-11-29).
   Fonts follow the brand family: Raleway for text, Fraunces italic for one phrase per big headline. */
:root {
  --bg: #FAF7F2;
  --surface: #F3EEE6;
  --card: #FFFFFF;
  --line: #E4DCD0;
  --ink: #1B1E23;
  --body: #3A3F47;
  --muted: #5D636B;
  --copper: #9A5B34;        /* accent text on light, 5:1 on --bg */
  --copper-rule: #B87A4B;   /* decorative rules only */
  --copper-light: #D9A27A;  /* accent text on ink */
  --error: #A3261B;
  --success: #2E5E4E;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-photo: 16px;
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 1.0625rem/1.65 Raleway, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "lnum"; font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.14; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
.phrase { font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 400; color: var(--copper); letter-spacing: 0; }
p { margin: 0; }
a { color: var(--copper); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid var(--copper); outline-offset: 3px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-btn); z-index: 20; }
.skip-link:focus { top: 12px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--copper); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--copper-rule); flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn); font: 600 1rem/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); }
.btn-primary { background: var(--ink); color: #FAF7F2; }
.btn-primary:hover { background: #2C3138; }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--surface); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Header: floating sticky bar */
.site-header { position: sticky; top: 0; z-index: 10; padding: 12px 0; background: rgba(250, 247, 242, 0.94); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.wordmark img { width: 168px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 24px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--copper); text-decoration: underline; }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
@media (max-width: 759px) {
  .site-header { padding: 8px 0 4px; }
  .wordmark img { width: 136px; }
  .header-inner { gap: 0 12px; }
  .site-nav { order: 3; width: 100%; }
  .site-nav ul { gap: 0 20px; }
  .site-nav a { font-size: 0.95rem; }
  .header-cta { font-size: 0.875rem; padding: 8px 14px; }
}

/* Sections */
section { scroll-margin-top: 96px; }
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { font-size: 1.2rem; color: var(--body); max-width: 60ch; }
.narrow > * { max-width: 780px; }
.narrow p { margin-top: 24px; font-size: 1.15rem; }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-photo); }
@media (min-width: 960px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 64px; }
}

/* Accelerator phases */
.phases { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: phase; }
.phase { padding: 24px 0 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; }
.phase:last-child { border-bottom: 1px solid var(--line); }
.phase-num { grid-row: span 2; font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 1.6rem; line-height: 1.1; color: var(--copper); }
.phase p { color: var(--body); font-size: 1rem; }
@media (min-width: 1080px) {
  .phases { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .phase, .phase:last-child { grid-template-columns: 1fr; border-bottom: 0; border-top: 2px solid var(--copper-rule); padding-top: 20px; gap: 10px; align-content: start; }
  .phase-num { grid-row: auto; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .phases { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .phase:last-child { border-bottom: 0; }
}

/* Brand and commercial control band */
.band { background: var(--ink); color: #E7E2DA; }
.band h2 { color: #FAF7F2; }
.band .phrase { color: var(--copper-light); }
.band .eyebrow { color: var(--copper-light); }
.band .eyebrow::before { background: var(--copper-light); }
.band a { color: var(--copper-light); }
.band a:focus-visible { outline-color: var(--copper-light); }

/* Discovery call */
.discovery-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 960px) { .discovery-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.discovery-copy p { margin-top: 24px; font-size: 1.15rem; max-width: 46ch; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.form-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff; width: 100%;
  border: 1px solid #A49A8C; border-radius: var(--radius-btn); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { color: var(--error); font-size: 0.9rem; font-weight: 500; }
.fine { font-size: 0.875rem; color: var(--muted); }
.form-status { font-weight: 600; min-height: 1.2em; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-unavailable { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 14px 16px; color: var(--ink); margin-bottom: 18px; }
.form-card .btn { width: 100%; }
@media (min-width: 560px) { .form-card .btn { width: auto; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-inner img { width: 132px; margin-right: auto; }
.site-footer a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }

/* Simple text pages (privacy, 404) */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 24px 72px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin: 24px 0 8px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc .back { display: inline-flex; align-items: center; min-height: 44px; }

/* Photo placeholder rule kept for later pages (see launch-site template). */
.shot { margin: 0; display: grid; place-items: center; padding: 16px; border: 2px dashed var(--line); border-radius: var(--radius-photo); min-height: 160px; }
.shot figcaption { max-width: 34ch; text-align: center; font-size: 0.9rem; color: var(--muted); }
