/* Pitch Bitch brand layer.
   Tokens lifted from pitch-bitch-lighttheme-preview.html. One accent colour
   only: restraint is what makes this read as a product rather than a theme. */

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface2: #faf8f4;
  --text: #1c232b;
  --muted: #6b7280;
  --accent: #d9480f;
  --accent-soft: #e8590c;
  --good: #2f7a52;
  --bad: #c0392b;
  --line: #e4dfd6;
  --shadow: 0 1px 2px rgba(28, 35, 43, 0.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

a { color: inherit; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

/* --- Nav ---------------------------------------------------------------- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.logo-row {
  display: flex; align-items: center;
  font-weight: 800; font-size: 18px; letter-spacing: -0.3px;
  text-decoration: none;
}
.cone { display: inline-block; margin-left: 5px; }
.cone svg { display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-logout-form { margin: 0; }
.nav-link-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13.5px; color: var(--muted);
}
.nav-link-btn:hover { color: var(--text); }

/* --- Hero --------------------------------------------------------------- */
.hero { padding: 72px 0 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent);
  background: rgba(217, 72, 15, 0.08);
  border: 1px solid rgba(217, 72, 15, 0.25);
  padding: 5px 12px; border-radius: 20px; margin-bottom: 22px;
}
h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.1; letter-spacing: -1px; margin: 0 0 18px;
}
h1 span { color: var(--accent); }
.sub { max-width: 460px; margin: 0 auto 34px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* --- Dropzone ----------------------------------------------------------- */
.dropzone {
  /* This is a <label>, which defaults to display:inline. Without this, the
     background/padding fragment into a separate paint box per line instead
     of one card, and max-width/margin:auto silently do nothing on an inline
     box — the dropzone renders as a sliver behind the icon that overlaps the
     text below it rather than a bordered card. */
  display: block;
  border: 1.5px dashed var(--line); border-radius: 14px; background: var(--surface2);
  padding: 36px 20px; max-width: 460px; margin: 0 auto; text-align: center;
  cursor: pointer; transition: border-color .15s, background .15s;
  box-shadow: var(--shadow);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--surface); }
.dropzone .cone-big { margin-bottom: 12px; display: flex; justify-content: center; }
.dropzone .big { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.dropzone .small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.dropzone input[type=file] { display: none; }

.privacy-note {
  margin-top: 14px; font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 15px; color: var(--muted); text-align: center;
}

/* --- Beer banner --------------------------------------------------------- */
.beer-banner {
  background: rgba(217, 72, 15, 0.06);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 36px 20px; text-align: center;
}
.beer-banner .big-line {
  font-size: clamp(22px, 4.2vw, 32px); font-weight: 700; letter-spacing: -0.5px;
  margin: 0; line-height: 1.3;
}
.beer-banner .big-line .accent { color: var(--accent); }
.beer-banner .fine-print {
  margin-top: 8px; font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; color: var(--muted); letter-spacing: 0.5px;
}

/* --- Sections ----------------------------------------------------------- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
.section-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.section-sub { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.step-num {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; color: var(--accent); font-size: 12px;
  margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;
}
.optional-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: 1px;
  color: var(--muted); background: var(--surface2); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 20px; text-transform: uppercase;
}
.step-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.step-desc { color: var(--muted); font-size: 13px; line-height: 1.55; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow); }

/* --- Pricing ------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-grid-single { grid-template-columns: 1fr; justify-items: center; }
.price-grid-single .price-card { max-width: 320px; width: 100%; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.price-card.highlight { border-color: var(--accent); }
.price-card .who {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.price-card .price { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.price-card .price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.price-card .desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* --- Review page -------------------------------------------------------- */
.review-header { padding: 44px 0 28px; text-align: center; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.review-header .logo-row { justify-content: center; font-size: 28px; letter-spacing: -0.5px; }
.tagline { margin: 14px auto 0; max-width: 440px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.tone-toggle {
  display: inline-flex; gap: 2px; margin: 18px 0 0; padding: 3px;
  background: var(--surface2); border: 1px solid var(--line); border-radius: 10px;
}
.tone-btn {
  border: none; background: none; cursor: pointer; border-radius: 7px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.tone-btn:hover { color: var(--text); }
.tone-btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tone-flag { display: inline-flex; vertical-align: middle; margin-right: 5px; margin-top: -2px; }
.tone-flag svg { display: block; border-radius: 2px; }
.tone-rerun { margin-top: 10px; }
.tone-rerun .btn-quiet { font-size: 12.5px; }

/* --- Loading state (upload in progress) ---------------------------------
   Ported from the "Duke of Wellington Loading Animation" design (the
   traffic-cone-on-the-statue's-head reference CLAUDE.md's brand section
   calls out directly). Reskinned onto this site's own tokens rather than
   the source file's standalone dark palette/full-page background, since
   this card sits embedded inside the existing page chrome, not as a
   takeover of its own. loader-text/loader-dots/loader-sub are the same
   classes the previous horse-and-rider animation used -- kept as-is since
   their styling (small IBM Plex Mono status line) still fits. */
.loader-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 20px; text-align: center; margin: 20px 0 32px;
  box-shadow: var(--shadow);
}

.loader-location {
  width: max-content; max-width: 100%; margin: 0 auto 20px; display: flex;
  align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface2);
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted);
}
.loader-location-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 72, 15, 0.12); flex-shrink: 0;
}

