:root {
  color-scheme: light;
  --page: oklch(96.7% 0.012 260);
  --page-deep: oklch(92.4% 0.018 258);
  --surface: oklch(99.1% 0.004 260);
  --surface-2: oklch(95.8% 0.014 258);
  --surface-3: oklch(91.6% 0.022 257);
  --ink: oklch(20.2% 0.044 265);
  --ink-soft: oklch(33.4% 0.041 263);
  --muted: oklch(45.4% 0.039 260);
  --line: oklch(86.7% 0.026 258);
  --line-strong: oklch(78.4% 0.042 257);
  --accent: oklch(46.6% 0.166 264);
  --accent-strong: oklch(39.6% 0.164 264);
  --accent-soft: oklch(93.6% 0.035 263);
  --success: oklch(45.8% 0.12 148);
  --warning: oklch(58.2% 0.139 67);
  --focus-ring: oklch(46.6% 0.166 264);
  --shadow-xs: 0 1px 2px color-mix(in oklch, var(--ink) 8%, transparent);
  --shadow-sm: 0 8px 22px color-mix(in oklch, var(--ink) 10%, transparent);
  --shadow-md: 0 18px 46px color-mix(in oklch, var(--ink) 12%, transparent);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--page) 0, var(--page-deep) 58%, var(--page) 100%);
  color: var(--ink);
  min-width: 280px;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  background: color-mix(in oklch, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px max(20px, env(safe-area-inset-left)) 10px max(20px, env(safe-area-inset-right));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.125rem;
  font-weight: 800;
  gap: 10px;
  min-height: 44px;
}

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

.brand-mark {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  align-items: center;
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  min-height: 44px;
  padding: 0 10px;
}

.nav-links a:hover {
  background: var(--surface-2);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button-compact {
  min-height: 44px;
  padding-inline: 16px;
}

.button-primary {
  background: var(--accent);
  box-shadow: var(--shadow-xs);
  color: oklch(99.1% 0.004 260);
}

.button-primary:hover {
  background: var(--accent-strong);
  color: oklch(99.1% 0.004 260);
}

.button-secondary {
  background: color-mix(in oklch, var(--surface) 84%, transparent);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.82fr);
  margin: 0 auto;
  max-width: 1280px;
  min-height: 680px;
  padding: 76px 40px;
}

.hero-copy {
  display: grid;
  gap: 22px;
  max-width: 720px;
}

.hero-preview {
  background: color-mix(in oklch, var(--surface-2) 74%, var(--page));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  min-width: 0;
  padding: 18px;
}

.preview-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 18px;
  padding: 18px;
}

.preview-topbar,
.preview-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.8125rem;
  font-weight: 800;
  gap: 12px;
  justify-content: space-between;
}

.preview-dot {
  background: var(--accent);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

.preview-topbar strong {
  color: var(--ink);
  margin-right: auto;
}

.preview-summary {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 140px;
  padding: 18px;
}

.preview-summary strong {
  color: var(--ink);
  display: block;
  font-size: 1.5rem;
  line-height: 1.12;
  margin-top: 5px;
}

.preview-label,
.preview-next span,
.preview-row span,
.preview-footer span {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 800;
}

.preview-next {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 3px;
  padding: 14px;
}

.preview-next strong {
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
}

.preview-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.preview-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 52px minmax(0, 1fr) max-content;
  min-height: 58px;
  padding: 12px 14px;
}

.preview-row + .preview-row {
  border-top: 1px solid var(--line);
}

.preview-row strong {
  min-width: 0;
}

.preview-row em {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent) 25%, var(--line));
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  padding: 4px 9px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 4.75rem;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
}

