:root {
  color-scheme: light dark;
  --background: #fff;
  --surface: #fff;
  --text: #111114;
  --muted: #586376;
  --blue: #007aff;
  --button: #007aff;
  --button-hover: #0068df;
  --soft-blue: #86baff;
  --line: #dfe5ed;
  --wash: #f1f6fc;
  --glow: #e8f4ff;
  --shadow: 0 7px 26px #233e5814;
  --float-shadow: 0 30px 60px -20px #10284a40, 0 10px 24px -12px #10284a30;
  --device-shadow: 0 40px 50px -34px #0f2c4a88;
  /* Depicted iOS interface */
  --app-bg: #f2f2f7;
  --app-card: #fff;
  --app-text: #111;
  --app-muted: #8a8a8e;
  --app-sep: #e3e3e8;
  --app-fill: #e3e3e8;
  --paper: #fbf8f1;
  --ink: #1b1a17;
  --page-meta: #9a958a;
  --selection: #007aff33;
  --bubble: #e9e9eb;
  --menu: #fffffff7;
  --highlight: #cfe5ff;
  --highlight-text: #0a4fa8;
  --tag: #e3f6ea;
  --tag-text: #1f9d55;
  --bad: #ffe8e6;
  --bad-text: #b42318;
  --good: #e3f0ff;
  --ease-good: #e2f3e7;
  --ease-good-text: #1f7a3c;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #101216; --surface: #1b1e24; --text: #f3f5f8; --muted: #aab5c5; --blue: #429cff;
    --soft-blue: #5f9be6; --line: #333c49; --wash: #1a2431; --glow: #152b44;
    --shadow: 0 7px 26px #0004; --float-shadow: 0 30px 60px -20px #000c; --device-shadow: 0 40px 50px -34px #000;
    --app-bg: #1c1c1e; --app-card: #2c2c2e; --app-text: #f2f2f7; --app-muted: #98989f; --app-sep: #3a3a3c;
    --app-fill: #3a3a3c; --paper: #1e1c19; --ink: #e8e4da; --page-meta: #8a857a; --selection: #429cff52;
    --bubble: #3a3a3c; --menu: #2c2c2ef7; --highlight: #234d7a; --highlight-text: #d4e8ff; --tag: #1d3b27;
    --tag-text: #7ddc9a; --bad: #4a1f1c; --bad-text: #ff9b8f; --good: #1d3a5c; --ease-good: #1d3b27;
    --ease-good-text: #7ddc9a; --button: #0074ef; --button-hover: #1684fb;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
p, h1, h2, h3 { margin: 0; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
mark { color: inherit; }
.container { width: calc(100% - 140px); max-width: 1200px; margin-inline: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Header */
.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 650; letter-spacing: -1.3px; }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
nav { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: 17px; color: var(--muted); transition: color 160ms ease; }
.nav-link:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--button); color: #fff; font-weight: 550; border-radius: 999px; white-space: nowrap; transition: background 160ms ease, transform 160ms ease; }
.button:hover { background: var(--button-hover); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.nav-button { min-height: 46px; padding: 0 24px; font-size: 16px; }
.arrow { font-size: 22px; font-weight: 300; line-height: 1; }

/* Hero */
.hero { position: relative; text-align: center; padding-top: 34px; }
.hero::before { content: ''; position: absolute; inset: 320px 0 40px; z-index: -1; background: radial-gradient(ellipse at 50% 50%, var(--glow) 0%, var(--glow) 22%, transparent 68%); }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 650; letter-spacing: 2.6px; line-height: 1.5; }
h1 { margin-top: 20px; font-size: 80px; line-height: 1.04; letter-spacing: -4.2px; font-weight: 700; }
h1 span, h1 em { display: block; }
h1 em, .section-title em, .closing h2 em { font-family: var(--serif); font-weight: 400; color: var(--blue); }
h1 em { font-size: 92px; letter-spacing: -4px; }
.hero-description { margin: 22px auto 0; max-width: 780px; color: var(--muted); font-size: 22px; line-height: 1.5; letter-spacing: -.4px; }
.hero-button { margin-top: 30px; min-height: 58px; padding: 0 32px; font-size: 18px; }
.platform-note { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.5; }

.stage { position: relative; width: 1200px; height: 720px; margin: 40px auto 0; }
.tablet { position: absolute; left: 150px; top: 20px; width: 900px; height: 650px; padding: 22px; border-radius: 52px; background: linear-gradient(150deg, #2a2c2e, #0c0d0e 45%, #1e2022); border: 2.5px solid #9a9ea2; box-shadow: 0 50px 70px -40px #0f2c4a90; }
.tablet-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--paper); text-align: left; }
.device-status { display: flex; justify-content: space-between; padding: 10px 26px 0; font-size: 12px; font-weight: 600; color: var(--ink); }
.book-title { text-align: center; font-size: 12px; color: var(--page-meta); margin-top: 10px; }
.book-text { padding: 26px 64px 0; font: 19px/1.72 var(--serif); color: var(--ink); text-align: justify; hyphens: auto; }
.book-text p + p { text-indent: 1.6em; margin-top: 2px; }
.page-number { position: absolute; bottom: 16px; width: 100%; text-align: center; font-size: 12px; color: var(--page-meta); }
.selection { background: var(--selection); }
.handle { display: inline-block; position: relative; width: 0; height: 1em; vertical-align: -.15em; }
.handle::before { content: ''; position: absolute; left: -1px; top: -.15em; width: 2px; height: 1.3em; background: var(--blue); }
.handle::after { content: ''; position: absolute; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.handle.start::after { top: calc(-.15em - 9px); }
.handle.end::after { top: calc(1.15em - 1px); }
.sheet.hero-sheet { position: absolute; top: 150px; width: 320px; }
.hero-sheet.main-page { left: 94px; }
.hero-sheet.dictionary-page { left: 442px; }
.popover-arrow { position: absolute; top: -9px; left: 150px; width: 22px; height: 22px; background: var(--app-bg); transform: rotate(45deg); border-radius: 4px; }
.page-link { position: absolute; z-index: 4; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--paper), 0 6px 14px #0b4a9a55; }
.hero .page-link { left: 414px; top: 255px; }
.annotation-lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.annotation-lines path { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; }
.annotation-lines circle { fill: var(--blue); }
.annotation { position: absolute; z-index: 3; width: 216px; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: 0 12px 30px -14px #10284a40, 0 0 0 1px var(--line); }
.annotation.select { left: 0; top: 140px; }
.annotation.opens { left: 0; top: 440px; }
.annotation.word { right: 0; top: 370px; }
.annotation strong { display: block; font-size: 15px; letter-spacing: -.2px; }
.annotation small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.badge { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 650; display: grid; place-items: center; flex-shrink: 0; }
.annotation .badge { width: 24px; height: 24px; font-size: 13px; }
.app-row { margin-top: 8px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.app-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 8px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--text); font-weight: 500; }
.app-icon { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.app-pill .app-icon { width: 22px; height: 22px; border-radius: 6px; }
.app-icon img { width: 100%; height: 100%; border-radius: inherit; }
.app-icon.books { background: #ff9500; } .app-icon.safari { background: #1e88f5; } .app-icon.messages { background: #34c759; }
.app-icon.mail { background: #1e7cf2; } .app-icon.notes { background: #ffcc00; } .app-icon.pdf { background: #e24a3b; }
.app-icon.social { background: #5856d6; } .app-icon.files { background: #1e88f5; }
.app-icon.anki { background: linear-gradient(140deg, #5b9bf0, #2f6fd6); }
.app-icon.more { background: var(--app-fill); }

/* Ankier sheet, mirroring AnkierSheetView */
.sheet { position: relative; width: 352px; background: var(--app-bg); border-radius: 26px; box-shadow: var(--float-shadow); text-align: left; color: var(--app-text); }
.sheet-header { position: relative; height: 54px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 650; }
.round-button { position: absolute; top: 11px; width: 32px; height: 32px; border-radius: 50%; background: var(--app-fill); display: grid; place-items: center; color: var(--app-text); }
.round-button.close { right: 12px; }
.round-button.back { left: 12px; color: var(--blue); }
.sheet-body { padding: 0 14px 14px; }
.field-label { display: block; font-size: 12px; font-weight: 500; color: var(--app-muted); letter-spacing: .4px; text-transform: uppercase; margin: 0 14px 6px; }
.field-card { background: var(--app-card); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.field-card + .field-card, .field-card + .field-label { margin-top: 14px; }
.tapped { background: var(--selection); box-shadow: 0 2px 0 var(--blue); border-radius: 3px; padding: 0 2px; }
.analysis-header { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; padding-bottom: 10px; border-bottom: 1px solid var(--app-sep); }
.analysis-header .chevron { margin-left: auto; color: var(--app-muted); }
.analysis-header .chevron.open { transform: rotate(180deg); }
.summary { margin-top: 11px; font-size: 15px; line-height: 1.5; }
.summary span { color: var(--app-muted); }
.breakdown { margin-top: 12px; font-size: 13px; font-weight: 650; color: var(--app-muted); }
.segment { padding: 10px 0; border-bottom: 1px solid var(--app-sep); }
.segment:last-child { border-bottom: 0; padding-bottom: 2px; }
.phrase { font: italic 700 16px/1.35 var(--serif); color: var(--blue); }
.meaning { margin-top: 4px; font-size: 15px; line-height: 1.45; }
.explanation { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--app-muted); }
.question { margin-top: 12px; font-size: 15px; font-weight: 650; }
.question:first-child { margin-top: 0; }
.answer { margin-top: 4px; font-size: 14.5px; line-height: 1.55; }
.answer small { display: block; color: var(--app-muted); font-size: 14px; }
.follow-up { margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.follow-up-field { flex: 1; min-height: 38px; border-radius: 19px; background: var(--app-bg); display: flex; align-items: center; padding: 0 14px; font-size: 15px; color: var(--app-muted); }
.follow-up-field.typing { color: var(--app-text); }
.caret { display: inline-block; width: 2px; height: 18px; background: var(--blue); margin-left: 1px; }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.send.idle { opacity: .35; }
.word { font-size: 26px; font-weight: 700; letter-spacing: -.6px; display: flex; align-items: center; gap: 10px; }
.part-of-speech { font-size: 12px; font-weight: 600; color: var(--tag-text); background: var(--tag); border-radius: 6px; padding: 2px 7px; letter-spacing: 0; }
.pronunciations { margin-top: 8px; display: flex; gap: 16px; font-size: 13px; color: var(--app-muted); white-space: nowrap; }
.pronunciations > span { display: inline-flex; align-items: center; gap: 6px; }
.speaker { width: 24px; height: 24px; border-radius: 50%; background: var(--glow); display: inline-grid; place-items: center; color: var(--blue); }
.dictionary-label { font-size: 11.5px; font-weight: 600; color: var(--app-muted); letter-spacing: .4px; padding-bottom: 8px; border-bottom: 1px solid var(--app-sep); }
.dictionary-card { padding-top: 10px; }
.sense { display: grid; grid-template-columns: 16px 1fr 28px; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--app-sep); align-items: start; font-size: 14px; }
.sense:last-child { border-bottom: 0; padding-bottom: 2px; }
.sense b { font-size: 14px; }
.sense strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.sense em { display: block; margin-top: 4px; font-size: 12.5px; color: var(--app-muted); line-height: 1.4; }
.bookmark { width: 28px; height: 28px; border-radius: 8px; background: var(--glow); display: grid; place-items: center; color: var(--blue); }
.wide-sheet { width: 480px; margin-inline: auto; }
.wide-sheet .field-card { font-size: 16px; }
.wide-sheet .analysis-header { font-size: 17px; }
.wide-sheet .summary { font-size: 16px; }
.wide-sheet .phrase { font-size: 17px; }

/* Feature sections */
.feature { padding-top: 120px; }
.feature.centered { text-align: center; }
.section-number { font-size: 13px; font-weight: 650; letter-spacing: 2.6px; color: var(--blue); }
.section-title { margin-top: 14px; font-size: 56px; line-height: 1.04; letter-spacing: -2.6px; font-weight: 700; }
.section-title span, .section-title em { display: block; }
.section-title em { letter-spacing: -2px; }
.section-description { margin-top: 18px; font-size: 20px; line-height: 1.55; color: var(--muted); letter-spacing: -.3px; max-width: 640px; }
.centered .section-description { margin-inline: auto; }
.panel { margin-top: 48px; border-radius: 32px; background: linear-gradient(125deg, var(--wash), var(--glow)); position: relative; overflow: hidden; }

/* Phones */
.phones { display: flex; justify-content: center; gap: 34px; padding-top: 56px; height: 640px; }
.any-app-phones { zoom: .86; gap: 26px; padding-top: 64px; height: 690px; }
.phone-column { position: relative; display: flex; flex-direction: column; align-items: center; }
.phone { position: relative; width: 252px; height: 520px; padding: 9px; border-radius: 46px; background: #151618; border: 2px solid #8f9398; box-shadow: var(--device-shadow); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--app-card); color: var(--app-text); text-align: left; }
.phone-screen.grouped { background: var(--app-bg); }
.phone-screen.paper { background: var(--paper); }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 76px; height: 22px; border-radius: 12px; background: #000; z-index: 3; }
.phone-status { display: flex; justify-content: space-between; padding: 13px 28px 0; font-size: 12px; font-weight: 600; height: 40px; }
.phone-caption { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.edit-menu { position: absolute; z-index: 4; left: 12px; display: flex; align-items: center; height: 38px; padding: 0 4px; border-radius: 19px; background: var(--menu); box-shadow: 0 8px 24px -6px #0000004d, 0 0 0 .5px #0000001f; font-size: 12.5px; white-space: nowrap; }
.edit-menu span { padding: 0 8px; height: 30px; display: grid; place-items: center; border-radius: 15px; }
.edit-menu .chosen { background: var(--blue); color: #fff; font-weight: 600; }
.edit-menu i { width: 1px; height: 18px; background: var(--app-sep); }
.tap { position: absolute; z-index: 5; left: 146px; margin-top: 2px; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; background: #007aff40; box-shadow: 0 0 0 7px #007aff24; }
.messages-screen .edit-menu, .messages-screen .tap { top: 180px; }
.safari-screen .edit-menu, .safari-screen .tap { top: 166px; }
.mail-screen .edit-menu, .mail-screen .tap { top: 150px; }
.contact { text-align: center; padding: 4px 0 10px; border-bottom: 1px solid var(--app-sep); font-size: 11px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #c7cfdb; margin: 0 auto 4px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 15px; }
.thread { padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.bubble { align-self: flex-start; max-width: 200px; background: var(--bubble); border-radius: 18px; padding: 8px 12px; font-size: 13px; line-height: 1.4; }
.bubble.sent { align-self: flex-end; background: #0a84ff; color: #fff; }
.bubble.selected-message { margin-top: 62px; }
.web-article { padding: 6px 16px 0; }
.web-kicker { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #d0443a; }
.web-headline { margin-top: 6px; font: 700 21px/1.15 var(--serif); }
.web-image { height: 50px; border-radius: 10px; margin-top: 10px; background: linear-gradient(135deg, #cfdced, #e9eef5); }
.web-body { margin-top: 12px; font: 13.5px/1.6 var(--serif); }
.address-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 56px; background: var(--app-bg); border-top: 1px solid var(--app-sep); display: grid; place-items: center; }
.address-bar span { width: 180px; height: 30px; border-radius: 15px; background: var(--app-fill); font-size: 11px; display: grid; place-items: center; }
.email { padding: 8px 16px; }
.sender { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.sender .avatar { width: 34px; height: 34px; margin: 0; background: #9fb4cf; }
.sender small { display: block; font-size: 11px; font-weight: 400; color: var(--app-muted); }
.email-subject { font-size: 16px; font-weight: 700; margin-top: 14px; }
.email-body { font-size: 13px; line-height: 1.6; margin-top: 10px; }
.dimmed-reading { padding: 0 16px; font: 13.5px/1.6 var(--serif); color: var(--ink); opacity: .55; }
.phone-sheet { position: absolute; left: 0; right: 0; top: 118px; bottom: 0; width: auto; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 30px -10px #0003; }
.phone-sheet .sheet-header { height: 48px; font-size: 15px; }
.phone-sheet .round-button { top: 11px; width: 26px; height: 26px; }
.phone-sheet .sheet-body { padding: 0 10px; }
.phone-sheet .field-label { font-size: 10px; }
.phone-sheet .field-card { font-size: 12.5px; padding: 10px 12px; }
.phone-sheet .field-card + .field-card { margin-top: 12px; }
.phone-sheet .analysis-header { font-size: 13px; padding-bottom: 7px; }
.phone-sheet .summary { font-size: 12.5px; margin-top: 8px; }
.phone-sheet .segment { padding: 8px 0 0; border: 0; }
.phone-sheet .phrase { font-size: 13px; }
.phone-sheet .meaning { font-size: 12.5px; }
.phone-sheet .word { font-size: 21px; }
.phone-sheet .pronunciations { font-size: 10.5px; gap: 8px; }
.phone-sheet .speaker { width: 18px; height: 18px; }
.phone-sheet .dictionary-card { padding: 8px 12px; }
.phone-sheet .dictionary-label { font-size: 10px; }
.phone-sheet .sense { grid-template-columns: 13px 1fr 24px; gap: 5px; padding: 8px 0; }
.phone-sheet .sense b, .phone-sheet .sense strong { font-size: 11.5px; }
.phone-sheet .sense em { font-size: 10.5px; }
.phone-sheet .bookmark { width: 24px; height: 24px; }
.phones .page-link { left: -28px; top: 300px; box-shadow: 0 0 0 4px var(--glow), 0 6px 14px #0b4a9a55; }

/* Translation comparison */
.translation-panel { padding: 52px 64px 60px; }
.source { background: var(--surface); border-radius: 22px; padding: 24px 30px; box-shadow: var(--shadow); text-align: left; }
.source .field-label { margin: 0 0 8px; color: var(--muted); }
.source-sentence { font: 26px/1.45 var(--serif); letter-spacing: -.3px; }
.idiom { text-decoration: underline; text-decoration-color: var(--soft-blue); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.translations { margin-top: 22px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.translation-row { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 24px; padding: 14px 26px; border-top: 1px solid var(--line); align-items: baseline; font-size: 17px; line-height: 1.5; }
.translation-heading { border-top: 0; padding-block: 16px 12px; align-items: center; font-size: 13px; font-weight: 650; letter-spacing: .3px; color: var(--muted); text-transform: uppercase; }
.translation-heading > div { display: flex; align-items: center; gap: 9px; }
.translation-heading .good-heading { color: var(--blue); }
.translation-heading .bad-heading svg { color: var(--bad-text); }
.language { font-weight: 600; font-size: 16px; }
.language small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.literal { color: var(--muted); }
.literal mark { background: var(--bad); color: var(--bad-text); border-radius: 4px; padding: 0 2px; }
.natural mark { background: var(--good); border-radius: 4px; padding: 0 2px; }

/* Split sections */
.split { display: grid; grid-template-columns: 470px 1fr; gap: 70px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 470px; }
.split .panel { margin-top: 0; padding: 50px 0 56px; }
.callouts { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.callout { display: flex; gap: 16px; align-items: center; }
.callout h3 { font-size: 20px; letter-spacing: -.4px; }
.pin { position: absolute; z-index: 5; left: 68px; box-shadow: 0 0 0 5px var(--surface), 0 6px 16px #0b4a9a55; }
.pin.summary-pin { top: 160px; } .pin.phrase-pin { top: 262px; } .pin.explanation-pin { top: 345px; }
.questions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.questions span { padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15.5px; }
.questions b { color: var(--blue); font-weight: 600; }

/* Anki */
.anki-phones { height: auto; padding: 56px 40px 44px; align-items: flex-start; gap: 22px; }
.flow-arrow { align-self: center; margin-top: -60px; font-size: 34px; color: var(--soft-blue); font-weight: 300; }
.flow-caption { margin-top: 22px; display: flex; gap: 10px; align-items: center; justify-content: center; }
.flow-caption b { font-size: 34px; color: var(--soft-blue); font-weight: 550; line-height: 1; letter-spacing: -1px; }
.flow-caption h3 { font-size: 18px; letter-spacing: -.4px; }
.save-page { width: auto; background: transparent; border-radius: 0; box-shadow: none; }
.options { padding: 0; }
.save-page .sheet-header { height: 44px; font-size: 15px; }
.save-page .round-button { top: 6px; width: 28px; height: 28px; }
.save-page .sheet-body { padding: 4px 12px 0; }
.save-page .field-label { font-size: 10px; margin-left: 8px; }
.save-page .field-card + .field-label { margin-top: 12px; }
.card-preview { padding: 12px; }
.card-side { font-size: 9.5px; font-weight: 650; letter-spacing: 1px; color: var(--app-muted); }
.card-sentence { margin-top: 6px; font: italic 13px/1.45 var(--serif); }
.review-sentence mark { color: var(--highlight-text); font-weight: 700; background: none; }
.card-sentence mark { background: var(--highlight); color: var(--highlight-text); font-weight: 700; font-style: normal; padding: 0 3px; border-radius: 3px; }
.audio { margin-top: 8px; display: flex; gap: 10px; font-size: 11px; color: var(--app-muted); }
.audio > span { display: inline-flex; gap: 5px; align-items: center; }
.audio .speaker { width: 18px; height: 18px; }
.card-divider { border-top: 1px solid var(--app-sep); margin: 10px 0 8px; }
.card-definition { margin-top: 5px; font-size: 12.5px; line-height: 1.45; }
.card-definition span { color: var(--app-muted); }
.option-row { display: flex; justify-content: space-between; padding: 10px 12px; font-size: 12.5px; }
.option-row span:last-child { color: var(--app-muted); }
.save-button { position: relative; margin-top: 12px; height: 42px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.save-button .tap { left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); }
.app-page { padding: 4px 14px 0; }
.large-title { font-size: 26px; font-weight: 700; letter-spacing: -.6px; margin: 6px 2px 12px; }
.pending { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.pending b { color: var(--blue); font-weight: 600; }
.app-page .field-label { font-size: 10px; margin: 16px 0 6px 8px; }
.input-placeholder { height: 70px; color: var(--app-muted); font-size: 13.5px; }
.share-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: var(--app-bg); border-radius: 22px 22px 0 0; box-shadow: 0 -8px 24px -8px #0003; padding: 16px 14px; }
.share-file { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--app-sep); font-size: 13px; font-weight: 600; }
.share-file small { display: block; font-size: 11px; font-weight: 400; color: var(--app-muted); }
.file-icon { width: 34px; height: 40px; border-radius: 6px; background: var(--app-card); box-shadow: 0 0 0 1px var(--app-sep); display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: var(--blue); }
.share-targets { display: flex; justify-content: space-between; margin-top: 14px; padding: 0 4px; }
.share-targets > span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; }
.share-targets .app-icon { width: 46px; height: 46px; border-radius: 12px; }
.share-targets .anki { box-shadow: 0 0 0 3px var(--app-bg), 0 0 0 5px var(--blue); }
.review-bar { display: flex; justify-content: space-between; padding: 6px 16px 10px; font-size: 13px; color: var(--blue); border-bottom: 1px solid var(--app-sep); }
.review-counts { display: flex; gap: 8px; font-weight: 600; }
.review-counts .new { color: #2f6fd6; } .review-counts .learning { color: #c0392b; } .review-counts .due { color: #2e9d4f; }
.review-card { padding: 18px 18px 0; text-align: center; }
.review-sentence { font: 15px/1.6 var(--serif); }
.review-divider { border-top: 1px solid var(--app-sep); margin: 16px 0; }
.review-word { font-size: 17px; font-weight: 700; }
.review-word span { font-weight: 400; color: var(--app-muted); font-size: 13px; }
.review-definition { font-size: 13px; margin-top: 4px; }
.ease { position: absolute; left: 10px; right: 10px; bottom: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ease span { background: var(--app-bg); border-radius: 10px; padding: 7px 0 8px; font-size: 12px; font-weight: 600; text-align: center; }
.ease small { display: block; font-size: 9.5px; font-weight: 500; color: var(--app-muted); margin-bottom: 1px; }
.ease .chosen { background: var(--ease-good); color: var(--ease-good-text); }

/* Closing and footer */
.closing { margin-top: 120px; border-radius: 32px; background: #0b1220; color: #fff; padding: 70px; position: relative; overflow: hidden; text-align: center; box-shadow: 0 0 0 1px var(--line); }
.closing::before { content: ''; position: absolute; inset: -40% 10% auto; height: 520px; background: radial-gradient(ellipse, #1b4f9a99, transparent 65%); }
.closing > * { position: relative; }
.closing img { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 26px; }
.closing h2 { font-size: 58px; letter-spacing: -2.6px; line-height: 1.06; font-weight: 700; }
.closing h2 span, .closing h2 em { display: block; }
.closing h2 em { color: #6fb2ff; }
.closing p { margin-top: 16px; font-size: 20px; color: #aab5c5; }
.closing .button { margin-top: 30px; min-height: 58px; padding: 0 32px; font-size: 18px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 40px 46px; }
.footer-brand { display: flex; align-items: center; gap: 27px; }
.footer-brand .brand { font-size: 21px; gap: 10px; letter-spacing: -.8px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer-details { display: flex; gap: 35px; position: relative; }
summary { cursor: pointer; font-size: 16px; color: var(--muted); list-style: none; padding-block: 9px; }
summary::-webkit-details-marker { display: none; }
summary:hover, details[open] summary { color: var(--blue); }
.disclosure-content { position: absolute; bottom: 52px; right: 0; width: 370px; max-width: calc(100vw - 48px); padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 14px 50px #172d4526; z-index: 6; font-size: 16px; line-height: 1.5; }
.disclosure-content p { margin-top: 10px; color: var(--muted); }

/* Narrow desktop */
@media (max-width: 1340px) {
  .container { width: calc(100% - 100px); }
  .annotation, .annotation-lines { display: none; }
  .stage { width: 900px; height: 700px; }
  .tablet { left: 0; }
  .any-app-phones { zoom: .72; }
  .split { grid-template-columns: 1fr 1fr; gap: 50px; }
  .split.reverse { grid-template-columns: 1fr 1fr; }
  .wide-sheet { width: calc(100% - 64px); }
  .pin { left: 18px; }
}

/* iPad */
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  nav { gap: 22px; }
  .nav-link { font-size: 15px; }
  h1 { font-size: 64px; letter-spacing: -3px; }
  h1 em { font-size: 72px; letter-spacing: -3px; }
  .hero-description { font-size: 20px; max-width: 640px; }
  .stage { width: 340px; height: 640px; }
  .tablet { top: 0; width: 340px; height: 640px; padding: 12px; border-radius: 48px; }
  .tablet-screen { border-radius: 37px; }
  .book-text { padding: 18px 22px 0; font-size: 15.5px; }
  .hero-sheet.main-page { left: 12px; right: 12px; top: 230px; width: auto; }
  .hero-sheet.dictionary-page, .hero .page-link { display: none; }
  .hero-sheet .popover-arrow { left: 120px; }
  .feature { padding-top: 96px; }
  .section-title { font-size: 46px; letter-spacing: -2px; }
  .any-app-phones { zoom: .86; height: auto; padding: 52px 0 40px; gap: 30px; }
  .any-app-phones .phone-column:nth-child(2), .any-app-phones .phone-column:nth-child(3) { display: none; }
  .translation-panel { padding: 32px; }
  .translation-row { grid-template-columns: 120px 1fr 1fr; gap: 16px; padding-inline: 20px; font-size: 16px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .copy { order: -1; }
  .wide-sheet { width: 480px; }
  .pin { left: calc(50% - 262px); }
  .anki-phones { flex-direction: column; align-items: center; padding: 34px 0 36px; gap: 10px; }
  .flow-arrow { margin: 0; transform: rotate(90deg); }
  .closing { margin-top: 96px; padding: 56px 40px; }
  .closing h2 { font-size: 46px; }
}

/* Phone */
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header { min-height: 70px; }
  .brand { font-size: 24px; gap: 10px; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .nav-link { display: none; }
  .nav-button { min-height: 38px; padding: 0 16px; font-size: 14px; }
  .hero { padding-top: 26px; }
  .eyebrow { font-size: 11px; letter-spacing: 2px; }
  h1 { font-size: 44px; letter-spacing: -2.2px; margin-top: 14px; }
  h1 em { font-size: 50px; letter-spacing: -2px; }
  .hero-description { font-size: 17px; margin-top: 16px; }
  .hero-button { min-height: 52px; font-size: 16px; width: 100%; }
  .stage { width: 300px; height: 600px; margin-top: 30px; }
  .tablet { width: 300px; height: 600px; padding: 10px; border-radius: 46px; }
  .book-text { padding: 18px 20px 0; font-size: 15px; }
  .hero-sheet.main-page { left: 10px; right: 10px; top: 238px; }
  .app-row { gap: 8px; font-size: 13px; }
  .app-pill { padding: 6px 11px 6px 6px; font-size: 13px; }
  .feature { padding-top: 76px; }
  .section-number { font-size: 11px; letter-spacing: 2px; }
  .section-title { font-size: 36px; letter-spacing: -1.6px; }
  .section-description { font-size: 16.5px; }
  .panel { margin-top: 30px; border-radius: 26px; }
  .any-app-phones { zoom: 1; justify-content: flex-start; gap: 18px; padding: 30px 0 26px 24px; overflow: hidden; }
  .any-app-phones .phone-column { flex-shrink: 0; }
  .phones .page-link { display: none; }
  .translation-panel { padding: 22px 16px 26px; }
  .source { padding: 18px; }
  .source-sentence { font-size: 19px; }
  .translation-heading { display: none; }
  .translation-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; font-size: 15.5px; }
  .translation-row:nth-child(2) { border-top: 0; }
  .language small { display: inline; margin-left: 6px; }
  .literal::before { content: '✕ '; color: var(--bad-text); font-size: 12px; }
  .natural::before { content: '✓ '; color: var(--blue); font-weight: 700; }
  .split .panel { padding: 24px 12px 28px; }
  .wide-sheet { width: auto; }
  .pin { display: none; }
  .callout h3 { font-size: 17px; }
  .questions span { font-size: 14px; padding: 8px 13px; }
  .anki-phones { padding: 26px 0 30px; }
  .closing { margin-top: 76px; padding: 46px 22px; border-radius: 26px; }
  .closing h2 { font-size: 36px; letter-spacing: -1.4px; }
  .closing p { font-size: 16px; }
  .closing .button { min-height: 52px; font-size: 16px; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-block: 26px; }
  .footer-brand { width: 100%; justify-content: space-between; gap: 12px; }
  .footer-brand p { font-size: 13px; }
  .footer-details { width: 100%; justify-content: flex-end; }
  summary { font-size: 14px; }
  .disclosure-content { bottom: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav-link { transition: none; }
}
