/* A quiet, product-first layout inspired by DeepSeek Harness. */
:root {
  --paper: #fff;
  --white: #fff;
  --ink: #202126;
  --muted: #737780;
  --line: #e8eaf0;
  --accent: #4d6bfe;
  --blue: #4d6bfe;
  --soft: #f5f7fb;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: var(--sans);
  --mono: "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; border: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; object-fit: contain; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #4d6bfe; outline-offset: 5px; }
::selection { background: #dfe6ff; }
[hidden] { display: none !important; }
.site-splash { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; opacity: 1; transition: opacity 180ms ease; }
.site-splash-brand { display: flex; align-items: center; gap: 14px; padding: 24px; }
.site-splash-brand img { width: 60px; height: 60px; flex-shrink: 0; }
.site-splash-brand span { color: var(--ink); font-size: clamp(24px, 4vw, 30px); font-weight: 600; letter-spacing: -.6px; white-space: nowrap; }
.site-splash.is-leaving { opacity: 0; pointer-events: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.diagonal-arrow { width: 17px; height: 17px; vertical-align: middle; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 12px 20px; border-radius: 8px; background: var(--blue); color: #fff; }
.skip-link:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 20; height: 84px; background: #ffffffeb; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: height .2s, box-shadow .2s; }
.header.is-condensed { height: 68px; box-shadow: 0 1px 0 var(--line); }
.header-inner { width: min(1360px, calc(100% - 80px)); height: 100%; display: flex; gap: 32px; align-items: center; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 650; white-space: nowrap; letter-spacing: -.6px; }
.brand img { width: 34px; height: 34px; }
.header nav { display: flex; gap: 22px; margin-left: auto; font-size: 12px; }
.header nav a { padding: 12px 0; color: #60636c; white-space: nowrap; transition: color .2s; }
.header nav a:hover, .header nav a[aria-current] { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 13px 24px; border: 1px solid var(--blue); border-radius: 12px; color: #fff; background: var(--blue); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { background: #3a57e5; box-shadow: 0 5px 18px #4d6bfe24; transform: translateY(-2px); }
.button.secondary { color: #444750; background: #fff; border-color: #e0e3eb; }
.button.secondary:hover { background: #f5f7ff; border-color: #bbc7ff; }
.header-cta { font-size: 12px; min-height: 38px; padding: 8px 15px; border-radius: 9px; gap: 8px; }
.header-cta > .icon:first-child { display: none; }
.header-cta .icon { width: 15px; height: 15px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.screen { position: relative; scroll-margin-top: 24px; min-width: 0; }
.hero { padding-top: 63px; text-align: center; overflow: clip; }
.hero-heading { position: relative; }
.release-note { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px; border: 1px solid #e4e9fa; border-radius: 99px; color: #65719a; font-size: 12px; background: #f8faff; }
.release-note:hover { border-color: #b8c5fd; }
.release-note .icon { width: 14px; height: 14px; margin-left: 4px; }
.hero h1 { margin-top: 26px; font-size: clamp(56px, 5.8vw, 80px); font-weight: 650; line-height: 1.24; letter-spacing: -3px; }
.hero h1 span { color: var(--blue); }
.hero-bottom { margin: 24px auto 58px; }
.intro { color: #777b85; font-size: 16px; line-height: 1.9; }
.hero-conversion { margin-top: 27px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-note { font-size: 11px; color: #9296a0; margin-top: 15px; }
.product-preview { position: relative; padding: 16px 16px 0; border-radius: 24px; background: linear-gradient(125deg, #e8edff 0%, #edf3fc 45%, #e8f2f6 75%, #e8e8fd 100%); box-shadow: 0 -15px 85px 10px #dce6ff50; }
.product-preview::before { position: absolute; content: ""; inset: -60px -80px 40%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #dfeaff90, transparent 70%); filter: blur(25px); pointer-events: none; }
.preview-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 37px; padding: 0 15px; background: #fcfdffe8; border: 1px solid #fff; border-radius: 12px 12px 0 0; color: #8992a2; font-size: 10px; }
.preview-window-bar > .icon { width: 13px; height: 13px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; background: #d6dce9; border-radius: 50%; }
.window-dots i:nth-child(2) { background: #dfe4ee; }
.window-dots i:nth-child(3) { background: #e7ebf3; }
.product-frame { display: block; aspect-ratio: 1.78; overflow: hidden; border: 1px solid #ffffffc7; border-top: 0; border-radius: 0 0 11px 11px; background: #f6f8fc; cursor: zoom-in; box-shadow: 0 12px 32px #3a508019; }
.product-frame img { width: 100%; height: auto; }
.preview-caption { display: flex; justify-content: space-between; gap: 12px; padding: 13px 4px; text-align: left; font-size: 10px; color: #748099; }
.preview-caption a { white-space: nowrap; }
.preview-caption a:hover { color: var(--blue); }
.preview-caption .icon { width: 12px; height: 12px; }
.hero-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 48px; padding: 29px 0; color: #818794; font-size: 12px; }
.hero-benefits li { display: flex; align-items: center; gap: 8px; }
.hero-benefits li::before { content: "✓"; color: #8b9bc5; }
.eyebrow { margin-bottom: 16px; color: #8790a3; font-size: 11px; letter-spacing: 1px; font-weight: 400; }
.capabilities-heading { padding-top: 111px; padding-bottom: 54px; text-align: center; }
.capabilities-heading h2 { font-size: clamp(32px, 3.5vw, 44px); font-weight: 600; line-height: 1.4; letter-spacing: -1.6px; }
.capabilities-heading > p:last-child { margin-top: 20px; color: var(--muted); font-size: 14px; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.capability-grid .feature-layout { width: 100%; display: flex; flex-direction: column; height: 100%; }
.capability-grid .feature-copy { padding: 0 8px; order: 0; width: 100%; }
.capability-grid .eyebrow { margin-bottom: 12px; color: var(--blue); letter-spacing: .6px; }
.feature-copy h2 { font-size: 29px; line-height: 1.5; letter-spacing: -.9px; font-weight: 600; }
.capability-grid h2 br { display: none; }
.blue-text, .map-heading h2 span { color: var(--blue); }
.ai-capability { color: #89909e; font-size: 11px; margin-bottom: 16px; }
.ai-capability > span { display: block; color: var(--blue); font-size: 12px; }
.capability-grid .ai-capability { display: none; }
.section-intro { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.capability-grid .section-intro { min-height: 78px; }
.story-steps { display: grid; gap: 3px; margin: 27px 0 18px; }
.story-steps li { border: 1px solid transparent; border-radius: 10px; transition: background .2s; }
.story-steps li.active { background: #f4f6ff; }
.step-button { width: 100%; text-align: left; display: flex; align-items: baseline; gap: 14px; padding: 12px; background: transparent; border-radius: 10px; }
.step-button > span { font: 11px var(--mono); color: #99a1b1; }
.step-button b { font-size: 13px; font-weight: 500; }
.step-button p { margin-top: 4px; color: #8a909d; font-size: 11px; line-height: 1.8; }
.step-button.active > span, .step-button.active b, .step-button:hover b { color: var(--blue); }
.capability-grid .story-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 22px 0 14px; }
.capability-grid .step-button { padding: 10px 8px; gap: 6px; align-items: center; }
.capability-grid .step-button > span { font-size: 10px; }
.capability-grid .step-button b { font-size: 11px; line-height: 1.7; }
.capability-grid .step-button p { display: none; }
.small-note { color: #9297a3; font-size: 10px; line-height: 1.9; }
.capability-grid .small-note { min-height: 39px; margin-bottom: 20px; }
.feature-note { display: none; }
.demo-shell { min-width: 0; width: 100%; overflow: hidden; border: 1px solid #e6e9f2; border-radius: 16px; background: #fafbfe; box-shadow: 0 7px 28px #294b9410; }
.capability-grid .demo-shell { margin-top: 0; flex: 1; display: flex; flex-direction: column; }
.capability-grid .demo-scene { flex: 1; }
.capability-grid .demo-caption { margin-top: auto; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 18px; background: #f0f3fa; border-bottom: 1px solid #e7ebf4; font-size: 11px; color: #6d7890; }
.demo-toolbar > span:first-child { display: flex; align-items: center; gap: 8px; }
.demo-toolbar > span:last-child { font-size: 9px; color: #8d97a9; }
.demo-scene { display: grid; }
.scene-panel { grid-area: 1 / 1; padding: 26px; min-width: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s; }
.scene-panel.active { opacity: 1; visibility: visible; pointer-events: auto; }
.scene-panel h3 { margin: 20px 0 12px; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.5px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill { padding: 4px 9px; background: #edf1ff; border-radius: 6px; color: #5f76c8; font-size: 10px; }
.panel-heading small { color: #939aa8; font-size: 9px; }
.muted { color: var(--muted); font-size: 12px; }
.demo-caption { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #e9ecf4; background: #f4f6fb; min-height: 47px; }
.demo-caption-text { color: #71809a; font-size: 10px; flex: 1; }
.demo-mode-label { font-size: 8px; color: #939caf; }
.demo-ticks { display: flex; gap: 3px; }
.demo-dot { background: transparent; padding: 8px 4px; min-height: 28px; border-radius: 4px; }
.demo-dot i { display: block; position: relative; width: 18px; height: 3px; overflow: hidden; border-radius: 5px; background: #d9e0ef; }
.demo-dot.active i { background: #a3b3f6; }
.demo-ticks i.active::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: var(--demo-progress-animation, tick-progress) 4.2s linear; }
@keyframes tick-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tick-progress-replay { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.motion-paused *, [data-demo]:not(.is-running) .demo-ticks i::after { animation-play-state: paused !important; }
/* Full-width product chapters */
.past-screen { padding: 118px 0; margin-top: 112px; background: #f8faff; }
.past-screen .feature-layout { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 90px; }
.past-screen .feature-copy h2 { font-size: 38px; }
.map-screen { padding: 112px 0; }
.map-heading, .section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 42px; }
.map-heading h2, .section-heading h2 { font-size: 38px; line-height: 1.45; letter-spacing: -1.5px; font-weight: 600; }
.map-heading-note { display: flex; align-items: center; gap: 24px; }
.map-heading-note > b { color: var(--blue); font-size: 56px; font-weight: 500; letter-spacing: -2px; }
.map-heading-note > b span { display: block; color: #8b93a3; font-size: 11px; letter-spacing: 0; }
.map-heading-note p, .section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.map-ai-bridge { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 17px 22px; background: #f3f6ff; border-radius: 9px; color: #6b79a1; font-size: 12px; }
.map-ai-bridge > span { color: var(--blue); white-space: nowrap; }
.map-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font-size: 11px; color: #949baa; }
.tracks-screen { padding: 0 0 112px; }
.track-list { border-top: 1px solid var(--line); margin-bottom: 18px; }
.track-row { position: relative; display: grid; grid-template-columns: 36px 1.15fr 1fr 1fr 20px; align-items: center; gap: 22px; padding: 29px 15px; border-bottom: 1px solid var(--line); transition: background .2s; }
.track-select { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; z-index: 1; }
.track-row.active, .track-row:hover { background: #f6f8ff; }
.track-number { font: 11px var(--mono); color: #a4aaba; }
.track-row.active .track-number { color: var(--blue); }
.track-row h3 { font-size: 15px; font-weight: 550; }
.track-row h3 small { display: block; margin-top: 6px; color: #9298a5; font-size: 11px; font-weight: 400; }
.track-row > p { color: #808795; font-size: 11px; line-height: 1.8; }
.track-row > div { display: flex; flex-wrap: wrap; gap: 6px; }
.track-row > div span { color: #7a88ad; font-size: 10px; padding: 4px 8px; background: #edf1fa; border-radius: 5px; }
.track-arrow { color: #9aa6be; }
.method-screen { background: #f7f9fd; padding: 95px 0; }
.learning-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.learning-path article { padding: 24px; border: 1px solid #e7ecf5; border-radius: 16px; background: #fff; }
.path-number { color: #a6b2d2; font: 11px var(--mono); }
.path-visual { height: 110px; position: relative; display: flex; justify-content: center; align-items: center; margin: 18px 0; border-radius: 8px; background: #f5f7ff; color: #7b90d2; }
.learning-path h3 { font-size: 20px; font-weight: 550; }
.path-select { padding: 0; background: transparent; text-align: left; }
.learning-path article.active .path-select, .path-select:hover { color: var(--blue); }
.learning-path article > p { color: #8b92a0; font-size: 12px; line-height: 1.9; margin-top: 12px; }
.learning-path article > a { display: inline-flex; align-items: center; gap: 20px; font-size: 11px; color: var(--blue); margin-top: 20px; }
.map-glyph i { position: absolute; width: 46px; height: 21px; border: 1px solid #adbeee; border-radius: 4px; }
.map-glyph i:first-child { left: calc(50% - 65px); top: 45px; }
.map-glyph i:nth-child(2) { left: calc(50% + 20px); top: 20px; }
.map-glyph i:nth-child(3) { left: calc(50% + 20px); top: 47px; }
.map-glyph i:nth-child(4) { left: calc(50% + 20px); top: 74px; }
.map-glyph i:last-child { left: calc(50% - 10px); top: 30px; height: 55px; width: 30px; border-right: 0; border-top: 0; border-bottom: 0; border-radius: 0; }
.quiz-glyph { flex-direction: column; gap: 7px; }
.quiz-glyph i { font-style: normal; width: 115px; padding: 2px 10px; border: 1px solid #e0e6f5; border-radius: 4px; font-size: 11px; }
.quiz-glyph i:nth-child(2) { background: #e5ecff; border-color: #c2cff4; }
.quiz-glyph b { float: right; }
.memory-glyph { gap: 16px; }
.memory-glyph > span { padding: 7px 11px; font-size: 13px; }
.memory-glyph > span:last-child { border: 1px solid #c7d3f7; border-radius: 6px; background: #eaf0ff; color: #627fd1; }
.sync-note { display: flex; align-items: center; gap: 20px; margin-top: 45px; padding: 26px 0; border-top: 1px solid #e0e7f4; border-bottom: 1px solid #e0e7f4; }
.sync-note > span:first-child { color: #8da3d8; font-size: 30px; }
.sync-note b { font-size: 16px; font-weight: 550; }
.sync-note p { color: #8b94a4; font-size: 12px; margin-top: 5px; }
.sync-note .button { margin-left: auto; font-size: 12px; min-height: 44px; }
.workbench-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; margin-top: 32px; }
.workbench-guide span { display: block; color: #9aaedc; font: 11px var(--mono); margin-bottom: 10px; }
.workbench-guide b { font-size: 13px; font-weight: 500; }
.workbench-guide p { margin-top: 6px; color: #8a94a5; font-size: 11px; }
.final-screen { padding-top: 112px; }
.closing-layout { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 90px; }
.closing-layout h2 { font-size: 44px; line-height: 1.5; font-weight: 600; letter-spacing: -1.5px; }
.closing-layout > div > p:not(.eyebrow) { color: #8a909e; font-size: 14px; line-height: 1.95; margin-top: 24px; }
.closing-brand { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 12px; color: #8b95a9; }
.closing-brand img { width: 34px; height: 34px; }
.qr-card { border: 1px solid #e7ecf5; border-radius: 18px; padding: 23px; background: #fafbff; text-align: center; }
.qr-card-heading { display: flex; align-items: center; gap: 9px; color: #8692ab; font-size: 10px; }
.qr-card-heading > span:last-child { margin-left: auto; }
.qr-card > img { width: 180px; height: 180px; margin: 23px auto 18px; border-radius: 12px; }
.qr-card h3 { font-size: 16px; font-weight: 550; }
.qr-card p { color: #949baa; font-size: 11px; margin-top: 8px; }
.qr-card > a { display: inline-block; color: #7990ca; font-size: 11px; margin-top: 16px; }
.faq-block { display: grid; grid-template-columns: .85fr 1.5fr; gap: 90px; padding: 110px 0; margin-top: 100px; border-top: 1px solid var(--line); }
.faq-heading h2 { font-size: 27px; font-weight: 550; line-height: 1.7; letter-spacing: -.6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 30px 20px 0; font-size: 13px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 17px; font-size: 20px; font-weight: 300; color: #969faf; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 25px 22px 0; color: #858d9c; font-size: 12px; line-height: 1.95; }
.site-footer { border-top: 1px solid var(--line); background: #fbfcfe; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 35px; padding-bottom: 40px; color: #929bab; font-size: 10px; }
.footer-inner > a { color: #566783; font-size: 18px; font-weight: 600; white-space: nowrap; }
.footer-link:hover, .icp-link:hover { color: var(--blue); }
.footer-meta { display: grid; gap: 4px; text-align: right; white-space: nowrap; }
.screen-nav { display: none; }
.motion-toggle { position: fixed; bottom: 18px; right: 20px; z-index: 15; display: flex; align-items: center; gap: 8px; padding: 8px 13px; min-height: 35px; background: #ffffffeb; border: 1px solid #e4e9f3; border-radius: 99px; color: #8993a7; font-size: 10px; backdrop-filter: blur(10px); }
.motion-toggle:hover { color: var(--blue); border-color: #bfccf8; }
.motion-symbol { font: 10px var(--mono); }
dialog { width: min(390px, calc(100% - 36px)); max-height: calc(100svh - 40px); overflow-y: auto; padding: 36px; border: 1px solid #e4e9f5; border-radius: 20px; text-align: center; background: #fff; color: var(--ink); box-shadow: 0 30px 120px #273d7833; }
dialog::backdrop { background: #24335155; backdrop-filter: blur(8px); }
dialog .close { position: absolute; top: 9px; right: 12px; width: 35px; height: 35px; font-size: 26px; background: transparent; color: #8794ae; }
dialog .eyebrow { margin-bottom: 12px; }
dialog h2 { font-size: 28px; font-weight: 600; }
dialog img { margin: 22px auto; border-radius: 8px; }
dialog > p:not(.eyebrow) { font-size: 12px; color: #7c879b; }
dialog > small { display: block; margin-top: 8px; color: #929bad; font-size: 10px; }
dialog .button { width: 100%; margin-top: 22px; min-height: 44px; font-size: 12px; }

/* Learning demonstrations: shared, locally rendered components. */
.chapter-stack {
  margin-top: 25px;
}
.chapter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 12px;
  border: 1px solid #dce0ed;
  margin-bottom: 9px;
  border-radius: 5px;
  color: #545e7c;
}
.chapter-row > span {
  font: 13px var(--mono);
  color: #56607c;
}
.chapter-row > div {
  flex: 1;
}
.chapter-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.chapter-row small {
  display: block;
  font-size: 9px;
  color: #555f7d;
  margin-top: 4px;
}
.chapter-row.selected {
  background: #ebeef7;
  border-color: #b1bad7;
}
.sample-action {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  padding: 16px 0 3px;
  color: #545d7a;
}
.sample-action > span {
  color: #4a577e;
}
.sample-action .icon {
  margin-left: 5px;
  width: 13px;
}
.answer-option {
  display: flex;
  gap: 11px;
  padding: 14px;
  margin-top: 12px;
  border: 1px solid #d9ddeb;
  border-radius: 5px;
  font-size: 11px;
}
.answer-option > span {
  font-family: var(--mono);
  color: #545e7d;
}
.answer-option i {
  margin-left: auto;
  font-style: normal;
}
.muted-option {
  color: #59627c;
}
.correct-option {
  background: #e9edf7;
  color: #46547f;
  border-color: #b9c3e0;
}
.explanation {
  border-left: 2px solid #8b99c3;
  padding: 16px;
  margin-top: 22px;
  background: #f2f4f9;
}
.ai-mark {
  color: #4b577d;
  font-size: 10px;
}
.explanation p {
  font-size: 11px;
  line-height: 2;
  color: #535d7c;
  margin-top: 9px;
}
.explanation b {
  font-weight: 500;
  color: #42517f;
}
.review-question {
  display: flex;
  gap: 13px;
  padding: 22px 0;
  border-bottom: 1px solid #e0e4f0;
  align-items: center;
}
.question-index {
  font: 13px var(--mono);
  color: #545e7c;
}
.review-question b {
  font-size: 12px;
  font-weight: 500;
}
.review-question p {
  font-size: 9px;
  color: #555e7b;
  margin-top: 6px;
}
.review-question > span:last-child {
  margin-left: auto;
  color: #555e7b;
}
.review-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 35px 0;
  gap: 10px;
}
.review-route div {
  display: grid;
  gap: 8px;
  text-align: center;
}
.review-route span {
  font: 11px var(--mono);
  color: #555e7a;
}
.review-route b {
  font-size: 10px;
  color: #4c587d;
  font-weight: 500;
}
.review-route > i {
  font-style: normal;
  color: #59627c;
}
.outcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #eaedf7;
  border-radius: 6px;
  color: #49567d;
}
.outcome > span {
  font-size: 22px;
}
.outcome b {
  font-size: 12px;
  font-weight: 500;
}
.outcome p {
  font-size: 10px;
  color: #535d7c;
  margin-top: 4px;
}
/* Theory, writing and grading examples */
.theory-context {
  color: #515c7c;
  font-size: 10px;
  line-height: 1.8;
  margin: 10px 0;
}
.theory-context span {
  display: block;
  color: #56607c;
  font-size: 9px;
}
.answer-line-list {
  display: grid;
  gap: 5px;
  margin-top: 15px;
}
.answer-line {
  display: flex;
  gap: 12px;
  padding: 9px 11px;
  background: #f3f5fa;
  border: 1px solid #e0e4f0;
  border-radius: 4px;
}
.answer-line-number {
  font: 9px var(--mono);
  color: #535d7b;
  padding-top: 4px;
}
.answer-line-copy {
  flex: 1;
  min-width: 0;
}
.answer-line-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.answer-line-heading b {
  font-size: 11px;
  font-weight: 500;
}
.answer-line p {
  font-size: 9px;
  line-height: 1.75;
  color: #545e7d;
  margin-top: 3px;
}
.answer-verdict {
  font-size: 8px;
  white-space: nowrap;
  color: #485680;
}
.answer-line.is-correct {
  background: #eef1f9;
  border-color: #d3daed;
}
.answer-line.is-wrong {
  background: #fbf3ef;
  border-color: #ecd9cf;
}
.answer-line.is-wrong p, .answer-line.is-wrong .answer-verdict {
  color: #876759;
}
.answer-line.is-missed {
  background: #eceff8;
  border-color: #e9e1c6;
}
.answer-line.is-missed p, .answer-line.is-missed .answer-verdict {
  color: #796d4b;
}
.mnemonic {
  padding: 13px;
  background: #e4e8f5;
  border: 1px solid #cbd3ec;
  border-radius: 5px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mnemonic small {
  font-size: 9px;
  color: #4b5880;
}
.mnemonic b {
  font: 500 19px var(--serif);
  color: #776d50;
  letter-spacing: 3px;
}
.writing-paper {
  background: #f5f7fb;
  border: 1px solid #d9deec;
  padding: 27px 22px;
  min-height: 340px;
  margin-top: 24px;
}
.paper-label {
  font-size: 10px;
  color: #555e7b;
}
.written-line {
  display: flex;
  align-items: center;
  min-height: 2.7em;
  font: 19px/2.7 var(--serif);
  color: #505b7d;
  border-bottom: 1px solid #d3d9ea;
  margin-top: 12px;
}
.paper-rule {
  border-bottom: 1px solid #d3d9ea;
  height: 56px;
}
.typed-text {
  display: inline-block;
  overflow: hidden;
  max-width: calc(100% - 5px);
  white-space: nowrap;
}
.scene-panel.active .typed-text {
  animation: type-line var(--typing-duration) steps(var(--typing-characters), end) var(--typing-delay) both;
}
.writing-caret {
  flex: 0 0 2px;
  height: 1em;
  margin-left: 3px;
  background: #535d7a;
  visibility: hidden;
}
.scene-panel.active .writing-caret {
  visibility: visible;
  animation: writing-blink .65s step-end infinite, writing-caret-hide 1.6s step-end forwards;
}
.scene-panel.active .delayed .writing-caret {
  visibility: hidden;
  animation: writing-blink .65s step-end infinite, writing-caret-show 0s var(--typing-delay) forwards;
}
@keyframes type-line {
  from { width: 0; }
  to { width: calc(var(--typing-characters) * 1em); }
}
@keyframes writing-blink {
  50% { opacity: 0; }
}
@keyframes writing-caret-hide {
  to { visibility: hidden; }
}
@keyframes writing-caret-show {
  to { visibility: visible; }
}
.center-note {
  text-align: center;
  font-size: 9px;
  color: #555f7d;
  margin-top: 17px;
}
.grading-legend {
  display: flex;
  gap: 17px;
  color: #505b7c;
  font-size: 9px;
  margin: 16px 0;
}
.grading-legend span:nth-child(2) {
  color: #866759;
}
.grading-next {
  font-size: 9px;
  color: #555f7d;
  margin-top: 14px;
}
.essay-brief {
  margin: 23px 0;
}
.essay-brief > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #dce1ef;
  font-size: 11px;
}
.essay-brief dt {
  color: #545e7c;
}
.essay-brief dd {
  margin: 0;
  color: #4f5a7d;
}
.ai-input-route, .version-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: 9px;
  color: #545e7c;
  margin-top: 24px;
}
.ai-input-route i, .version-route i {
  font-style: normal;
  color: #555f7c;
}
.ai-input-route b, .version-route b {
  font-weight: 500;
  color: #45537e;
}
.essay-outline {
  margin-top: 24px;
}
.essay-outline li {
  display: flex;
  gap: 15px;
  padding: 16px 10px;
  border-bottom: 1px solid #d7ddef;
  align-items: center;
}
.essay-outline li > span {
  font: 10px var(--mono);
  color: #505b7b;
}
.essay-outline b {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #4f5a7d;
}
.essay-outline small {
  display: block;
  font-size: 9px;
  color: #555f7d;
  margin-top: 5px;
}
.essay-outline i {
  margin-left: auto;
  color: #4f5a7c;
  font-style: normal;
}
.ai-check-note {
  display: flex;
  gap: 10px;
  padding: 17px;
  background: #eef0f8;
  margin-top: 20px;
  border-radius: 5px;
  color: #515c7c;
}
.ai-check-note p {
  font-size: 10px;
}
.essay-document {
  padding: 24px;
  margin-top: 22px;
  border: 1px solid #d9deec;
  background: #f8f9fd;
}
.document-label {
  font-size: 9px;
  color: #565f7b;
  letter-spacing: .7px;
}
.essay-document h3 {
  font-size: 20px;
}
.essay-document p {
  font: 12px/2.2 var(--serif);
  color: #525c7b;
  margin-top: 17px;
}
.project-highlight {
  color: #45547f;
  background: #e4e8f5;
}
.document-signature {
  font-size: 9px;
  color: #555f7c;
  border-top: 1px solid #dbe0ef;
  padding-top: 17px;
  margin-top: 24px;
}
.essay-deliverables {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.essay-deliverables > span {
  border: 1px solid #d2d9ec;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 9px;
  color: #525c7c;
}
.essay-deliverables .word-output {
  color: #49567e;
}
.essay-draft {
  margin-top: 24px;
  padding: 24px;
  background: #f3f5fa;
  border: 1px solid #d9deee;
}
.essay-draft p {
  color: #555f7d;
  font: 14px/2.1 var(--serif);
  margin-top: 22px;
}
.essay-draft p span {
  color: #4e5a7e;
}
.draft-lines {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}
.draft-lines i {
  height: 3px;
  width: 100%;
  background: #dce1f0;
}
.draft-lines i:last-child {
  width: 60%;
}
.annotated-paragraph {
  position: relative;
  padding: 25px;
  margin-top: 25px;
  background: #faf5ed;
  border: 1px solid #e8dfcd;
}
.annotation-index {
  font-size: 9px;
  color: #4e5b83;
}
.annotated-paragraph p {
  font: 16px/2.2 var(--serif);
  color: #4f5c82;
  margin-top: 15px;
}
.annotated-paragraph mark {
  background: transparent;
  color: #816856;
  border-bottom: 2px solid #c7a083;
}
.annotation-pointer {
  display: block;
  text-align: center;
  color: #4c5a83;
  font-size: 20px;
  margin-top: 13px;
}
.annotation-comment {
  padding: 22px;
  background: #e7ebf7;
  border: 1px solid #c9d1eb;
  border-top: 0;
}
.annotation-comment > span {
  display: block;
  font-size: 9px;
  color: #766d54;
}
.annotation-comment b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #7a6c51;
  margin-top: 10px;
}
.annotation-comment p {
  font-size: 10px;
  line-height: 1.9;
  color: #4e5a80;
  margin-top: 9px;
}
.grade-overview {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #dadfee;
}
.grade-overview > div:first-child > span {
  display: block;
  font-size: 9px;
  color: #555f7c;
}
.grade-overview > div:first-child > b {
  font: 500 64px/1.3 var(--serif);
  color: #46547e;
}
.grade-overview b small {
  font: 12px var(--mono);
  color: #555e7b;
}
.grade-summary b {
  font-size: 12px;
  font-weight: 500;
  color: #4e5a7e;
}
.grade-summary p {
  font-size: 10px;
  line-height: 1.9;
  color: #545e7c;
  margin-top: 8px;
}
.grade-dimensions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 19px;
}
.grade-dimensions span {
  font-size: 9px;
  padding: 5px 8px;
  color: #535d7d;
  background: #eef0f8;
  border-radius: 3px;
}
.grade-dimensions .needs-work {
  color: #776d53;
  background: #f8f3e3;
}
.priority-fix {
  padding: 19px;
  margin-top: 24px;
  border-left: 2px solid #798cc5;
  background: #ebeef8;
}
.priority-fix span {
  display: block;
  font-size: 9px;
  color: #4c5980;
}
.priority-fix b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #786d53;
  margin-top: 10px;
}
.priority-fix p {
  font-size: 10px;
  color: #4c5980;
  margin-top: 7px;
}
/* Past papers */
.paper-stack {
  margin-top: 24px;
}
.paper-row {
  display: flex;
  align-items: center;
  padding: 20px 0;
  gap: 15px;
  border-bottom: 1px solid #dce1f0;
}
.paper-row > div {
  flex: 1;
}
.paper-row b {
  font-size: 12px;
  color: #4c587e;
  font-weight: 500;
}
.paper-row small {
  display: block;
  font-size: 9px;
  color: #535d7b;
  margin-top: 7px;
}
.paper-row .icon {
  color: #555e7b;
}
.exam-ticket {
  background: #f4f6fb;
  border: 1px solid #d2d9ec;
  padding: 28px;
  margin-top: 10px;
}
.ticket-kicker {
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #505b7b;
}
.exam-ticket h3 {
  font-size: 29px;
  margin-top: 26px;
}
.exam-ticket > p {
  font-size: 11px;
  color: #505b7b;
}
.ticket-line {
  margin: 25px 0;
  border-bottom: 1px dashed #cbd2e9;
}
.ticket-details {
  display: flex;
  gap: 60px;
}
.ticket-details small {
  display: block;
  font-size: 9px;
  color: #515c7c;
}
.ticket-details b {
  display: block;
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
  color: #4a577e;
}
.ticket-count {
  font: 38px var(--serif);
}
.ticket-details b > span:last-child {
  font-size: 11px;
}
.ticket-details .ticket-mode {
  padding-top: 10px;
}
.ticket-code {
  height: 20px;
  width: 120px;
  margin-top: 35px;
  border-block: 3px solid #b2bdde;
  background: repeating-linear-gradient(90deg, #c0c9e4 0 1px, transparent 1px 4px);
}
.record-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid #d8def0;
}
.record-row > span {
  font-size: 20px;
  color: #4f5a7d;
}
.record-row b {
  font-size: 12px;
  font-weight: 500;
  color: #47557f;
}
.record-row p {
  font-size: 10px;
  line-height: 1.9;
  color: #4f5a7c;
  margin-top: 6px;
}

/* Interactive knowledge matrix. */
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.knowledge-map, .process-detail {
  min-width: 0;
  border: 1px solid #dce2e7;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.map-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  background: #f4f7fa;
  font-size: 12px;
  color: #4f6274;
  border-bottom: 1px solid #e3e8ee;
}
.map-topline span:last-child {
  font-size: 10px;
  color: #6c7985;
}
.map-topline .status-dot {
  margin-left: 8px;
  background: #7a8f87;
}
.matrix-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 16px 22px 8px;
  font-size: 10px;
  color: #6c7985;
}
.matrix-legend > span:first-child {
  margin-right: 7px;
}
.process-frequency {
  display: inline-block;
  align-self: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
}
.frequency-once {
  color: #3f6484;
  background: #e9eff4;
}
.frequency-periodic {
  color: #906a38;
  background: #fff5e5;
}
.frequency-continuous {
  color: #60756d;
  background: #edf1ee;
}
.frequency-early {
  color: #7f5f4a;
  background: #f4ece7;
}
.matrix-scroll {
  max-height: 630px;
  overflow: auto;
  position: relative;
  padding: 0 0 12px;
  margin-inline: 16px;
  scrollbar-width: thin;
  scrollbar-color: #bdc9d3 #f5f7fa;
  scroll-padding: 84px 16px 16px 122px;
}
.matrix-scroll:focus-visible {
  outline: 2px solid #93a9bd;
  outline-offset: -3px;
}
.matrix-table {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0 8px;
  table-layout: fixed;
  font-family: var(--sans);
  color: #334155;
}
.matrix-corner, .matrix-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 15px 10px;
  background: #f1f5f8;
  border-block: 1px solid #e1e7ed;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
}
.matrix-corner {
  width: 108px;
  left: 0;
  z-index: 5;
  border-left: 1px solid #e1e7ed;
  border-radius: 8px 0 0 8px;
  font-size: 11px;
  color: #667787;
}
.matrix-header:last-child {
  border-right: 1px solid #e1e7ed;
  border-radius: 0 8px 8px 0;
}
.matrix-header b, .matrix-corner span {
  display: block;
}
.matrix-header small, .matrix-corner small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: #7c8995;
  font-weight: 400;
}
.matrix-side, .matrix-cell {
  border-block: 1px solid var(--overview-border);
  background: var(--overview-tint);
}
.matrix-side {
  position: sticky;
  left: 0;
  z-index: 2;
  padding: 14px 10px;
  width: 108px;
  border-left: 1px solid var(--overview-border);
  border-radius: 10px 0 0 10px;
  background: linear-gradient(var(--overview-tint), var(--overview-tint)), #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}
.matrix-side span {
  display: block;
}
.matrix-cell {
  padding: 10px 6px;
  vertical-align: middle;
  text-align: center;
}
.matrix-cell:last-child {
  border-right: 1px solid var(--overview-border);
  border-radius: 0 10px 10px 0;
}
.matrix-process-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 54px;
  padding: 9px 5px;
  margin: 4px 0;
  background: var(--overview-tint);
  border: 1px solid transparent;
  border-radius: 6px;
  color: #35485a;
  transition: border-color .15s, background .15s;
}
.matrix-process-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.matrix-process-name:hover, .matrix-process-name.active {
  border-color: #9bb1c3;
  background: #e6edf3;
  color: #315978;
}
.matrix-process-name.active .matrix-process-label {
  font-weight: 650;
}
.matrix-empty-mark {
  color: #9aa6b2;
  font-size: 12px;
}
.map-reading-note {
  margin: 0;
  padding: 16px 22px;
  border-top: 1px solid #e7ecf0;
  color: #74818d;
  font-size: 10px;
  line-height: 1.9;
}
.process-detail {
  padding: 26px 30px;
  border-color: var(--overview-border);
}
.process-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.process-meta {
  color: #738391;
  font-size: 10px;
}
.process-detail h3 {
  margin: 9px 0 0;
  font: 600 27px/1.4 var(--serif);
  color: #354e64;
}
.process-detail-heading > .process-frequency {
  padding: 5px 12px;
  font-size: 11px;
}
.process-explanation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 22px;
}
.process-explanation h4 {
  color: #526a7e;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 7px;
}
.process-explanation p {
  color: #6b7d8c;
  font-size: 11px;
  line-height: 1.95;
}
.process-frequency-note {
  color: #788896;
  font-size: 10px;
  padding-top: 14px;
}
.itto-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.itto-route > div {
  min-width: 0;
  padding-top: 17px;
  border-top: 1px solid #e1e8ee;
}
.itto-route > div > span {
  font: 9px var(--mono);
  color: #8493a1;
  letter-spacing: .6px;
}
.itto-route h4 {
  margin: 9px 0 14px;
  font-size: 13px;
  font-weight: 550;
  color: #536d83;
}
.itto-route ul {
  display: grid;
  gap: 7px;
}
.itto-route li {
  padding: 9px 11px;
  border-radius: 5px;
  background: #f6f8fa;
  color: #697e90;
  font-size: 10px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* Keep preview text readable, including the denser theory demonstration. */
.chapter-row { background: #fff; border-radius: 9px; padding: 16px 13px; }
.chapter-row strong { font-size: 13px; }
.chapter-row small { font-size: 10px; }
.chapter-row.selected { background: #f0f4ff; border-color: #c5d1fa; }
.answer-option { border-radius: 8px; background: #fff; font-size: 12px; }
.correct-option { color: #568378; background: #edf8f4; border-color: #cce4db; }
.explanation { border-radius: 0 9px 9px 0; background: #f0f4ff; border-color: #9eafea; }
.explanation p { font-size: 12px; }
.answer-line { padding: 10px 9px; background: #fff; border-radius: 6px; }
.answer-line-heading b { font-size: 12px; }
.answer-line p { font-size: 11px; }
.answer-line.is-correct { background: #f1f8f6; }
.answer-line.is-wrong { background: #fff4f2; }
.answer-line.is-missed { background: #fff8e9; }
.mnemonic b { font-size: 22px; color: #6a80c5; }
.essay-document { background: #fff; border-color: #e3e9f6; border-radius: 8px; }
.essay-document h3 { font-size: 20px; }
.essay-document p, .essay-draft p, .annotation-comment p { font-size: 12px; }
.annotated-paragraph mark { background: #fff0df; color: #936d45; }
.essay-brief dd { font-size: 12px; }
.essay-outline b { font-size: 12px; }
.writing-paper { background-color: #fff; }
.grade-overview > div:first-child > b { color: #6a80c5; }
.process-detail h3 { font-family: var(--sans); }
.process-explanation p, .itto-route li { font-size: 12px; }
.process-meta, .process-frequency-note { font-size: 11px; }
.matrix-process-name:focus-visible { outline-offset: 1px; }

@media (max-width: 1180px) {
  .header-inner { gap: 22px; width: calc(100% - 48px); }
  .header nav { gap: 16px; font-size: 11px; }
  .brand { font-size: 19px; }
  .header-cta { font-size: 11px; }
  .capability-grid { gap: 48px 24px; }
  .capability-grid .step-button { padding: 9px 6px; gap: 4px; }
  .capability-grid .step-button > span { display: none; }
  .scene-panel { padding: 22px; }
  .past-screen .feature-layout { gap: 50px; }
  .track-row { gap: 18px; grid-template-columns: 30px 1.25fr 1fr .8fr 16px; }
}
@media (max-width: 960px) {
  .header { height: 103px; }
  .header.is-condensed { height: 94px; }
  .header-inner { flex-wrap: wrap; align-content: center; gap: 8px 20px; }
  .header nav { width: 100%; order: 3; overflow-x: auto; gap: 24px; scrollbar-width: none; padding-bottom: 2px; }
  .header nav::-webkit-scrollbar { display: none; }
  .header nav a { padding: 3px 0; font-size: 11px; }
  .header-cta { margin-left: auto; }
  .wrap { width: calc(100% - 48px); }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 66px; }
  .capability-grid .feature-copy { padding-inline: 2px; }
  .feature-copy h2 { font-size: 25px; }
  .capability-grid .section-intro { min-height: 100px; font-size: 12px; }
  .capability-grid .section-intro br { display: none; }
  .demo-mode-label { display: none; }
  .scene-panel { padding: 20px; }
  .scene-panel h3 { font-size: 19px; }
  .panel-heading { gap: 6px; }
  .demo-toolbar > span:last-child { font-size: 8px; }
  .theory-context span { display: block; }
  .answer-line { gap: 6px; padding: 8px 6px; }
  .answer-line-number { font-size: 10px; }
  .answer-line-heading b { font-size: 11px; }
  .answer-line p { font-size: 10px; }
  .grading-legend { gap: 8px; font-size: 9px; }
  .mnemonic { flex-direction: column; gap: 8px; align-items: flex-start; }
  .essay-brief > div { grid-template-columns: 65px 1fr; gap: 7px; }
  .ai-input-route, .version-route { gap: 6px; font-size: 9px; }
  .past-screen .feature-layout { gap: 30px; }
  .past-screen .feature-copy h2 { font-size: 29px; }
  .map-heading h2, .section-heading h2 { font-size: 32px; }
  .map-heading-note { gap: 15px; }
  .map-heading-note p { font-size: 10px; }
  .track-row { grid-template-columns: 23px 1.1fr 1fr 16px; gap: 16px; }
  .track-row > div { display: none; }
  .learning-path { gap: 15px; }
  .learning-path article { padding: 18px; }
  .learning-path h3 { font-size: 18px; }
  .closing-layout { grid-template-columns: 1fr 300px; gap: 40px; }
  .closing-layout h2 { font-size: 36px; }
  .faq-block { gap: 40px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-meta { text-align: left; }
}
@media (max-width: 700px) {
  .capability-grid { grid-template-columns: minmax(0, 1fr); max-width: 540px; gap: 54px; }
  .capability-grid .feature-copy { padding-inline: 8px; }
  .capability-grid .section-intro { min-height: 0; font-size: 13px; }
  .capability-grid .section-intro br { display: initial; }
  .capability-grid .small-note { min-height: 0; }
  .capability-grid .step-button > span { display: inline; }
  .capability-grid .step-button { gap: 5px; padding: 9px 7px; }
  .feature-copy h2 { font-size: 28px; }
  .scene-panel { padding: 25px; }
  .scene-panel h3 { font-size: 21px; }
  .answer-line p { font-size: 11px; }
  .answer-line-heading b { font-size: 12px; }
  .demo-toolbar > span:last-child { font-size: 9px; }
  .past-screen { padding: 70px 0; margin-top: 80px; }
  .past-screen .feature-layout { display: block; max-width: 540px; }
  .past-screen .demo-shell { margin-top: 28px; }
  .map-screen { padding: 75px 0; }
  .map-heading, .section-heading { display: block; margin-bottom: 28px; }
  .map-heading-note { margin-top: 25px; }
  .map-heading-note > b { font-size: 45px; }
  .map-heading-note p { font-size: 12px; }
  .map-heading h2, .section-heading h2 { font-size: 31px; }
  .section-heading > p { margin-top: 20px; }
  .matrix-table { min-width: 880px; }
  .matrix-scroll { max-height: 460px; margin-inline: 10px; }
  .matrix-side, .matrix-corner { width: 90px; }
  .matrix-side { font-size: 12px; }
  .map-topline { padding: 14px; font-size: 11px; }
  .map-topline span:last-child { font-size: 9px; }
  .matrix-legend { padding-inline: 14px; font-size: 9px; gap: 7px; }
  .process-detail { padding: 22px; }
  .process-detail h3 { font-size: 24px; }
  .process-explanation { grid-template-columns: 1fr; gap: 18px; }
  .itto-route { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .itto-route ul { display: flex; flex-wrap: wrap; gap: 7px; }
  .itto-route h4 { margin-bottom: 10px; }
  .itto-route li { font-size: 11px; }
  .map-ai-bridge { align-items: flex-start; flex-direction: column; gap: 7px; font-size: 11px; }
  .map-footer { flex-direction: column; gap: 7px; font-size: 10px; }
  .map-reading-note { font-size: 10px; padding-inline: 14px; }
  .tracks-screen { padding-bottom: 75px; }
  .track-row { grid-template-columns: 23px 1fr 16px; padding: 23px 8px; gap: 10px; }
  .track-row h3 { font-size: 14px; }
  .track-row > p { grid-column: 2; grid-row: 2; }
  .track-arrow { grid-column: 3; grid-row: 1; }
  .method-screen { padding: 70px 0; }
  .learning-path { grid-template-columns: 1fr; gap: 18px; }
  .learning-path article { padding: 24px; }
  .path-visual { height: 100px; }
  .learning-path article > p br { display: none; }
  .learning-path h3 { font-size: 21px; }
  .sync-note { flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .sync-note > div { flex: 1; }
  .sync-note p { font-size: 11px; }
  .sync-note .button { margin: 8px 0 0 38px; }
  .workbench-guide { grid-template-columns: 1fr; gap: 22px; }
  .workbench-guide span { margin-bottom: 7px; }
  .final-screen { padding-top: 75px; }
  .closing-layout { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .closing-layout h2 { font-size: 36px; }
  .closing-brand { justify-content: center; }
  .qr-card { width: min(340px, 100%); margin-inline: auto; }
  .faq-block { grid-template-columns: 1fr; gap: 28px; margin-top: 65px; padding: 65px 0; }
  .faq-heading h2 { font-size: 25px; }
  .footer-inner { gap: 18px; padding-block: 30px 65px; }
  .footer-inner > span { width: 100%; line-height: 2; }
}
@media (max-width: 480px) {
  html { scroll-padding-top: 103px; }
  .wrap, .header-inner { width: calc(100% - 36px); }
  .header { height: 98px; }
  .header.is-condensed { height: 90px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 29px; height: 29px; }
  .header-cta { min-height: 33px; padding: 6px 10px; font-size: 10px; }
  .header nav { gap: 20px; }
  .hero { padding-top: 44px; }
  .release-note { font-size: 10px; padding: 5px 10px; gap: 7px; }
  .hero h1 { font-size: 52px; margin-top: 24px; line-height: 1.28; letter-spacing: -2px; }
  .hero-bottom { margin-top: 22px; margin-bottom: 40px; }
  .intro { font-size: 12px; line-height: 1.95; }
  .hero-conversion { margin-top: 24px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding: 11px 14px; gap: 8px; font-size: 12px; min-height: 45px; }
  .hero-actions .icon { width: 15px; height: 15px; }
  .hero-note { font-size: 9px; }
  .product-preview { padding: 8px 8px 0; border-radius: 14px; }
  .preview-window-bar { height: 26px; padding: 0 9px; font-size: 7px; border-radius: 7px 7px 0 0; }
  .window-dots { gap: 3px; }
  .window-dots i { width: 4px; height: 4px; }
  .preview-window-bar > .icon { width: 10px; height: 10px; }
  .product-frame { border-radius: 0 0 6px 6px; }
  .preview-caption { font-size: 8px; padding: 9px 1px; align-items: center; }
  .preview-caption > span { max-width: 215px; }
  .preview-caption .icon { width: 10px; height: 10px; }
  .hero-benefits { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 35px; padding: 22px 0; font-size: 10px; }
  .capabilities-heading { padding-top: 65px; padding-bottom: 36px; }
  .capabilities-heading h2 { font-size: 30px; letter-spacing: -.8px; }
  .capabilities-heading > p:last-child { font-size: 12px; line-height: 1.9; margin-top: 15px; }
  .capabilities-heading .eyebrow { font-size: 10px; }
  .capability-grid .feature-copy { padding-inline: 3px; }
  .feature-copy h2 { font-size: 25px; }
  .capability-grid .section-intro { font-size: 12px; }
  .capability-grid .section-intro br { display: none; }
  .capability-grid .step-button > span { display: none; }
  .capability-grid .step-button { padding: 10px 7px; }
  .capability-grid .step-button b { font-size: 10px; }
  .small-note { font-size: 10px; }
  .scene-panel { padding: 19px; }
  .scene-panel h3 { font-size: 20px; }
  .demo-toolbar { padding: 12px 14px; font-size: 10px; }
  .demo-toolbar > span:last-child { font-size: 8px; }
  .demo-caption { padding: 10px 14px; gap: 8px; }
  .demo-caption-text { font-size: 9px; }
  .panel-heading small { font-size: 8px; }
  .pill { font-size: 9px; }
  .chapter-row { padding: 14px 10px; gap: 10px; }
  .chapter-row strong { font-size: 12px; }
  .chapter-row small { font-size: 9px; }
  .answer-line { padding: 8px; gap: 8px; }
  .answer-line-heading b { font-size: 11px; }
  .answer-line p { font-size: 10px; }
  .answer-verdict { font-size: 9px; }
  .essay-document p, .essay-draft p, .annotation-comment p { font-size: 11px; }
  .essay-brief dd { font-size: 11px; }
  .grade-overview { gap: 15px; }
  .grade-summary b { font-size: 12px; }
  .grade-summary p { font-size: 10px; }
  .grade-dimensions { gap: 6px; }
  .grade-dimensions span { font-size: 9px; padding: 5px 7px; }
  .process-detail { padding: 18px; }
  .process-detail-heading { gap: 10px; }
  .process-detail-heading > .process-frequency { padding: 4px 8px; font-size: 9px; }
  .process-meta { font-size: 9px; }
  .map-topline { align-items: flex-start; }
  .map-topline span:last-child { max-width: 130px; text-align: right; }
  .matrix-legend { gap: 6px; }
  .process-frequency { padding: 2px 6px; }
  .map-heading h2, .section-heading h2 { font-size: 29px; }
  .closing-layout h2 { font-size: 34px; }
  .closing-layout > div > p:not(.eyebrow) { font-size: 12px; }
  .motion-toggle { bottom: 12px; right: 12px; font-size: 9px; min-height: 32px; padding: 6px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .typed-text { clip-path: none !important; width: auto !important; }
  .writing-caret { display: none; }
}