h2 {
  font-size: 2.4rem;
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 0;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.25rem;
  line-height: 1.45;
  margin-bottom: 0;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.flow-strip li {
  align-items: center;
  background: color-mix(in oklch, var(--surface) 80%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  min-height: 34px;
  padding: 0 13px;
}

.workflow-section,
.trust-section,
.document-main,
.cta-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: 76px 40px;
}

.workflow-section {
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.section-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.section-copy p,
.document-hero p,
.pricing-note p,
.guidance-panel p,
.legal-document p {
  color: var(--muted);
  max-width: 70ch;
}

.workflow-rail {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-rail li {
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 18px;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 20px;
}

.workflow-rail p {
  color: var(--muted);
  margin-bottom: 0;
}

.step-number {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.trust-section {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.trust-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: grid;
}

.trust-list a {
  color: var(--ink);
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 18px 22px;
}

.trust-list a + a {
  border-top: 1px solid var(--line);
}

.trust-list a:hover {
  background: var(--surface-2);
  text-decoration: none;
}

.trust-list span {
  color: var(--muted);
}

.cta-band {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 76px;
  padding-block: 30px;
}

.document-main {
  display: grid;
  gap: 34px;
}

.document-hero {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding-bottom: 30px;
}

.document-hero h1 {
  font-size: 3.15rem;
  line-height: 1.04;
  max-width: 12em;
}

.pricing-hero {
  max-width: 760px;
}

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

.plan {
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 18px;
  padding: 24px;
  position: relative;
}

.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--accent) 56%, transparent), var(--shadow-sm);
}

.plan-badge {
  align-self: start;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent) 24%, var(--line));
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.8125rem;
  font-weight: 800;
  justify-self: start;
  margin: 0;
  min-height: 30px;
  padding: 5px 11px;
}

.plan-heading {
  display: grid;
  gap: 4px;
}

.plan-heading p,
.yearly {
  color: var(--muted);
  margin-bottom: 0;
}

.price {
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0;
}

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

.plan ul,
.guidance-panel ul {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.plan li + li,
.guidance-panel li + li {
  margin-top: 8px;
}

.pricing-note,
.guidance-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 18px;
  padding: 24px;
}

.not-found-main {
  min-height: calc(100vh - 205px);
}

.not-found-actions,
.note-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-links a {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 0 14px;
}

.quick-links a:hover {
  background: var(--surface);
  color: var(--accent);
  text-decoration: none;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  color: var(--ink);
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 20px;
}

.email-address {
  color: var(--accent);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.email-address .email-at::before {
  content: "@";
}

.contact-row em {
  color: var(--muted);
  font-style: normal;
}

.legal-document {
  max-width: 920px;
}

.legal-document section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.legal-document section:last-child {
  border-bottom: 0;
}

.site-footer {
  align-items: start;
  background: color-mix(in oklch, var(--surface) 82%, var(--page));
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px 40px max(28px, env(safe-area-inset-bottom));
}

.site-footer p {
  color: var(--muted);
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-footer a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  min-height: 44px;
  padding: 0 8px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links,
  .site-footer nav {
    justify-content: flex-start;
  }

  .hero-copy,
  .workflow-section,
  .trust-section,
  .document-main,
  .cta-band {
    padding-inline: 28px;
  }

  .workflow-section,
  .trust-section,
  .hero,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 60px;
  }

  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    font-size: 0.8125rem;
    padding-inline: 8px;
  }

  .button {
    padding-inline: 14px;
  }

  .hero {
    gap: 18px;
    padding: 54px 20px 48px;
  }

  .hero-copy {
    gap: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  .document-hero h1 {
    font-size: 2.25rem;
  }

  .lede {
    font-size: 1.0625rem;
  }

  .workflow-section,
  .trust-section,
  .document-main,
  .cta-band {
    padding: 58px 20px;
  }

  .workflow-rail li {
    grid-template-columns: 1fr;
  }

  .preview-summary,
  .preview-row {
    grid-template-columns: 1fr;
  }

  .preview-row em {
    justify-self: start;
  }

  .site-footer {
    padding-inline: 20px;
  }
}
