:root {
  --ink: #0c1a23;
  --ink-2: #465a66;
  --ink-3: #6b7d88;
  --paper: #ffffff;
  --soft: #f6f8f9;
  --soft-2: #eef2f4;
  --line: #e1e7eb;
  --line-2: #edf1f3;
  --brand: #0e3e55;
  --brand-2: #145a79;
  --brand-ink: #0a2e40;
  --accent: #b4711a;
  --accent-bg: #fcf4e7;
  --ok: #1c6e43;
  --ok-bg: #e9f4ed;
  --warn: #85560b;
  --warn-bg: #fbf2e0;
  --err: #97231c;
  --err-bg: #fbedeb;
  --inverse: #071c27;

  --font: Inter, 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --t-hero: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --t-display: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --t-h2: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem);
  --t-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  --lh-tight: 1.08;
  --lh-head: 1.18;
  --lh-body: 1.65;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --section-y: clamp(56px, 4vw + 32px, 112px);
  --gutter: 20px;
  --maxw: 1160px;
  --maxw-text: 68ch;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(12, 26, 35, 0.05);
  --shadow-md: 0 1px 2px rgba(12, 26, 35, 0.04), 0 8px 24px rgba(12, 26, 35, 0.06);
  --shadow-lg: 0 2px 4px rgba(12, 26, 35, 0.04), 0 24px 56px rgba(12, 26, 35, 0.1);

  --btn-h-sm: 38px;
  --btn-h: 46px;
  --btn-h-lg: 54px;
  --input-h: 48px;

  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 420ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  --bp-sm: 560px;
  --bp-md: 820px;
  --bp-lg: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.021em;
  margin: 0 0 var(--sp-4);
}
h1 {
  font-size: var(--t-hero);
  line-height: var(--lh-tight);
  letter-spacing: -0.032em;
}
h2 {
  font-size: var(--t-h2);
  line-height: var(--lh-head);
  letter-spacing: -0.026em;
}
h3 {
  font-size: var(--t-h3);
  line-height: 1.3;
}
p {
  margin: 0 0 var(--sp-4);
  max-width: var(--maxw-text);
}
ul,
ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.25em;
}
li {
  margin-bottom: var(--sp-2);
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
strong {
  color: var(--ink);
  font-weight: 620;
}
small {
  font-size: var(--t-small);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-7) 0;
}
code,
kbd,
pre {
  font-family: var(--mono);
  font-size: 0.875em;
}

