/*
 * The Business of Being You
 *
 * Palette, type and spacing follow the tokens on zonalord.com so the page
 * reads as Zona's, while staying a separate site with no shared navigation.
 * Contrast notes from that site apply: copper #a65f32 is for button grounds
 * and marks only; small copper text uses --accent-text.
 */

@font-face {
  font-family: 'Source Serif 4 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --canvas: #f7f2ea;
  --canvas-sunk: #e9ddce;
  --canvas-raised: #fdfaf5;
  --ink: #18324b;
  --ink-soft: #3f4b50;
  --ink-muted: #56656c;
  --accent: #a65f32;
  --accent-text: #90522b;
  --accent-strong: #8a4e29;
  --accent-soft: #ecdccc;
  --rule: #d8cec2;
  --border-interactive: #927a5d;
  --inverse-text: #f7f2ea;
  --inverse-accent: #d08d61;

  --serif: 'Source Serif 4 Variable', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --text-sm: 0.9375rem;
  --text-base: clamp(1.0625rem, 0.98rem + 0.36vw, 1.1875rem);
  --text-lg: clamp(1.1875rem, 1.08rem + 0.45vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.72vw, 1.75rem);
  --text-2xl: clamp(1.625rem, 1.35rem + 1.15vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 1.6rem + 2.7vw, 3.75rem);

  --gutter: clamp(1.25rem, 0.9rem + 1.7vw, 2.5rem);
  --section-gap: clamp(3.5rem, 2.2rem + 5.4vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.62;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 0;
}
h2 { font-size: var(--text-2xl); margin-bottom: 1.25rem; }
h3 { font-size: var(--text-lg); }

p { margin: 0 0 1.1em; }

a { color: var(--accent-text); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-strong); }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--inverse-text);
  padding: 0.6rem 1rem; z-index: 10;
}
.skip-link:focus { top: 1rem; color: var(--inverse-text); }

.container { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(40rem + 2 * var(--gutter)); }
.container.wide { max-width: calc(68rem + 2 * var(--gutter)); }

.section { padding: var(--section-gap) 0; }
.sunk { background: var(--canvas-sunk); }

.section-intro { max-width: 40rem; margin-bottom: 2rem; }

