:root {
  color-scheme: light;
  --page: #f7f3ea;
  --paper: #fffdf8;
  --ink: #10213a;
  --muted: #58657a;
  --line: #d8d9d4;
  --accent: #e65345;
  --accent-soft: #fff0ec;
  --blue: #2457c5;
  --blue-soft: #edf3ff;
  --focus: #2457c5;
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(230, 83, 69, 0.09), transparent 24rem),
    radial-gradient(circle at 94% 14%, rgba(36, 87, 197, 0.08), transparent 26rem),
    var(--page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  font-weight: 800;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 48%, transparent);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  width: min(980px, calc(100% - 32px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(16, 33, 58, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 80px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 2px solid var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Cooper Black", Georgia, serif;
  font-size: clamp(46px, 9vw, 82px);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.hero-mark {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  color: white;
  font-size: 36px;
  font-weight: 900;
  background: var(--blue);
  border: 2px solid var(--ink);
  border-radius: 30px 48px 34px 44px;
  box-shadow: 7px 7px 0 var(--accent);
  transform: rotate(3deg);
}

.updated,
.lede {
  color: var(--muted);
}

.updated {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 750;
}

.lede {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.promise {
  margin: 34px 0;
  padding: 23px 26px;
  color: white;
  background: var(--ink);
  border-left: 6px solid var(--accent);
  border-radius: 14px;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.55;
}

.content-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-card,
.support-card {
  padding: 27px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.content-card.wide {
  grid-column: 1 / -1;
}

.content-card h2,
.support-card h2,
.legal-section h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.content-card h2,
.support-card h2 {
  font-size: 20px;
}

.content-card p,
.content-card li,
.support-card p,
.support-card li,
.legal-section p,
.legal-section li,
.contact-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.content-card p:last-child,
.support-card p:last-child,
.legal-section p:last-child,
.contact-panel p:last-child {
  margin-bottom: 0;
}

li + li {
  margin-top: 6px;
}

.support-grid {
  margin-top: 42px;
}

.step {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  font-weight: 900;
  background: var(--accent);
  border-radius: 10px;
}

.support-card h2 {
  margin-top: 17px;
}

.support-card.plus {
  background: var(--blue-soft);
  border-color: rgba(36, 87, 197, 0.24);
}

.support-card.caution {
  background: var(--accent-soft);
  border-color: rgba(230, 83, 69, 0.24);
}

.contact-panel {
  margin-top: 34px;
  padding: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 17px;
  box-shadow: 7px 7px 0 var(--accent);
}

.contact-panel h2 {
  font-size: 25px;
}

.terms-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  align-items: start;
  gap: 42px;
  margin-top: 40px;
}

.terms-toc {
  position: sticky;
  top: 22px;
  padding: 20px;
  background: var(--blue-soft);
  border: 1px solid rgba(36, 87, 197, 0.2);
  border-radius: 14px;
}

.terms-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.legal-article {
  padding: 8px 30px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.legal-section {
  padding: 28px 0;
  scroll-margin-top: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  font-size: 23px;
}

.plan-table {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.plan-table th,
.plan-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.plan-table th {
  color: var(--ink);
  font-size: 12px;
  background: var(--blue-soft);
}

.plan-table td {
  color: var(--muted);
  font-size: 14px;
}

.plan-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 42px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid rgba(16, 33, 58, 0.14);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

@media (max-width: 760px) {
  .legal-hero {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .content-grid,
  .support-grid,
  .terms-layout {
    grid-template-columns: 1fr;
  }

  .content-card.wide {
    grid-column: 1;
  }

  .terms-toc {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav-links a:not([aria-current="page"]) {
    display: none;
  }

  .page-shell {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .content-card,
  .support-card,
  .legal-article,
  .contact-panel {
    padding-right: 21px;
    padding-left: 21px;
  }

  .plan-table,
  .plan-table tbody,
  .plan-table tr,
  .plan-table th,
  .plan-table td {
    display: block;
  }

  .plan-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .plan-table td {
    border-bottom: 0;
  }

  .plan-table td:first-child {
    padding-bottom: 0;
    color: var(--ink);
    font-weight: 850;
  }

  .plan-table tr {
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
  }
}

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