.loader-stage {
  position: relative; width: min(420px, 100%); aspect-ratio: 3 / 2; margin: 0 auto 22px;
  overflow: hidden; border-radius: 14px; background: var(--surface2);
  border: 1px solid var(--line);
}
.loader-sprite {
  position: absolute; inset: 0;
  background: url("../img/duke-cone-sprite.21a650a23d05.png") no-repeat; background-size: 600% 100%;
  /* Duration is load-bearing: _body.html's HTMX poll interval matches this
     exactly. Unlike a seamless loop, this sprite plays through six frames
     one-way and then cuts straight back to frame one -- so the reset is
     always visible somewhere, and syncing the poll to land exactly on that
     cut is what keeps the swap from restarting the flight mid-air instead.
     Changing one duration without the other brings the mid-air jump back. */
  animation: loader-sprite-play 3.8s steps(1, end) infinite;
}
.loader-stage-glow {
  position: absolute; inset: auto 15% -20% 15%; height: 40%; border-radius: 50%;
  background: rgba(217, 72, 15, 0.14); filter: blur(35px); mix-blend-mode: multiply;
}
@keyframes loader-sprite-play {
  0%, 13%  { background-position: 0 0; }
  17%, 30% { background-position: 20% 0; }
  34%, 47% { background-position: 40% 0; }
  51%, 64% { background-position: 60% 0; }
  68%, 81% { background-position: 80% 0; }
  85%, 100% { background-position: 100% 0; }
}

.loader-eyebrow {
  margin: 0 0 8px; color: var(--accent); font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}

.loader-text {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 600; font-size: 14px; letter-spacing: 1px;
  color: var(--text); text-transform: uppercase;
}
.loader-dots span { animation: loader-blink 1.4s infinite; opacity: 0; }
.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loader-blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.loader-track {
  width: min(220px, 70%); height: 3px; margin: 18px auto 14px; overflow: hidden;
  border-radius: 99px; background: var(--line);
}
.loader-progress {
  height: 100%; width: 38%; border-radius: inherit; background: var(--accent);
  animation: loader-progress-sweep 2.2s ease-in-out infinite;
}
@keyframes loader-progress-sweep {
  0%   { transform: translateX(-105%); }
  50%  { transform: translateX(82%); }
  100% { transform: translateX(270%); }
}

.loader-sub {
  margin-top: 8px; font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px; color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .loader-sprite, .loader-progress { animation: none; }
  .loader-sprite { background-position: 100% 0; }
}

.slide-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.thumb-wrap { flex: 0 0 130px; }
.thumb-wrap img { width: 100%; border-radius: 6px; border: 1px solid var(--line); display: block; }
.thumb-placeholder { width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); }
.thumb-label { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10px; color: var(--muted); margin-top: 6px; letter-spacing: 1px; }

