:root,
[data-theme="light"] {
  --accent: #3465a4;
  --accent-hover: #2855a3;
  --surface-page: #eff1f5;
  --surface-panel: #e6e9ef;
  --surface-chrome: #dce0e8;
  --surface-paper: #ffffff;
  --border: #ccd0da;
  --border-strong: #9ca0b0;
  --text-primary: #4c4f69;
  --text-secondary: #5c5f77;
  --text-tertiary: #6c6f85;
  --text-on-accent: #ffffff;
  --mauve: #8839ef;
  --teal: #179299;
  --green: #40a02b;
  --peach: #fe640b;
  --selection-bg: #a9c1e2;
  --selection-fg: #4c4f69;
  --shadow-sm: 0 1px 2px rgba(76, 79, 105, 0.08), 0 1px 3px rgba(76, 79, 105, 0.06);
  --shadow-md: 0 4px 16px rgba(76, 79, 105, 0.1), 0 1px 3px rgba(76, 79, 105, 0.06);
  --paper-tint: color-mix(in srgb, var(--teal) 8%, var(--surface-paper));
  color-scheme: light;
}

[data-theme="dark"] {
  --accent: #7aa2d6;
  --accent-hover: #8fb3e0;
  --surface-page: #1e1e2e;
  --surface-panel: #181825;
  --surface-chrome: #11111b;
  --surface-paper: #313244;
  --border: #313244;
  --border-strong: #6c7086;
  --text-primary: #cdd6f4;
  --text-secondary: #bac2de;
  --text-tertiary: #a6adc8;
  --text-on-accent: #11111b;
  --mauve: #cba6f7;
  --teal: #94e2d5;
  --green: #a6e3a1;
  --peach: #fab387;
  --selection-bg: #45475a;
  --selection-fg: #cdd6f4;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --paper-tint: color-mix(in srgb, var(--teal) 10%, var(--surface-paper));
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-fg);
}

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

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

a:focus-visible,
button:focus-visible,
.pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-mauve {
  color: var(--mauve);
  font-size: 12px;
}

h1,
h2,
.display {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out, color 160ms ease-out;
}

.pill:active {
  transform: translateY(1px);
}

.pill-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-md);
}

.pill-primary:hover {
  background: var(--accent-hover);
  color: var(--text-on-accent);
}

.pill-secondary {
  background: var(--surface-page);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: none;
}

.pill-secondary:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.pill-nav {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  margin-left: 8px;
  white-space: nowrap;
}

.pill-card {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--surface-page) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner,
.legal-nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.wordmark-sm {
  font-size: 20px;
}

.wordmark-sm .wordmark-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease-out;
}

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

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  padding: 104px 32px 80px;
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 78px;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 800px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--text-tertiary);
  text-wrap: pretty;
}

.hero-body {
  font-size: 17px;
  line-height: 1.65;
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--text-tertiary);
  text-wrap: pretty;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-md);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.product {
  padding: 36px 0 92px;
}

.paper {
  background: var(--surface-paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.paper-tint {
  background: var(--paper-tint);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 32px;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.product-kicker img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  box-shadow: var(--shadow-sm);
}

.product-name {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 16%, var(--surface-paper));
  color: var(--teal);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.product h2 {
  font-size: 40px;
  line-height: 1.08;
  margin: 0 0 14px;
}

.product-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-tertiary);
  margin: 0 0 26px;
  max-width: 440px;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feat {
  background: var(--surface-paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.feat-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.feat-teal { background: color-mix(in srgb, var(--teal) 18%, var(--surface-paper)); color: var(--teal); }
.feat-green { background: color-mix(in srgb, var(--green) 18%, var(--surface-paper)); color: var(--green); }
.feat-mauve { background: color-mix(in srgb, var(--mauve) 18%, var(--surface-paper)); color: var(--mauve); }
.feat-peach { background: color-mix(in srgb, var(--peach) 18%, var(--surface-paper)); color: var(--peach); }

.feat h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feat h3:last-child {
  margin-bottom: 0;
}

.feat p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-tertiary);
}

.feat-span {
  grid-column: 1 / -1;
}

.how {
  padding: 88px 32px;
}

.how-head {
  max-width: 640px;
  margin: 0 0 36px;
}

.how h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 12px 0 0;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.step {
  background: var(--surface-paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.step h3 {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-tertiary);
}

.about {
  background: var(--surface-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  padding: 88px 32px;
  max-width: 720px;
}

.about h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 16px 0 20px;
}

.about p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-tertiary);
  margin: 0;
  text-wrap: pretty;
}

.about em {
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-style: italic;
  color: var(--text-secondary);
}

.cta {
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-page));
}

.cta-inner {
  padding: 92px 32px;
  text-align: center;
}

.cta h2 {
  font-size: 46px;
  line-height: 1.06;
  margin: 0 0 14px;
}

.cta p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin: 0 auto 32px;
  max-width: 520px;
}

.site-footer {
  background: var(--surface-chrome);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 44px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  margin-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

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

.footer-meta {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--text-tertiary);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-align: right;
}

.legal-nav {
  border-bottom: 1px solid var(--border);
}

.legal-nav .wrap {
  max-width: 820px;
}

.back-home {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.back-home:hover {
  color: var(--accent);
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.doc .eyebrow {
  margin-bottom: 16px;
}

.doc h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 14px;
}

.doc-updated {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 8px;
}

.legal-slot {
  margin-top: 8px;
  padding: 22px 26px;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  background: var(--surface-panel);
  color: var(--text-tertiary);
  font-size: 14.5px;
  line-height: 1.6;
}

.legal-slot strong {
  color: var(--text-secondary);
}

.doc h2 {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.doc p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.7;
}

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

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

  .hero h1 {
    font-size: 52px;
  }

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

  .footer-links {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-meta {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .doc h1 {
    font-size: 40px;
  }

  .hero-inner {
    padding: 72px 24px 56px;
  }

  .wrap,
  .hero-inner,
  .how,
  .about-inner,
  .cta-inner,
  .footer-inner,
  .doc {
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-grid {
    padding: 24px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
