/* PitchEvaluator's own visual identity (06_PRD_PITCHEVALUATOR_LANDING.md §4)
   — deliberately distinct from the internal app's Ink Black / Yale Blue /
   Powder Blue palette (style.css), since a submitter is choosing *between*
   5P and Meerkat, so the front door shouldn't look like it belongs to
   either. Provisional: exact branding is explicitly not decided yet in the
   PRD (§13) — this is a considered placeholder, easy to reskin later, not
   a blocker on a designer.

   Typography pairs a serif display face (headlines) with a clean system
   sans (body) - no external font requests, matching this project's existing
   zero-CDN-dependency approach. */

:root {
  --ink: #10241e;
  --muted: #5b6b63;
  --muted-2: #8a988f;
  --bg: #f6f8f4;
  --surface: #ffffff;
  --border: #dce4de;

  --accent: #0f6b5c;
  --accent-strong: #0b4e43;
  --accent-contrast: #ffffff;
  --accent-2: #e9724c;
  --accent-2-bg: #fdece4;

  --good-bg: #e4f0e0;
  --good-fg: #2f5d34;
  --warn-bg: #fdf1de;
  --warn-fg: #8a5a12;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3ef;
    --muted: #a9b8b0;
    --muted-2: #7c8a82;
    --bg: #0d1512;
    --surface: #142019;
    --border: #24352b;
    --accent: #4fd6bb;
    --accent-strong: #7fe6d0;
    --accent-contrast: #0b1a15;
    --accent-2: #f3936c;
    --accent-2-bg: #3a2419;
    --good-bg: #1f3320;
    --good-fg: #a9d6ab;
    --warn-bg: #382c14;
    --warn-fg: #e8c77a;
  }
}

* { box-sizing: border-box; }

body.pe {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

.pe-wrap { max-width: 880px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.pe-nav {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.pe-nav-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pe-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  text-decoration: none;
}
.pe-brand span { color: var(--accent); }
.pe-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 1.2rem;
}
.pe-nav-links a:hover { color: var(--accent); }

.pe-hero { padding: 3.5rem 0 2rem; text-align: left; }
.pe-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
  text-wrap: balance;
}
.pe-hero p.pe-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 1.6rem;
}
.pe-price-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.pe-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--accent-2-bg);
  color: var(--accent-2);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.pe-price-badge strong { font-size: 1.3rem; }

.pe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  margin: 1.5rem 0;
}

.pe-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

ol.pe-steps { list-style: none; counter-reset: pe-step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
ol.pe-steps li { counter-increment: pe-step; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.9rem; }
ol.pe-steps li::before {
  content: counter(pe-step);
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--accent-contrast);
  background: var(--accent);
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
ol.pe-steps strong { display: block; }
ol.pe-steps span { color: var(--muted); font-size: 0.92rem; }

.pe-criteria-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.6rem; margin-top: 0.5rem; }
.pe-criteria-chip {
  background: var(--good-bg);
  color: var(--good-fg);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.pe-hypothesis-tabs { display: flex; gap: 0.6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pe-hypothesis-tab {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--surface);
}

form.pe-form label {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
form.pe-form input[type="text"],
form.pe-form input[type="email"],
form.pe-form input[type="file"],
form.pe-form select {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
}
.pe-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.pe-checkbox-row input { margin-top: 0.2rem; }
.pe-checkbox-row a { color: var(--accent); }

button.pe-submit, a.pe-button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
button.pe-submit:hover, a.pe-button:hover { background: var(--accent-strong); }

.pe-banner { border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1.2rem; font-size: 0.9rem; }
.pe-banner-warn { background: var(--warn-bg); color: var(--warn-fg); }
.pe-banner-good { background: var(--good-bg); color: var(--good-fg); }

.pe-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pe-footer a { color: var(--muted-2); }

.pe-legal { font-size: 0.95rem; color: var(--ink); }
.pe-legal h2 { font-family: Georgia, serif; font-size: 1.3rem; margin-top: 2rem; }
.pe-legal-notice {
  background: var(--warn-bg);
  color: var(--warn-fg);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pe-report-preview {
  font-size: 0.92rem;
  line-height: 1.6;
}
.pe-report-preview blockquote {
  border-left: 3px solid var(--accent);
  margin: 0 0 1.5rem;
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* "Being evaluated" notice on the post-payment page - blinks so it reads as
   live progress, not a static confirmation. */
.pe-inprogress {
  display: inline-block;
  margin: 1rem auto 0;
  padding: 0.9rem 1.3rem;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn-fg);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  max-width: 34rem;
  animation: pe-blink 1.4s ease-in-out infinite;
}
@keyframes pe-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .pe-inprogress { animation: none; } }
