:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --white: #fffefa;
  --ink: #1e2230;
  --muted: #565d6a;
  --line: #d7d9dd;
  --blue: #4145b3;
  --deep: #20266d;
  --yellow: #ffdf67;
  --mist: #e9ebfa;
  --text-color: var(--ink);
  --text-light: var(--muted);
  --primary-color: var(--blue);
  --border-color: var(--line);
  --background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-underline-offset: .2em; }
a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--deep); }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 30; padding: 10px 18px; background: var(--yellow); color: var(--deep); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); font-size: 28px; font-weight: 800; letter-spacing: -.065em; line-height: 1; text-decoration: none; }
.wordmark::before { content: ""; width: 38px; height: 38px; flex: none; background: url("/assets/logo.svg") center / contain no-repeat; border-radius: 9px; }
.wordmark span { color: var(--blue); margin-left: -10px; }
.primary-nav { display: flex; gap: 25px; margin-left: auto; font-size: 13px; font-weight: 650; }
.primary-nav a { padding: 12px 0; text-decoration: none; }
.primary-nav a:hover, .locale-nav a:hover { color: var(--blue); text-decoration: underline; }
.locale-nav > ul { display: flex; align-items: center; gap: 13px; list-style: none; padding: 0; font-size: 12px; }
.language-shortcuts { display: flex; gap: 12px; }
.language-shortcuts a { display: inline-flex; align-items: center; min-height: 42px; text-decoration: none; }
.language-shortcuts a[aria-current="page"] { color: var(--deep); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; }
.dropdown { position: relative; list-style: none; }
.dropdown-toggle { display: flex; align-items: center; gap: 6px; min-height: 42px; list-style: none; cursor: pointer; }
.dropdown-toggle::-webkit-details-marker { display: none; }
.dropdown-toggle::after { content: "+"; font-size: 18px; font-weight: 600; }
.dropdown details[open] .dropdown-toggle::after { content: "-"; }
.dropdown-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 20; width: 196px; padding: 8px; margin: 0; list-style: none; background: var(--white); border: 1px solid var(--deep); border-radius: 12px; box-shadow: 8px 8px 0 var(--yellow); }
.dropdown-menu a { display: block; padding: 9px 11px; border-radius: 7px; text-decoration: none; }
.dropdown-menu a:hover { background: var(--mist); }