a {
  color: var(--brand-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #2f82b4;
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  transition: top var(--dur) var(--ease);
}
.skip:focus {
  top: var(--sp-4);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow {
  max-width: 780px;
}
.section {
  padding: var(--section-y) 0;
}
.section--soft {
  background: var(--soft);
}
.section--line {
  border-top: 1px solid var(--line);
}

.section--attached {
  padding-top: 0;
}
.section--dark {
  background: var(--inverse);
  color: #b9c9d2;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}
.section--dark a {
  color: #9fd0ea;
}

.section:not(.section--soft):not(.section--dark):not(.section--line)
  + .section:not(.section--soft):not(.section--dark):not(.section--line),
.section--soft + .section--soft:not(.section--line),
.section--dark + .section--dark:not(.section--line) {
  padding-top: 0;
}

.section--soft,
.section--dark {
  --section-y: clamp(64px, 4.6vw + 34px, 124px);
}

.section:not(.section--soft):not(.section--dark):not(.hero) {
  --section-y: clamp(48px, 3.4vw + 28px, 96px);
}

.stack > * + * {
  margin-top: var(--sp-4);
}
.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid > *,
.split > * {
  min-width: 0;
}
@media (min-width: 560px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 820px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-2\@md {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 560px) and (max-width: 819px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-8);
  }
}
@media (min-width: 900px) {
  .split--rev > :first-child {
    order: 2;
  }
}
.split--top {
  align-items: start;
}

.eyebrow {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin: 0 0 var(--sp-3);
}
.section--dark .eyebrow {
  color: #7fbede;
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 1.8vw + 18px, 52px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.muted {
  color: var(--ink-3);
}
.t-small {
  font-size: var(--t-small);
}
.t-micro {
  font-size: var(--t-micro);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: var(--btn-h);
  padding: 0 var(--sp-5);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--t-small);
  font-weight: 580;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-2);
  color: #fff;
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: #c9d4db;
  background: var(--soft);
  color: var(--ink);
}
.btn--quiet {
  background: transparent;
  color: var(--ink);
  padding: 0 var(--sp-3);
}
.btn--quiet:hover {
  background: var(--soft-2);
  color: var(--ink);
}
.btn--lg {
  height: var(--btn-h-lg);
  padding: 0 var(--sp-6);
  font-size: var(--t-body);
}
.btn--sm {
  height: var(--btn-h-sm);
  padding: 0 var(--sp-4);
  font-size: var(--t-micro);
}
.btn--block {
  width: 100%;
}
.btn[aria-disabled='true'],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.section--dark .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #2b4a5c;
}
.section--dark .btn--ghost:hover {
  background: #102e3e;
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.card h3 {
  margin-bottom: var(--sp-2);
}
.card p:last-child {
  margin-bottom: 0;
}
.card--link:hover {
  border-color: #ccd8df;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card--flat {
  border-radius: var(--r-md);
}
.card--pad-lg {
  padding: var(--sp-6);
}
.section--soft .card {
  background: var(--paper);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
  background: var(--soft-2);
  color: var(--brand);
}
.card-icon svg {
  width: 20px;
  height: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-micro);
  font-weight: 560;
  line-height: 1;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  background: var(--soft-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge--accent {
  background: var(--accent-bg);
  color: var(--accent);
  border-color: #f0e0c6;
}
.badge--ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: #cfe6d8;
}
.badge--warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: #efdfbe;
}
.badge--err {
  background: var(--err-bg);
  color: var(--err);
  border-color: #f1d3cf;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.nav[data-stuck='1'] {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 660;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.brand-mark svg {
  width: 17px;
  height: 17px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a,
.nav-links button {
  font: inherit;
  font-size: var(--t-small);
  font-weight: 520;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links button:hover {
  background: var(--soft-2);
  color: var(--ink);
}
.nav-links a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}
.nav-actions {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  margin-left: var(--sp-4);
}
@media (min-width: 1040px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  color: var(--ink);
}
.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: var(--sp-4) 0 var(--sp-6);
}
.nav-panel[data-open='1'] {
  display: block;
}
@media (min-width: 1040px) {
  .nav-toggle {
    display: none;
  }
}
@media (min-width: 1040px) {
  .nav-panel {
    display: none !important;
  }
}
.nav-panel a {
  display: block;
  padding: 12px 4px;
  font-size: var(--t-body);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.nav-panel .btn-row {
  margin-top: var(--sp-5);
}

.nav-menu {
  position: relative;
}
.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-3);
  display: none;
}

.nav-menu[data-open='1']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.nav-menu[data-open='1'] .nav-drop {
  display: grid;
  gap: 2px;
}
.nav-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
}
.nav-drop .nd-title {
  display: block;
  color: var(--ink);
  font-weight: 580;
  font-size: var(--t-small);
}
.nav-drop .nd-sub {
  display: block;
  color: var(--ink-3);
  font-size: var(--t-micro);
  line-height: 1.4;
}

.hero {
  padding: clamp(48px, 5vw, 92px) 0 var(--section-y);
}
.hero h1 {
  max-width: 19ch;
  text-wrap: balance;
}
.hero .lead {
  max-width: 54ch;
  margin-bottom: var(--sp-6);
}
.hero-note {
  font-size: var(--t-micro);
  color: var(--ink-3);
  margin-top: var(--sp-4);
}

.shot {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--soft);
}
.shot-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3dce2;
}
.shot-url {
  margin-left: 10px;
  font-size: var(--t-micro);
  color: var(--ink-3);
  font-family: var(--mono);
}
.shot-body {
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
}

.strip {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 720px) {
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.strip-item {
  border-left: 2px solid var(--line);
  padding-left: var(--sp-4);
}
.strip-item strong {
  display: block;
  color: var(--ink);
  font-size: var(--t-small);
  margin-bottom: 2px;
}
.strip-item span {
  font-size: var(--t-small);
  color: var(--ink-3);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.step {
  position: relative;
  padding-left: 56px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--brand);
  background: var(--soft-2);
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
}
.step h3 {
  margin-bottom: var(--sp-2);
  font-size: var(--t-h3);
}
.step p {
  margin-bottom: 0;
  font-size: var(--t-small);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-3);
}
.checks li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: var(--t-small);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}
.section--dark .checks li::before {
  border-color: #7fbede;
}
.checks--tight li {
  font-size: var(--t-micro);
}

