/* Reapwell landing page — reuses the app's locked design tokens
   (Reapwell/Reapwell/DesignSystem/Theme.swift): black ground, one gold
   accent family (a bronze `--gold-deep` identity shade, a vivid `--gold`
   for the single primary CTA), serif headlines over a plain sans body. */

:root {
  --paper: #121110;
  --card: #1C1A17;
  --ink: #F5F2EA;
  --ink-soft: #C9C2B3;
  --muted: #8B8479;
  --gold-deep: #B8903A;
  --gold-deep-dark: #9C7830;
  --gold: #E3B34E;
  --gold-dark: #C89638;
  --on-gold: #1A1510;
  --line: #2C2924;
  --pill-bg: #201D18;
  --pill-ink: #C9AD6E;
  --coach-bg: #211C12;
  --coach-ink: #D9BB74;

  --radius-card: 16px;
  --radius-button: 13px;

  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0 0 0.5em;
  color: var(--ink);
}

p { margin: 0 0 1em; color: var(--ink-soft); }
em { font-style: italic; color: var(--ink); }
strong { color: var(--ink); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 17, 16, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: block; border-radius: 6px; }
.brand-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--on-gold);
  background: var(--gold);
  padding: 9px 18px;
  border-radius: var(--radius-button);
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-dark); }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-block { width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Hero */
.hero { padding: 96px 0 64px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pill-ink);
  background: var(--pill-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 { font-size: 48px; line-height: 1.1; margin-bottom: 20px; }
.lede {
  font-size: 19px;
  max-width: 560px;
  margin: 0 0 32px;
}
.lede-tag { font-size: 14px; color: var(--muted); max-width: 560px; margin: -12px 0 24px; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; }
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--gold-deep-dark);
  max-width: 560px;
  margin: 0;
}
.hero-art { display: flex; justify-content: center; }

/* Phone frame — wraps a real app screenshot */
.phone-frame {
  position: relative;
  width: 260px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2620, #100f0d);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(227, 179, 78, 0.06);
}
.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 30px;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: #100f0d;
  border-radius: 999px;
  z-index: 1;
}
.phone-frame--float {
  transform: rotate(-4deg);
}

/* Showcase strip — the how/craft/wins trio */
.showcase {
  padding: 24px 0 88px;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  justify-items: center;
  max-width: 560px;
  margin: 0 auto;
}
.showcase-item { text-align: center; max-width: 240px; }
.showcase-item .phone-frame { width: 220px; margin-bottom: 18px; }
.showcase-item h3 { font-size: 16px; margin-bottom: 6px; }
.showcase-item p { font-size: 14px; margin: 0; }

/* Thesis */
.thesis {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  text-align: center;
}
.thesis h2 { font-size: 30px; max-width: 640px; margin: 0 auto 20px; }
.thesis-intro { font-size: 18px; max-width: 640px; margin: 0 auto 16px; }
.thesis-lede { font-size: 18px; max-width: 640px; margin: 0 auto 16px; }
.thesis-sub { font-size: 16px; max-width: 560px; margin: 0 auto; }

/* Section title shared */
.section-title { font-size: 30px; text-align: center; margin-bottom: 12px; }

/* How it works */
.how { padding: 80px 0; }
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 18px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--gold-deep);
  color: var(--on-gold);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { font-size: 14px; margin: 0; }

/* Brain / coaching section */
.brain { background: var(--coach-bg); padding: 80px 0; }
.brain-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.brain-copy h2 { text-align: left; }
.brain-copy p { color: var(--coach-ink); font-size: 17px; }
.brain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.brain-list li {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.brain-list strong { color: var(--coach-ink); }

/* Team leads / agency owners */
.team { background: var(--card); border-top: 1px solid var(--line); padding: 80px 0; }
.team-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.team-copy h2 { text-align: left; }
.team-details-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.team-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.team-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.team-cta { font-size: 15px; margin: 0; }
.team-cta a { color: var(--gold-deep); text-decoration: underline; }

/* Pricing */
.pricing { padding: 80px 0; text-align: center; }
.pricing-sub { max-width: 480px; margin: 0 auto 40px; }
.pricing-sub a { color: var(--gold-deep); text-decoration: underline; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  position: relative;
}
.price-card--highlight { border-color: var(--gold-deep); border-width: 2px; }
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold-deep);
  color: var(--on-gold);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}
.price-card h3 { font-size: 18px; margin-bottom: 8px; }
.price { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 12px; }
.price span { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }
.price-desc { font-size: 14px; margin: 0; }

/* FAQ */
.faq { padding: 80px 0; }
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: grid;
  gap: 16px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}
.faq-item dt {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-item dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Waitlist */
.waitlist {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 88px 0 100px;
}
.waitlist-inner { max-width: 520px; text-align: center; }
.waitlist-sub { margin-bottom: 36px; }
#waitlist-form { text-align: left; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
input, select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  padding: 12px 14px;
  appearance: none;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--gold-deep);
}
.form-note {
  margin: 14px 0 0;
  font-size: 14px;
  text-align: center;
  min-height: 1.2em;
}
.form-note.is-error { color: var(--gold-dark); }
.form-note.is-success { color: var(--gold-deep); }

/* Footer */
.site-footer { padding: 32px 0 48px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--muted); margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .brain-inner { grid-template-columns: 1fr; }
  .team-inner { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-cta { justify-content: center; }
  .quote, .lede-tag { margin-left: auto; margin-right: auto; }
  .showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .lede { font-size: 17px; }
  .hero-cta { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .nav-actions { gap: 10px; }
  .nav-link { display: none; }
}
