:root {
  --paper: #f4f7f9;
  --surface: #ffffff;
  --ink: #2c3e50;
  --ink-soft: #5a6b7b;
  --line: #d3e4ef;
  --brand: #481e5b;
  --on-brand: #ffffff;
  --accent: #2e7d9b;
  --accent-text: #23637b;
  --highlight: #e26a6a;
  --good: #0f7350;
  --bad: #b3253a;
  --amber: #b07b00;
  --chip: #eef3f7;
  --warn-fill: #fdf3f3;
  --shadow: 0 1px 3px rgba(44, 62, 80, 0.12), 0 8px 24px rgba(44, 62, 80, 0.12);
  --turquoise: linear-gradient(135deg, #6fd6cf, #1d8a86);
  --amethyst: linear-gradient(135deg, #b894e3, #6a3fa3);
  --emerald: linear-gradient(135deg, #4fc08d, #0f6b47);
  --sapphire: linear-gradient(135deg, #5b86d6, #163b85);
  --diamond: linear-gradient(135deg, #9cc4d8, #4f7f99);
  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1f2d3a;
    --surface: #2c3e50;
    --ink: #f4f7f9;
    --ink-soft: #afc2d1;
    --line: #3d5468;
    --brand: #c9a6de;
    --on-brand: #1f2d3a;
    --accent: #7cc3de;
    --accent-text: #7cc3de;
    --highlight: #f08c8c;
    --good: #3fc48d;
    --bad: #f27f8c;
    --amber: #fbc200;
    --chip: #26374a;
    --warn-fill: #3a2f3a;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #1f2d3a;
  --surface: #2c3e50;
  --ink: #f4f7f9;
  --ink-soft: #afc2d1;
  --line: #3d5468;
  --brand: #c9a6de;
  --on-brand: #1f2d3a;
  --accent: #7cc3de;
  --accent-text: #7cc3de;
  --highlight: #f08c8c;
  --good: #3fc48d;
  --bad: #f27f8c;
  --amber: #fbc200;
  --chip: #26374a;
  --warn-fill: #3a2f3a;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 8px 14px;
  border-radius: 4px;
  background: var(--brand);
  color: var(--on-brand);
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 12px;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: 14px;
}

.fine {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

section {
  padding-block: clamp(56px, 8vw, 96px);
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  filter: brightness(1.12);
}

.btn-ghost {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-ghost:hover,
.btn-quiet:hover {
  background: var(--chip);
}

.btn-quiet {
  color: var(--ink);
  background: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: auto;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-title b {
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand);
}

.topbar-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

:root[data-launch="soon"] [data-app],
:root:not([data-launch="soon"]) [data-soon] {
  display: none !important;
}

.soon-pill {
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  white-space: nowrap;
}

.theme {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--paper);
}

.theme button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.theme button:hover {
  color: var(--ink);
}

.theme button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(44, 62, 80, 0.18);
}

.theme svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.theme button[data-theme-choice="dark"] svg {
  fill: currentColor;
  stroke: none;
}

.hero {
  padding-block: clamp(48px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-copy h1 {
  max-width: 18ch;
}

.hero-copy .lede {
  margin-inline: auto;
}

.hero-copy .cta-row {
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light,
  :root:not([data-theme="light"]) .labs-light {
    display: none;
  }

  :root:not([data-theme="light"]) .shot-dark,
  :root:not([data-theme="light"]) .labs-dark {
    display: block;
  }
}

:root[data-theme="dark"] .shot-light,
:root[data-theme="dark"] .labs-light {
  display: none;
}

:root[data-theme="dark"] .shot-dark,
:root[data-theme="dark"] .labs-dark {
  display: block;
}

.diffs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.diff {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.diff h3 {
  margin-top: 14px;
}

.diff p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.diff-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
}

.diff-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.screens {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  margin-top: 48px;
}

.screen {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin: 0;
}

.screen:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}

.screen:nth-child(even) .shot {
  order: 2;
}

.screen figcaption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
}

.screen figcaption p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.screen-narrow .shot {
  justify-self: center;
  max-width: 520px;
}

.included {
  margin-top: 36px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 32px;
}

.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  break-inside: avoid;
}

.checks li::before {
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 700;
}

.checks li::before {
  content: "✓";
  color: var(--good);
}

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.toggle button {
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.toggle button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--on-brand);
}

.toggle-note {
  font-weight: 500;
  font-size: 0.82rem;
  opacity: 0.85;
}

.grid-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tiers {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.tiers th,
.tiers td {
  padding: 13px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.tiers th + th,
.tiers td + td,
.tiers th + td {
  border-left: 1px solid var(--line);
}

.tiers tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-soft);
  width: 24%;
}

.tiers tbody td {
  font-weight: 600;
}

.tiers td.yes {
  color: var(--good);
}

.tier {
  color: #ffffff;
  padding-block: 22px;
}

.tier-turquoise {
  background: var(--turquoise);
}

.tier-amethyst {
  background: var(--amethyst);
}

.tier-emerald {
  background: var(--emerald);
}

.tier-sapphire {
  background: var(--sapphire);
}

.tier-diamond {
  background: var(--diamond);
}

.tier-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.tier-price {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.tier-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.92;
}

.tablenote {
  padding: 12px 16px 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.tablenote:last-child {
  padding-bottom: 14px;
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.calc-input input {
  margin-top: 14px;
  width: 200px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}

.compare {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
}

.compare span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.compare span.best {
  border-color: var(--good);
  color: var(--good);
  font-weight: 700;
}

.best-card {
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
}

.best-card .label {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.92;
}

.best-card .name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.best-card .total {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.breakdown {
  margin-top: 14px;
}

.breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-variant-numeric: tabular-nums;
}

.breakdown div.sum {
  border-bottom: 0;
  border-top: 2px solid var(--ink);
  font-weight: 700;
}

.partner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.partner-logo {
  width: 160px;
}

.partner-copy .btn {
  margin-top: 22px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.phi-warning {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  background: var(--warn-fill);
  border: 1px solid var(--bad);
}

.phi-warning svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--bad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phi-warning p {
  font-size: 0.95rem;
}

.contact-form,
.sent {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form[hidden],
.sent[hidden] {
  display: none;
}

.topic {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  border: 0;
}

.topic legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.topic label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.topic input {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--bad);
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: var(--bad);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form .btn {
  justify-self: start;
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.sent h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.sent p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.footer {
  padding-block: 48px 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-labs {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.labs {
  width: 168px;
}

.labs-dark {
  display: none;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-base {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .contact,
  .calc {
    grid-template-columns: 1fr;
  }

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

  .checks {
    columns: 2;
  }

  .screen,
  .screen:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .screen:nth-child(even) .shot {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-labs {
    justify-items: start;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding-inline: 16px;
  }

  .topbar-row {
    gap: 12px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .topbar-end .btn-quiet,
  .topbar-end .soon-pill {
    display: none;
  }

  .topbar-end .btn-primary {
    padding: 7px 12px;
    font-size: 0.88rem;
  }

  .diffs {
    grid-template-columns: 1fr;
  }


  .checks {
    columns: 1;
  }

  .partner {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    width: 96px;
  }

  .calc,
  .contact-form,
  .sent {
    padding: 20px;
  }
}

.tier-pick {
  display: none;
}

@media (max-width: 700px) {
  .tier-pick {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-top: 24px;
  }

  .tier-pick button {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 8px 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink-soft);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
  }

  .tier-pick button[aria-pressed="true"] {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand);
    color: var(--ink);
  }

  .tier-pick svg {
    width: 28px;
    height: 28px;
  }

  .tier-pick .facet {
    fill: none;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1;
    stroke-linejoin: round;
  }

  .grid-wrap {
    margin-top: 12px;
  }

  .tiers {
    min-width: 0;
  }

  .tiers tbody th {
    width: 55%;
  }

  .tiers[data-show="1"] :is(th, td):not(:first-child, :nth-child(2)),
  .tiers[data-show="2"] :is(th, td):not(:first-child, :nth-child(3)),
  .tiers[data-show="3"] :is(th, td):not(:first-child, :nth-child(4)),
  .tiers[data-show="4"] :is(th, td):not(:first-child, :nth-child(5)),
  .tiers[data-show="5"] :is(th, td):not(:first-child, :nth-child(6)) {
    display: none;
  }
}

.footer-theme {
  display: none;
}

@media (max-width: 700px) {
  .topbar-end .theme {
    display: none;
  }

  .footer-base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-theme {
    display: inline-flex;
  }
}

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