/* ------------------------------------------------------------------
   Design tokens — swap these for the proper design pass.
------------------------------------------------------------------- */
:root {
  /* Brand palette — from assets/bench-logo-pack/README.txt */
  --paper: #F4F5F0;         /* cream paper */
  --surface: #ffffff;
  --ink: #12150E;           /* ink */
  --muted: #5c6470;
  --line: #e2e3da;

  --accent: #2D6B3F;        /* forest core — CTA hover, highlights */
  --healthy: #2D6B3F;
  --risk: #b3661a;
  --stalled: #b0372f;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-brand: "DM Serif Display", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 10px;
  --container: 1040px;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------- */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  display: block;
  width: 30px;
  height: 30px;
}

.wordmark {
  font-family: var(--font-brand);
  font-size: 23px;
  font-weight: 400; /* DM Serif Display ships only in regular, roman */
  letter-spacing: -0.01em;
}

.header-note {
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */
.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

h1 {
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.subhead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 34em;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.waitlist-form button {
  padding: 13px 22px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}

.waitlist-form button:hover { background: var(--accent); }
.waitlist-form button:disabled { opacity: 0.6; cursor: default; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-message {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--stalled);
}

.form-success {
  margin-top: 8px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--healthy);
  border-radius: var(--radius);
  max-width: 460px;
}

.form-success p { margin: 0; color: var(--muted); }
.form-success .success-title {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ------------------------------------------------------------------
   Deal review mock card
------------------------------------------------------------------- */
.deal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 29, 33, 0.07);
  overflow: hidden;
}

.deal-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.atlas-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.deal-card-time { margin-left: auto; }

.deal-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.deal {
  padding: 14px 18px;
}

.deal + .deal { border-top: 1px solid var(--line); }

.deal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deal-name {
  font-weight: 600;
  font-size: 15px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-healthy { color: var(--healthy); background: rgba(45, 107, 63, 0.1); }
.badge-risk    { color: var(--risk);    background: rgba(179, 102, 26, 0.1); }
.badge-stalled { color: var(--stalled); background: rgba(176, 55, 47, 0.1); }

.deal-reason {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Value points
------------------------------------------------------------------- */
.values {
  padding: 56px 0 80px;
  border-top: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.value p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Mobile
------------------------------------------------------------------- */
@media (max-width: 800px) {
  .hero { padding: 48px 0 40px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values { padding: 40px 0 56px; }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
  .header-note { display: none; }
}
