:root {
  --white: #ffffff;
  --canvas: #f4f5f8;
  --canvas-2: #eceef4;
  --indigo: #3b2fd6;
  --indigo-700: #2c22ad;
  --indigo-100: #e6e4fb;
  --indigo-50: #f1f0fd;
  --ink: #12121a;
  --ink-2: #444556;
  --ink-3: #62647a;
  --line: #e2e4ec;
  --line-2: #d3d6e1;
  --mint: #2bc4a0;
  --mint-50: #e5f8f2;
  --mint-ink: #0c6e57;
  --rose: #b42941;
  --rose-50: #fdf0f2;

  --font-ui: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-doc: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(18, 18, 26, .06), 0 1px 1px rgba(18, 18, 26, .03);
  --shadow-card: 0 1px 2px rgba(18, 18, 26, .05), 0 6px 16px -6px rgba(18, 18, 26, .08);
  --shadow-doc:
    0 1px 1px rgba(18, 18, 26, .04),
    0 2px 4px rgba(18, 18, 26, .04),
    0 10px 20px -6px rgba(18, 18, 26, .08),
    0 28px 48px -16px rgba(40, 32, 150, .16);
  --shadow-app:
    0 1px 2px rgba(18, 18, 26, .05),
    0 12px 28px -10px rgba(18, 18, 26, .14),
    0 48px 96px -32px rgba(59, 47, 214, .28);

  --container: 1160px;
  --gutter: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-700); }

:focus-visible {
  outline: 2.5px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.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-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus, .skip-link:hover { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-ui);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--indigo); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 2px rgba(18,18,26,.12), 0 6px 14px -6px rgba(59,47,214,.55);
}
.btn-primary:hover { background: var(--indigo-700); color: var(--white); }

.btn-ghost {
  background: var(--white); color: var(--ink); border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--indigo-50); color: var(--ink); }
.tick {
  flex: none; display: inline-block; position: relative;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint);
}
.tick::after {
  content: ""; position: absolute; left: 50%; top: 46%;
  width: 8px; height: 4.5px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.tick-sm { width: 17px; height: 17px; }
.tick-sm::after { width: 7px; height: 3.8px; border-width: 1.8px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(226, 228, 236, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; }
.brand-name span { color: var(--indigo); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 6px 0; transition: color .15s ease;
}
.site-nav ul a:hover { color: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: transparent; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.hero {
  position: relative;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 70%, var(--white) 100%);
  overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(18, 18, 26, .16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  background-position: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 30%, transparent 80%);
}
.hero .container { position: relative; }

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; margin-bottom: 22px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-50); }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 12ch;
}
.hero h1 em {
  font-style: normal; color: var(--indigo);
}

.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.hero-promises li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.app {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-app);
  overflow: hidden;
}
.app-bar {
  display: flex; align-items: center; gap: 16px;
  height: 52px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfbfd);
  font-size: 13px; color: var(--ink-3);
}
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.app-file { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; min-width: 0; }
.app-file svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
.app-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); transition: background-color .2s ease; }

.app-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 560px;
}

.editor { padding: 20px 24px 24px; border-right: 1px solid var(--line); background: var(--white); }
.editor-hint {
  font-size: 13px; color: var(--ink-3); margin-bottom: 16px;
  padding-left: 10px; border-left: 2px solid var(--indigo-100);
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.field input,
.field textarea {
  width: 100%; min-width: 0;
  font: 500 15px/1.45 var(--font-ui); color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2); border-radius: 9px;
  padding: 10px 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: #b7bacb; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(59, 47, 214, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.editor-check {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 10px 12px;
  background: var(--mint-50); border-radius: 9px;
  font-size: 13px; font-weight: 600; color: var(--mint-ink);
}