.comment { flex: 1; min-width: 0; display: flex; gap: 10px; }
.flag-icon { flex-shrink: 0; width: 16px; padding-top: 3px; }
.comment p { margin: 0; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.comment p.loading { color: var(--muted); font-style: italic; }
.tick { color: var(--good); font-size: 15px; }

/* --- Verdict ------------------------------------------------------------ */
.verdict-card { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; animation: rise .35s ease both; box-shadow: var(--shadow); }

/* An invitation, not another action button on this review — dashed border
   and the dropzone's own muted surface colour deliberately echo that
   "no pressure, tap when ready" register rather than the verdict card's
   solid-bordered, boxed-in urgency. */
.next-version-box {
  margin-top: 20px; padding: 22px; background: var(--surface2);
  border: 1.5px dashed var(--line); border-radius: 12px; text-align: center;
}
.next-version-box p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 420px; margin-left: auto; margin-right: auto; }
.next-version-box .btn { padding: 10px 20px; font-size: 13.5px; }

.next-version-box-simple {
  border-style: solid; padding: 14px 22px; text-align: left;
}
.next-version-box-simple a { color: var(--accent); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.next-version-box-simple a:hover { text-decoration: underline; }

/* Section 2 ("Next steps"): a plain top-border separator, not a full box —
   this is the primary content of the page, so it should feel like the
   natural continuation of it, not something boxed away from it. */
.results-section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.results-section .subsection-label { margin: 0 0 14px; }

/* Four deck actions as a 2x2 grid of cards rather than a row of small
   buttons — big enough to carry a one-line description each, so the
   action is legible without having to already know what the icon means.
   Card/button/link all share this class, so the reset properties (font,
   text-align, appearance) undo the browser defaults a bare <button> would
   otherwise bring. */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.step-card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 22px 18px; cursor: pointer; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  font: inherit; appearance: none; -webkit-appearance: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.step-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 72, 15, 0.1);
}
.step-icon { font-size: 26px; line-height: 1; }
.step-title { font-weight: 700; font-size: 15.5px; letter-spacing: -0.2px; }
.step-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Share roast: the highest-value action for growth, given slightly more
   visual weight rather than another same-weight card in the grid. */
.step-card.primary { background: rgba(217, 72, 15, 0.04); border-color: rgba(217, 72, 15, 0.25); }

/* A finished state, not an action -- "already shared" / "still matching".
   No hover lift, since there's nothing to click. */
.step-card.is-static { cursor: default; }
.step-card.is-static:hover { border-color: var(--line); transform: none; box-shadow: none; }

/* Section 3 (the tip jar): its own quiet, muted box, deliberately reading
   as a closing gesture rather than another row of things to act on — same
   calm surface2 register as .next-version-box, not the brighter
   accent-bordered treatment .investor-feedback-block/.match-list-block use
   for genuinely new information. Centred, since there's nothing here to
   scan top-to-bottom, just three equal options to pick from. */
.tip-jar-section {
  margin-top: 20px; padding: 20px 22px; background: var(--surface2);
  border: 1px solid var(--line); border-radius: 12px; text-align: center;
}
.tip-jar-section .subsection-label { margin: 0 0 14px; }
.tip-jar-section .btn-row { justify-content: center; margin-top: 0; }

.subsection-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}

