@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --primary-on-dark: #A78BFA;
  --primary-tint: #F5F3FF;
  --primary-tint-border: #DDD6FE;
  --wordmark-m: #73408F;
  --wordmark-agent: #946E25;

  --ink: #0F172A;
  --ink-body: #334155;
  --ink-muted: #64748B;
  --ink-inverse: #FFFFFF;
  --ink-inverse-body: #CBD5E1;
  --ink-inverse-muted: #94A3B8;

  --bg: #FFFFFF;
  --surface: #F8FAFC;
  --border: #E7EBF0;
  --border-strong: #CBD5E1;
  --border-inverse: rgba(255, 255, 255, 0.14);

  --status-attempted: #DC2626;
  --status-pending: #CA8A04;
  --status-successful: #16A34A;
  --status-failed: #64748B;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
}

*,
*::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;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 680;
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.032em; }
h2 { font-size: clamp(27px, 3.4vw, 38px); letter-spacing: -0.028em; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -0.014em; }
h4 { font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 650; color: var(--ink); }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: 0.5em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--ink-inverse);
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow { max-width: 780px; }

.section { padding: 104px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }

.section--ink {
  background: var(--ink);
  color: var(--ink-inverse-body);
}
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: var(--ink-inverse); }
.section--ink a { color: var(--primary-on-dark); }

.section--divided { border-top: 1px solid var(--border); }

.section-head { max-width: 740px; margin-bottom: 52px; }

.section-head::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 26px;
  background: var(--primary);
}
.section--ink .section-head::before { background: var(--primary-on-dark); }

.section-head p { margin-top: 18px; }

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.section--ink .lede { color: var(--ink-inverse-body); }

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 38px;
  font-size: 16px;
  font-weight: 600;
}
.more-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.more-link:hover { text-decoration: none; }
.more-link:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }

.btn--primary,
.section--ink .btn--primary,
.site-nav .btn--primary { background: var(--primary); color: var(--ink-inverse); }
.btn--primary:hover,
.section--ink .btn--primary:hover,
.site-nav .btn--primary:hover { background: var(--primary-hover); color: var(--ink-inverse); }

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

.section--ink .btn--secondary,
.hero .btn--secondary {
  color: var(--ink-inverse);
  border-color: rgba(255, 255, 255, 0.28);
}
.section--ink .btn--secondary:hover,
.hero .btn--secondary:hover {
  border-color: var(--ink-inverse);
  color: var(--ink-inverse);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand__m { color: var(--wordmark-m); }
.brand__agent { color: var(--wordmark-agent); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li { margin: 0; }

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-body);
}
.site-nav a:hover { color: var(--primary); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.site-header .btn { padding: 10px 18px; font-size: 15px; }

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-header__inner > .btn { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 22px;
  }
  .site-nav li { border-top: 1px solid var(--border); }
  .site-nav li:first-child { border-top: 0; }
  .site-nav a { display: block; padding: 15px 0; font-size: 16px; }
  .nav-cta { display: block; border-top: 0; padding-top: 18px; }
  .nav-cta .btn { width: 100%; }
}

.hero {
  background: var(--ink);
  color: var(--ink-inverse-body);
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px 28px 104px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
}

.hero h1 { color: var(--ink-inverse); max-width: 12ch; }

.hero__sub {
  max-width: 34em;
  margin: 26px 0 36px;
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink-inverse-body);
}

.hero__media { justify-self: center; }

.phone {
  width: 278px;
  max-width: 100%;
  padding: 7px;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  overflow: hidden;
}
.phone img,
.phone .shot-placeholder { border-radius: 19px; }
.phone img { width: 100%; }

.phone-shot {
  width: 280px;
  max-width: 100%;
}
.phone-shot img { width: 100%; }

.shot-placeholder {
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-muted);
}
.shot-placeholder--wide { aspect-ratio: 16 / 10; }

.trust { border-bottom: 1px solid var(--border); background: var(--bg); }

.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust li {
  margin: 0;
  padding: 24px 30px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 1px solid var(--border);
}
.trust li:first-child { border-left: 0; }