.preview {
  position: relative;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 32px 32px 0;
  background-color: var(--canvas);
  background-image: radial-gradient(rgba(18,18,26,.07) 1px, transparent 1.2px);
  background-size: 16px 16px;
  overflow: hidden;
}
.page {
  width: 100%; max-width: 560px;
  background: var(--white);
  border-radius: 4px 4px 0 0;
  box-shadow: var(--shadow-doc);
  padding: 40px 44px 44px;
  font-family: var(--font-doc);
  color: #1c1c24;
  font-size: 12.5px;
  line-height: 1.5;
}
.r-head { padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); margin-bottom: 14px; }
.r-name {
  font-family: var(--font-doc); font-weight: 700;
  font-size: 28px; letter-spacing: -0.01em; line-height: 1.1;
  overflow-wrap: anywhere;
}
.r-title { font-size: 15px; font-style: italic; color: var(--indigo); margin-top: 4px; overflow-wrap: anywhere; }
.r-contact { margin-top: 8px; font-size: 11.5px; color: #4d4e5d; display: flex; flex-wrap: wrap; column-gap: 0; row-gap: 2px; }
.r-contact span { overflow-wrap: anywhere; }
.r-sep { margin: 0 7px; color: #9a9cad; }

.r-sec { margin-top: 14px; }
.r-sec h3 {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 6px;
}
.r-sec p { overflow-wrap: anywhere; }
.r-job + .r-job { margin-top: 10px; }
.r-job-head { display: flex; justify-content: space-between; gap: 12px; }
.r-job-head strong { font-weight: 600; }
.r-job-head span { color: #5a5b6b; white-space: nowrap; font-size: 11.5px; }
.r-job ul { margin-top: 4px; }
.r-job li { position: relative; padding-left: 14px; }
.r-job li + li { margin-top: 2px; }
.r-job li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: #7a7c8e; }
.r-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.r-split strong { font-weight: 600; }
.section { padding: 112px 0; }
.section-canvas { background: var(--canvas); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head-split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
}
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 14px;
}
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.035em; }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--ink-2); max-width: 58ch; }
.section-head-split .section-sub { margin-top: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.app-status span:last-child { overflow: hidden; text-overflow: ellipsis; }
.app-status { min-width: 0; }
.app-pill {
  flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 11px;
  border-radius: 999px; background: var(--indigo-50); border: 1px solid var(--indigo-100);
  color: var(--indigo); font-weight: 700; font-size: 12.5px; white-space: nowrap;
}
.label-note { font-weight: 500; color: var(--ink-3); }
.editor-tip {
  margin-top: 4px; padding: 11px 13px; border-radius: 9px;
  background: var(--mint-50); color: var(--mint-ink); font-size: 13.5px;
}
.editor-tip strong { font-weight: 700; }
.hero-footnote { margin-top: 18px; font-size: 13px; color: var(--ink-3); text-align: center; }
.page h4, .page .an-block h3 {
  font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 6px;
}
.r-list li, .page .r-job li { position: relative; padding-left: 14px; }
.r-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: #7a7c8e; }
.r-list { margin: 3px 0 8px; }
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.anatomy-doc {
  position: sticky; top: 100px;
  padding: 32px; border-radius: var(--radius-lg);
  background-color: var(--canvas);
  background-image: radial-gradient(rgba(18,18,26,.08) 1px, transparent 1.2px);
  background-size: 16px 16px;
  border: 1px solid var(--line);
}
.page-annotated { border-radius: 4px; padding: 30px 32px 30px 44px; max-width: none; }
.an-block { position: relative; padding: 8px 0 10px; border-bottom: 1px dashed var(--line-2); }
.an-block:last-child { border-bottom: 0; }
.an-block .pin { position: absolute; left: -32px; top: 9px; }
.an-block p { overflow-wrap: anywhere; }
.r-name-sm { font-family: var(--font-doc); font-weight: 700; font-size: 22px; line-height: 1.15; }
.an-1 .r-contact { margin-top: 4px; }

.pin {
  flex: none; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--indigo); color: var(--white);
  font: 700 11.5px/1 var(--font-ui);
  box-shadow: 0 0 0 3px var(--indigo-100);
}
.anatomy-list { counter-reset: none; }
.anatomy-list li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.anatomy-list li:first-child { padding-top: 4px; }
.anatomy-list li:last-child { border-bottom: 0; }
.anatomy-list .pin { width: 30px; height: 30px; font-size: 14px; margin-top: 1px; }
.anatomy-list h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.anatomy-list p { color: var(--ink-2); font-size: 15.5px; }
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.tab {
  border: 0; background: transparent; cursor: pointer;
  font: 600 14.5px/1 var(--font-ui); color: var(--ink-2);
  padding: 11px 16px; border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.tab:hover { color: var(--ink); background: var(--canvas); }
.tab[aria-selected="true"] { background: var(--indigo); color: var(--white); }

.example {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start;
}
.example + .example { margin-top: 48px; }
.js .example + .example { margin-top: 0; }
.example[hidden] { display: none; }
.example:focus-visible { outline-offset: 8px; border-radius: 12px; }
.example-doc {
  padding: 32px 32px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, #e8eaf1, #eef0f5);
  border: 1px solid var(--line); border-bottom: 0;
}
.example-doc .page { max-width: none; margin: 0 auto; }
.doc-classic .r-head { text-align: center; }
.doc-classic .r-contact { justify-content: center; }
.doc-classic h4 { font-family: var(--font-doc); letter-spacing: .1em; font-size: 11px; border-bottom: 1px solid var(--ink); padding-bottom: 3px; margin-bottom: 7px; }
.doc-modern { border-left: 6px solid var(--indigo); }
.doc-modern .r-head { border-bottom: 0; padding-bottom: 4px; }
.doc-modern .r-name { font-family: var(--font-ui); font-weight: 800; letter-spacing: -0.03em; }
.doc-modern .r-title { font-family: var(--font-ui); font-style: normal; font-weight: 600; font-size: 14px; }
.doc-modern h4 { color: var(--indigo); }
.doc-compact { padding-top: 30px; }
.doc-compact .r-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom-width: 2px; }
.doc-compact .r-name { font-size: 24px; }
.doc-compact .r-title { color: var(--ink-3); font-size: 13px; }
.r-contact-stack { flex-direction: column; align-items: flex-end; text-align: right; margin-top: 0; }
.doc-compact .r-sec { margin-top: 11px; }
.doc-compact .r-job + .r-job { margin-top: 7px; }

