/* ===== nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--hairline-on-navy);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-logo span {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.1rem;
}
.nav-links { display: flex; gap: var(--space-3); }
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 10px 0;
}
.nav-links a:hover { color: var(--brass); }

/* ===== hero ===== */
.hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-10);
}
.dialogue { margin-bottom: var(--space-4); }
.dialogue-user, .dialogue-alfred {
  font-family: var(--serif);
  font-size: var(--fs-hero);
  line-height: 1.18;
  max-width: 21ch;
}
.dialogue-user { color: var(--cream); }
.dialogue-alfred { color: var(--brass); margin-top: var(--space-2); }
.js .dialogue-alfred[data-pending] { opacity: 0; }
.js .dialogue-alfred.is-in { opacity: 1; transition: opacity 500ms var(--ease); }
.type-caret::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--cream);
  margin-left: 3px;
  vertical-align: -0.1em;
  animation: caret 900ms steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .type-caret::after { display: none; }
}
.hero-sub {
  font-size: var(--fs-lead);
  color: var(--cream-soft);
  margin-bottom: var(--space-4);
  max-width: 44ch;
}

/* ===== strips ===== */
.spec-strip {
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--hairline);
}
.spec-strip p {
  max-width: none;
  text-align: center;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--navy);
}
.risk-strip {
  background: var(--mist);
  padding-block: var(--space-2);
}
.risk-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-4);
  font-size: var(--fs-small);
  font-weight: 500;
}
.risk-strip li::before { content: '✓ '; color: var(--sage); font-weight: 700; }

/* ===== day vignettes ===== */
.vignette {
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-4);
  display: grid;
  gap: var(--space-1);
}
.vignette:last-of-type { border-bottom: 1px solid var(--hairline); }
.vignette-time {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.vignette-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--navy);
  max-width: 50ch;
}
.vignette-outcome { max-width: var(--measure); }
@media (min-width: 768px) {
  .vignette { grid-template-columns: 140px 1fr; gap: var(--space-3); }
  .vignette-time { padding-top: 6px; }
}

/* ===== library ===== */
.lib-area { margin-bottom: var(--space-4); }
.lib-area h3 { display: flex; gap: 12px; align-items: baseline; }
.lib-num { font-family: var(--serif); color: var(--brass); font-size: 1rem; }
.lib-cases {
  list-style: none;
  margin-top: var(--space-1);
  display: grid;
  gap: 6px;
}
.lib-cases li { padding-left: 16px; position: relative; max-width: var(--measure); }
.lib-cases li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 1px;
  background: var(--brass);
}
details.lib-more { margin-top: var(--space-3); }
details.lib-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: var(--space-1) 0;
}

/* ===== dan rotating sets ===== */
.dan-dots {
  display: flex;
  gap: 10px;
  margin-bottom: var(--space-3);
}
.dan-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  background: transparent;
  min-height: 0;
}
.dan-dots button.active { background: var(--brass); }
.dan-dots button:hover { background: var(--brass-soft); }
.js .dan-set[data-inactive] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .dan-set { animation: dan-in 380ms var(--ease); }
}
@keyframes dan-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
html:not(.js) .dan-set { margin-bottom: var(--space-8); }

/* ===== house figure ===== */
.house-fig {
  margin-block: var(--space-4);
  max-width: 40rem;
}
.house-fig svg { width: 100%; height: auto; }
.house-fig figcaption { margin-top: var(--space-1); }

/* ===== never list ===== */
.never-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin-block: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--hairline-on-navy);
  border-bottom: 1px solid var(--hairline-on-navy);
  font-size: var(--fs-small);
  font-weight: 600;
}
.never-list li::before { content: '× '; color: var(--amber); font-weight: 700; }

.privacy-fact.amber { border-left-color: var(--amber); }

/* ===== privacy two-col ===== */
.split {
  display: grid;
  gap: var(--space-3);
  margin-block: var(--space-4);
}
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split-col {
  border-top: 2px solid var(--brass);
  padding-top: var(--space-2);
}
.split-col.home { border-top-color: var(--sage); }
.split-col h3 { color: var(--cream); }
.split-col ul { list-style: none; display: grid; gap: 8px; }
.split-col li { padding-left: 16px; position: relative; }
.split-col li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.privacy-facts {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
@media (min-width: 768px) { .privacy-facts { grid-template-columns: repeat(3, 1fr); } }
.privacy-fact {
  border-left: 2px solid var(--brass);
  padding-left: var(--space-2);
  font-size: var(--fs-small);
  color: var(--cream-soft);
}
.privacy-fact strong { color: var(--cream); display: block; margin-bottom: 2px; }

/* ===== process ===== */
.steps { list-style: none; counter-reset: step; margin-top: var(--space-4); }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--hairline);
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brass);
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: var(--fs-body); }

/* ===== pricing ===== */
.tiers {
  display: grid;
  gap: var(--space-3);
  margin-block: var(--space-4);
}
@media (min-width: 700px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier {
  background: #fff;
  border-top: 2px solid var(--brass);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.tier.featured {
  background: var(--navy);
  color: var(--cream);
}
.tier.featured h3 { color: var(--cream); }
.tier-price {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.tier.featured .tier-price { color: var(--brass); }
.tier-split {
  font-size: var(--fs-small);
  opacity: 0.8;
  line-height: 1.5;
}
.tier ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: var(--fs-small);
  flex-grow: 1;
}
.tier li { padding-left: 14px; position: relative; }
.tier li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 1px;
  background: var(--brass);
}
.tier .btn { width: 100%; }
.tier-note {
  background: #fff;
  border-left: 2px solid var(--brass);
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-small);
  max-width: none;
}

/* ===== pilot block ===== */
.pilot-box {
  border: 1px solid var(--brass-soft);
  background: rgba(244, 237, 224, 0.04);
  padding: var(--space-4);
  max-width: 46rem;
}
.pilot-box ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-block: var(--space-3);
}
.pilot-box li { padding-left: 18px; position: relative; }
.pilot-box li::before { content: '—'; position: absolute; left: 0; color: var(--brass); }

/* ===== trust ===== */
.stats {
  display: grid;
  gap: var(--space-2);
  margin-block: var(--space-4);
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: #fff;
  border-top: 2px solid var(--brass);
  padding: var(--space-2) var(--space-3);
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}
.trust-cols { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 768px) { .trust-cols { grid-template-columns: 1fr 1fr; } }

/* ===== faq ===== */
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: var(--space-2) 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 44px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brass); font-size: 1.3rem; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details > p, .faq details > ul { padding-bottom: var(--space-2); }

/* ===== wizard ===== */
.wizard fieldset { border: none; }
.wizard legend {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.js .wizard fieldset[hidden] { display: none; }
.wizard-progress {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-3);
}
.wizard-progress span {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: transparent;
}
.wizard-progress span.done { background: var(--brass); }
.wizard-nav { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.form-status { margin-top: var(--space-2); font-weight: 600; }
.form-status.ok { color: var(--sage); }
.form-status.err { color: #A54834; }

/* ===== footer ===== */
.footer {
  padding-block: var(--space-6);
  font-size: var(--fs-small);
}
.footer .wrap { display: grid; gap: var(--space-3); }
.footer a { color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; }
.footer-fine {
  color: var(--cream-soft);
  opacity: 0.7;
  border-top: 1px solid var(--hairline-on-navy);
  padding-top: var(--space-3);
  max-width: none;
}
