:root {
  --ink: #182033;
  --muted: #7b8798;
  --accent: #4c6ef5;
  --line: #e4e8f1;
  --surface: #fff;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 0%, rgba(92,95,236,.10), transparent 28rem), radial-gradient(circle at 90% 8%, rgba(34,139,230,.08), transparent 24rem), #f7f8fc;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #748ffc; outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
.container { width: min(1300px, calc(100% - 96px)); margin: auto; }
.site-header { height: 76px; max-width: 1440px; margin: auto; padding: 0 76px; display: flex; align-items: center; gap: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.brand strong { font-size: 15px; }
.brand small { font-size: 8px; letter-spacing: .11em; margin-left: 5px; color: #8992a2; align-self: flex-end; padding-bottom: 2px; }
.brand-logo { width: 36px; height: 36px; display: block; object-fit: contain; flex: none; }
.site-header nav { display: flex; gap: 34px; margin-left: auto; font-size: 13px; font-weight: 600; color: #677286; }
.site-header nav a:hover, .header-link:hover { color: var(--accent); }
.header-link { color: var(--accent); font-size: 13px; font-weight: 650; margin-left: 8px; }
.header-link span { margin-left: 5px; }
.hero { display: flex; flex-direction: column; align-items: center; padding: 105px 0 88px; }
.hero-copy { text-align: center; }
.eyebrow, .kicker, .kicker-inline { font-size: 10px; font-weight: 750; letter-spacing: .14em; color: var(--accent); }
.eyebrow { display: flex; justify-content: center; font-size: 11px; }
.eyebrow-line, .eyebrow-tagline, .status-dot { display: none; }
h1, h2 { font-family: var(--font); font-weight: 750; letter-spacing: -.055em; }
h1 { font-size: clamp(48px, 6vw, 82px); line-height: 1; max-width: 940px; margin: 26px auto 22px; }
h1 em, h2 em { font: inherit; color: inherit; }
.hero-lead { max-width: 610px; margin: 0 auto 28px; color: #8791a1; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 42px; padding: 12px 17px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.button-primary:hover { background: #4263eb; }
.button-text { background: #fff; border: 1px solid #e3e7f1; color: #46536a; }
.button-text:hover { background: #f3f5ff; }
.local-note { margin: 23px 0 0; color: #98a1af; font-size: 12px; }
.local-note span { color: #748ffc; font-size: 16px; margin-right: 7px; }
.hero-visual { width: min(100%, 820px); margin: 64px auto 0; padding: 20px; background: rgba(255,255,255,.9); border: 1px solid #eef0f7; border-radius: 24px; box-shadow: 0 24px 80px rgba(39,48,90,.12); }
.hero-preview-heading { display: flex; justify-content: space-between; gap: 12px; color: #98a1b0; font-size: 10px; font-weight: 650; letter-spacing: .04em; padding: 0 4px 13px; }
.anki-frame { display: block; width: 100%; height: 350px; min-height: 180px; border: 0; border-radius: 8px; background: #1a1b1e; color-scheme: dark; }
.hero-frame { height: 400px; }
.section-pad { padding: 96px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 36px; }
.kicker { margin: 0 0 20px; }
.kicker span { display: inline-block; color: #a8b6d0; margin-right: 20px; }
h2 { margin: 0; font-size: clamp(35px, 4vw, 52px); line-height: 1.1; }
.section-heading h2 em { color: var(--accent); }
.section-heading > p { max-width: 312px; margin: 0 0 5px; color: #8791a1; font-size: 14px; line-height: 1.7; }
.example-shell { display: grid; grid-template-columns: 252px 1fr; min-height: 508px; overflow: hidden; background: rgba(255,255,255,.92); border: 1px solid #e6e9f2; border-radius: 20px; box-shadow: 0 20px 70px rgba(39,48,90,.08); }
.example-sidebar { display: flex; flex-direction: column; padding: 23px 0 15px; background: #fafbff; border-right: 1px solid #e9ecf4; }
.sidebar-heading { display: flex; justify-content: space-between; padding: 0 20px 16px; color: #9ca6b6; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.example-list { display: flex; flex-direction: column; }
.example-list button { display: flex; align-items: center; gap: 15px; width: calc(100% - 20px); margin: 1px 10px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: #6d7787; text-align: left; cursor: pointer; font-size: 12px; }
.example-list button:hover { background: #f0f3fd; }
.example-list button.selected { background: #e9edff; color: #364fc7; font-weight: 700; }
.list-number { color: #a0aac0; font: 10px ui-monospace, monospace; }
.list-arrow { margin-left: auto; color: #5c7cfa; opacity: 0; }
.selected .list-arrow { opacity: 1; }
.example-main { display: flex; flex-direction: column; min-width: 0; padding: 30px; }
.example-top { display: flex; justify-content: space-between; align-items: start; }
.example-num { color: #9ca8bb; font: 10px ui-monospace, monospace; }
.example-top h3 { margin: 7px 0 9px; color: #202b41; font: 700 25px/1.2 var(--font); letter-spacing: -.03em; }
.live-label { color: #929eae; font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.live-label span { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #51cf66; }
.example-description { margin: 0 0 24px; color: #8994a4; font-size: 13px; line-height: 1.6; }
.example-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.example-input, .example-output { min-width: 0; padding: 16px; border: 1px solid #e7eaf2; border-radius: 12px; }
.example-input { align-self: stretch; background: #f8f9fd; }
.example-output { background: #fff; }
.panel-title { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #8f9aab; font-size: 9px; font-weight: 750; letter-spacing: .11em; }
.example-input pre { margin: 25px 0; color: #46526b; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.example-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: #9ba5b4; font-size: 11px; }
.example-footer div { display: flex; gap: 5px; }
.example-footer button { width: 34px; height: 32px; border: 1px solid #e2e6ef; border-radius: 7px; background: #fff; color: #5c6d86; cursor: pointer; }
.example-footer button:hover { background: #f1f4ff; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow article { min-height: 232px; padding: 25px 28px 30px 0; }
.workflow article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.step-number { display: flex; justify-content: space-between; color: #a5afbd; font: 10px ui-monospace, monospace; }
.step-number span { font-size: 16px; }
.step-icon { margin: 30px 0 16px; color: #748ffc; font-size: 31px; }
.workflow h3 { margin-bottom: 9px; font-size: 16px; letter-spacing: -.02em; }
.workflow p { max-width: 260px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.note-types { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 20px; margin-top: 35px; }
.note-types > div { display: flex; align-items: center; gap: 12px; }
.note-types > div:first-child { display: block; }
.note-types strong { display: block; margin-top: 7px; font-size: 18px; }
.kicker-inline { font-size: 9px; }
.type-pill { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #e7ecff; color: #5c7cfa; font: 11px ui-monospace, monospace; }
.type-pill.alt { background: #edf1f8; color: #8291aa; }
.note-types b, .note-types small { display: block; }
.note-types b { font-size: 12px; }
.note-types small { margin-top: 4px; color: #939eac; font-size: 11px; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.setup-card { padding: 30px 32px 32px; border: 1px solid #e8ebf3; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 15px 50px rgba(39,48,90,.05); }
.setup-card-top { display: flex; justify-content: space-between; color: #9ca8bb; font: 10px ui-monospace, monospace; letter-spacing: .09em; }
.setup-card-top span:last-child { color: #748ffc; font-size: 17px; }
.setup-card h3 { margin: 33px 0 12px; font-size: 26px; letter-spacing: -.03em; }
.setup-card p, .setup-card li { color: var(--muted); font-size: 13px; line-height: 1.7; }
.setup-card b { color: #38445b; }
.setup-card ol { margin: 19px 0; padding-left: 19px; }
.setup-card li { margin-bottom: 6px; padding-left: 4px; }
.copy-box { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; padding: 15px; border: 1px solid #e4e9f3; border-radius: 8px; background: #f8f9fe; }
.copy-box code { color: #38445b; font: 15px ui-monospace, monospace; letter-spacing: .04em; }
.copy-button { border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 700; cursor: pointer; }
.copy-button span { margin-left: 9px; }
.fine-print { color: #919baa !important; font-size: 11px !important; }
.setup-card > a { display: inline-block; margin-top: 8px; padding-bottom: 5px; border-bottom: 1px solid #b5c3fb; color: var(--accent); font-size: 11px; font-weight: 700; }
.code-block { margin: 18px 0; padding: 15px 17px; border-radius: 9px; background: #25262b; color: #e8eaf1; }
.code-block > div { display: flex; justify-content: space-between; gap: 10px; color: #9da6b7; font-size: 8px; font-weight: 750; letter-spacing: .1em; }
.code-block .copy-button { color: #bac8ff; }
.code-block pre, .desktop-note pre { margin: 14px 0 0; font: 11px/1.8 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.desktop-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.desktop-note summary { color: #53688c; cursor: pointer; font-size: 12px; font-weight: 650; }
.desktop-note pre { padding: 12px; border-radius: 8px; background: #f3f5fb; color: #46526b; }
.desktop-note p { font-size: 12px; }
.connection-note { margin-top: 18px; padding: 12px 14px; border: 1px solid #e5e9f4; border-radius: 8px; background: #f7f8fd; color: #697991; font-size: 11px; line-height: 1.6; }
.connection-note b { color: #38445b; }
.setup-bottom { display: flex; align-items: center; gap: 20px; margin-top: 18px; padding: 19px 24px; border-radius: 12px; background: #eef2ff; }
.asterisk { color: #748ffc; font-size: 25px; }
.setup-bottom p { margin: 0; color: #6e7d98; font-size: 12px; line-height: 1.5; }
.setup-bottom p strong { color: #38445b; }
.setup-bottom a { margin-left: auto; color: var(--accent); white-space: nowrap; font-size: 11px; font-weight: 700; }
footer { padding: 43px 0 25px; background: #edf0f8; color: #516078; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 4px; color: var(--ink); font-size: 20px; font-weight: 700; }
.footer-brand .brand-logo { width: 30px; height: 30px; }
.footer-brand b { margin-left: 7px; font-size: 13px; }
.footer-inner > a:last-child { color: #96a2b2; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
@media (max-width: 900px) {
  .container { width: min(720px, calc(100% - 48px)); }
  .site-header { padding: 0 24px; gap: 18px; }
  .site-header nav { gap: 18px; }
  .header-link { margin-left: 0; }
  .hero { padding-top: 80px; }
  .example-shell { grid-template-columns: 190px 1fr; }
  .example-panels { grid-template-columns: 1fr; }
  .example-input { min-height: 140px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .site-header { height: 68px; padding: 0 18px; }
  .brand small, .header-link { display: none; }
  .site-header nav { gap: 13px; font-size: 11px; }
  .hero { padding: 62px 0 58px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 15px; }
  .hero-visual { margin-top: 40px; padding: 12px; border-radius: 17px; }
  .hero-preview-heading { font-size: 8px; }
  .section-pad { padding: 72px 0; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 20px; }
  .example-shell { display: block; }
  .example-sidebar { padding: 15px 0; border-right: 0; border-bottom: 1px solid #e9ecf4; }
  .sidebar-heading { padding-bottom: 10px; }
  .example-list { flex-direction: row; gap: 6px; overflow-x: auto; padding: 0 12px; }
  .example-list button { flex: none; width: auto; margin: 0; padding: 9px 12px; border: 1px solid transparent; }
  .example-list button.selected { border-color: #c5d0ff; }
  .list-number, .list-arrow { display: none; }
  .example-main { padding: 21px 16px; }
  .workflow { grid-template-columns: 1fr; }
  .workflow article { min-height: 0; padding: 22px 0; }
  .workflow article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-icon { margin: 14px 0 8px; }
  .note-types { grid-template-columns: 1fr 1fr; }
  .note-types > div:first-child { grid-column: 1 / -1; }
  .setup-grid { grid-template-columns: 1fr; }
  .setup-card { padding: 25px 22px; }
  .setup-bottom { align-items: flex-start; flex-wrap: wrap; }
  .setup-bottom p { flex: 1; }
  .setup-bottom a { margin-left: 45px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