@media (max-width: 860px) {
  .trust li { padding: 14px 20px; border-left: 0; }
  .trust ul { padding: 10px 0; }
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

.card__icon {
  width: 24px;
  height: 24px;
  margin-bottom: 22px;
  color: var(--primary);
}
.card__icon svg { width: 24px; height: 24px; }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  background: var(--primary-tint);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 650;
  font-feature-settings: 'tnum' 1;
  color: var(--primary);
}

.compare {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.compare__col {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compare__col--after { border-color: var(--primary-tint-border); }

.compare__col h3 { margin-bottom: 22px; }

.compare__col ul { margin: 0; padding: 0; list-style: none; }

.compare__col li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.compare__col li:last-child { margin-bottom: 0; }

.compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 1px;
  background: var(--border-strong);
}
.compare__col--after li::before {
  height: 2px;
  top: 0.58em;
  background: var(--primary);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 620;
  color: var(--ink);
}
.status::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.status--attempted::before  { background: var(--status-attempted); }
.status--pending::before    { background: var(--status-pending); }
.status--successful::before { background: var(--status-successful); }
.status--failed::before     { background: var(--status-failed); }

.status-list { margin: 0; padding: 0; list-style: none; }
.status-list--inset { margin: 24px 0; }
.status-list li { margin-bottom: 20px; }
.status-list li:last-child { margin-bottom: 0; }
.status-list p { margin: 6px 0 0 19px; font-size: 16px; color: var(--ink-muted); }

.quote {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.quote blockquote {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
}
.quote figcaption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-muted);
}
.quote cite { font-style: normal; font-weight: 620; color: var(--ink); }

.panel {
  padding: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.panel--tint {
  background: var(--primary-tint);
  border-color: var(--primary-tint-border);
}
.panel > h2 { margin-bottom: 20px; }

.note { margin-top: 22px; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.section--ink .note { color: var(--ink-inverse-muted); }

.sub-head { margin: 40px 0 18px; }

.req-list { margin: 0 0 32px; padding: 0; list-style: none; }
.req-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 24px;
  font-size: 16px;
  color: var(--ink-muted);
}
.req-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 2px;
  background: var(--primary);
}
.section--ink .req-list li { color: var(--ink-inverse-body); }
.section--ink .req-list li::before { background: var(--primary-on-dark); }

.stack-top { margin-top: 40px; }
.stack-sm { margin-top: 14px; }
.stack-md { margin-top: 32px; }
.stack-lg { margin-top: 72px; }

.doc-section[hidden] { display: none; }

.contact-list { margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list > div:first-child { border-top: 1px solid var(--border); }
.contact-list dt {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 3px;
}
.contact-list dd { margin: 0; font-weight: 550; color: var(--ink); }

@media (max-width: 560px) {
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--primary); }

.accordion summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.15s;
}
.accordion details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.accordion details[open] summary { color: var(--ink); }

.accordion__body {
  max-width: 70ch;
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--ink-muted);
}

.form {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

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

.field label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

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

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.field-check input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--primary);
}
.field-check label {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-body);
}

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

.form-status {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.55;
}
.form-status[hidden] { display: none; }

.form-status--success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-fallback {
  font-size: 15px;
  color: var(--ink-muted);
}
.form-fallback[hidden] { display: none; }

.search { position: relative; max-width: 520px; }

.search input {
  width: 100%;
  padding: 15px 17px 15px 48px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.search input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-empty {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
}
.search-empty[hidden] { display: none; }

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  color: var(--ink-muted);
}

.feature-rows { padding: 24px 0 96px; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 0; }

.feature-row:nth-child(even) .feature-row__media { order: -1; }

.feature-row__media { display: flex; justify-content: center; }

.feature-row__body h2 {
  margin-bottom: 22px;
  font-size: clamp(25px, 2.8vw, 32px);
}
.feature-row__body p { color: var(--ink-muted); }
.feature-row__body p:last-child { margin-bottom: 0; }

