@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-normal.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/newsreader-latin-normal.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/newsreader-latin-ext-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/newsreader-latin-italic.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/newsreader-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --panel: #fafafa;
  --ink: #0a0a0a;
  --text: #262626;
  --muted: #525252;
  --subtle: #737373;
  --edge: #8f8f8f;
  --line: #eaeaea;
  --line-strong: #d4d4d4;
  --hover: #f5f5f5;
  --accent: #0a0a0a;
  --on-accent: #ffffff;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 16px/1.5 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--hover); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.icon { flex: none; }
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}
.eyebrow--strong { color: var(--ink); font-weight: 600; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-size: 13px;
}
.skip-link:focus { top: 12px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.nav { display: none; align-items: center; gap: 32px; font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
@media (min-width: 768px) { .nav { display: flex; } }
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.pill-button:hover { background: var(--text); }
.pill-button--large { min-height: 44px; padding: 0 24px; font-size: 13px; }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 56px 24px 40px; text-align: center; scroll-margin-top: 80px; }
.hero h1 { max-width: 48rem; margin: 0 auto 24px; font-size: clamp(2.25rem, 5vw, 3.375rem); line-height: 1.18; }
.lede { max-width: 42rem; margin: 0 auto 28px; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.link-button {
  min-height: 24px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { color: var(--ink); }

/* signup */
.signup { max-width: 28rem; margin: 0 auto; scroll-margin-top: 96px; }
.signup-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 14px;
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 999px;
  color: var(--subtle);
}
.signup-form:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.signup-form label { position: absolute; left: -9999px; }
.signup-form input {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  outline: none;
  background: transparent;
  font: 400 14px var(--sans);
  color: var(--ink);
}
.signup-form input::placeholder { color: var(--subtle); }
.signup-form input[aria-invalid="true"] { text-decoration: underline wavy var(--ink); }
.signup-form button, .details-form button[type="submit"] {
  flex: none;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 400 12px var(--sans);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s;
}
.signup-form button:hover, .details-form button[type="submit"]:hover { background: var(--text); }
.signup-form button:disabled, .details-form button:disabled { opacity: 0.6; cursor: default; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--subtle); }
.form-status { margin-top: 8px; min-height: 1.4em; font-size: 14px; color: var(--ink); }

.details-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 24px;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
}
.details-form h2 { font-size: 1.25rem; }
.details-form label { margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--ink); }
.details-form select, .details-form input {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--bg);
  font: 400 14px var(--sans);
  color: var(--ink);
}
.details-other { display: grid; gap: 8px; }
.details-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 80px 24px; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.section#demo { padding-top: 48px; }
.section-head { max-width: 42rem; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.125rem); line-height: 1.2; margin-bottom: 12px; }
.section-head p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* demo */
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.level-picker { display: flex; align-items: center; gap: 8px; }
.toggle { display: flex; align-items: center; gap: 4px; }
.toggle button {
  min-height: 32px;
  min-width: 32px;
  padding: 0 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: 400 12px var(--sans);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.toggle--lang button { border-radius: 999px; }
.toggle--level button { border-color: var(--line-strong); border-radius: 6px; padding: 0 10px; }
.toggle button:hover { background: var(--hover); color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 500; }
@media (pointer: coarse) { .toggle button { min-height: 44px; min-width: 44px; } }

.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .cards { grid-template-columns: 1fr 1fr; gap: 32px; } }
.demo-mobile-toggle { display: none; }
@media (max-width: 1023px) {
  .demo-mobile-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 16px; padding: 4px; border-radius: 12px; background: var(--panel); }
  .demo-mobile-toggle button { min-height: 44px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 500 12px var(--sans); cursor: pointer; }
  .demo-mobile-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
  .cards[data-mobile-view="original"] .card--graded { display: none; }
  .cards[data-mobile-view="graded"] .card--original { display: none; }
  .cards { gap: 0; }
}
.card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg); }
.card--original { background: var(--panel); border-color: var(--line); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-meta { max-width: 68%; font-size: 12px; line-height: 1.4; color: var(--subtle); text-align: right; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .card-meta { max-width: none; flex: 1; white-space: nowrap; overflow-wrap: normal; }
}
.prose { margin-bottom: 32px; font: 400 18px/32px var(--serif); color: var(--ink); overflow-wrap: break-word; }
.prose--original { font-style: italic; font-weight: 300; color: var(--text); }
.checked-strip { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; }
.checked-strip > span { flex: none; font-size: 11px; font-weight: 600; color: var(--muted); }
.checked-strip ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); }
.checked-strip li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--ink); }

