:root {
  color-scheme: light;
  --navy: #17304f;
  --teal: #317c76;
  --paper: #f5f0e8;
  --canvas: #fbf9f5;
  --charcoal: #343b43;
  --white: #ffffff;
  --line: #d7d3cc;
  --muted: #5f676f;
  --focus: #0069a8;
  --max: 76rem;
  --text: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--navy);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.22rem;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  margin: 0 0 1.5rem;
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  margin: 0;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
}

.skip-link {
  background: var(--white);
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.nav-shell,
.content-shell,
.site-footer {
  margin-inline: auto;
  max-width: var(--max);
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 5rem;
}

.wordmark {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.nav-shell nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.nav-shell nav a,
.site-footer nav a {
  font-size: 0.92rem;
  font-weight: 650;
}

.availability {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  padding-block: 0.8rem;
}

.availability .content-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
}

.hero {
  background: var(--canvas);
  padding-block: clamp(5rem, 11vw, 9rem);
}

.hero-grid,
.split-grid,
.privacy-grid,
.pricing-grid,
.business-grid {
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
}

.hero-copy {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 39rem;
}

.hero-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.button {
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--white);
  display: inline-block;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  text-decoration: none;
}

.button:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.text-link {
  font-weight: 700;
}

.packet-preview {
  align-self: center;
  background: var(--white);
  border: 1px solid #d9d5cf;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 4rem rgb(23 48 79 / 0.1);
  overflow: hidden;
}

.preview-header,
.preview-section {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
}

.preview-header {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-section + .preview-section {
  border-top: 1px solid var(--line);
}

.preview-section {
  flex-direction: column;
  gap: 0.15rem;
}

.preview-section strong {
  color: var(--navy);
}

.preview-section span {
  color: var(--muted);
}

.editorial-section,
.refund-section,
.business-section {
  background: var(--white);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.refund-section {
  background: var(--paper);
}

.prose-stack {
  font-size: 1.08rem;
  max-width: 41rem;
}

.prose-stack p:last-child,
.pricing-copy p:last-child {
  margin-bottom: 0;
}

.steps-section {
  background: var(--paper);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.steps-section h2 {
  max-width: 44rem;
}

.steps-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
}

.steps-list li {
  align-items: start;
  border-top: 1px solid #c9c4bc;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 4rem 1fr;
  padding-block: 1.7rem;
}

.step-number {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.steps-list strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.steps-list p {
  margin-bottom: 0;
  max-width: 45rem;
}

.privacy-section {
  background: var(--navy);
  color: #f7f4ee;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.privacy-section h2,
.privacy-section strong {
  color: var(--white);
}

.boundary-list {
  display: grid;
  gap: 2rem;
}

.boundary-list div {
  border-top: 1px solid rgb(255 255 255 / 0.3);
  padding-top: 1.25rem;
}

.boundary-list strong {
  font-size: 1.15rem;
}

.boundary-list p {
  color: #e2e7e8;
  margin-bottom: 0;
}

.pricing-section {
  background: var(--canvas);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.pricing-section h2 span {
  display: block;
  font-size: 0.42em;
  letter-spacing: -0.015em;
  margin-top: 0.45rem;
}

.pricing-section h2 + p {
  color: var(--teal);
  font-size: 1.15rem;
  font-weight: 750;
  margin-top: 1.25rem;
}

.pricing-copy {
  align-self: end;
  font-size: 1.08rem;
}

.business-section {
  border-top: 1px solid var(--line);
}

.business-section dl {
  margin: 0;
}

.business-section dl div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 8rem 1fr;
  padding-block: 1rem;
}

.business-section dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.business-section dd {
  margin: 0;
}

.site-footer {
  align-items: start;
  background: var(--canvas);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr auto;
  max-width: none;
  padding-block: 3rem;
}

.site-footer > * {
  max-width: 28rem;
}

.site-footer strong {
  color: var(--navy);
}

.site-footer p {
  margin-bottom: 0;
}

.legal-page {
  background: var(--canvas);
}

.legal-shell {
  margin-inline: auto;
  max-width: 58rem;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 7rem;
}

.policy-banner {
  background: var(--paper);
  border: 1px solid #c7bfae;
  border-left: 0.3rem solid var(--teal);
  border-radius: 0.5rem;
  color: var(--navy);
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding: 1rem 1.2rem;
}

.legal-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
}

.legal-heading h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.legal-heading code {
  overflow-wrap: anywhere;
}

.legal-document {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-document h2,
.legal-document h3,
.legal-document h4 {
  font-family: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: 2rem;
}

.legal-document h2 {
  border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 3.5rem 0 1.25rem;
  padding-top: 2.25rem;
}

.legal-document h3 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
}

.legal-document blockquote {
  background: var(--paper);
  border-left: 0.25rem solid var(--teal);
  margin-inline: 0;
  padding: 1rem 1.25rem;
}

.legal-document blockquote p:last-child {
  margin-bottom: 0;
}

.legal-document li + li {
  margin-top: 0.65rem;
}

.legal-document table {
  border-collapse: collapse;
  display: block;
  font-family: var(--text);
  font-size: 0.9rem;
  margin-block: 2rem;
  max-width: 100%;
  overflow-x: auto;
}

.legal-document th,
.legal-document td {
  border: 1px solid var(--line);
  min-width: 9rem;
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  background: var(--paper);
  color: var(--navy);
}

.not-found {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 15rem);
  padding-block: 5rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.not-found p {
  font-size: 1.15rem;
  max-width: 40rem;
}

@media (max-width: 52rem) {
  html {
    scroll-behavior: auto;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding-block: 1rem;
  }

  .hero-grid,
  .split-grid,
  .privacy-grid,
  .pricing-grid,
  .business-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3rem;
  }

  .site-footer {
    padding-inline: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 34rem) {
  .nav-shell nav {
    gap: 0.5rem 1rem;
  }

  .preview-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .business-section dl div {
    grid-template-columns: 1fr;
  }
}

@media print {
  body,
  .legal-page {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  .legal-shell {
    max-width: none;
    padding: 0;
  }

  .policy-banner {
    border: 1px solid #555;
  }

  .legal-document h2,
  .legal-document h3 {
    break-after: avoid;
  }

  .legal-document p,
  .legal-document li,
  .legal-document table {
    break-inside: avoid;
  }

  a {
    color: #000;
  }
}
