
/* ------------------------------------------------------------------ *
 * Tokens
 * ------------------------------------------------------------------ */

:root {
  color-scheme: light;

  --lavender: #9b8ce0;
  --lavender-deep: #6f5cc4;
  --lavender-soft: #efeafc;
  --orange: #e8701a;
  --orange-deep: #c85a10;
  --orange-soft: #fdeee2;

  --ink: #1a1626;
  --ink-2: #443c5c;
  --ink-3: #6b6382;
  --line: #e7e3f0;
  --surface: #ffffff;
  --surface-2: #faf8fd;
  --surface-3: #f3effb;
  --inverse-surface: #171226;
  --inverse-ink: #f6f3fd;
  --inverse-ink-2: #b7aed0;
  --inverse-line: #2e2743;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(26, 22, 38, 0.05), 0 4px 14px rgba(26, 22, 38, 0.04);
  --shadow-md: 0 2px 6px rgba(26, 22, 38, 0.06), 0 18px 44px rgba(26, 22, 38, 0.08);

  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 48px);
  --measure: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --lavender: #b4a6ee;
    --lavender-deep: #cabff5;
    --lavender-soft: #241d3a;
    --orange: #f0873c;
    --orange-deep: #f5a468;
    --orange-soft: #33220f;

    --ink: #f6f3fd;
    --ink-2: #cdc5e2;
    --ink-3: #a096bb;
    --line: #2e2743;
    --surface: #120f1e;
    --surface-2: #171226;
    --surface-3: #1d1730;
    --inverse-surface: #1d1730;
    --inverse-ink: #f6f3fd;
    --inverse-ink-2: #b7aed0;
    --inverse-line: #392f52;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 18px 44px rgba(0, 0, 0, 0.36);
  }
}

/* ------------------------------------------------------------------ *
 * Base
 * ------------------------------------------------------------------ */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--lavender-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ *
 * Layout primitives
 * ------------------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--tinted { background: var(--surface-2); }
.section--inverse { background: var(--inverse-surface); color: var(--inverse-ink); }
.section--inverse h2, .section--inverse h3 { color: var(--inverse-ink); }
.section--inverse p { color: var(--inverse-ink-2); }

.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 64ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}

.section-head { max-width: 66ch; margin-bottom: clamp(32px, 5vw, 56px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); }

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-link .logo { display: block; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 4px;
  font-size: 0.95rem;
  font-weight: 520;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--orange); }

@media (max-width: 860px) {
  .site-header__inner { flex-wrap: wrap; min-height: 0; padding-block: 14px; gap: 10px; }
  .site-nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .site-nav ul { gap: 16px; padding-bottom: 4px; }
  .header-cta { margin-left: auto; }
}

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 112, 26, 0.28);
}
.btn--primary:hover { background: var(--orange-deep); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--lavender); color: var(--ink); }

.btn--on-dark {
  background: transparent;
  color: var(--inverse-ink);
  border-color: var(--inverse-line);
}
.btn--on-dark:hover { border-color: var(--lavender); color: var(--inverse-ink); }

.btn--sm { padding: 9px 18px; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 11vw, 132px);
  background:
    radial-gradient(1100px 520px at 78% -12%, var(--lavender-soft), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, var(--orange-soft), transparent 60%);
}

.hero__inner { position: relative; z-index: 1; max-width: 44rem; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--lavender-deep), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__orbit {
  position: absolute;
  right: -140px;
  top: 50%;
  translate: 0 -50%;
  width: min(620px, 58vw);
  aspect-ratio: 1;
  opacity: 0.5;
  pointer-events: none;
}
.hero__orbit circle { fill: none; stroke: var(--lavender); stroke-width: 1; opacity: 0.55; }
.hero__orbit .sat { fill: var(--orange); stroke: none; opacity: 0.9; }
.hero__orbit .sat--2 { fill: var(--lavender-deep); }

@media (max-width: 900px) { .hero__orbit { display: none; } }

.hero__note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------ *
 * Cards
 * ------------------------------------------------------------------ */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 0; }
.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--lavender-soft);
  color: var(--lavender-deep);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.section--inverse .card {
  background: color-mix(in srgb, var(--inverse-ink) 5%, transparent);
  border-color: var(--inverse-line);
  box-shadow: none;
}
.section--inverse .card p { color: var(--inverse-ink-2); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--live { background: var(--lavender-soft); color: var(--lavender-deep); }
.status--soon { background: var(--orange-soft); color: var(--orange-deep); }

/* ------------------------------------------------------------------ *
 * Feature list
 * ------------------------------------------------------------------ */

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.feature-list > li { border-top: 1px solid var(--line); padding-top: 22px; }
.feature-list h3 { margin-bottom: 6px; }
.feature-list p { color: var(--ink-2); margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.83rem;
  color: var(--ink-2);
  background: var(--surface-2);
}

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 0.95rem; color: var(--ink-2); }
.checks li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.55em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  rotate: -45deg;
}

/* ------------------------------------------------------------------ *
 * Pricing
 * ------------------------------------------------------------------ */

.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--lavender); box-shadow: var(--shadow-md); }
.plan__badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lavender-soft);
  color: var(--lavender-deep);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan__price {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 14px 0 2px;
}
.plan__cadence { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 4px; }
.plan__yearly { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 22px; }
.plan__desc { font-size: 0.95rem; color: var(--ink-2); min-height: 3.2em; }
.plan .checks { margin-top: 20px; }
.plan .btn { margin-top: 26px; }
.plan__foot { margin-top: auto; }

.table-scroll { overflow-x: auto; margin-top: 8px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 640px; }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
table.compare tbody th { font-weight: 550; color: var(--ink); }
table.compare td { color: var(--ink-2); }

/* ------------------------------------------------------------------ *
 * Prose (policy pages)
 * ------------------------------------------------------------------ */

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 620; }

.page-head {
  padding-block: clamp(48px, 7vw, 84px) clamp(20px, 3vw, 34px);
  background: linear-gradient(180deg, var(--surface-3), var(--surface));
  border-bottom: 1px solid var(--line);
}
.page-head .lede { margin-top: 6px; }
.page-head__meta { margin-top: 18px; font-size: 0.88rem; color: var(--ink-3); }

.callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
}
.callout p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

.contact-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.contact-card a { font-weight: 600; word-break: break-word; }

/* ------------------------------------------------------------------ *
 * CTA band
 * ------------------------------------------------------------------ */

.cta-band {
  background: var(--inverse-surface);
  color: var(--inverse-ink);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 58px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.cta-band h2 { color: var(--inverse-ink); margin: 0 0 8px; }
.cta-band p { color: var(--inverse-ink-2); margin: 0; max-width: 46ch; }
.cta-band .btn-row { margin-top: 0; }

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding-block: clamp(44px, 6vw, 68px) 32px;
  font-size: 0.93rem;
}
.site-footer__grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(200px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--orange-deep); text-decoration: underline; }
.site-footer__blurb { color: var(--ink-3); max-width: 34ch; margin-top: 14px; font-size: 0.9rem; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.87rem;
}

/* ------------------------------------------------------------------ *
 * Error page
 * ------------------------------------------------------------------ */

.error-page { padding-block: clamp(80px, 14vw, 160px); text-align: center; }
.error-page .code {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
}
.error-page .btn-row { justify-content: center; }
