/* Planning Letters — base styles
   ============================== */

:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #3a3a38;
  --muted: #6b6b66;
  --hair: #e3e3df;
  --hair-strong: #d0d0cb;
  --accent: #1e4e8c;
  --accent-hover: #173d6e;
  --accent-soft: #eef2f8;
  --error: #8c2a1e;
  --error-soft: #fbf1ef;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --measure: 660px;
  --measure-wide: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga";
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6, .ui, button, input, select, textarea, label, .meta {
  font-family: var(--sans);
}

h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 16px;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

p { margin: 0 0 16px; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* Layout
   ====== */

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

main { flex: 1; }

/* Header
   ====== */

.site-header {
  border-bottom: 1px solid var(--hair);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(247, 247, 245, 0.85);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--measure-wide);
  margin: 0 auto;
}
.brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 22px;
  height: 22px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px auto 4px;
  height: 2px;
  background: #fff;
  box-shadow: 0 4px 0 #fff, 0 8px 0 #fff;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.is-active { color: var(--accent); }

@media (max-width: 640px) {
  .nav-links { gap: 18px; font-size: 13px; }
  .nav-links a.nav-secondary { display: none; }
}

/* Hero
   ==== */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--hair);
}
.hero .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero .sub {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 600px;
  line-height: 1.5;
}
.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Buttons
   ======= */

.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 12px 22px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 120ms ease;
  border-radius: 2px;
  line-height: 1.2;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hair-strong);
}
.btn-secondary:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink-2);
}
.btn-large {
  padding: 14px 26px;
  font-size: 15px;
}

/* Section
   ======= */

section {
  padding: 56px 0;
  border-bottom: 1px solid var(--hair);
}
section:last-of-type { border-bottom: none; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
}

/* Intro paragraphs */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}
.intro-grid .item h3 {
  font-size: 15px;
  font-family: var(--sans);
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.intro-grid p {
  font-size: 16px;
  color: var(--ink-2);
}
@media (max-width: 800px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* How it works
   ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--hair);
}
.step {
  padding: 28px 24px 4px 0;
  position: relative;
  border-left: 1px solid var(--hair);
  padding-left: 22px;
}
.step:first-child {
  border-left: none;
  padding-left: 0;
}
.step-num {
  font-family: var(--sans);
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}
.step p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .step {
    border-left: none;
    border-top: 1px solid var(--hair);
    padding: 24px 0 8px 0;
  }
  .step:first-child {
    border-top: none;
    padding-top: 28px;
  }
  .step-num {
    font-size: 32px;
    margin-bottom: 10px;
  }
}

/* Pricing
   ======= */

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--hair);
  padding: 32px;
}
.price-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.price-card .price {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 4px;
}
.price-card .price-after {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.price-card li {
  padding: 8px 0;
  color: var(--ink-2);
  border-top: 1px solid var(--hair);
}
.price-card li:first-child { border-top: none; padding-top: 0; }
@media (max-width: 720px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* What this isn't */
.disclaimer-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.disclaimer-list li {
  padding: 14px 0;
  border-top: 1px solid var(--hair);
  font-size: 16px;
  color: var(--ink-2);
}
.disclaimer-list li:first-child { border-top: none; padding-top: 0; }
.disclaimer-list strong { color: var(--ink); }

/* Waitlist
   ======== */

.waitlist {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  max-width: 420px;
}
.waitlist input {
  flex: 1;
}
.waitlist-success {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--accent);
  margin-top: 12px;
}

/* Footer
   ====== */

.site-footer {
  border-top: 1px solid var(--hair);
  padding: 40px 0 56px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
.site-footer .container-wide {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }
.footer-disclosure {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  max-width: 680px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Forms
   ===== */

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.field {
  margin-bottom: 22px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
}
.help {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
}
.req {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hair-strong);
  padding: 10px 12px;
  border-radius: 2px;
  line-height: 1.4;
  transition: border-color 100ms ease, box-shadow 100ms ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.15);
}
textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
}
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
  background: var(--error-soft);
}
.error-msg {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
}

