:root {
  --bg: #faf9f7;
  --surface: #fffffe;
  --text: #1c1917;
  --muted: #57534e;
  --soft: #78716c;
  --border: #e7e5e4;
  --warm: #f5f5f4;
  --warm-2: #efece9;
  --accent: #1c1917;
  --accent-soft: #e7e5e4;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.06);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--muted);
}

p,
ul,
ol {
  margin: 0 0 1.1em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.55em;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.16rem;
  letter-spacing: -0.015em;
}

code {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.02rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current='page'] {
  background: var(--warm);
  color: var(--text);
}

.nav a.btn,
.nav a.btn:hover,
.nav a.btn[aria-current='page'] {
  background: var(--accent);
  color: var(--bg);
}

.nav a.btn:hover {
  opacity: 0.9;
  color: var(--bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
  line-height: 1.2;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.btn:hover {
  color: var(--bg);
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.secondary:hover {
  background: var(--warm);
}

.btn.small {
  padding: 9px 14px;
  font-size: 0.86rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: clamp(56px, 9vw, 104px) 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--soft);
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  color: var(--soft);
  font-size: 0.84rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a8a29e;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section.no-border {
  border-top: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card a {
  font-weight: 650;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.callout {
  background: var(--warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--muted);
}

.callout strong {
  color: var(--text);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.limit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.limit-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.limit-list li:last-child {
  border-bottom: 0;
}

.limit-list li::before {
  content: '–';
  position: absolute;
  left: 2px;
  top: 8px;
  color: var(--soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.93rem;
}

th,
td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--warm);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  padding: 17px 0;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--soft);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq .answer {
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 780px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

.cta-band {
  margin: 56px 0;
  padding: 34px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--bg);
  margin-bottom: 6px;
}

.cta-band p {
  color: #d6d3d1;
  margin: 0;
}

.cta-band .btn {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
}

.cta-band .btn:hover {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 54px;
  color: var(--soft);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px 54px;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 116px;
}

.footer-heading {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* The notice sits under the link columns on its own hairline, so it reads as
   the end of the page rather than as another footer column. */
.footer-legal {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-legal p {
  margin: 0;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 1.6em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.4em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.35em;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--accent);
  background: var(--warm);
  color: var(--muted);
  border-radius: 0 10px 10px 0;
}

.email-template {
  white-space: pre-wrap;
  overflow-x: auto;
  margin: 1.2em 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--warm);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.6;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--soft);
  font-size: 0.8rem;
}

.breadcrumbs {
  padding: 18px 0 0;
  color: var(--soft);
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 8px;
}

.app-note {
  max-width: 640px;
  margin: 80px auto;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.app-note h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 44px;
  }

  .section {
    padding: 42px 0;
  }

  .cta-band {
    padding: 24px;
  }

  .cta-band h2 {
    font-size: 1.6rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0a09;
    --surface: #14110f;
    --text: #e8e4df;
    --muted: #c7c0b8;
    --soft: #a8a29e;
    --border: #2a2522;
    --warm: #1a1613;
    --warm-2: #221d19;
    --accent: #e8e4df;
    --accent-soft: #3a3532;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }

  .site-header {
    background: rgba(11, 10, 9, 0.92);
  }

  .btn {
    color: #0b0a09;
  }

  .btn.secondary {
    color: var(--text);
  }

  .cta-band {
    background: var(--text);
    color: #0b0a09;
  }

  .cta-band h2 {
    color: #0b0a09;
  }

  .cta-band p {
    color: #57534e;
  }

  .cta-band .btn {
    background: #0b0a09;
    color: var(--text);
    border-color: #0b0a09;
  }

  .checklist li::before {
    color: #0b0a09;
  }
}
