:root {
  --ink: #122033;
  --muted: #5e6f7f;
  --line: #d7e2e6;
  --paper: #ffffff;
  --soft: #f2f7f7;
  --aqua-soft: #e5f8f8;
  --teal: #007f7b;
  --teal-dark: #075c5a;
  --blue: #087db5;
  --navy: #0e2738;
  --coral: #d95c45;
  --green: #1d9b6c;
  --shadow: 0 20px 50px rgba(14, 39, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 12px 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 226, 230, 0.9);
  backdrop-filter: blur(18px);
}

.site-header.legal-header {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(8, 125, 181, 0.2);
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.nav a,
.footer-links a,
.text-link,
.privacy-points a {
  transition: color 160ms ease;
}

.nav a:hover,
.footer-links a:hover,
.text-link:hover,
.privacy-points a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(590px, calc(100svh - 130px), 720px);
  padding: 72px 5vw 82px;
  overflow: hidden;
  background: var(--aqua-soft);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 64%;
  content: "";
  background: rgba(229, 248, 248, 0.96);
}

.hero-art {
  position: absolute;
  z-index: -2;
  top: 50%;
  right: -2vw;
  width: min(58vw, 690px);
  height: auto;
  border-radius: 28px 0 0 28px;
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 5.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: #40586a;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.button-primary {
  color: var(--paper);
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(0, 127, 123, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(14, 39, 56, 0.16);
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(8, 125, 181, 0.35);
  outline-offset: 3px;
}

.trust-row {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-row span::before {
  margin-right: 8px;
  color: var(--green);
  content: "\2713";
}

.section {
  padding: 84px 5vw;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section h2,
.legal-hero h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 3.25rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.feature-section {
  padding-top: 42px;
  background: var(--paper);
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.price-card {
  min-height: 230px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card:nth-child(2) > span {
  background: var(--green);
}

.feature-card:nth-child(3) > span {
  background: var(--coral);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p,
.price-card span,
.privacy-points p,
.support-section p,
.pricing-note,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  background: var(--navy);
}

.privacy-section .eyebrow {
  color: #69d8d2;
}

.privacy-section h2 {
  color: var(--paper);
}

.privacy-points {
  display: grid;
  gap: 18px;
}

.privacy-points p {
  margin: 0;
  padding-bottom: 18px;
  color: #cbd8df;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.06rem;
}

.privacy-points a {
  color: #69d8d2;
  font-weight: 850;
}

.pricing-section {
  background: var(--soft);
}

.price-card {
  min-height: 250px;
}

.price-card.featured {
  border-color: rgba(0, 127, 123, 0.5);
  box-shadow: var(--shadow);
}

.price-card > p {
  margin-bottom: 30px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 2.8rem;
  line-height: 1;
}

.price-card h3 span {
  margin-left: 4px;
  font-size: 0.9rem;
  font-weight: 750;
}

.pricing-note {
  max-width: 860px;
  margin: 24px 0 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 850;
}

.providers-section {
  border-block: 1px solid var(--line);
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.provider-list div {
  min-height: 130px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.provider-list div:last-child {
  border-right: 0;
}

.provider-list strong,
.provider-list span {
  display: block;
}

.provider-list strong {
  margin-bottom: 8px;
  color: var(--navy);
}

.provider-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 72px;
  background: var(--aqua-soft);
}

.support-section p {
  max-width: 760px;
  font-size: 1.05rem;
}

.support-actions {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-actions a {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.support-actions a:last-child {
  border-bottom: 0;
}

.support-actions .support-email {
  color: var(--paper);
  background: var(--teal);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 5vw;
  color: #b8c8d2;
  background: var(--navy);
}

.site-footer strong,
.site-footer span {
  display: block;
}

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

.site-footer a {
  color: #dbe7ec;
}

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

.legal-hero {
  padding: 68px 5vw 54px;
  background: var(--aqua-soft);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: 4rem;
}

.legal-hero p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 750;
}

.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 86px;
}

.legal-content h2 {
  margin: 36px 0 12px;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 1.02rem;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-plan-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
}

.legal-plan-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-plan-list strong {
  color: var(--teal-dark);
}

.legal-plan-list span {
  color: var(--muted);
}

.help-hero {
  position: relative;
  overflow: hidden;
}

.help-hero::after {
  position: absolute;
  right: 5vw;
  bottom: -46px;
  width: 150px;
  height: 150px;
  content: "?";
  color: rgba(8, 125, 181, 0.12);
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
}

.help-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 24px 0 58px;
  list-style: none;
  counter-reset: help-step;
}

.help-steps li {
  position: relative;
  min-height: 220px;
  padding: 52px 18px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: help-step;
}

.help-steps li::before {
  position: absolute;
  top: 14px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--paper);
  background: var(--teal);
  border-radius: 50%;
  content: counter(help-step);
  font-size: 0.78rem;
  font-weight: 900;
}

.help-steps strong,
.help-steps span {
  display: block;
}

.help-steps strong {
  margin-bottom: 8px;
  color: var(--navy);
  line-height: 1.35;
}

.help-steps span {
  color: var(--muted);
  font-size: 0.9rem;
}

.help-intro {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.help-intro h2 {
  margin-top: 0;
  font-size: 2.25rem;
}

.help-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.help-item > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.help-item:nth-of-type(even) > span {
  background: var(--green);
}

.help-item h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.3;
}

.help-item p {
  margin-bottom: 10px;
}

.help-item p:last-child {
  margin-bottom: 0;
}

.help-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding: 26px;
  background: var(--aqua-soft);
  border: 1px solid rgba(0, 127, 123, 0.22);
  border-radius: 8px;
}

.help-contact h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.help-contact p:last-child {
  margin-bottom: 0;
}

.safety-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--coral);
  background: #fff6f3;
}

/* Standalone policy and help documents use a quiet, mobile-first layout. */
.document-page {
  background: var(--paper);
}

.document-header {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.document-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
}

.document-brand img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
}

