/* New NPI File — shared styles */
:root {
  --paper: #f3efe6;
  --paper-deep: #e8e2d4;
  --card: #fbf9f4;
  --ink: #162033;
  --ink-soft: #3a4456;
  --muted: #5d6674;
  --line: #d3ccbe;
  --navy: #15243c;
  --navy-2: #1e3354;
  --pine: #1f564c;
  --pine-hover: #17433c;
  --pine-soft: #e6eeea;
  --focus: #1f564c;
  --white: #fffcf7;
  --danger-soft: #f4ebe6;
  --max: 1080px;
  --text: 40rem;
  --shadow: 0 1px 2px rgba(22, 32, 51, 0.06), 0 8px 24px rgba(22, 32, 51, 0.06);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 0.16em; }
a:hover { color: var(--pine-hover); }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #eef2f6;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.15rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 560;
  letter-spacing: 0.01em;
}
.brand:hover { color: #fff; }
.mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}
.brand-name { font-size: 0.98rem; }
.brand-name span { font-weight: 400; opacity: 0.78; }

nav.primary {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav.primary a {
  color: #d5dde7;
  text-decoration: none;
  font-size: 0.92rem;
}
nav.primary a:hover { color: #fff; }
nav.primary .nav-cta {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.42rem 0.8rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}
nav.primary .nav-cta:hover { background: var(--paper); color: var(--navy); }

/* Hero */
.hero {
  padding: 4.25rem 0 3.25rem;
  background:
    linear-gradient(180deg, #ebe6da 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  max-width: 18ch;
  color: var(--navy);
}
.lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.72rem 1.15rem;
  border-radius: 5px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--pine);
  color: #fff;
}
.btn-primary:hover { background: var(--pine-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: #b7b3a6;
}
.btn-secondary:hover { background: var(--white); color: var(--navy); }
.btn-disabled,
.btn[aria-disabled="true"] {
  background: var(--navy);
  color: #fff;
  opacity: 0.88;
  cursor: not-allowed;
}
.btn[aria-disabled="true"]:hover { color: #fff; background: var(--navy); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}
.facts div {
  padding: 0 1.15rem 0 0;
  border-right: 1px solid var(--line);
  margin-right: 1.15rem;
}
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.3rem;
}
.facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Sections */
.section { padding: 3.6rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.7rem;
}
.section .intro {
  max-width: var(--text);
  color: var(--ink-soft);
  margin: 0 0 1.7rem;
}

.audience {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 620;
  color: var(--navy);
}
.card p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }
.card ul, .prose ul { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); }
.card li, .prose li { margin: 0 0 0.4rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Record table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}
table.records {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 0;
}
table.records th,
table.records td {
  text-align: left;
  padding: 0.8rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.records th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 620;
  background: #f3efe6;
  width: 32%;
}
table.records tr:last-child th,
table.records tr:last-child td { border-bottom: 0; }
.caption {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.example {
  margin-top: 1.75rem;
}
.example h3 {
  font-size: 1rem;
  margin: 0 0 0.65rem;
  color: var(--navy);
}
.example-note {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 0.18rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
table.sample {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 0;
}
table.sample th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 620;
  padding: 0.7rem 0.85rem;
  background: #f3efe6;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.sample td {
  padding: 0.8rem 0.85rem;
  border-bottom: 0;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 700px) {
  table.sample { min-width: 0; }
  table.sample thead { display: none; }
  table.sample tr { display: block; padding: 0.35rem 0 0.7rem; }
  table.sample td {
    display: block;
    white-space: normal;
    padding: 0.2rem 0.85rem 0.15rem;
  }
  table.sample td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 620;
    margin-bottom: 0.1rem;
  }
}

/* Source + delivery */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.15rem 2.6rem;
  color: var(--ink-soft);
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 640;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { color: var(--ink); font-weight: 620; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan.featured {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy), var(--shadow);
}
.plan .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--pine);
  margin: 0 0 0.45rem;
}
.plan h3 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 1.55rem;
  margin: 0 0 0.15rem;
  color: var(--navy);
}
.plan .price {
  font-size: 1.7rem;
  font-weight: 620;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.7rem;
}
.plan .price span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan p { color: var(--ink-soft); margin: 0 0 1rem; flex: 1; }
.plan ul {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.plan .btn { width: 100%; }
.pricing-note {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 46rem;
}

/* FAQ */
.faq { max-width: 46rem; }
details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-top: -0.25rem;
  transition: transform 0.15s ease;
}
details[open] summary::after { transform: rotate(225deg); margin-top: 0.2rem; }
details p {
  margin: 0.7rem 0 0.35rem;
  color: var(--ink-soft);
}
details p:last-child { margin-bottom: 0.2rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.85rem 0 0.3rem;
}
label:first-child { margin-top: 0; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9c3b5;
  border-radius: 5px;
  padding: 0.62rem 0.7rem;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pine);
  outline: 2px solid color-mix(in srgb, var(--pine) 25%, transparent);
  outline-offset: 0;
}
.form-actions { margin-top: 1.15rem; }
.form-hint, .fine {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.7rem 0 0;
}
.address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.55;
}
.placeholder-flag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #7a4a1e;
  background: #f3e6d4;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* Legal pages */
.legal-hero {
  padding: 2.6rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.legal { padding: 2.4rem 0 3.6rem; max-width: 42rem; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2rem 0 0.55rem;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.15rem; }
.updated { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d2de;
  padding: 2.4rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: #e8eef6; }
.site-footer .brand { margin-bottom: 0.85rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem 2rem;
}
.site-footer h2 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa7b8;
  margin: 0 0 0.55rem;
  font-weight: 650;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.site-footer p { margin: 0 0 0.55rem; }
.legal-bits {
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #9aa7b8;
  max-width: 52rem;
}
.legal-bits p { margin: 0 0 0.45rem; }

@media (max-width: 860px) {
  .facts, .audience, .split, .plans, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .facts div {
    border-right: 0;
    margin: 0 0 0.9rem;
    padding: 0 0 0.9rem;
    border-bottom: 1px solid var(--line);
  }
  .facts div:last-child { border-bottom: 0; margin: 0; padding: 0; }
  .hero { padding: 2.2rem 0 2rem; }
  .section { padding: 2.4rem 0; }
  .wrap { width: min(var(--max), calc(100% - 1.6rem)); }
  .site-header { position: static; }
  .site-header .wrap { min-height: auto; padding: 0.65rem 0 0.7rem; flex-wrap: wrap; position: relative; }
  nav.primary { width: 100%; justify-content: flex-start; gap: 0.45rem 0.85rem; }
  nav.primary a { font-size: 0.88rem; }
  nav.primary .nav-cta {
    position: absolute;
    top: 0.7rem;
    right: 0;
    margin-left: 0;
    padding: 0.35rem 0.7rem;
  }
  table.records th { width: 38%; }
}