/* Header and footer: deliberately no navigation. */
.site-header { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.wordmark {
  margin: 0; font-family: var(--serif); font-size: 1.25rem;
  color: var(--ink); font-weight: 500; letter-spacing: 0.01em;
}
.site-footer { padding: 2.5rem 0; font-size: var(--text-sm); color: var(--ink-muted); border-top: 1px solid var(--rule); }
.site-footer p { margin: 0; }

/* Opening */
.hero { padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 var(--section-gap); }
.eyebrow {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-text); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: var(--text-4xl); line-height: 1.1; margin-bottom: 1.5rem; }
.subtitle { font-family: var(--serif); font-size: var(--text-xl); color: var(--ink); line-height: 1.35; margin-bottom: 1.5rem; }
.lead { font-size: var(--text-lg); }
.hero-note { font-size: var(--text-sm); color: var(--ink-muted); margin: 1.25rem 0 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Buttons */
.button {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  text-decoration: none; border-radius: 3px; border: 2px solid var(--accent);
  text-align: center;
}
.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.button.secondary { background: transparent; color: var(--accent-text); border-color: var(--border-interactive); }
.button.inverse { background: var(--inverse-text); color: var(--ink); border-color: var(--inverse-text); }
.button.inverse:hover { background: #fff; color: var(--ink); }

/* Not-yet-connected buttons: plainly inert, never styled as live. */
.button.pending,
.button.pending:hover {
  background: transparent; color: var(--ink-muted);
  border: 2px dashed var(--border-interactive);
  cursor: not-allowed; font-weight: 500;
}
.pending-tag { white-space: nowrap; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* Draft markers */
.draft-banner {
  background: var(--ink); color: var(--inverse-text);
  font-size: var(--text-sm); padding: 0.75rem var(--gutter); text-align: center;
}
.todo, .todo-inline {
  display: inline-block; background: #fff3c4; color: #5a4300;
  border: 1px dashed #a07d00; border-radius: 2px;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600;
  padding: 0.05rem 0.4rem; line-height: 1.5;
}
.todo-block { font-size: var(--text-sm); margin-top: 2rem; }

/* Prose */
.prose h3 { margin: 2.5rem 0 0.75rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* See, Discern, Move */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: 0.75rem; }
.steps li {
  display: grid; gap: 0.25rem;
  padding: 1rem 1.25rem; background: var(--canvas-raised);
  border-left: 3px solid var(--accent);
}
.step-name { font-family: var(--serif); font-size: var(--text-lg); color: var(--ink); }
@media (min-width: 40rem) {
  .steps li { grid-template-columns: 6rem 1fr; align-items: baseline; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0.1rem; top: 0.62em;
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent);
}

/* Eight weeks */
.weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.weeks li {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem;
  padding: 1.25rem 0; border-top: 1px solid var(--rule-strong, #bfaf9b);
}
.weeks li:last-child { border-bottom: 1px solid #bfaf9b; }
.week-num { font-family: var(--serif); font-size: var(--text-xl); color: var(--accent-text); line-height: 1.2; }
.weeks h3 { margin-bottom: 0.3rem; }
.weeks p { margin: 0; }

/* Tiers */
.tiers { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.tier {
  display: flex; flex-direction: column;
  background: var(--canvas-raised); border: 1px solid var(--rule);
  border-radius: 3px; padding: 1.75rem 1.5rem;
}
.tier.featured { border: 2px solid var(--ink); }
.tier h3 { font-size: var(--text-xl); margin-bottom: 0.5rem; }
.tier-summary { font-size: var(--text-sm); color: var(--ink-muted); }
.price { font-family: var(--serif); font-size: var(--text-2xl); color: var(--ink); margin: 0.5rem 0 0.25rem; }
.price-alt { font-size: var(--text-sm); margin-bottom: 1.5rem; }
.tier .ticks { font-size: var(--text-sm); }
.tier-detail, .not-included { font-size: var(--text-sm); }
.not-included { color: var(--ink-muted); border-top: 1px solid var(--rule); padding-top: 1rem; }
.tier-actions { margin-top: auto; padding-top: 1rem; display: grid; gap: 0.6rem; }

/* Dates */
.dates { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
@media (min-width: 36rem) { .dates { grid-template-columns: 1fr 1fr; } }
.dates li { background: var(--canvas-raised); padding: 0.75rem 1rem; border-radius: 2px; color: var(--ink); }
.dates span { display: inline-block; min-width: 4.5rem; font-size: var(--text-sm); color: var(--ink-muted); }
.small { font-size: var(--text-sm); }

/* About */
.about { display: grid; gap: 2rem; align-items: start; }
.portrait { margin: 0; max-width: 20rem; }
@media (min-width: 52rem) { .about { grid-template-columns: 18rem 1fr; gap: 3.5rem; } }
.credentials { list-style: none; padding: 1.25rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--rule); font-size: var(--text-sm); }
.credentials li { margin-bottom: 0.4rem; }

/* FAQs */
.faqs { border-top: 1px solid #bfaf9b; }
.faqs details { border-bottom: 1px solid #bfaf9b; }
.faqs summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: var(--text-lg); color: var(--ink);
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after {
  content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; color: var(--accent-text);
}
.faqs details[open] summary::after { content: '\2212'; }
.faqs details p { padding-bottom: 0.5rem; }

/* Closing */
.closing { background: var(--ink); color: var(--inverse-text); }
.closing h2 { color: var(--inverse-text); }
.closing a:not(.button) { color: var(--inverse-accent); }

.conversation {
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule);
  display: grid; gap: 1rem; justify-items: start; max-width: 40rem;
}
.conversation p { margin: 0; }

.dates em { display: block; font-style: normal; font-size: var(--text-sm); color: var(--accent-text); }
.deadline { font-weight: 600; color: var(--ink); }
