@font-face {
  font-family: "Inter";
  src: url("/assets/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0f1b33;
  --text: #1e293b;
  --muted: #475569;
  --subtle: #4b5b73;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eef3ff;
  --ok: #047857;
  --ok-soft: #ecfdf5;
  --err: #b91c1c;
  --err-soft: #fef2f2;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.06);
  --shadow: 0 1px 2px rgba(15, 27, 51, 0.05), 0 8px 24px rgba(15, 27, 51, 0.06);
  --shadow-lg: 0 1px 2px rgba(15, 27, 51, 0.05), 0 20px 48px rgba(15, 27, 51, 0.1);
  --max: 1120px;
  --focus: #93b4ff;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.nw {
  white-space: nowrap;
}

section[id],
.form-card,
h2[id] {
  scroll-margin-top: 84px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 50;
}

.skip:focus {
  top: 0.75rem;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex: none;
}

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

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.94rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.94rem;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

.eyebrow span + span::before {
  content: "·";
  margin-right: 0.6rem;
  color: var(--border-strong);
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1.25rem;
  font-weight: 750;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platforms {
  margin: 1.4rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.platforms b {
  color: var(--ink);
  font-weight: 600;
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding: 0;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust svg,
.price-list svg,
.aside-list svg {
  width: 16px;
  height: 16px;
  color: var(--ok);
  flex: none;
}

.preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
}

.preview-head strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.preview ol {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
  counter-reset: s;
}

.preview li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.preview li:last-child {
  border-bottom: 0;
}

.preview li::before {
  content: counter(s, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  height: 2rem;
  display: grid;
  place-items: center;
}

.preview li b {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.preview li span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.preview-foot {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--subtle);
  background: #fafbfc;
}

section.block {
  padding: 5rem 0;
}

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

.section-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 0.45rem;
  font-weight: 650;
}

.section-sub {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.features li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.features li .icon {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
}

.features li p {
  margin: 0;
  color: var(--muted);
}

.features li.wide {
  grid-column: 1 / -1;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: st;
}

.steps li {
  counter-increment: st;
  position: relative;
}

.steps li::before {
  content: counter(st);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.steps h3 {
  margin-top: 0;
}

code,
.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.sample {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sample .meta {
  font-size: 0.88rem;
  color: var(--subtle);
  margin: 0;
}

.card,
.sample,
.grid-2 > *,
.features li,
.tier-grid > * {
  min-width: 0;
}

.sample pre {
  margin: 0;
  padding: 0.95rem 1.05rem;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #e8eef8;
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--subtle);
  margin: 1.5rem 0 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--accent);
  position: relative;
  box-shadow: var(--shadow);
  background: #fff;
}

.price-card .tag {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.price-card.featured .tag {
  background: var(--ok-soft);
  color: var(--ok);
}

.card .price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.25rem 0 0.9rem;
  color: var(--ink);
}

.price strong {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.price span {
  color: var(--muted);
  font-weight: 500;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.price-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--text);
  font-size: 0.97rem;
}

.price-list svg {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.card .fine {
  font-size: 0.88rem;
  color: var(--subtle);
  margin: 0 0 1.25rem;
}

.price-card .btn {
  margin-top: auto;
}

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.form-card {
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.field label .opt,
.field label .req {
  font-weight: 400;
  color: var(--subtle);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #8a96a8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}

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

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-error {
  display: block;
  color: var(--err);
  font-size: 0.9rem;
}

.field-error[hidden] {
  display: none;
}

.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.form-status.ok,
.form-status.error {
  display: block;
}

.form-status.ok {
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid #a7f3d0;
}

.form-status.error {
  background: var(--err-soft);
  color: var(--err);
  border: 1px solid #fecaca;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.aside-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--text);
}

.aside-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-top: 0.15rem;
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.faq {
  min-width: 0;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--subtle);
  border-bottom: 2px solid var(--subtle);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

footer.site {
  padding: 2.75rem 0 3rem;
  border-top: 0;
  background: var(--ink);
  color: #94a3b8;
  font-size: 0.95rem;
}

footer.site a {
  color: #e2e8f0;
}

footer.site a:hover {
  color: #fff;
}

footer.site .brand {
  color: #fff;
}

footer.site .brand:hover {
  color: #fff;
}

footer.site .copy {
  color: #94a3b8;
}

footer.site .brand svg {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--subtle);
}

@media (max-width: 1000px) {
  .hero-grid,
  .form-wrap,
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preview {
    max-width: 36rem;
  }
}

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

  .tier-grid,
  .grid-3,
  .grid-2,
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  section.block {
    padding: 3.5rem 0;
  }
}

@media (max-width: 640px) {
  .nav-links li:not(:last-child) {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .actions .btn {
    width: 100%;
  }

  .row-2 {
    grid-template-columns: 1fr;
  }

  .form-card,
  .card {
    padding: 1.25rem;
  }

  .price strong {
    font-size: 2.4rem;
  }

  .nav {
    height: 60px;
    min-height: 60px;
    padding: 0;
  }

  .brand {
    font-size: 0.98rem;
  }

  .btn-sm {
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
  }
}

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

  .btn,
  .faq summary::after {
    transition: none;
  }
}