.dl {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
}
.dl div {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
}
.dl dt {
  color: var(--ink);
  font-weight: 580;
  font-size: var(--t-small);
  margin-bottom: 4px;
}
.dl dd {
  margin: 0;
  font-size: var(--t-small);
  color: var(--ink-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-small);
  background: var(--paper);
}
table.data th,
table.data td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.data th {
  color: var(--ink);
  font-weight: 580;
  background: var(--soft);
  white-space: nowrap;
}
table.data tr:last-child td {
  border-bottom: 0;
}

.plans {
  display: grid;
  gap: var(--sp-5);
  align-items: stretch;
}
@media (min-width: 720px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
  }
}
.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan[data-highlight='1'] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.plan-flag {
  min-height: 26px;
  margin-bottom: var(--sp-3);
}
.plan-name {
  font-size: var(--t-h3);
  margin-bottom: var(--sp-1);
}
.plan-tag {
  font-size: var(--t-micro);
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
  min-height: 2.6em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--sp-1);
}
.plan-price b {
  font-size: 2rem;
  color: var(--ink);
  font-weight: 660;
  letter-spacing: -0.03em;
}
.plan-price span {
  font-size: var(--t-micro);
  color: var(--ink-3);
}
.plan-meta {
  font-size: var(--t-micro);
  color: var(--ink-3);
  margin-bottom: var(--sp-5);
  min-height: 3em;
}
.plan .btn {
  margin-bottom: var(--sp-5);
}
.plan .checks {
  margin-top: 0;
}

.toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--soft-2);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.toggle button {
  font: inherit;
  font-size: var(--t-micro);
  font-weight: 560;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.toggle button[aria-pressed='true'] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-5) 40px var(--sp-5) 0;
  font-size: var(--t-h3);
  font-weight: 580;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .faq-body {
  padding: 0 0 var(--sp-5);
}
.faq .faq-body p:last-child {
  margin-bottom: 0;
}

.form {
  display: grid;
  gap: var(--sp-4);
}
.field {
  display: grid;
  gap: 6px;
}
.field > label {
  font-size: var(--t-small);
  font-weight: 560;
  color: var(--ink);
}
.field .hint {
  font-size: var(--t-micro);
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--t-small);
  color: var(--ink);
  height: var(--input-h);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  width: 100%;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.field textarea {
  height: auto;
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.55;
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7d88 50%),
    linear-gradient(135deg, #6b7d88 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 21px,
    calc(100% - 14px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(20, 90, 121, 0.13);
  outline: none;
}
.field[data-invalid='1'] input,
.field[data-invalid='1'] select {
  border-color: var(--err);
}
.field .error {
  font-size: var(--t-micro);
  color: var(--err);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--t-small);
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--brand);
}
.form-row {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 620px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--sp-5);
}
legend {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0;
  margin-bottom: var(--sp-4);
}

fieldset > * + * {
  margin-top: var(--sp-4);
}

.notice {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--t-small);
  background: var(--soft);
  color: var(--ink-2);
  max-width: 76ch;
}
.notice--info {
  background: #edf4f8;
  border-color: #d3e3ec;
}
.notice--ok {
  background: var(--ok-bg);
  border-color: #cfe6d8;
  color: #14532d;
}
.notice--warn {
  background: var(--warn-bg);
  border-color: #efdfbe;
  color: #6b4508;
}
.notice--err {
  background: var(--err-bg);
  border-color: #f1d3cf;
  color: #7a1c16;
}
.notice strong {
  color: inherit;
}
.notice p:last-child {
  margin-bottom: 0;
}