.example-notes { padding-top: 8px; }
.notes-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.example-notes h3 { font-size: 22px; font-weight: 700; margin: 8px 0 10px; }
.notes-lead { color: var(--ink-2); font-size: 15.5px; }
.notes { margin-top: 22px; }
.notes li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; color: var(--ink-2);
}
.notes li + li { margin-top: 10px; }
.notes .tick { margin-top: 3px; }
.notes strong { color: var(--ink); }
.lesson { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lesson-step {
  display: flex; gap: 20px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-card);
}
.lesson-num {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--white);
  font-size: 18px; font-weight: 800;
}
.lesson-step h3 { font-size: 20px; font-weight: 700; margin: 8px 0 8px; }
.lesson-step p { color: var(--ink-2); font-size: 15.5px; }
.lesson-step .try {
  margin-top: 14px; padding: 10px 13px; border-radius: 9px;
  background: var(--indigo-50); color: var(--ink); font-size: 14.5px;
}
.lesson-step .try strong { color: var(--indigo); }
code {
  font: 13.5px ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--canvas); border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px;
  overflow-wrap: anywhere;
}
.before-after {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr); gap: 16px; align-items: stretch;
  margin-bottom: 28px;
}
.ba { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.ba-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.ba-before .ba-label { color: var(--rose); }
.ba-after .ba-label { color: var(--mint-ink); }
.ba-text { font-family: var(--font-doc); font-size: 18px; line-height: 1.45; }
.ba-before .ba-text { color: var(--ink-3); }
.ba-after { border-color: #bfe9dc; box-shadow: var(--shadow-card); }
.ba mark { background: linear-gradient(transparent 55%, #c9f0e3 55%); color: inherit; font-weight: 600; }
.ba-arrow { display: grid; place-items: center; color: var(--ink-3); }
.ba-arrow svg { width: 26px; height: 26px; }

.verb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.verb-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.verb-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 14px/1 var(--font-ui); color: var(--ink);
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  background: var(--canvas); border: 1px solid var(--line);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--indigo-50); border-color: var(--indigo-100); color: var(--indigo); }
.chip.is-copied { background: var(--mint-50); border-color: #bfe9dc; color: var(--mint-ink); }
.copy-toast { min-height: 24px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--mint-ink); }
.dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.dd-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 0 4px 6px; }
.dd-head-dont { color: var(--rose); }
.dd-head-do { color: var(--mint-ink); }
.dd { padding: 16px 18px; border-radius: 10px; font-size: 15.5px; border: 1px solid var(--line); }
.dd em { font-style: normal; font-weight: 600; overflow-wrap: anywhere; }
.dd-dont { background: var(--rose-50); border-color: #f5d3da; color: #4a2730; }
.dd-do { background: var(--white); box-shadow: var(--shadow-card); }
.cross {
  flex: none; position: relative; display: inline-block; width: 17px; height: 17px; border-radius: 50%;
  background: var(--rose);
}
.cross::before, .cross::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.8px; background: var(--white); border-radius: 1px;
}
.cross::before { transform: translate(-50%, -50%) rotate(45deg); }
.cross::after { transform: translate(-50%, -50%) rotate(-45deg); }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.next-card { padding: 32px; }
.next-card > h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.next-card > p { color: var(--ink-2); font-size: 15.5px; }
.letter {
  margin-top: 22px; padding: 26px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow-doc);
  font-family: var(--font-doc); font-size: 14.5px; line-height: 1.55; color: #1c1c24;
}
.letter p + p { margin-top: 12px; }
.letter-tag {
  display: block; margin-bottom: 3px;
  font: 700 11px/1.3 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--indigo);
}
.letter-sign { margin-top: 16px !important; }
.star { margin-top: 18px; display: grid; gap: 8px; }
.star li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.star-letter {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--indigo-50); border: 1px solid var(--indigo-100); color: var(--indigo); font-weight: 800;
}
.qs-title { font-size: 15px; font-weight: 700; margin: 26px 0 8px; }
.qs li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.checklist-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.checklist-intro { position: sticky; top: 104px; }
.progress-card {
  margin-top: 32px; padding: 22px; border-radius: var(--radius);
  background: var(--canvas); border: 1px solid var(--line);
}
.progress-top { display: flex; justify-content: space-between; align-items: baseline; }
.progress-count { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.progress-count #check-count { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.link-btn {
  border: 0; background: none; padding: 6px 2px; cursor: pointer;
  font: 600 14px var(--font-ui); color: var(--indigo); text-decoration: underline; text-underline-offset: 3px;
}
.progress-bar { height: 10px; margin-top: 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), #6a5ff0); transition: width .3s ease, background-color .3s ease; }
.progress-card.is-done .progress-bar span { background: var(--mint); }
.progress-msg { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.progress-card.is-done .progress-msg { color: var(--mint-ink); font-weight: 600; }

.checklist { border: 0; margin: 0; padding: 0; min-width: 0; }
.check {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  font-size: 15.5px; font-weight: 500;
  transition: border-color .15s ease, background-color .15s ease;
}
.check + .check { margin-top: 8px; }
.check:hover { border-color: var(--line-2); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  flex: none; position: relative; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid #9fa2b6; border-radius: 6px; background: var(--white);
  transition: background-color .15s ease, border-color .15s ease;
}
.check .box::after {
  content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 5px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translate(-50%, -50%) rotate(-45deg) scale(0);
  transition: transform .15s ease;
}
.check input:checked + .box { background: var(--mint); border-color: var(--mint); }
.check input:checked + .box::after { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
.check input:checked ~ span:last-child { color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(18,18,26,.35); }
.check:has(input:checked) { background: #f7fcfa; border-color: #cdeee3; }
.check input:focus-visible + .box { outline: 2.5px solid var(--indigo); outline-offset: 3px; }
.teachers { padding: 0 0 8px; }
.teachers-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 56px;
  border-radius: 20px; color: var(--white);
  background:
    radial-gradient(circle at 92% 0%, rgba(59, 47, 214, .6), transparent 55%),
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.3px) 0 0 / 20px 20px,
    var(--ink);
}
.kicker-light { color: #b9b4ff; }
.teachers h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.035em; }
.teachers-copy > p:not(.kicker) { margin-top: 14px; color: #c9cbd9; font-size: 17px; max-width: 48ch; }
.teachers-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.teachers-link { color: #d8d6ff; font-weight: 600; font-size: 15px; }
.teachers-link:hover { color: var(--white); }
.plan-card {
  padding: 26px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.plan-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.plan-steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; color: #e2e3ee; }
.plan-steps .time { font-weight: 700; color: #8fe6cf; font-variant-numeric: tabular-nums; }
.plan-steps a { color: var(--white); }
.plan-note { margin-top: 14px; font-size: 13.5px; color: #b3b5c7; }
.contact { padding: 0 0 112px; }
.contact-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 40px; border-radius: var(--radius-lg);
  background: var(--canvas); border: 1px solid var(--line);
}
.contact h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.contact p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }
.contact .btn { flex: none; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.faq-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.8px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.8px 11px no-repeat,
    var(--canvas);
  transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--indigo); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 15.5px; }
.site-footer { border-top: 1px solid var(--line); background: var(--white); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; color: var(--ink-3); font-size: 15px; max-width: 32ch; }
.footer-nav { display: flex; gap: 72px; }
.footer-nav h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-nav li + li { margin-top: 10px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-nav a:hover { color: var(--indigo); }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-3);
}
.legal { padding: 72px 0 112px; background: var(--white); }
.legal-hero { background: var(--canvas); padding: 64px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.legal-hero .container { position: relative; }
.legal-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; }
.legal-hero p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.legal-hero .kicker { margin: 0 0 14px; color: var(--indigo); font-size: 13px; }
.legal-body { max-width: 720px; }
.legal-body .summary-box {
  padding: 20px 22px; margin-bottom: 40px;
  background: var(--indigo-50); border: 1px solid var(--indigo-100); border-radius: var(--radius);
}
.legal-body .summary-box h2 { margin-top: 0; font-size: 16px; }
.legal-body .summary-box ul { margin-top: 10px; }
.legal-body .summary-box li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; font-size: 15px; color: var(--ink); }
.legal-body .summary-box .tick { margin-top: 3px; }
.legal-body h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16px; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul.bullets { margin-top: 10px; }
.legal-body ul.bullets li { position: relative; padding-left: 18px; }
.legal-body ul.bullets li + li { margin-top: 6px; }
.legal-body ul.bullets li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); }
@media print {
  .site-header, .skip-link, .hero-actions, .hero-dots, .app, .hero-footnote, .tabs,
  .copy-toast, .teachers-actions, .contact .btn, .progress-card, .footer-nav { display: none !important; }
  body { font-size: 11pt; }
  .hero { padding: 0 0 16px; background: none; }
  .hero-copy { display: block; margin: 0; }
  .section, .section-canvas { padding: 20px 0; background: none; }
  .example[hidden] { display: grid !important; }
  .example { break-inside: avoid; margin-top: 24px !important; }
  .anatomy-doc, .checklist-intro, .faq-head { position: static; }
  .teachers-inner { background: none; color: var(--ink); padding: 0; border: 1px solid var(--line); }
  .teachers-copy > p:not(.kicker), .plan-steps li, .plan-note { color: var(--ink-2); }
  .plan-steps .time, .kicker-light { color: var(--indigo); }
  .plan-card { border-color: var(--line); }
  .card, .lesson-step, .page, .letter { box-shadow: none; }
  .lesson-step, .verb-card, .dd, .check { break-inside: avoid; }
  .faq details:not([open]) p { display: block; }
}
@media (max-width: 1080px) {
  .site-nav ul { gap: 20px; }
  .app-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .page { padding: 32px 30px 36px; }
  .page-annotated { padding-left: 44px; }
  .verb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example { grid-template-columns: 1fr; gap: 28px; }
  .example-notes { max-width: 640px; }
  .teachers-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -16px rgba(18,18,26,.18);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { min-height: 46px; font-size: 15px; }
}