.desktop-points { max-width: var(--max); }
.desktop-points h2 { max-width: 38rem; margin: 0 auto 32px; text-align: center; font-size: clamp(1.75rem, 3.5vw, 2.125rem); line-height: 1.2; }
.product-status { max-width: 42rem; margin: -12px auto 32px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
.desktop-points ul { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.desktop-points li { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.desktop-points li strong, .desktop-points li span { display: block; }
.desktop-points li strong { margin-bottom: 6px; font: 500 14px/1.4 var(--sans); color: var(--ink); }
.desktop-points li span { font-size: 13px; line-height: 1.6; color: var(--muted); }
.ai-cost { max-width: 900px; margin: 28px auto 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (min-width: 768px) { .desktop-points ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.audience-line { max-width: 42rem; margin: 0 auto; text-align: center; color: var(--muted); }
.faq { max-width: 760px; }
.faq .section-head { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.faq summary { padding: 18px 0; color: var(--ink); font-weight: 500; cursor: pointer; }
.faq details p { max-width: 65ch; padding: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* audience */
.audiences { display: grid; grid-template-columns: 1fr; gap: 24px; }
.audience { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.audience h3 { margin-bottom: 8px; font-size: 1.125rem; line-height: 1.3; }
.audience p { max-width: 32rem; font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (min-width: 768px) {
  .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* comparison */
.versus-wrap { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg); }
.versus { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
.versus tr > :first-child { width: 25%; }
.versus tr > :nth-child(2) { width: 25%; }
.versus tr > :nth-child(3) { width: 50%; }
.versus th, .versus td { padding: 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.versus tbody tr:last-child th, .versus tbody tr:last-child td { border-bottom: 0; }
.versus thead th { padding: 16px 24px; background: var(--panel); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.versus thead th:last-child { color: var(--ink); font-weight: 600; }
.versus tbody th { width: 25%; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--panel); }
.versus .sub { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--subtle); }
.versus td { color: var(--muted); border-left: 1px solid var(--line); }
.versus td strong { display: block; margin-bottom: 4px; font-weight: 500; color: var(--ink); }
.versus td:last-child { background: var(--panel); }
@media (max-width: 767px) {
  .versus { table-layout: auto; }
  .versus tr > :first-child, .versus tr > :nth-child(2), .versus tr > :nth-child(3) { width: auto; }
  .versus thead { display: none; }
  .versus tr { display: block; padding: 18px 16px; border-bottom: 1px solid var(--line); }
  .versus tbody tr:last-child { border-bottom: 0; }
  .versus th, .versus td { display: block; width: auto; padding: 0; border: 0; }
  .versus tbody th { width: auto; margin-bottom: 14px; background: transparent; font-size: 16px; line-height: 1.3; }
  .versus .sub { margin-top: 4px; font-size: 12px; }
  .versus td { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
  .versus td:last-child { border-color: var(--ink); background: var(--ink); color: #e5e5e5; }
  .versus td strong { margin-bottom: 4px; color: var(--ink); font-size: 14px; line-height: 1.4; }
  .versus td:last-child strong { color: #fff; }
  .versus td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
  .versus td:last-child[data-label]::before { color: #c4c4c4; }
}

.highlights { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 720px; margin: 48px auto 0; }
@media (min-width: 768px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
.highlight { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.highlight h3 { margin-bottom: 8px; font: 500 12px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.highlight p { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg); }
.step h3 { margin-bottom: 8px; font-size: 1.125rem; line-height: 1.3; }
.step p { flex: 1; font-size: 13px; line-height: 1.65; color: var(--muted); }

/* languages */
.panel { padding: 32px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--panel); display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .panel { padding: 48px; flex-direction: row; align-items: center; justify-content: space-between; } }
.panel-intro { max-width: 28rem; }
.panel-intro .eyebrow { margin-bottom: 8px; }
.panel-intro h2 { margin-bottom: 12px; font-size: clamp(1.75rem, 3.5vw, 2.125rem); line-height: 1.2; }
.panel-intro p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.panel-body { flex: 1; max-width: 32rem; display: grid; gap: 16px; }
.lang-card { padding: 20px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); }
.lang-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lang-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink); }
.lang-note { font-size: 11px; color: var(--subtle); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.dot--on { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); font-size: 12px; color: var(--ink); }

/* privacy page */
.legal { max-width: 40rem; margin: 0 auto; padding: 64px 24px 80px; font-size: 15px; line-height: 1.7; color: var(--text); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1.15; margin-bottom: 8px; }
.legal h2 { margin: 40px 0 8px; font-size: 1.375rem; }
.legal-updated { margin: 0; font-size: 12px; color: var(--subtle); }
.legal p, .legal ul { margin: 0 0 16px; }
.legal ul { padding-left: 20px; }

/* closing and footer */
.closing { max-width: var(--max); padding: 96px 24px; text-align: center; }
.closing h2 { margin-bottom: 12px; font-size: clamp(1.75rem, 3.5vw, 2.125rem); line-height: 1.2; }
.closing p { max-width: 42rem; margin: 0 auto 24px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--muted); }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { font-size: 14px; }
.footer-sep { color: var(--line-strong); }

@media (max-width: 480px) {
  .hero { padding: 32px 20px 24px; }
  .hero h1 { margin-bottom: 16px; }
  .lede { margin-bottom: 20px; }
  .section { padding: 56px 20px; }
  .section#demo { padding-top: 32px; }
  .section#demo .demo-controls { margin-bottom: 16px; }
  .section#demo .demo-mobile-toggle { margin-bottom: 8px; }
  .card { padding: 24px; }
  .panel { padding: 24px; }
  .demo-controls { align-items: stretch; flex-direction: column; gap: 12px; }
  .toggle--lang { justify-content: space-between; gap: 2px; }
  .toggle--lang button { flex: 1; padding-inline: 8px; }
  .level-picker { justify-content: space-between; }
  .card { min-height: 360px; }
  .card-head { align-items: flex-start; flex-wrap: wrap; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
