/* Policy Partner — calm fiduciary.
   Palette is fixed: amber is the ONLY primary CTA color and appears nowhere else. */

:root {
  --ink: #0F2233;
  --amber: #E6A83C;
  --teal: #127A6E;
  --paper: #F6F3EC;
  --slate: #5A6B78;

  /* derived neutrals */
  --paper-raised: #FFFDF8;
  --rule: #DED8CB;
  --rule-strong: #C9C1B0;
  --slate-on-ink: #9AAAB6;
  --rule-on-ink: #2A3E4F;

  --serif: Cambria, Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;

  --measure: 34rem;
  --shell: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--paper-raised);
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
}

/* ---------- kickers & captions ---------- */

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
  font-weight: 700;
}

.caption {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ---------- header ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9375rem;
}
.masthead nav a:not(.btn) { color: var(--teal); text-decoration: none; }
.masthead nav a:not(.btn):hover { text-decoration: underline; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 1px solid #C98F27;
  border-radius: 3px;
}
.btn:hover { background: #DA9C2E; text-decoration: none; }
.btn--sm { font-size: 0.9375rem; padding: 0.6rem 1.15rem; }

/* ---------- sections ---------- */

section { padding-block: 5.5rem; }
.section + .section { border-top: 1px solid var(--rule); }

.section__head { max-width: var(--measure); margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
.section__head .lede { color: var(--slate); font-size: 1.0625rem; }

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

.hero { padding-block: 6.5rem 6rem; }
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.6rem);
  max-width: 18ch;
  margin-bottom: 2rem;
}
.hero__promise {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  color: var(--teal);
  border-left: 3px solid var(--amber);
  padding-left: 1.15rem;
  margin-bottom: 2rem;
  max-width: 30ch;
}
.hero__sub {
  max-width: var(--measure);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
}
.hero__cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero__trust {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate);
}

/* ---------- PIP badge (text only, never artwork) ---------- */

.pip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.1em 0.45em;
  vertical-align: 0.08em;
  white-space: nowrap;
}
.pip--ink { color: var(--paper); border-color: var(--slate-on-ink); }

/* ---------- ruled list (no icons, no checkmarks) ---------- */

.ruled { list-style: none; margin: 0; padding: 0; }
.ruled > li {
  border-top: 1px solid var(--rule);
  padding-block: 1.75rem;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0 1.25rem;
  align-items: start;
}
.ruled > li:last-child { border-bottom: 1px solid var(--rule); }
.ruled .num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--slate);
  line-height: 1.1;
  font-variant-numeric: lining-nums;
}
.ruled h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.ruled p { max-width: var(--measure); color: var(--slate); }
.ruled p strong { color: var(--ink); font-weight: 400; }

/* ---------- stats strip ---------- */

.strip {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.strip h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--paper);
  max-width: 24ch;
  margin-bottom: 3rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem 3rem;
  margin: 0;
}
.stat { border-top: 1px solid var(--rule-on-ink); padding-top: 1.5rem; }
.stat dt {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; }
.stat .src {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--slate-on-ink);
  letter-spacing: 0.03em;
}

/* ---------- claim / war room ---------- */

.claim__body { max-width: var(--measure); }
.claim__body p + p { margin-top: 1.25rem; }
.priceline {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.35;
  margin-block: 2.25rem 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-strong);
  max-width: var(--measure);
}
.priceline .never { display: block; color: var(--teal); font-style: italic; margin-top: 0.4rem; }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.plan {
  background: var(--paper-raised);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.plan .price {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-block: 0.75rem 0.25rem;
  font-variant-numeric: lining-nums;
}
.plan .price span { font-family: var(--sans); font-size: 0.9375rem; font-weight: 400; color: var(--slate); }
.plan .plan__desc { color: var(--slate); font-size: 0.9375rem; margin-top: 0.75rem; }
.plan ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.9375rem;
}
.plan ul li { border-top: 1px solid var(--rule); padding-block: 0.7rem; }
.plan__foot { margin-top: auto; padding-top: 1.75rem; }
.plan__note {
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.5;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 1.5rem;
}
.plans__footnote { margin-top: 2rem; max-width: var(--measure); }

/* ---------- oath ---------- */

.oath { background: var(--paper-raised); }
.oath__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.oath h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); margin-bottom: 2.5rem; }
.oath ol { list-style: none; margin: 0; padding: 0; counter-reset: oath; }
.oath ol li {
  counter-increment: oath;
  border-top: 1px solid var(--rule-strong);
  padding-block: 1.5rem;
  padding-left: 3.5rem;
  position: relative;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 46rem;
}
.oath ol li:last-child { border-bottom: 1px solid var(--rule-strong); }
.oath ol li::before {
  content: counter(oath, upper-roman) ".";
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}

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

.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 3.5rem;
}
.footer a { color: #7FD8C9; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule-on-ink);
}
.footer__mark { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.footer nav { display: flex; gap: 1.75rem; font-size: 0.9375rem; }
.footer__legal { margin-top: 2rem; display: grid; gap: 0.85rem; }
.footer__legal p { font-size: 0.8125rem; color: var(--slate-on-ink); line-height: 1.6; max-width: 52rem; }
.footer__brand { color: var(--paper) !important; }

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

.doc { padding-block: 4.5rem 5.5rem; }
.doc__inner { max-width: 44rem; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin-bottom: 1rem; }
.doc .updated { font-size: 0.875rem; color: var(--slate); margin-bottom: 2.5rem; }
.doc h2 { font-size: 1.35rem; margin-block: 2.5rem 0.85rem; }
.doc p { margin-bottom: 1rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.doc ul li { margin-bottom: 0.5rem; }
.placeholder-note {
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--amber);
  background: var(--paper-raised);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 3px;
}
.placeholder-note p { margin: 0; font-size: 0.9375rem; }
.placeholder-note strong { font-weight: 700; }
.backlink { display: inline-block; margin-top: 3rem; font-size: 0.9375rem; }

@media (max-width: 34rem) {
  section { padding-block: 4rem; }
  .hero { padding-block: 4.5rem 4rem; }
  .ruled > li { grid-template-columns: 1fr; gap: 0.5rem; }
  .ruled .num { font-size: 1.125rem; }
  .oath ol li { padding-left: 2.5rem; }
}

@media print {
  .masthead nav, .btn { display: none; }
  body { background: #fff; }
}