.document-page .legal-hero {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.document-page .legal-hero h1 {
  margin-bottom: 10px;
  font-size: 2.25rem;
  line-height: 1.15;
}

.document-page .legal-hero p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.document-page .eyebrow {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
}

.document-page .legal-content {
  width: min(760px, calc(100% - 40px));
  padding: 28px 0 56px;
}

.document-page .legal-content h2,
.document-page .help-intro h2,
.document-page .help-contact h2 {
  margin: 28px 0 8px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.document-page .legal-content p,
.document-page .legal-content li {
  font-size: 0.98rem;
  line-height: 1.68;
}

.document-page .legal-content ul {
  margin: 8px 0 18px;
  padding-left: 20px;
}

.document-page .legal-content li + li {
  margin-top: 8px;
}

.document-page .legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.document-page .legal-plan-list {
  display: block;
  margin: 14px 0 20px;
  border-top: 1px solid var(--line);
}

.document-page .legal-plan-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.document-page .help-hero::after {
  display: none;
}

.document-page .help-steps {
  display: block;
  margin: 12px 0 30px;
  padding-left: 22px;
  list-style: decimal;
}

.document-page .help-steps li {
  min-height: 0;
  padding: 0 0 18px 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.document-page .help-steps li::before {
  display: none;
}

.document-page .help-steps strong {
  margin-bottom: 3px;
  font-size: 0.98rem;
}

.document-page .help-steps span {
  font-size: 0.94rem;
}

.document-page .help-intro {
  padding: 26px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.document-page .help-intro h2 {
  margin-top: 0;
}

.document-page .help-item {
  display: block;
  padding: 22px 0;
}

.document-page .help-item > span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 5px;
  color: var(--muted);
  background: transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 850;
}

.document-page .help-item h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.document-page .help-contact {
  display: block;
  margin-top: 28px;
  padding: 26px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.document-page .help-contact h2 {
  margin-top: 0;
}

.document-page .help-contact .button {
  display: inline;
  width: auto;
  min-height: 0;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.document-page .help-contact .button:hover {
  transform: none;
}

.document-page .safety-note {
  margin-top: 26px;
  padding: 18px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero-art {
    right: -10vw;
    width: 66vw;
  }

  .privacy-section,
  .support-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .provider-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-list div:nth-child(2) {
    border-right: 0;
  }

  .provider-list div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 126px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 10px;
    padding: 10px 20px 12px;
  }

  .site-header.legal-header {
    gap: 8px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav,
  .footer-links {
    gap: 10px 16px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: calc(100svh - 170px);
    padding: 52px 20px 64px;
  }

  .hero::after {
    width: 100%;
    background: rgba(229, 248, 248, 0.86);
  }

  .hero-art {
    top: 50%;
    right: -42%;
    width: 122vw;
    opacity: 0.25;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 20px;
  }

  .section h2,
  .legal-hero h1 {
    font-size: 2.4rem;
  }

  .feature-grid,
  .pricing-grid,
  .legal-plan-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .price-card {
    min-height: 0;
  }

  .provider-list {
    grid-template-columns: 1fr;
  }

  .help-steps {
    grid-template-columns: 1fr;
  }

  .help-steps li {
    min-height: 0;
  }

  .help-contact {
    grid-template-columns: 1fr;
  }

  .help-contact .button {
    width: 100%;
  }

  .provider-list div,
  .provider-list div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .provider-list div:last-child {
    border-bottom: 0;
  }

  .legal-hero {
    padding: 42px 20px 36px;
  }

  .legal-content {
    width: calc(100% - 40px);
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .legal-content h2 {
    font-size: 1.45rem;
  }

  .document-header,
  .document-page .legal-hero,
  .document-page .legal-content {
    width: calc(100% - 36px);
  }

  .legal-page .legal-hero h1 {
    margin-bottom: 10px;
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .document-page .legal-hero {
    padding: 28px 0 22px;
  }

  .legal-page .legal-hero p:last-child {
    font-size: 0.84rem;
  }

  .legal-page .legal-content {
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .legal-page .legal-content h2 {
    margin: 24px 0 7px;
    font-size: 1.16rem;
    line-height: 1.35;
  }

  .legal-page .legal-content p,
  .legal-page .legal-content li {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .legal-page .legal-plan-list div {
    padding: 10px 0;
  }

  .document-page .help-intro h2,
  .document-page .help-contact h2 {
    font-size: 1.16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