.counter {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.counter.is-low { color: var(--error); }

/* Radio + checkbox lists */
.radio-list, .checkbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.radio-list.cols-2, .checkbox-list.cols-2 {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .radio-list.cols-2, .checkbox-list.cols-2 { grid-template-columns: 1fr; }
}
.radio-list label, .checkbox-list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  background: #fff;
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.4;
  border-radius: 2px;
  transition: border-color 100ms ease, background-color 100ms ease;
}
.radio-list label:hover, .checkbox-list label:hover {
  border-color: var(--accent);
}
.radio-list input, .checkbox-list input {
  margin: 2px 0 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.radio-list label.is-checked, .checkbox-list label.is-checked {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.checkbox-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--hair);
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  cursor: pointer;
}
.checkbox-confirm input {
  margin: 4px 0 0 0;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Order form stepper */
.order-page {
  padding: 40px 0 80px;
}
.order-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 880px) {
  .order-grid { grid-template-columns: 1fr; gap: 32px; }
}
.stepper {
  position: sticky;
  top: 80px;
  align-self: start;
}
.stepper ol {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
}
.stepper li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
  border-left: 2px solid transparent;
  padding-left: 14px;
}
.stepper li.is-active {
  color: var(--ink);
  border-left-color: var(--accent);
  font-weight: 500;
}
.stepper li.is-done { color: var(--ink-2); }
.stepper .step-num-badge {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 12px;
}
.stepper li.is-active .step-num-badge { color: var(--accent); }

@media (max-width: 880px) {
  .stepper { position: static; }
  .stepper ol { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .stepper li { white-space: nowrap; padding: 6px 12px; border-left: none; border-bottom: 2px solid transparent; }
  .stepper li.is-active { border-left: none; border-bottom-color: var(--accent); }
}

.order-step {
  background: var(--panel);
  border: 1px solid var(--hair);
  padding: 32px 36px;
}
.order-step h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.order-step .step-intro {
  font-family: var(--serif);
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 28px;
}
.step-nav {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.step-nav-spacer { flex: 1; }

.summary {
  background: #fff;
  border: 1px solid var(--hair);
  padding: 24px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--hair);
  font-size: 14px;
  font-family: var(--sans);
}
.summary-row:first-child { border-top: none; }
.summary-row .label { color: var(--muted); }
.summary-row .value { color: var(--ink); text-align: right; max-width: 60%; }
.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-top: 8px;
  border-top: 2px solid var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
}

/* Banners */
.banner-error {
  background: var(--error-soft);
  border: 1px solid var(--error);
  color: var(--error);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 24px;
}
.banner-info {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Prose pages (FAQ, Terms, Privacy)
   ================================= */

.prose-page {
  padding: 56px 0 96px;
}
.prose {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}
.prose h1 { font-size: 36px; margin-bottom: 32px; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { font-size: 16px; font-family: var(--sans); margin-top: 28px; margin-bottom: 8px; color: var(--ink); }
.prose p { font-size: 17px; color: var(--ink-2); margin-bottom: 16px; }
.prose ul { padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }

.faq-item {
  border-top: 1px solid var(--hair);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-q {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.faq-a {
  color: var(--ink-2);
  font-size: 16px;
}

.draft-banner {
  background: #fff7d6;
  border: 1px solid #b88a00;
  color: #6b4d00;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Coverage panel */
.coverage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 640px) { .coverage-list { grid-template-columns: 1fr; } }
.coverage-list a {
  display: block;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--hair);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 100ms ease;
}
.coverage-list a:hover { border-color: var(--accent); }
.coverage-list a .meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Utility */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hr { border: none; border-top: 1px solid var(--hair); margin: 32px 0; }
.spacer-l { height: 32px; }
.spacer-m { height: 20px; }
.spacer-s { height: 12px; }

/* Mobile adjustments */
@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .hero { padding: 48px 0 40px; }
  .hero .sub { font-size: 17px; }
  section { padding: 40px 0; }
  .order-step { padding: 24px 20px; }
}
