/* ============================================================
   Breakpoint Labs LLC — light, minimal, success-green
   Quiet paper canvas · green "all checks passing" accent
   ============================================================ */

:root {
  --paper: #fbfbf8;
  --paper-2: #f3f4ef;
  --ink: #1c211e;
  --ink-soft: #555d58;
  --ink-faint: #8b938d;
  --green: #128a52;
  --green-deep: #0c6b3f;
  --green-tint: #e7f3ec;
  --rule: #e4e7e1;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-serif: "Newsreader", serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green-tint); color: var(--green-deep); }

.mono { font-family: var(--font-mono); }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

a { color: var(--green); }

/* ---------- breakpoint dot: green, passing ---------- */

.bp-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.bp-dot.sm { width: 7px; height: 7px; }

.dot-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 8px;
  animation: soft-pulse 3s ease-in-out infinite;
}

@keyframes soft-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 24px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.topnav { display: flex; gap: 28px; }

.topnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.topnav a:hover { color: var(--green-deep); }

/* ---------- hero ---------- */

.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 13vh 24px 12vh;
}

.kicker {
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-title .line { display: block; }

.hero-title em { font-weight: 300; }

.accent { color: var(--green); }

.hero-sub {
  margin-top: 36px;
  max-width: 480px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.hero-status {
  margin-top: 8vh;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- lifecycle ---------- */

.lifecycle {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 12vh;
}

.section-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.phases { list-style: none; }

.phase {
  display: grid;
  grid-template-columns: 72px 220px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(14px);
}

.phase.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.phase-num {
  font-size: 0.82rem;
  color: var(--green);
}

.phase h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.phase p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 46ch;
}

/* ---------- statement ---------- */

.statement {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 11vh 24px;
}

.statement p {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  text-wrap: balance;
}

.statement em { color: var(--green-deep); }

/* ---------- footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 24px;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.footer span { display: flex; align-items: center; gap: 8px; }

.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--green-deep); }

/* ---------- load reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 120ms);
}

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Subpages: support + legal
   ============================================================ */

.subpage {
  max-width: 760px;
  margin: 0 auto;
  padding: 8vh 24px 12vh;
}

.subpage h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.subpage h1 em { font-weight: 300; }

.section-label {
  display: block;
  font-size: 0.78rem;
  color: var(--green);
  margin-bottom: 18px;
}

.subpage .lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 520px;
  margin-top: 22px;
}

/* ---- support form ---- */

.support-form {
  margin-top: 6vh;
  display: grid;
  gap: 26px;
  max-width: 560px;
}

.field { display: grid; gap: 8px; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 150px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--green-deep); }
.btn:active { transform: translateY(1px); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--green-deep);
  min-height: 1.4em;
}

.support-alt {
  margin-top: 8vh;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}

.support-alt a { color: var(--green); text-decoration: none; }
.support-alt a:hover { text-decoration: underline; }

/* ---- legal ---- */

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 18px;
}

.legal-body { margin-top: 5vh; }

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.legal-body h2 .num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--green);
  margin-right: 12px;
}

.legal-body p, .legal-body li {
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 70ch;
}

.legal-body ul { padding-left: 24px; margin-bottom: 14px; }

.legal-body a { color: var(--green); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .phase { grid-template-columns: 48px 1fr; }
  .phase p { grid-column: 2; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .phase { opacity: 1; transform: none; animation: none; }
  .dot-live { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