@media (max-width: 880px) {
  .hero { padding: 48px 0 72px; }
  .hero-copy { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .hero h1 { max-width: 14ch; }

  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .editor { border-right: 0; border-bottom: 1px solid var(--line); }
  .preview { padding: 28px 20px 0; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head-split { grid-template-columns: 1fr; gap: 16px; }

  .anatomy { grid-template-columns: 1fr; gap: 40px; }
  .anatomy-doc { position: static; padding: 20px; }

  .lesson { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }

  .checklist-wrap { grid-template-columns: 1fr; gap: 32px; }
  .checklist-intro { position: static; }

  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }

  .contact { padding-bottom: 80px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; gap: 36px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .app { border-radius: 14px; }
  .app-bar { gap: 10px; padding: 0 12px; }
  .app-dots, .app-pill { display: none; }
  .app-status { font-size: 12px; }
  .editor { padding: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .preview { padding: 20px 12px 0; }
  .page { padding: 24px 20px 28px; font-size: 11.5px; }
  .r-name { font-size: 23px; }
  .r-title { font-size: 13.5px; }
  .r-job-head { flex-direction: column; gap: 0; }
  .r-split { grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .anatomy-doc { padding: 12px; border-radius: 14px; }
  .page-annotated { padding: 20px 16px 20px 40px; }
  .an-block .pin { left: -30px; }
  .anatomy-list li { gap: 14px; }

  .tabs { display: flex; flex-direction: column; width: 100%; }
  .tab { text-align: left; }
  .example-doc { padding: 14px 12px 0; }
  .doc-compact .r-head-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .r-contact-stack { align-items: flex-start; text-align: left; }

  .lesson-step { flex-direction: column; gap: 10px; padding: 22px; }
  .lesson-step h3 { margin-top: 4px; }

  .before-after { grid-template-columns: 1fr; gap: 8px; }
  .ba-arrow { transform: rotate(90deg); }
  .verb-grid { grid-template-columns: 1fr; }

  .dodont { grid-template-columns: 1fr; gap: 8px; }
  .dd-head { display: none; }
  .dd { position: relative; padding-left: 44px; }
  .dd::before { position: absolute; left: 16px; top: 17px; }
  .dd-dont::before {
    content: "×"; width: 17px; height: 17px; border-radius: 50%; background: var(--rose); color: var(--white);
    font: 700 14px/17px var(--font-ui); text-align: center;
  }
  .dd-do::before {
    content: "✓"; width: 17px; height: 17px; border-radius: 50%; background: var(--mint); color: var(--ink);
    font: 700 11px/17px var(--font-ui); text-align: center;
  }
  .dd-do { margin-bottom: 14px; }

  .next-card { padding: 24px 20px; }
  .letter { padding: 20px 18px; }

  .teachers-inner { padding: 36px 24px; border-radius: 16px; }
  .teachers-actions .btn { width: 100%; }
  .plan-card { padding: 20px; }
  .plan-steps li { grid-template-columns: 56px minmax(0, 1fr); }

  .faq summary { font-size: 16px; }
  .faq details p { padding-right: 0; }
  .contact-inner { padding: 28px 22px; }
  .contact .btn { width: 100%; white-space: normal; text-align: center; }
  .footer-nav { gap: 48px; flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 38px; }
  .brand-name { font-size: 17px; }
}