.feature-row--full {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.feature-row--full .feature-row__body { max-width: 70ch; }

@media (max-width: 900px) {
  .feature-rows { padding: 8px 0 64px; }
  .feature-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 48px 0;
  }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .feature-row__media { order: -1; }
}

.page-head {
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.page-head .lede { max-width: 62ch; margin-top: 22px; }

.docs {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  padding: 72px 0 104px;
}

.docs__rail {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  max-height: calc(100vh - var(--header-h) - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.docs__rail-toggle {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  list-style: none;
  cursor: default;
}
.docs__rail-toggle::-webkit-details-marker { display: none; }

.docs__rail ul { margin: 0; padding: 0; list-style: none; }
.docs__rail li { margin: 0; }

.docs__rail a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--border);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-muted);
}
.docs__rail a:hover {
  border-left-color: var(--border-strong);
  color: var(--ink);
  text-decoration: none;
}
.docs__rail a.is-current {
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 1040px) {
  .docs { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 76px; }

  .docs__rail {
    position: static;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
  }
  .docs__rail-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 0;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 620;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
    cursor: pointer;
  }
  .docs__rail-toggle::after {
    content: "";
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg) translate(-2px, -2px);
  }
  details[open] > .docs__rail-toggle::after {
    transform: rotate(-135deg) translate(-2px, -2px);
  }
  .docs__rail ul { padding: 4px 22px 20px; }
  .docs__rail a { border-left: 0; padding: 9px 0; }
  .docs__rail a.is-current { border-left: 0; }
}

.doc-section {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.doc-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.doc-section > h2 { margin-bottom: 24px; font-size: clamp(24px, 2.6vw, 30px); }

.doc-block { margin-top: 28px; }
.doc-block:first-of-type { margin-top: 0; }

.doc-block__label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.steps-ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps-ol li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 38px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-body);
  counter-increment: step;
}
.steps-ol li:last-child { margin-bottom: 0; }
.steps-ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: var(--primary-tint);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 650;
  font-feature-settings: 'tnum' 1;
  color: var(--primary);
}

.gain-list { margin: 0; padding: 0; list-style: none; }
.gain-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
}
.gain-list li:last-child { margin-bottom: 0; }
.gain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 2px;
  background: var(--primary);
}

.path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  list-style: none;
}
.path li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.path li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--ink-muted);
  border-right: 1.5px solid var(--ink-muted);
  transform: rotate(45deg);
}

.callout {
  padding: 22px 24px;
  background: var(--primary-tint);
  border: 1px solid var(--primary-tint-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-body);
}
.callout .doc-block__label { color: var(--primary); }

.callout--plain {
  background: var(--surface);
  border-color: var(--border);
}
.callout--plain .doc-block__label { color: var(--ink-muted); }

.site-footer {
  padding: 76px 0 36px;
  background: var(--ink);
  color: var(--ink-inverse-body);
  font-size: 15px;
}
.site-footer a { color: var(--ink-inverse-body); }
.site-footer a:hover { color: var(--ink-inverse); text-decoration: underline; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.03em;
  color: var(--ink-inverse);
}
.footer-brand:hover { text-decoration: none; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }

.footer-cols {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 52px;
}

.footer-cols h2 {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-inverse-muted);
}

.footer-cols ul { margin: 0; padding: 0; list-style: none; }
.footer-cols li { margin-bottom: 12px; }

.footer-legal {
  padding-top: 30px;
  border-top: 1px solid var(--border-inverse);
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-inverse-muted);
}
.footer-legal p { max-width: 92ch; }
.footer-legal p + p { margin-top: 18px; }

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 64px 28px 72px;
  }
  .hero h1 { max-width: 16ch; }
  .hero__sub { max-width: none; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap,
  .hero__inner,
  .site-header__inner { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head::before { margin-bottom: 20px; }
  .panel { padding: 28px 24px; }
  .compare__col { padding: 26px 24px; }
  .card { padding: 26px 24px; }
  .btn-row .btn { width: 100%; }
  .hero__sub { font-size: 17px; }
  .lede { font-size: 17px; }
}