.calc {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 900px) {
  .calc {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}
.calc-out {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
}
.calc-metric {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
}
.calc-metric b {
  display: block;
  font-size: 1.75rem;
  color: var(--ink);
  font-weight: 660;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.calc-metric span {
  font-size: var(--t-small);
  color: var(--ink-3);
}

.code {
  background: var(--inverse);
  color: #c9dce6;
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin: 0 0 var(--sp-4);
}
.code .c-tag {
  color: #7fbede;
}
.code .c-str {
  color: #e0b27c;
}
.code .c-cmt {
  color: #5e7a88;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: #0b2431;
  color: #8fa9b6;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 10px var(--sp-5);
  font-size: var(--t-micro);
  font-family: var(--mono);
  border-bottom: 1px solid #14384a;
}
.code-head + .code {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  margin-top: 0;
}
.copy {
  font: inherit;
  font-size: var(--t-micro);
  background: none;
  border: 1px solid #22485b;
  color: #9fc6d8;
  border-radius: var(--r-sm);
  padding: 4px 10px;
  cursor: pointer;
}
.copy:hover {
  background: #12384a;
}

.crumbs {
  font-size: var(--t-micro);
  color: var(--ink-3);
  padding: var(--sp-5) 0 0;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.crumbs li {
  margin: 0;
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: #c3ced5;
}
.crumbs a {
  color: var(--ink-3);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}

.cta {
  background: var(--inverse);
  color: #b9c9d2;
  border-radius: var(--r-xl);
  padding: clamp(36px, 4vw, 64px);
}
.cta h2 {
  color: #fff;
  max-width: 20ch;
}
.cta .lead {
  color: #a9bdc8;
  max-width: 52ch;
}

.footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-8) 0 var(--sp-6);
  background: var(--soft);
}
.footer-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: var(--sp-5);
  }
}
.footer .footer-h {
  font-size: var(--t-micro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer li {
  margin: 0;
}
.footer a {
  font-size: var(--t-small);
  color: var(--ink-2);
  text-decoration: none;
}
.footer a:hover {
  color: var(--brand-2);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--t-micro);
  color: var(--ink-3);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal][data-shown='1'] {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card,
  .nav {
    transition: none;
  }
}

.prose {
  max-width: var(--maxw-text);
}
.prose h2 {
  margin-top: var(--sp-8);
}
.prose h3 {
  margin-top: var(--sp-6);
}
.prose > :first-child {
  margin-top: 0;
}
.prose ul li {
  font-size: var(--t-body);
}

.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-7 {
  margin-top: var(--sp-7);
}
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 30;
}

.sb {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sb-flag {
  margin: 0;
  padding: var(--sp-4) var(--sp-5) 0;
}
.sb-rail {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line-2);
}
.sb-tick {
  font-size: var(--t-micro);
  color: var(--ink-3);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--soft);
  white-space: nowrap;
}
.sb-tick.is-active {
  color: #fff;
  background: var(--brand);
}
.sb-form {
  padding: var(--sp-5);
}
.sb-step {
  border: 0;
  margin: 0 0 var(--sp-6);
  padding: 0;
}
.sb--js .sb-step {
  margin-bottom: 0;
}
.sb-legend {
  padding: 0;
  margin-bottom: var(--sp-3);
}
.sb-q {
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
.sb-q:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}
.sb-opts {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.sb-opt {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--paper);
}
.sb-opt:hover {
  border-color: var(--brand-2);
}
.sb-opt input {
  margin-top: 3px;
  accent-color: var(--brand);
  min-width: 18px;
  min-height: 18px;
}
.sb-opt:focus-within {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}
.sb-opt:has(input:checked) {
  border-color: var(--brand);
  background: var(--soft);
}
.sb-opt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-opt-body strong {
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 600;
}
.sb-price {
  margin-bottom: var(--sp-4);
}
.sb-amount {
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 650;
  margin: 0;
}
.sb-lines {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  border-top: 1px solid var(--line-2);
}
.sb-lines li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--t-small);
  color: var(--ink-2);
}
.sb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.sb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-2);
}
.sb-live {
  margin: var(--sp-3) 0 0;
}

.cc {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: var(--gutter);
  display: flex;
  justify-content: center;
}

[hidden] {
  display: none !important;
}
.cc[hidden] {
  display: none;
}
.cc-panel {
  width: 100%;
  max-width: 640px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
}
.cc-title {
  font-size: var(--t-h3);
  margin: 0 0 var(--sp-2);
  color: var(--ink);
}
.cc-text {
  margin: 0 0 var(--sp-4);
}
.cc-options {
  display: grid;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.cc-options[hidden] {
  display: none;
}
.cc-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}
.cc-row input {
  margin-top: 3px;
  accent-color: var(--brand);
  min-width: 18px;
  min-height: 18px;
}
.cc-row span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cc-row strong {
  font-size: var(--t-small);
  color: var(--ink);
  font-weight: 600;
}
.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.cc-actions .btn {
  flex: 1 1 auto;
}
@media (max-width: 520px) {
  .cc-actions .btn {
    flex-basis: 100%;
  }
}

.flow {
  list-style: none;
  counter-reset: flow;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.flow-item {
  counter-increment: flow;
  position: relative;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-7) + 4px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.flow-item::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  font-size: var(--t-micro);
  font-weight: 650;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.flow-item strong {
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 620;
}

.legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.legend li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-3);
}

.card-h {
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
}