.verdict-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.verdict-label { font-size: 21px; font-weight: 800; letter-spacing: -0.2px; }
.verdict-text { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.oneliner {
  margin-top: 16px; padding: 14px 16px;
  background: rgba(217, 72, 15, 0.06);
  border-left: 3px solid var(--accent); border-radius: 4px;
  font-weight: 700; font-size: 15px; font-style: italic; color: var(--accent);
}

/* The only part of the review allowed to know about more than one slide at
   once, so it's deliberately styled as neither the blunt per-slide voice
   above it (.verdict-text) nor the shareable pull-quote (.oneliner) -- a
   quieter, boxed-off observation, not another reaction. */
.consistency-note {
  margin-top: 16px; padding: 14px 16px;
  background: var(--surface2); border: 1px solid var(--line); border-radius: 8px;
}
.consistency-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.consistency-text {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13.5px; line-height: 1.6; color: var(--text);
}
.beer-note { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.beer-note b { color: var(--accent-soft); }

.btn-row { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn {
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none; display: inline-block; border: none; cursor: pointer;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-quiet { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0; }

.share-card-img { width: 100%; max-width: 420px; border-radius: 10px; border: 1px solid var(--line); display: block; margin: 0 auto 20px; }

/* --- Investor feedback ---------------------------------------------------
   Deliberately not styled like the AI verdict card: a real person's opinion
   should never read as more of the Pitch Bitch persona's commentary. */
.investor-feedback-block {
  margin-top: 20px; background: var(--surface); border: 1px solid var(--good);
  border-radius: 12px; padding: 22px; box-shadow: var(--shadow);
}
.investor-feedback-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 1.5px;
  color: var(--good); margin-bottom: 16px;
}
.investor-feedback-item { padding: 12px 0; border-top: 1px solid var(--line); }
.investor-feedback-item:first-of-type { border-top: none; padding-top: 0; }
.investor-feedback-byline { font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.investor-feedback-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* --- Suggested-investor matches -------------------------------------------
   A different border colour from investor-feedback-block on purpose: this is
   Claude's recommendation of who to approach, not a real person's written
   opinion, and the two should never read as the same kind of content. */
.match-list-block {
  margin-top: 20px; background: var(--surface); border: 1px solid var(--accent);
  border-radius: 12px; padding: 22px; box-shadow: var(--shadow);
}
.match-list-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 1.5px;
  color: var(--accent); margin-bottom: 16px;
}
.match-item { padding: 12px 0; border-top: 1px solid var(--line); }
.match-item:first-of-type { border-top: none; padding-top: 0; }
.match-byline { font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.match-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* --- Investor-readiness checklist ------------------------------------------
   A neutral border, not the good/accent colours investor-feedback-block and
   match-list-block use -- this isn't a real person's feedback or a matching
   recommendation, it's a reference list, so it gets the same quiet register
   as consistency-note above rather than competing for attention. */
.checklist-block {
  margin-top: 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px; box-shadow: var(--shadow);
}
.checklist-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 16px;
}
.checklist-list { list-style: none; margin: 0; padding: 0; }
.checklist-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-top: 1px solid var(--line);
}
.checklist-item:first-child { border-top: none; padding-top: 0; }
.checklist-item .tick, .checklist-item .cross {
  flex-shrink: 0; font-size: 15px; line-height: 1.5; font-weight: 700;
}
.checklist-item .cross { color: var(--bad); }
.checklist-text { font-size: 14px; line-height: 1.55; color: var(--text); }

/* --- Messages ----------------------------------------------------------- */
.messages { margin: 20px 0; padding: 0; list-style: none; }
.messages li {
  padding: 12px 16px; border-radius: 8px; margin-bottom: 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px;
  border: 1px solid var(--line); background: var(--surface);
}
.messages li.error { border-color: var(--bad); color: var(--bad); background: rgba(192, 57, 43, 0.05); }
.messages li.success { border-color: var(--good); }

/* --- Forms (investor signup/login) --------------------------------------- */
.auth-form { max-width: 420px; margin: 0 auto; padding: 44px 0 60px; }
.auth-form h1 { font-size: 26px; margin-bottom: 8px; }
.auth-form .sub-lede { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.auth-form .benefits-lede { color: var(--text); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.field .help-text { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field .errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--bad); font-size: 12.5px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface2); color: var(--text); font-family: inherit; font-size: 14px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.auth-form .foot-link { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.auth-form .foot-link a { color: var(--accent); text-decoration: none; }
.auth-divider {
  text-align: center; color: var(--muted); font-size: 12px; text-transform: uppercase;
  letter-spacing: 1px; margin: 16px 0; font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

/* --- Investor dashboard --------------------------------------------------- */
.pool-list { display: flex; flex-direction: column; gap: 12px; }
.pool-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: inherit;
}
.pool-row:hover { border-color: var(--accent); }
.pool-row .pool-meta { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; color: var(--muted); margin-top: 4px; }
.pool-row .pool-verdict { font-weight: 700; font-size: 14px; flex-shrink: 0; }
.match-badge {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: 0.5px;
  color: var(--accent); background: rgba(217, 72, 15, 0.08); border: 1px solid rgba(217, 72, 15, 0.25);
  padding: 2px 8px; border-radius: 20px; margin-left: 8px; text-transform: uppercase;
}
.feedback-form textarea { min-height: 120px; }
.existing-feedback-note { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }

/* --- Prose (legal pages) ------------------------------------------------ */
.prose { padding: 40px 0 60px; }
.prose h1 { font-size: 30px; margin-bottom: 8px; }
.prose h2 { font-size: 18px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.prose strong { color: var(--text); }

/* --- Blog ----------------------------------------------------------------
   Long-form prose reads better in a serif than in the site's usual
   Space Grotesk (display) or IBM Plex Mono (reserved for the AI's voice,
   giving it a "notes being taken" feel that would be wrong here). */
.blog-list { display: flex; flex-direction: column; gap: 28px; padding: 20px 0 60px; }
.blog-list-item {
  display: flex; gap: 20px; text-decoration: none; color: inherit;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.blog-list-item:last-child { border-bottom: none; }
.blog-list-thumb { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.blog-list-date {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px;
  letter-spacing: 0.5px; color: var(--muted); margin-bottom: 4px;
}
.blog-list-title { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.2px; }
.blog-list-excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

.blog-post-date {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.5px; color: var(--muted); margin-top: 24px;
}
.blog-post-image { width: 100%; border-radius: 12px; margin: 20px 0; display: block; }
.blog-post-body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 18px; line-height: 1.75; color: var(--text);
}
.blog-post-body p { margin: 0 0 20px; }
.blog-post-body h2 { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 24px; margin: 40px 0 14px; letter-spacing: -0.3px; }
.blog-post-body h3 { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 19px; margin: 30px 0 10px; }
.blog-post-body a { color: var(--accent); }
.blog-post-body blockquote {
  margin: 24px 0; padding: 4px 20px; border-left: 3px solid var(--accent);
  color: var(--muted); font-style: italic;
}
.blog-post-body ul, .blog-post-body ol { padding-left: 22px; margin: 0 0 20px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body code { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 15px; background: var(--surface2); padding: 2px 5px; border-radius: 4px; }

/* --- FAQ ------------------------------------------------------------------ */
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 14.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: 'IBM Plex Mono', ui-monospace, monospace; color: var(--accent);
  font-size: 18px; flex-shrink: 0; transition: transform .15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 18px 18px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.faq-answer b { color: var(--text); }

footer {
  border-top: 1px solid var(--line); padding: 32px 0; margin-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
}
footer .logo-row { font-size: 14px; }
.footer-link { color: var(--muted); text-decoration: underline; }
.footer-link:hover { color: var(--text); }

/* --- Cookie consent ------------------------------------------------------ */
.consent-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
  max-width: 640px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(28, 35, 43, 0.14);
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.consent-banner.is-hidden { display: none; }
.consent-banner p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); flex: 1 1 260px; }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.consent-actions .btn { padding: 8px 16px; font-size: 13px; }

/* --- Testimonial carousel --------------------------------------------------
   One slide visible at a time via absolute positioning + opacity fade; the
   wrapper's height is pinned to the tallest slide so nothing jumps as slides
   with different quote lengths cross-fade. */
.testimonial-carousel {
  position: relative; max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 40px 32px 28px; box-shadow: var(--shadow); min-height: 220px;
}
.testimonial-slide {
  position: absolute; top: 40px; left: 32px; right: 32px;
  opacity: 0; visibility: hidden; transition: opacity .5s ease;
}
.testimonial-slide.is-active { position: relative; top: 0; left: 0; right: 0; opacity: 1; visibility: visible; }
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--surface2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 18px; color: var(--accent);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-quote { font-size: 16px; line-height: 1.6; margin: 0 0 14px; font-style: italic; }
.testimonial-byline {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.5px;
  color: var(--muted); text-transform: uppercase;
}
.testimonial-dots { margin-top: 22px; display: flex; justify-content: center; gap: 8px; }
.testimonial-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--line); transition: background .2s;
}
.testimonial-dot.is-active { background: var(--accent); }

/* --- About page ------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 40px 0 60px; }
.about-col p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0 0 16px; }
.about-eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 14px;
}
.about-photo {
  width: 220px; height: 220px; border-radius: 50%;
  object-fit: cover; box-shadow: var(--shadow);
  margin-bottom: 20px;
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .slide-row { flex-direction: column; }
  .thumb-wrap { flex: 0 0 auto; max-width: 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
