/* ===========================================================
   Claude Code for Beginners — Workshop landing page styles
   =========================================================== */

:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-alt: #f3efe7;
  --ink: #20201d;
  --ink-soft: #4a463f;
  --muted: #756f66;
  --brand: #d97757;
  --brand-dark: #c25e3f;
  --brand-tint: #fbeee7;
  --accent: #4340bd;
  --accent-dark: #36339f;
  --accent-tint: #edecf8;
  --border: #e7e1d6;
  --ok: #2f8f5b;
  /* Dot-grid "paper" texture, reused across sections */
  --dot: rgba(45, 41, 34, 0.10);
  --dot-light: rgba(255, 255, 255, 0.07);
  --dot-size: 28px;
  --dot-grid: radial-gradient(circle, var(--dot) 1.6px, transparent 2.2px);
  --dot-grid-light: radial-gradient(circle, var(--dot-light) 1.6px, transparent 2.2px);
  --shadow-sm: 0 1px 2px rgba(32, 32, 29, 0.06);
  --shadow-md: 0 10px 30px rgba(32, 32, 29, 0.08);
  --shadow-lg: 0 24px 60px rgba(32, 32, 29, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--dot-grid);
  background-size: var(--dot-size) var(--dot-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px;
  --pad-x: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: var(--pad-y) var(--pad-x);
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: 0.92rem; }
.btn--lg { --pad-y: 15px; --pad-x: 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn--primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn--ghost { background: transparent; color: var(--accent); border-color: #c9c7ee; }
.btn--ghost:hover { background: var(--accent-tint); border-color: var(--accent); }

.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--brand-tint); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; letter-spacing: -0.02em; }
.brand__mark { color: var(--brand); width: 22px; height: 22px; flex: none; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.nav__links a:hover { color: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--bg);
  background-image:
    var(--dot-grid),
    radial-gradient(1200px 500px at 80% -10%, var(--brand-tint), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, #f6efe6, transparent 55%);
  background-size: var(--dot-size) var(--dot-size), auto, auto;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero__inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-tint);
  border: 1px solid #f1d9cd;
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 20px;
}
.hero__title { font-size: clamp(2.2rem, 5.4vw, 3.7rem); font-weight: 700; }
.hero__title span { color: var(--brand-dark); }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-soft); max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 36px 0 0;
}
.facts li {
  text-align: center;
  padding: 8px 10px;
}
.facts__icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--brand);
}
.facts__k { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.facts__v { display: block; font-weight: 700; margin-top: 4px; font-size: 1.02rem; }

/* ---------- Trust bar ---------- */
.trust { background: var(--ink); color: #f3efe7; }
.trust__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 0; }
.trust__item { display: flex; flex-direction: column; }
.trust__item strong { font-size: 1rem; }
.trust__item span { color: #b9b2a6; font-size: 0.92rem; }

/* ---------- Cohort companies ticker ---------- */
.marquee { background: var(--surface-alt); border-bottom: 1px solid var(--border); padding: 30px 0; overflow: hidden; }
.marquee__label { text-align: center; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; align-items: center; animation: marquee-scroll 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { margin: 0 42px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink-soft); white-space: nowrap; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__viewport { overflow-x: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt {
  background-color: var(--surface-alt);
  background-image: var(--dot-grid);
  background-size: var(--dot-size) var(--dot-size);
}
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
.section__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 660px; margin-bottom: 36px; }
.section__lead.center { margin-left: auto; margin-right: auto; }

/* ---------- Cards grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(45, 41, 34, 0.16);
  border-left: 1px solid rgba(45, 41, 34, 0.16);
}
.card {
  position: relative;
  border-right: 1px solid rgba(45, 41, 34, 0.16);
  border-bottom: 1px solid rgba(45, 41, 34, 0.16);
  padding: 38px 32px 42px;
}
/* corner crop-marks on each cell, matching "How it works" */
.card::before, .card::after {
  content: "";
  position: absolute;
  width: 11px; height: 11px;
  border: 0 solid rgba(45, 41, 34, 0.32);
  pointer-events: none;
}
.card::before { top: 9px; left: 9px; border-top-width: 1.5px; border-left-width: 1.5px; }
.card::after { bottom: 9px; right: 9px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--brand-tint);
  color: var(--brand);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; font-weight: 600; margin: 0 0 12px; }
.card p { color: var(--ink-soft); margin: 0; }

/* ---------- Who it's for ---------- */
.who {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(45, 41, 34, 0.22);
  border-radius: 3px;
  padding: 44px 48px;
}
.who__col { padding: 4px 0; }
.who__col:first-child { padding-right: 48px; }
.who__col:last-child { padding-left: 48px; border-left: 1px solid rgba(45, 41, 34, 0.18); }

/* Decorative corner crop-marks (positioned relative to .who) */
.who__col::before, .who__col::after {
  content: "";
  position: absolute;
  width: 13px; height: 13px;
  border: 0 solid rgba(45, 41, 34, 0.4);
  pointer-events: none;
}
.who__col:first-child::before { top: 9px; left: 9px; border-top-width: 2px; border-left-width: 2px; }
.who__col:first-child::after  { bottom: 9px; left: 9px; border-bottom-width: 2px; border-left-width: 2px; }
.who__col:last-child::before  { top: 9px; right: 9px; border-top-width: 2px; border-right-width: 2px; }
.who__col:last-child::after   { bottom: 9px; right: 9px; border-bottom-width: 2px; border-right-width: 2px; }

/* Monospace column headers */
.who__title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.who__title--for { color: var(--accent); }
.who__title--not { color: var(--brand-dark); }

/* Small "wrong page?" cross-link prompt shown under the boxed who-section */
.crosslink { text-align: center; margin: 32px 0 0; color: var(--muted); font-size: 1rem; }
.crosslink a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.crosslink a:hover { text-decoration: underline; text-underline-offset: 3px; }

.check, .cross { list-style: none; padding: 0; margin: 0; }
.check li, .cross li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.check li::before, .cross li::before {
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.check li::before { content: "✓"; background: #dff1e6; color: var(--ok); }
.cross li::before { content: "✕"; background: #f5e1da; color: var(--brand-dark); }
.check--tight li { margin-bottom: 10px; }

/* Scoped to the boxed "who" section: simple colored glyphs, no badge */
.who .check li, .who .cross li { padding-left: 30px; margin-bottom: 20px; }
.who .check li:last-child, .who .cross li:last-child { margin-bottom: 0; }
.who .check li::before, .who .cross li::before {
  background: none; width: auto; height: auto; border-radius: 0;
  top: 2px; font-size: 0.98rem;
}
.who .check li::before { color: var(--accent); }
.who .cross li::before { color: var(--brand-dark); }

/* ---------- Agenda ---------- */
/* ---------- Dark section (agenda) ---------- */
.section--dark {
  background-color: var(--ink);
  background-image: var(--dot-grid-light);
  background-size: var(--dot-size) var(--dot-size);
  color: #e9e4da;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
}
.agenda__headline,
.apply__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: #f5f1e8;
  margin: 0 0 16px;
}
.agenda__headline span,
.apply__headline span { color: var(--brand); }
.agenda__note { color: #b3ac9f; font-size: 1.05rem; margin: 0 0 44px; }
.agenda__footnote { color: #8c867b; font-size: 0.85rem; margin: 28px 0 0; }
.agenda__footnote sup { color: var(--brand); }
.agenda__subhead { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8c867b; margin: 0 0 16px; }

/* Weekly rhythm grid (dark) */
.rhythm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 48px;
}
.rhythm__item {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 22px 24px;
}
.rhythm__day { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.rhythm__item h4 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: #f5f1e8; margin: 0 0 6px; }
.rhythm__item p:last-child { margin: 0; color: #b3ac9f; font-size: 0.92rem; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px;
  left: 104px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 56px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.timeline__item:first-child { border-top: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 105px;
  top: 34px;
  width: 11px; height: 11px;
  transform: translateX(-50%);
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 0 5px var(--ink); /* mask the line behind the node */
}
.timeline__time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  line-height: 1.55;
  padding-top: 3px;
}
.timeline__time span { display: block; }
.timeline__time span:first-child { color: #e9e4da; }
.timeline__time span:last-child { color: #8c867b; }
.timeline__body h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: #f5f1e8;
  margin: 0 0 8px;
}
.timeline__body p { margin: 0; color: #b3ac9f; max-width: 620px; }

/* ---------- Host ---------- */
.host__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 8px;
}
.host__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; margin-top: 36px; }
.host__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: #d8cbb0; /* tan backdrop (shows until a photo is added) */
  border: 1px solid rgba(45, 41, 34, 0.16);
}
.host__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.host__photo-hint {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em;
  color: #6f6655;
}
.host__photo-hint code { background: rgba(255, 255, 255, 0.5); padding: 2px 6px; border-radius: 4px; }
.host__name { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: 0 0 10px; }
.host__body p { color: var(--ink-soft); }
.host__body code { background: var(--surface); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); font-size: 0.88em; }

/* ---------- Pricing ---------- */
.pricing { display: flex; justify-content: center; }
.pricing__card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}
.pricing__badge {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pricing__price { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.pricing__currency { font-size: 1.8rem; vertical-align: top; margin-right: 2px; }
.pricing__cents { font-size: 1.8rem; }
.pricing__note { color: var(--muted); margin: 6px 0 22px; }
.pricing__list { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.pricing__list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
.pricing__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: #dff1e6; color: var(--ok);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
}

/* ---------- Register ---------- */
/* ---------- Apply section (dark) ---------- */
.apply__intro { color: #c4beb2; max-width: 760px; font-size: 1.08rem; margin: 0; }
.apply__intro strong { color: #f5f1e8; }
.apply__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; margin-top: 40px; }
.apply__info { display: grid; gap: 24px; align-content: start; }

/* Date / Time / Format row */
.logistics {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px; overflow: hidden;
}
.logistics li { text-align: center; padding: 20px 10px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.logistics li:first-child { border-left: 0; }
.logistics__icon { display: block; width: 24px; height: 24px; margin: 0 auto 10px; color: var(--brand); }
.logistics__k { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8c867b; margin-bottom: 6px; }
.logistics__v { display: block; color: #ece7dd; font-weight: 600; font-size: 0.9rem; line-height: 1.35; }

/* "What's included" box */
.included { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 4px; padding: 26px 28px; }
.included__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8c867b; margin: 0 0 18px; }
.included__list { list-style: none; margin: 0; padding: 0; }
.included__list li { position: relative; padding-left: 36px; margin-bottom: 15px; color: #ddd7cc; }
.included__list li:last-child { margin-bottom: 0; }
.included__list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 23px; height: 23px; border-radius: 50%;
  border: 1.5px solid var(--brand); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.included__notes { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.included__notes li { position: relative; padding-left: 24px; margin-bottom: 9px; color: #9a948a; font-size: 0.9rem; }
.included__notes li:last-child { margin-bottom: 0; }
.included__notes li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.field { display: block; margin-bottom: 18px; }
.field--check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.field--check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); cursor: pointer; }
.field--check a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.field__label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
  background: #fff;
}
.field input.invalid { border-color: var(--brand-dark); box-shadow: 0 0 0 3px #f5e1da; }
.form__fine { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form__alert {
  background: #f5e1da;
  border: 1px solid #e9c2b3;
  color: #8a3d22;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.form__alert--info { background: var(--brand-tint); border-color: #f1d9cd; color: var(--brand-dark); }

/* Apply form rendered on the dark section */
.section--apply .form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}
.section--apply .field__label { color: #ece7dd; }
.section--apply .field input,
.section--apply .field select,
.section--apply .field textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f2efe7;
}
.section--apply .field input::placeholder,
.section--apply .field textarea::placeholder { color: #8c867b; }
.section--apply .field select option { color: #20201d; background: #fff; }
.section--apply .field input:focus,
.section--apply .field select:focus,
.section--apply .field textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.28);
}
.section--apply .field__hint,
.section--apply .form__fine { color: #b3ac9f; }
.section--apply .field--check { color: #c4beb2; }
.section--apply .field--check a { color: var(--brand); }
.section--apply .form__done h3 { color: #f5f1e8; }
.section--apply .form__done p { color: #c4beb2; }
.section--apply .form__done .muted { color: #8c867b; }

/* ---------- FAQ ---------- */
.faq__layout { display: grid; grid-template-columns: 0.85fr 1.25fr; gap: 56px; align-items: start; }
.faq__intro { position: sticky; top: 88px; }
.kicker--arrow::before { content: "\25B8  "; }
.faq__headline { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.04; margin: 0 0 22px; }
.faq__help { color: var(--ink-soft); max-width: 360px; margin: 0; }
.faq__help a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.faq__help a:hover { color: var(--brand); }

.faq { border: 1px solid rgba(45, 41, 34, 0.22); border-radius: 3px; }
.faq__item { border-top: 1px solid rgba(45, 41, 34, 0.16); }
.faq__item:first-child { border-top: 0; }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease;
}
.faq__item summary:hover { background: rgba(45, 41, 34, 0.045); }
.faq__item[open] { background: rgba(45, 41, 34, 0.035); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(45, 41, 34, 0.45);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 1.15rem; font-weight: 400; line-height: 1;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.faq__item[open] summary::after { content: "\2013"; background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__item p { margin: 0; padding: 0 28px 26px; color: var(--ink-soft); max-width: 640px; }

/* ---------- Final CTA ---------- */
.finalcta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.finalcta__inner { text-align: center; padding: 64px 0; }
.finalcta h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.finalcta p { color: #fde9e1; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9c3b8; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 28px 0; font-size: 0.88rem; }
.footer__inner p { margin: 0; }
.footer .muted { color: #8e887d; }

/* ---------- Modal (terms popup) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 19, 17, 0.55); }
.modal__dialog {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: 640px; max-height: 86vh;
  background: var(--surface); color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 1.4rem; margin: 0; }
.modal__close { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.modal__close:hover { color: var(--ink); }
.modal__body { padding: 22px 26px; overflow-y: auto; }
.modal__body h2 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 22px 0 6px; }
.modal__body h2:first-child { margin-top: 0; }
.modal__body p { color: var(--ink-soft); margin: 0 0 10px; font-size: 0.95rem; }
.modal__body a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.modal__body .legal__note { background: var(--brand-tint); border: 1px solid #f1d9cd; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 22px; }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 26px 22px; border-top: 1px solid var(--border); }
.modal__link { font-size: 0.88rem; color: var(--brand-dark); text-decoration: none; }
.modal__link:hover { text-decoration: underline; }

/* ---------- Success page ---------- */
.thanks { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.thanks__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  max-width: 560px;
  text-align: center;
}
.thanks__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #dff1e6; color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 20px;
}
.thanks__card h1 { font-size: 1.9rem; }
.thanks__card p { color: var(--ink-soft); }
.thanks__card .badge { margin: 0 auto 18px; }

/* ---------- Form extras (textarea / select) ---------- */
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
  background: #fff;
}
.field textarea.invalid,
.field select.invalid { border-color: var(--brand-dark); box-shadow: 0 0 0 3px #f5e1da; }
.field__hint { display: block; font-weight: 400; font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* Inline success state that replaces the form after applying */
.form__done { text-align: center; padding: 12px 4px 4px; }
.form__done .thanks__icon { margin-bottom: 16px; }
.form__done h3 { font-size: 1.3rem; }
.form__done p { color: var(--ink-soft); }

/* ---------- "How it works" steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(45, 41, 34, 0.16);
  border-left: 1px solid rgba(45, 41, 34, 0.16);
}
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps__item {
  position: relative;
  border-right: 1px solid rgba(45, 41, 34, 0.16);
  border-bottom: 1px solid rgba(45, 41, 34, 0.16);
  padding: 38px 32px 42px;
}
/* corner crop-marks on each cell */
.steps__item::before, .steps__item::after {
  content: "";
  position: absolute;
  width: 11px; height: 11px;
  border: 0 solid rgba(45, 41, 34, 0.32);
  pointer-events: none;
}
.steps__item::before { top: 9px; left: 9px; border-top-width: 1.5px; border-left-width: 1.5px; }
.steps__item::after { bottom: 9px; right: 9px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.steps__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.steps__num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.steps__icon { width: 30px; height: 30px; color: var(--accent); opacity: 0.5; }
.steps__item h3 { font-size: 1.4rem; font-weight: 600; margin: 0 0 14px; }
.steps__item p { margin: 0; color: var(--ink-soft); }

/* ---------- Status badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; border: 1px solid transparent;
}
.badge--pending { background: #fdf2dc; color: #8a6d1b; border-color: #f0e0b8; }
.badge--approved { background: #dff1e6; color: var(--ok); border-color: #bfe4cd; }
.badge--paid { background: var(--brand-tint); color: var(--brand-dark); border-color: #f1d9cd; }
.badge--rejected { background: #f5e1da; color: #8a3d22; border-color: #e9c2b3; }

/* ---------- Pay page ---------- */
.pay { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.pay__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.pay__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 18px; }
.pay__brand .brand__mark { color: var(--brand); }
.pay__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.pay__price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pay__hide { display: none; }
.pay__spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--brand);
  margin: 24px auto; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr; }
  .host__grid { grid-template-columns: 1fr; gap: 28px; }
  .host__photo { max-width: 360px; }
  .apply__grid { grid-template-columns: 1fr; gap: 30px; }
  .who { padding: 30px 28px; }
  .who__col:first-child { padding-right: 0; padding-bottom: 28px; }
  .who__col:last-child {
    padding-left: 0; padding-top: 30px;
    border-left: 0; border-top: 1px solid rgba(45, 41, 34, 0.18);
  }
  .facts { grid-template-columns: 1fr 1fr; }
  .faq__layout { grid-template-columns: 1fr; gap: 28px; }
  .faq__intro { position: static; }
  .rhythm { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps--4 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .logistics { grid-template-columns: 1fr; }
  .logistics li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .logistics li:first-child { border-top: 0; }
  .rhythm { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 56px 0; }
  .btn--lg { width: 100%; }
  .hero__cta .btn { width: 100%; }

  /* Timeline collapses to a single column; line + node hidden */
  .timeline::before,
  .timeline__item::before { display: none; }
  .timeline__item { grid-template-columns: 1fr; row-gap: 6px; }
  .timeline__time { display: flex; gap: 8px; padding-top: 0; }
  .timeline__time span:last-child::before { content: "– "; }
}