h1 { font-size: clamp(58px, 6vw, 92px); line-height: .98; letter-spacing: -.07em; font-weight: 850; overflow-wrap: break-word; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.07; letter-spacing: -.055em; overflow-wrap: break-word; }
h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.opening { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding: 84px 0 95px; }
.opening::before { content: ""; position: absolute; width: 800px; height: 800px; right: -320px; top: -360px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 110px rgba(255,255,255,.035), 0 0 0 250px rgba(255,255,255,.025); pointer-events: none; }
.opening-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 65px; align-items: center; }
.opening-copy { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.opening h1 { margin: 27px 0 28px; }
.opening h1 span { color: var(--yellow); }
.opening-intro { max-width: 520px; color: #e1e3ff; font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 34px; }
.action-link { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 23px; border-radius: 11px; background: var(--yellow); color: var(--deep); font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 5px 0 #171b5b; transition: transform .25s, box-shadow .25s; }
.action-link:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #171b5b; }
.quiet-link { color: var(--white); font-size: 14px; font-weight: 700; text-decoration-thickness: 2px; }
.quiet-link:hover { color: var(--yellow); }
.platform-note { margin-top: 19px; color: #e1e3ff; font-size: 11px; }
.supported-languages { margin-top: 24px; color: #f0f0ff; font-size: 1rem; line-height: 1.5; }
.supported-languages p { margin-bottom: 8px; font-weight: 700; }
.supported-languages ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; }
.supported-languages li { white-space: nowrap; }
.opening-copy > * { animation: enter-up .7s both; }
.opening-copy > :nth-child(2) { animation-delay: .08s; }
.opening-copy > :nth-child(3) { animation-delay: .16s; }
.opening-copy > :nth-child(4) { animation-delay: .24s; }
.opening-copy > :nth-child(5) { animation-delay: .32s; }

.capture-scene { min-width: 0; animation: enter-up .9s .2s both; }
.scene-window { overflow: hidden; border: 3px solid var(--deep); border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 20px 22px 0 var(--yellow); }
.scene-top { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 0 18px; border-bottom: 1px solid #dfe1e8; font-size: 10px; font-weight: 750; }
.scene-top > span:last-child { margin-left: auto; color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: -.05em; }
.scene-lens { width: 12px; height: 12px; border: 3px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 3px var(--mist); }
.scene-body { display: grid; grid-template-columns: 1fr .83fr; gap: 15px; padding: 18px; }
.source-photo { position: relative; display: grid; place-items: center; min-width: 0; min-height: 315px; padding: 24px; border-radius: 12px; background: #b2b5ca; }
.source-photo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg,rgba(32,38,109,.16),transparent 55%,rgba(32,38,109,.16)); pointer-events: none; }
.focus-corner { position: absolute; width: 25px; height: 25px; border: solid var(--yellow); z-index: 2; }
.focus-corner:nth-child(1) { top: 12px; left: 12px; border-width: 3px 0 0 3px; }
.focus-corner:nth-child(2) { top: 12px; right: 12px; border-width: 3px 3px 0 0; }
.focus-corner:nth-child(3) { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; }
.focus-corner:nth-child(4) { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; }
.photo-sheet { position: relative; width: 100%; max-width: 260px; min-height: 245px; padding: 27px 18px; overflow: hidden; background: #fffdfa; box-shadow: 8px 12px 20px rgba(20,23,64,.16); transform: rotate(-3deg); font-family: Georgia, "Times New Roman", serif; }
.photo-sheet .photo-label { padding-bottom: 10px; border-bottom: 1px solid #d5d0c5; font: 700 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .12em; }
.photo-sheet .photo-heading { margin: 24px 0 22px; font-size: 23px; line-height: 1.1; }
.photo-sheet p:not(.photo-label):not(.photo-heading) { margin-top: 13px; font-size: 12px; white-space: nowrap; }
mark { background: var(--yellow); color: var(--deep); padding: 2px 3px; }
.scan-beam { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--blue); box-shadow: 0 0 0 7px rgba(65,69,179,.08), 0 0 18px var(--blue); animation: scan-text 5.5s ease-in-out infinite; }
.result-tray { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 10px; }
.result-heading { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.word-token { padding: 16px 13px; border: 1px solid #d5d7e5; border-radius: 11px; background: var(--mist); animation: token-appear .65s .55s both; }
.word-token:nth-child(3) { background: #fff0ac; border-color: #f4cf5c; animation-delay: .8s; }
.word-token strong { display: block; font-size: 20px; line-height: 1.15; }
.word-token span { display: block; margin-top: 5px; color: #3c4157; font-size: 10px; overflow-wrap: anywhere; }
.capture-scene figcaption { margin-top: 15px; color: #dfe0ff; font-size: 10px; line-height: 1.5; }

.capture-section { padding: 105px 0; background: var(--paper); }
.capture-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12%; align-items: start; }
.capture-intro { max-width: 490px; }
.capture-intro h2 { color: var(--deep); }
.capture-intro p { margin-top: 24px; color: var(--muted); font-size: 16px; }
.capture-steps { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.capture-steps li { display: grid; grid-template-columns: minmax(140px,.75fr) 1fr; gap: 24px; align-items: baseline; padding: 24px 10px; border-bottom: 1px solid var(--line); transition: background .25s, padding-left .25s; }
.capture-steps li:hover { padding-left: 20px; background: #fff6d5; }
.capture-steps h3 { color: var(--deep); font-size: 18px; }
.capture-steps p { color: var(--muted); font-size: 14px; }

.learning-section { padding: 105px 0; background: #e8ebfc; }
.learning-grid { display: grid; grid-template-columns: 1fr minmax(330px, .86fr); gap: 10%; align-items: center; }
.learning-copy h2 { max-width: 600px; margin-bottom: 42px; color: var(--deep); }
.learning-row { padding: 18px 0; border-top: 1px solid #c4c8e0; }
.learning-row:last-child { border-bottom: 1px solid #c4c8e0; }
.learning-row h3 { margin-bottom: 6px; font-size: 18px; }
.learning-row p { max-width: 510px; color: var(--muted); font-size: 13px; }
.practice-board { width: 100%; max-width: 460px; margin-inline: auto; padding: 26px 28px 23px; border: 2px solid var(--deep); border-radius: 18px; background: var(--white); box-shadow: 13px 13px 0 var(--blue); transition: transform .3s, box-shadow .3s; }
.practice-board:hover { transform: translateY(-4px); box-shadow: 13px 17px 0 var(--blue); }
.card-label { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 750; }
.recall-card summary { list-style: none; cursor: pointer; }
.recall-card summary::-webkit-details-marker { display: none; }
.recall-word { display: block; padding: 30px 0 24px; color: var(--deep); font-size: clamp(94px, 10vw, 130px); font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.recall-prompt { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 17px; border-radius: 9px; background: var(--yellow); color: var(--deep); font-size: 13px; font-weight: 800; }
.card-plus { font-size: 25px; line-height: 1; transition: transform .3s; }
.recall-card[open] .card-plus { transform: rotate(45deg); }
.recall-answer { padding: 19px 2px 1px; animation: answer-open .3s both; }
.recall-answer strong { font-size: 22px; }
.recall-answer p { margin-top: 10px; font-size: 14px; }
.recall-answer p:nth-of-type(1) { padding-block: 10px; border-block: 1px solid var(--line); font-weight: 700; }
.recall-answer p:last-child { color: var(--muted); }
.card-caption { margin-top: 19px; color: var(--muted); font-size: 11px; }

.collection-section { padding: 105px 0; background: var(--deep); color: var(--white); }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11%; align-items: start; }
.collection-copy h2 { max-width: 530px; }
.collection-copy > p { max-width: 430px; margin-top: 24px; color: #d6d9f6; font-size: 15px; }
.level-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 32px; }
.level-line span { min-width: 42px; padding: 8px 12px; border: 1px solid #777cba; border-radius: 7px; text-align: center; font-size: 12px; font-weight: 700; }
.level-line span:first-child { background: var(--yellow); border-color: var(--yellow); color: var(--deep); }
.collection-list { padding: 0; list-style: none; }
.collection-list li { padding: 20px 0; border-top: 1px solid #6369a2; }
.collection-list li:last-child { border-bottom: 1px solid #6369a2; }
.collection-list h3 { margin-bottom: 6px; font-size: 18px; }
.collection-list p { color: #c8cbea; font-size: 13px; }

.reading-section { padding: 110px 0 60px; }
.reading-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.reading-heading h2 { color: var(--deep); }
.reading-heading p { max-width: 470px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.reading-list { border-top: 1px solid var(--line); }
.reading-item { padding: 22px 10px; border-bottom: 1px solid var(--line); transition: background .25s, padding-left .25s; }
.reading-item:hover { padding-left: 20px; background: #fff6d5; }
.reading-item h3 { margin-bottom: 7px; font-size: 21px; }
.reading-item h3 a { text-decoration: none; }
.reading-item h3 a:hover { color: var(--blue); text-decoration: underline; }
.reading-item p { color: var(--muted); font-size: 13px; }
.questions-section { padding: 70px 0 110px; }
.questions-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.questions-grid h2 { color: var(--deep); }
.questions-list details { border-top: 1px solid var(--line); }
.questions-list details:last-child { border-bottom: 1px solid var(--line); }
.questions-list summary { padding: 20px 30px 20px 0; cursor: pointer; font-size: 16px; font-weight: 700; }
.questions-list summary::marker { color: var(--blue); }
.questions-list p { padding: 0 18px 22px 0; color: var(--muted); font-size: 14px; animation: answer-open .3s both; }

.launch-section { padding: 70px 0; background: var(--yellow); }
.launch-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 52px; border: 3px solid var(--deep); border-radius: 24px; background: #ffe992; box-shadow: 14px 14px 0 var(--deep); }
.launch-inner h2 { max-width: 620px; color: var(--deep); }
.launch-inner > div:first-child p { max-width: 430px; margin-top: 15px; color: #4a4860; font-size: 15px; }
.download-buttons, .cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.launch-inner .download-buttons { flex-direction: column; align-items: flex-start; }
.download-btn { display: inline-flex; align-items: center; justify-content: center; }
.download-btn img { display: block; width: auto; height: 52px; }

.site-footer, footer { padding: 52px 0 30px; background: #171b54; color: var(--white); }
.site-footer .wordmark { color: var(--white); }
.site-footer .wordmark span { color: var(--yellow); }
.footer-top { display: flex; align-items: center; gap: 35px; padding-bottom: 34px; }
.footer-top > p { max-width: 310px; color: #c9cbe5; font-size: 12px; }
.footer-top > a:last-child { margin-left: auto; font-size: 13px; text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; gap: 25px; padding-top: 23px; border-top: 1px solid #62669a; color: #c9cbe5; font-size: 11px; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; list-style: none; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--yellow); text-decoration: underline; }
.legal-language-note { margin-top: 20px; color: #c9cbe5; font-size: 10px; }

.guide-content, .article-content, .legal-content { max-width: 780px; margin-inline: auto; padding-block: 70px; }
.guide-content h1, .legal-content h1 { margin-bottom: 34px; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -.055em; }
.guide-content h2, .article-content h2, .legal-content h2 { margin: 44px 0 18px; font-size: 28px; line-height: 1.2; letter-spacing: -.03em; }
.guide-content h3, .article-content h3, .legal-content h3 { margin: 26px 0 11px; }
.guide-content p, .article-content p, .legal-content p { margin-bottom: 20px; }
.guide-content ul, .guide-content ol, .article-content ul, .article-content ol, .legal-content ul, .legal-content ol { padding-left: 24px; margin-block: 20px; }
.guide-content li, .article-content li, .legal-content li { margin-block: 8px; }
.guide-content a, .article-content a, .legal-content a { color: var(--blue); }
.guide-page .site-footer { margin-top: 0; }
.guide-actions { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; margin-block: 30px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 1rem; }
.guide-content table { min-width: 700px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); color: var(--deep); font-weight: 750; }
.info-block { margin-block: 24px; padding-left: 20px; border-left: 2px solid var(--yellow); }
.document-language { padding-top: 24px; text-align: right; font-size: 11px; }
.legal-content { overflow-wrap: anywhere; hyphens: auto; }
.back-link { display: inline-block; margin-top: 30px; }

@keyframes enter-up { from { transform: translateY(16px); } to { transform: translateY(0); } }
@keyframes scan-text { 0%, 12% { transform: translateY(0); opacity: 0; } 22%, 72% { opacity: 1; } 82%, 100% { transform: translateY(170px); opacity: 0; } }
@keyframes token-appear { from { transform: translateY(10px); } to { transform: translateY(0); } }
@keyframes answer-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .opening-grid { gap: 38px; }
  .scene-body { gap: 9px; padding: 12px; }
  .source-photo { padding: 18px; }
  .photo-sheet { padding-inline: 13px; }
  .photo-sheet p:not(.photo-label):not(.photo-heading) { font-size: 10px; }
}
@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; min-height: 86px; gap: 0 15px; }
  .primary-nav { margin-left: auto; }
  .locale-nav { width: 100%; border-top: 1px solid var(--line); }
  .locale-nav > ul { justify-content: flex-end; }
  .opening { padding: 62px 0 74px; }
  .opening-grid { grid-template-columns: 1fr; gap: 48px; }
  .opening h1 { font-size: clamp(55px, 10vw, 82px); }
  .opening-intro { max-width: 620px; }
  .capture-scene { width: min(100%, 600px); }
  .scene-body { grid-template-columns: 1.15fr .85fr; gap: 16px; padding: 16px; }
  .capture-layout, .learning-grid, .collection-grid, .reading-layout, .questions-grid { grid-template-columns: 1fr; gap: 38px; }
  .capture-section, .learning-section, .collection-section { padding: 75px 0; }
  .practice-board { margin-left: 0; }
  .reading-section { padding: 75px 0 30px; }
  .questions-section { padding: 50px 0 80px; }
  .launch-inner { grid-template-columns: 1fr; }
  .launch-inner .download-buttons { flex-direction: row; justify-content: flex-start; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; }
  .wordmark { font-size: 26px; }
  .wordmark::before { width: 32px; height: 32px; }
  .primary-nav { gap: 14px; font-size: 11px; }
  .locale-nav > ul { gap: 13px; font-size: 11px; }
  .opening { padding: 45px 0 62px; }
  .opening h1 { font-size: clamp(44px, 11vw, 58px); }
  .opening-intro { font-size: 15px; }
  .hero-actions { gap: 16px; }
  .action-link { font-size: 12px; }
  .quiet-link { font-size: 12px; }
  .scene-window { box-shadow: 9px 11px 0 var(--yellow); }
  .scene-top { min-height: 37px; padding-inline: 12px; font-size: 9px; }
  .scene-body { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .source-photo { min-height: 195px; padding: 17px; }
  .photo-sheet { min-height: 165px; padding: 14px 16px; transform: rotate(-2deg); }
  .photo-sheet .photo-heading { margin: 12px 0; font-size: 19px; }
  .photo-sheet p:not(.photo-label):not(.photo-heading) { margin-top: 6px; font-size: 10px; }
  .scan-beam { top: 30px; animation-name: scan-text-small; }
  .result-tray { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .result-heading { grid-column: 1 / -1; margin: 0; font-size: 9px; }
  .word-token { padding: 10px; }
  .word-token strong { font-size: 15px; }
  .word-token span { font-size: 9px; }
  .capture-scene figcaption { font-size: 9px; }
  h2 { font-size: clamp(34px, 9vw, 45px); }
  .capture-section, .learning-section, .collection-section { padding: 60px 0; }
  .capture-intro p { font-size: 14px; }
  .capture-steps li { grid-template-columns: 1fr; gap: 6px; padding: 18px 6px; }
  .learning-copy h2 { margin-bottom: 28px; }
  .practice-board { padding: 19px; box-shadow: 8px 8px 0 var(--blue); }
  .recall-word { font-size: 94px; }
  .collection-list li { padding: 17px 0; }
  .reading-section { padding-top: 65px; }
  .reading-item { padding: 19px 6px; }
  .questions-section { padding: 35px 0 70px; }
  .launch-section { padding: 50px 0 65px; }
  .launch-inner { padding: 25px; gap: 24px; border-radius: 16px; box-shadow: 8px 8px 0 var(--deep); }
  .launch-inner .download-buttons { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-wrap: wrap; gap: 15px; }
  .footer-top > p { width: 100%; }
  .footer-top > a:last-child { margin-left: 0; }
  .footer-base { flex-wrap: wrap; }
  .guide-content, .article-content, .legal-content { padding-block: 45px; }
  .guide-content h1 { font-size: 38px; }
  .legal-content h1 { font-size: clamp(28px, 8vw, 32px); }
  .guide-content h2, .article-content h2, .legal-content h2 { margin-top: 34px; font-size: 24px; }
  .guide-content p, .legal-content p { font-size: 15px; }
  th, td { padding: 10px; min-width: 110px; font-size: 12px; }
}
@keyframes scan-text-small { 0%, 12% { transform: translateY(0); opacity: 0; } 22%, 72% { opacity: 1; } 82%, 100% { transform: translateY(115px); opacity: 0; } }
/* Real app media: the photo-to-set film and the screen gallery. */
.demo-section { padding: 96px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.demo-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.demo-copy h2, .screens-head h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.05em; color: var(--deep); }
.demo-copy p, .screens-head p { margin-top: 20px; max-width: 46ch; color: var(--muted); font-size: 18px; }
.demo-media { margin: 0; border-radius: 22px; overflow: hidden; background: var(--deep); box-shadow: 14px 14px 0 var(--yellow); }
.demo-media video { display: block; width: 100%; height: auto; }
.demo-media-phone { justify-self: center; width: min(100%, 340px); border: 10px solid var(--ink); border-radius: 40px; box-shadow: 14px 14px 0 var(--yellow); }
.screens-section { padding: 100px 0 90px; background: var(--paper); overflow: hidden; }
.screens-head { max-width: 760px; margin-bottom: 44px; }
.screens-strip { list-style: none; padding: 0 0 18px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 22vw, 280px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.screens-strip li { scroll-snap-align: start; }
.screens-strip img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(32, 38, 109, .16); }
@media (max-width: 800px) {
  .demo-section, .screens-section { padding: 70px 0; }
  .demo-grid { grid-template-columns: 1fr; gap: 36px; }
  .demo-media { box-shadow: 8px 8px 0 var(--yellow); }
  .screens-strip { grid-auto-columns: 62vw; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
