:root {
  color-scheme: light;
  --ink: #131724;
  --muted: #505970;
  --line: #e4e8f1;
  --blue: #294cc2;
  --deep-blue: #2443ac;
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", system-ui, sans-serif;
  --display: "SF Pro Display", var(--font);
  --scroll: 0;
  --lift: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 var(--font); }

/* Each chapter ends on the next chapter's starting color. */
main {
  --wash-opening: #f3f3ff;
  --wash-research: #eef4ff;
  --wash-excerpts: #eef2fc;
  --wash-annotation: #f2effd;
  --wash-present: #f6effb;
  --wash-answer: #f0effc;
  --wash-review: #f1f3fd;
  --wash-reading: #ecf6fa;
  --wash-create: #eff7f3;
  --wash-sign: #f9f4ed;
  --wash-tools: #f8f2f6;
  --wash-catalog: #f1f2fc;
  --wash-close: #eff2fd;
}
main > :is(section, #workspace) {
  background: linear-gradient(
    to bottom,
    var(--wash-start, #fff),
    var(--wash-center) 46%,
    var(--wash-center) 54%,
    var(--wash-end, #fff)
  );
}
#annotate { --wash-center: #f9f8ff; --wash-end: var(--wash-opening); }
#workspace { --wash-start: var(--wash-opening); --wash-center: #edf2ff; --wash-end: var(--wash-research); }
#mind-map { --wash-start: var(--wash-research); --wash-center: #eaf4ff; --wash-end: var(--wash-excerpts); }
#annotation-demo { --wash-start: var(--wash-excerpts); --wash-center: #f1f0ff; --wash-end: var(--wash-annotation); }
#presentation { --wash-start: var(--wash-annotation); --wash-center: #f5eefc; --wash-end: var(--wash-present); }
#ask { --wash-start: var(--wash-present); --wash-center: #f0edfd; --wash-end: var(--wash-answer); }
#editing { --wash-start: var(--wash-answer); --wash-center: #f5f1fc; --wash-end: var(--wash-review); }
#quick-translation { --wash-start: var(--wash-review); --wash-center: #edf6ff; --wash-end: var(--wash-reading); }
#create { --wash-start: var(--wash-reading); --wash-center: #eaf7f4; --wash-end: var(--wash-create); }
#autofill { --wash-start: var(--wash-create); --wash-center: #f3f7ee; --wash-end: var(--wash-sign); }
#signature { --wash-start: var(--wash-sign); --wash-center: #fff1e8; --wash-end: var(--wash-tools); }
#more { --wash-start: var(--wash-tools); --wash-center: #f4f1fb; --wash-end: var(--wash-catalog); }
#features { --wash-start: var(--wash-catalog); --wash-center: #edf3ff; --wash-end: var(--wash-close); }
.closing { --wash-start: var(--wash-close); --wash-center: #f7f3fd; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #365dcc; outline-offset: 4px; }
h1,h2,h3,p,dl,dd,ul { margin: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 680; letter-spacing: -.045em; text-wrap: balance; }
h1,h2,h3,p,dd { overflow-wrap: anywhere; }
html:lang(ko) :is(h1,h2,h3,p,dd) { word-break: keep-all; }
.shell { width: min(calc(100% - clamp(36px, 9vw, 150px)), 1250px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip { position: fixed; z-index: 9; left: 12px; top: 9px; transform: translateY(-140%); background: #fff; padding: 8px 16px; }
.skip:focus { transform: none; }
.masthead { position: sticky; top: 0; z-index: 5; background: #ffffffdd; backdrop-filter: blur(18px) saturate(135%); border-bottom: 1px solid #e4e8ef; }
.masthead-shell { display: flex; gap: clamp(14px, 2.8vw, 42px); align-items: center; justify-content: space-between; min-height: 65px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 745; white-space: nowrap; letter-spacing: -.023em; }
.brand img { flex-shrink: 0; }
.nav, .actions { display: flex; align-items: center; }
.nav { gap: clamp(8px, 1.55vw, 26px); justify-content: center; }
.nav a { font-size: 13px; font-weight: 655; color: var(--muted); text-align: center; line-height: 1.3; padding-block: 9px; }
.nav a:hover, .nav [aria-current] { color: var(--deep-blue); }
.actions { gap: 8px; flex-shrink: 0; }
.actions select, .motion { height: 34px; border-radius: 9px; border: 1px solid #d8dfec; background: #fff; }
.actions select { max-width: 112px; padding-inline: 8px; font-size: 12px; font-weight: 650; }
.motion { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; color: var(--ink); font-size: 12px; font-weight: 650; white-space: nowrap; }
.motion svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
.motion-play, .motion[aria-pressed=true] .motion-pause { display: none; }
.motion[aria-pressed=true] .motion-play { display: block; }
.motion[aria-pressed=true] { background: #e9efff; color: var(--deep-blue); border-color: #9bb1e5; }
.scroll-meter { position: absolute; width: 100%; height: 2px; top: 100%; background: linear-gradient(90deg, #1d53cf, #8188ea, #4d92d1); transform: scaleX(var(--scroll)); transform-origin: left; }

.premiere { overflow: clip; padding-block: clamp(56px, 7vw, 108px) clamp(53px, 7vw, 107px); }
.lead { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .60fr); align-items: end; column-gap: 38px; margin-bottom: clamp(25px, 5vw, 65px); }
.eyebrow { color: var(--deep-blue); font-size: 13px; font-weight: 750; line-height: 1.35; letter-spacing: .005em; margin-bottom: 13px; }
.lead h1 { font-size: clamp(58px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.062em; }
.lead h1 span, .lead h1 em { display: block; }
.lead h1 em { font-style: normal; color: var(--blue); }
.lead-aside { padding-bottom: 4px; color: var(--muted); }
.lead-aside > p:first-child { font-size: clamp(17px, 1.65vw, 25px); line-height: 1.52; margin-bottom: 18px; }
.media-language { font-size: 12px; margin-top: 10px; }
.jump { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 40px; padding: 7px 14px; border-radius: 8px; border: 1px solid #adbee7; color: var(--deep-blue); background: #fff; font-size: 13px; font-weight: 720; transition: background-color .2s ease, border-color .2s ease; }
.jump:hover { background: #edf3ff; border-color: #647cd0; }
.jump span { font-size: 16px; }
.premiere-media {
  --light-x: 50%;
  position: relative;
  border-radius: clamp(20px, 3vw, 46px);
  padding: clamp(16px, 3.6vw, 49px) clamp(16px, 4.2vw, 60px) clamp(21px, 4vw, 50px);
  background: radial-gradient(ellipse at var(--light-x) -30%, #9dd0fb 0%, transparent 64%), linear-gradient(147deg, #e8f0fd 0, #f4f5fe 53%, #e8eeff 100%);
  border: 1px solid #dbe5f6;
}
.premiere-film { width: min(100%, 1100px); margin-inline: auto; transform: translate3d(0,var(--lift),0); }
.premiere-caption { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 16px 36px; max-width: 1100px; margin: clamp(23px, 4vw, 51px) auto 0; }
.premiere-caption h2 { font-size: clamp(32px, 4.25vw, 62px); line-height: 1.07; }
.premiere-caption p:not(.eyebrow) { color: #34425c; max-width: 42ch; font-size: clamp(15px, 1.35vw, 19px); }
.method { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; margin-top: 18px; }
.method li { padding: 4px 9px; color: #253e88; border: 1px solid #c9d5ee; background: #ffffff87; border-radius: 5px; font-size: 12px; line-height: 1.45; font-weight: 650; }
.film-frame {
  --ratio: 1.576;
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 100%; min-width: 0; overflow: clip; aspect-ratio: var(--ratio);
  border: 1px solid #cdd7e7; border-radius: clamp(10px, 1.55vw, 22px); background: #f0f4fb;
  box-shadow: 0 27px 55px #192b6122, 0 2px 7px #1d2e6319;
}
.film-frame video { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; background: #eef1f6; }
/* A single fixed crop retains the active translation control and both lookup cards. */
.film-frame video[data-film=quick-translate] { transform: scale(1.9); transform-origin: 60% 0; }
.film-frame:has(video[data-film=create]) { --ratio: 1.19; }
.chapter { padding-block: clamp(73px, 9vw, 145px); }
.chapter-shell { display: grid; grid-template-columns: minmax(0,.77fr) minmax(0,1.7fr); align-items: center; gap: clamp(23px,5vw,80px); }
.chapter-copy h2, .section-heading h2, .catalog h2, .closing h2 { font-size: clamp(41px, 5.05vw, 76px); line-height: 1.06; }
.chapter-copy > p:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.56; }
.chapter-copy .method { margin-top: 15px; }
.source-credit { display: block; margin-top: 18px; color: #6d7990; font-size: 12px; line-height: 1.55; }
.source-credit a { color: #425e9b; text-underline-offset: 2px; }
.wide .chapter-shell { display: block; }
.wide .chapter-copy { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(240px,.65fr); column-gap: 42px; align-items: end; margin-bottom: clamp(20px, 4.5vw, 60px); }
.wide .eyebrow { grid-column: 1 / -1; }
.wide .method { grid-column: 2; }
.wide .chapter-copy > p:not(.eyebrow) { max-width: 34ch; }
.wide .film-frame { width: min(100%, 1110px); margin-inline: auto; }
.offset .chapter-shell { grid-template-columns: minmax(0,1.55fr) minmax(0,.87fr); }
.offset .chapter-copy { grid-column: 2; grid-row: 1; }
.offset .film-frame { grid-column: 1; grid-row: 1; }
.map-chapter .chapter-shell { grid-template-columns: minmax(0,.68fr) minmax(0,1.65fr); }
.map-chapter .chapter-copy h2 { font-size: clamp(42px, 4vw, 64px); }
#map-design { padding-top: clamp(40px, 5vw, 81px); }
.signature .film-frame { border-color: #e3ded8; }
.vault-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 17px 18px; border: 1px solid #dce6f7; border-radius: 16px; background: rgba(247,250,255,.92); }
.vault-note .vault-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 11px; background: #e8f0ff; color: #3165be; }
.vault-note svg { width: 21px; height: 21px; }
.vault-note div { display: flex; flex-direction: column; gap: 5px; }
.vault-note b { font-size: 14px; color: #273f71; line-height: 1.4; }
.vault-note span:not(.vault-icon) { font-size: 13px; line-height: 1.55; color: #465771; }

.extras { padding-block: clamp(71px, 9.5vw, 143px); }
.section-heading { margin-bottom: clamp(25px,4.3vw,58px); }
.deck { display: grid; grid-template-columns: minmax(170px, .42fr) minmax(0,1.55fr); align-items: start; gap: clamp(14px,4.5vw,65px); }
.deck-tabs { display: grid; border-top: 1px solid #d8e0ef; }
.deck-tabs button {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  text-align: left; min-height: 44px; padding: 8px 10px; border: 0; border-bottom: 1px solid #d8e0ef;
  background: transparent; color: #35425d; font-size: 14px; font-weight: 675; line-height: 1.25;
}
.deck-tabs button span { color: #6a7c9c; font-size: 13px; }
.deck-tabs button:hover { background: #e9effe90; }
.deck-tabs button[aria-selected=true] { color: var(--deep-blue); background: #e2ebff; box-shadow: inset 3px 0 #4165d1; }
.deck-panel > p { margin-top: 14px; color: var(--muted); font-size: 15px; }

.catalog { padding-block: clamp(70px, 9.4vw, 135px); }
.catalog h2 { margin-bottom: clamp(24px, 3.9vw, 54px); }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(11px, 2.4vw, 34px); }
.catalog-group { padding: clamp(15px, 2.3vw, 33px); border-radius: 14px; border: 1px solid var(--line); border-top: 3px solid #94b0ea; background: linear-gradient(180deg,#f6f8fe,#fff 44%); }
.catalog-group:nth-child(2) { border-top-color: #9bc8cc; }
.catalog-group:nth-child(3) { border-top-color: #9fa7df; }
.catalog-group h3 { font-size: clamp(19px,2.1vw,29px); color: #25385f; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.catalog-group dt { font-size: 15px; font-weight: 725; }
.catalog-group dd { color: var(--muted); font-size: 14px; margin-bottom: 17px; line-height: 1.57; }
.catalog-group dd:last-child { margin-bottom: 0; }
.closing { padding-block: clamp(58px,9vw,101px); text-align: center; }
.closing img { margin: 0 auto 17px; }
.closing .jump { margin-top: 26px; }
.footer { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 21px; color: var(--muted); }
.footer .brand { color: var(--ink); font-size: 13px; }
.footer p { font-size: 12px; }
.footer p a { color: var(--deep-blue); text-decoration: underline; text-underline-offset: 3px; }

html[data-motion=live] [data-reveal] {
  opacity: .58;
  transform: translate3d(0,22px,0);
  transition: opacity .64s cubic-bezier(.2,.65,.28,1),transform .76s cubic-bezier(.18,.7,.23,1);
}
html[data-motion=live] [data-reveal].entered,
html[data-motion=live] [data-reveal]:focus-within { transform: none; opacity: 1; }
html[data-motion=live] .chapter-copy + .film-frame.entered { transition-delay: 85ms; }
@media (min-width: 761px) {
  html[data-motion=live] .chapter .film-frame { translate: 0 var(--stage-drift, 0px); }
}
html[data-motion=live] .deck-panel.panel-enter { animation: panel-enter .37s cubic-bezier(.18,.7,.23,1) both; }
@keyframes panel-enter { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: none; } }
html[data-motion=still] { scroll-behavior: auto; }
html[data-motion=still] .premiere-film { transform: none; }

@media (min-width: 1001px) and (max-width: 1120px) {
  .masthead-shell { gap: 12px; }
  .nav { gap: 9px; }
}

@media (max-width: 1000px) {
  .masthead-shell { min-height: 59px; }
  .nav { display: none; }
  .lead { grid-template-columns: minmax(0,1fr) minmax(180px,.56fr); column-gap: 18px; }
  .lead h1 { font-size: clamp(48px, 7.7vw, 81px); }
  .chapter-shell { gap: 25px; }
  .chapter-copy h2 { font-size: clamp(36px,4.7vw,60px); }
  .catalog-group { padding-inline: 14px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .lead { display: block; }
  .lead h1 { font-size: clamp(41px, 10.4vw, 69px); }
  .lead-aside { margin-top: 17px; max-width: 52ch; }
  .lead-aside > p:first-child { font-size: 17px; margin-bottom: 12px; }
  .chapter .chapter-shell { display: grid; grid-template-columns: minmax(0,1fr); gap: 23px; }
  .chapter .chapter-copy, .chapter .film-frame { grid-column: auto; grid-row: auto; }
  .chapter .chapter-copy { display: block; margin-bottom: 0; }
  .chapter-copy h2,.catalog h2,.section-heading h2,.closing h2 { font-size: clamp(34px, 8vw, 54px); }
  .map-chapter .chapter-copy h2 { font-size: clamp(34px, 8vw, 54px); }
  .chapter { padding-block: 59px; }
  .chapter-copy > p:not(.eyebrow) { max-width: 55ch; font-size: 15px; margin-top: 11px; }
  .deck { display: flex; flex-direction: column; }
  .deck-tabs { display: flex; flex-wrap: wrap; border: 0; gap: 5px; }
  .deck-tabs button { min-height: 35px; border: 1px solid #d5dff0; border-radius: 6px; gap: 6px; padding: 5px 8px; font-size: 12px; }
  .deck-tabs button[aria-selected=true] { box-shadow: none; border-color: #9aaff0; }
  .deck-stage { width: 100%; }
}
@media (max-width: 580px) {
  .premiere { padding-block: 40px 42px; }
  .premiere-caption { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .premiere-caption h2 { font-size: clamp(28px, 7.7vw, 43px); }
  .premiere-caption .eyebrow { margin-bottom: 6px; }
  .method { margin-top: 10px; }
  .method li { font-size: 11px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-group { padding: 16px 19px; }
  .catalog-group dd { margin-bottom: 10px; }
  .brand { font-size: 13px; }
}
@media (max-width: 430px) {
  .motion { width: 35px; padding: 0; }
  .motion-label { display: none; }
}
@media (max-width: 650px) {
  .film-frame:has(video[data-film=annotation]) { --ratio: 1.16; }
  .film-frame:has(video[data-film=create]) { --ratio: .99; }

  .film-frame:has(video[data-film=sign]) { --ratio: 1.16; }
  .film-frame:has(video[data-film=autofill]) { --ratio: 1.11; }
  .film-frame:has(video[data-film=ask]) { --ratio: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
.film-frame:has(video[data-film=annotation]) { --ratio: 1280 / 840; }
.film-frame:has(video[data-film=create]) { --ratio: 1030 / 868; }
.film-frame:has(video[data-film=split]) { --ratio: 1280 / 768; }
.film-frame:has(video[data-film=present]) { --ratio: 986 / 888; }
.deck-panel:has(video[data-film=present]) .film-frame { max-width: 740px; }
@media (max-width: 650px) {
  .film-frame:has(video[data-film=annotation]) { --ratio: 1.16; }
  .film-frame:has(video[data-film=create]) { --ratio: .98; }
  .film-frame:has(video[data-film=proof]) { --ratio: 1.76; }
  .film-frame:has(video[data-film=split]) { --ratio: 1.77; }
  .film-frame:has(video[data-film=translate]) { --ratio: 1.74; }
  .film-frame:has(video[data-film=present]) { --ratio: 1.02; }
  .film-frame:has(video[data-film=pages]) { --ratio: 2; }
  .film-frame:has(:is(video[data-film=ocr],video[data-film=convert],video[data-film=password])) { --ratio: 1; }
}
@media (min-width: 761px) {
  .map-chapter .chapter-shell { display: block; }
  .map-chapter .chapter-copy {
    display: grid;
    grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr);
    align-items: end;
    column-gap: clamp(26px,5vw,68px);
    margin-bottom: clamp(23px,4.5vw,56px);
  }
  .map-chapter .eyebrow { grid-column: 1 / -1; }
  .map-chapter .method { grid-column: 2; }
}

.premiere { padding-top: clamp(51px, 7vw, 106px); }
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .42fr);
  align-items: start;
  gap: clamp(20px, 6vw, 90px);
  margin-inline: auto;
  margin-bottom: clamp(29px, 4vw, 52px);
}
.lead h1 { font-size: clamp(46px, 5.6vw, 80px); }
.lead-description {
  color: #424b63;
  max-width: 580px;
  font-size: clamp(16px, 1.42vw, 19px);
  line-height: 1.68;
  margin-top: 23px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.primary-jump { border-radius: 999px; background: #504ab0; border-color: transparent; color: white; padding-inline: 19px; }
.primary-jump:hover { background: #3d3697; color: white; }
.hero-secondary { font-size: 13px; font-weight: 700; color: #3d3997; text-decoration: underline; text-underline-offset: 4px; }
.hero-icon { position: relative; isolation: isolate; display: grid; place-items: center; perspective: 760px; margin: 4% 10% 0 0; }
.hero-icon::before { content: ""; position: absolute; z-index: -1; inset: -24% -14%; background: radial-gradient(ellipse,#9784ec36,transparent 64%); }
.hero-icon img { width: min(100%, 260px); height: auto; transform: translate3d(0,var(--icon-lift,0px),0) rotate(-12deg) rotateY(-11deg); filter: drop-shadow(14px 20px 26px #45428b45); }
.hero-product {
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e5e8f7;
  border-radius: clamp(10px, 2.1vw, 30px);
  background: #e9eefb;
}
.hero-product img { display: block; width: 100%; height: auto; }
html[data-motion=live] .hero-product {
  animation: showcase-enter .8s cubic-bezier(.16,.8,.2,1) both;
}
@keyframes showcase-enter {
  from { opacity: .4; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.workspace-overview { margin-top: clamp(92px, 11vw, 155px); }
.workspace-premiere .workspace-overview { margin-top: 0; }
.platform-badge { display:inline-block; margin-left:6px; padding:3px 8px; border:1px solid #cbd7ee; border-radius:6px; color:#536686; font-size:10px; line-height:1.2; letter-spacing:.03em; vertical-align:middle; }
.overview-heading { display: grid; grid-template-columns: 1fr minmax(250px, .62fr); gap: 28px; align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.overview-heading h2 { margin: 12px 0 0; font-size: clamp(36px, 4.8vw, 66px); letter-spacing: -.045em; line-height: 1.08; }
.overview-heading > p { max-width: 430px; margin: 0 0 4px; color: #62677a; line-height: 1.7; }
.overview-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(100%, 980px); list-style: none; padding: 0; margin: 0 auto 17px; }
.overview-steps li { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 62px; padding: 12px 19px; border: 1px solid #e5e8f4; border-radius: 13px; background: #f8f9fd; color: #757b91; font-size: 16px; font-weight: 700; transition: background .3s, border-color .3s, color .3s; }
.overview-steps b { font-size: 12px; letter-spacing: .06em; color: #989db2; }
.overview-steps li[data-active] { border-color: #d0cff4; background: #eeedfc; color: #4642a2; }
.overview-steps li[data-active] b { color: #7c76d5; }
.premiere-media {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.premiere-caption { align-items: end; margin: 0 auto clamp(22px, 3.7vw, 48px); }
.premiere-film { transform: none; }
@media (max-width: 760px) {
  .overview-heading { grid-template-columns: 1fr; gap: 14px; }
  .overview-heading > p { max-width: 560px; }
  .overview-steps { gap: 5px; }
  .overview-steps li { gap: 6px; min-height: 48px; padding: 9px; font-size: clamp(10px, 2.8vw, 13px); }
  .overview-steps b { font-size: 9px; }
  .lead { grid-template-columns: minmax(0,1fr) minmax(0,.26fr); gap: 15px 11px; }
  .lead h1 { font-size: clamp(28px, 6.15vw, 47px); }
  .lead-description { font-size: clamp(14px, 2.5vw, 16px); margin-top: 14px; }
  .hero-actions { gap: 10px; margin-top: 16px; }
  .hero-icon { width: 100%; margin: 5% 0 0; }
}
/* Each clip retains the complete native window at both breakpoints. */
.film-frame:has(video[data-film]) { --ratio: 1450 / 920; }
.film-frame video { object-fit: contain; }
.film-expand {
  position: absolute; z-index: 2; right: 10px; bottom: 10px;
  display: grid; place-items: center; width: 37px; height: 37px;
  color: #333d57; border: 1px solid #ccd4e2; border-radius: 9px;
  background: #fffffff2; box-shadow: 0 3px 13px #1d2d4828;
  font-size: 21px; line-height: 1;
}
.film-expand:hover { background: #edf2ff; }
.film-frame:fullscreen, .film-frame:-webkit-full-screen {
  width: 100vw; height: 100vh; max-width: none; aspect-ratio: auto;
  border: 0; border-radius: 0; background: #111725;
}
.film-frame:fullscreen video, .film-frame:-webkit-full-screen video { background: #111725; }
html[data-motion=still] .hero-icon img { transform: none; }
.analysis .chapter-shell { display: block; }
.analysis .chapter-copy { max-width: 900px; margin-bottom: clamp(25px, 4.5vw, 58px); }
.analysis .chapter-copy h2 { font-size: clamp(36px, 4.5vw, 66px); }
.analysis .chapter-copy > p:not(.eyebrow) { max-width: 64ch; }
.analysis-insight { display: flex; gap: 12px; align-items: flex-start; max-width: 72ch; margin-top: 24px; padding: 16px 18px; border: 1px solid #d9e1f3; border-radius: 12px; background: #f7f9ff; color: #34425d; font-size: 14px; line-height: 1.55; }
.analysis-insight span { color: #5153bf; font-weight: 800; }
.analysis-insight p { margin: 0; }
.analysis .film-frame { width: min(100%, 1250px); margin-inline: auto; }
.ai-tour { margin-top: clamp(86px, 10vw, 145px); }
.ai-tour-heading { display: grid; grid-template-columns: 1fr minmax(250px, .67fr); align-items: end; gap: 30px; margin-bottom: 28px; }
.ai-tour-heading h3 { margin-top: 10px; font-size: clamp(33px, 4.25vw, 62px); line-height: 1.1; letter-spacing: -.045em; }
.ai-tour-heading > p, .ai-tour-note { max-width: 55ch; color: var(--muted); line-height: 1.65; }
.ai-tour-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ai-tour-steps button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 57px; padding: 10px 12px; border: 1px solid #e0e6f2; border-radius: 11px; background: #f7f9fd; color: #6b748a; font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ai-tour-steps button b { color: #979eb4; font-size: 11px; letter-spacing: .04em; }
.ai-tour-steps button[aria-current="step"] { color: #2847a3; border-color: #b9c8f7; background: #e9efff; }
.ai-tour-steps button[aria-current="step"] b { color: #526dd0; }
.ai-tour-steps button:focus-visible { outline: 3px solid #6f85df; outline-offset: 3px; }
.ai-tour-note { margin: 16px auto 0; max-width: 1250px; font-size: 13px; }
@media (min-width: 761px) {
  .quick-translation .chapter-copy h2 { font-size: clamp(38px, 3.2vw, 48px); line-height: 1.14; word-break: keep-all; }
}
.unified-ai { margin-top: 0; }
.unified-ai .ai-tour-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
.source-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:18px auto 0; }
.source-choices div { display:flex; flex-direction:column; gap:4px; padding:16px 19px; border:1px solid #dce6fa; border-radius:13px; background:#f8faff; color:#485675; font-size:14px; }
.source-choices div[data-active] { background:#e9f0ff; border-color:#6c8ce2; box-shadow:0 0 0 2px #b8c9f5; }
.source-choices b { color:#2d4fa6; font-size:15px; }
@media(max-width:760px) {
  .unified-ai .ai-tour-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .source-choices { gap:7px; }
  .source-choices div { padding:12px; font-size:12px; }
}
@media (max-width: 760px) {
  .ai-tour-heading { grid-template-columns: 1fr; gap: 13px; }
  .ai-tour-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ai-tour-steps button { min-height: 47px; padding: 8px; font-size: 11px; }
  .ai-tour-steps button b { font-size: 10px; }
}
.map-chapter .chapter-shell, .presentation .chapter-shell { display: block; }
.map-chapter .chapter-copy, .presentation .chapter-copy { max-width: 1000px; margin-bottom: clamp(25px, 4.5vw, 58px); }
.map-chapter .chapter-copy > p:not(.eyebrow), .presentation .chapter-copy > p:not(.eyebrow) { max-width: 64ch; }
.map-chapter .film-frame, .presentation .film-frame { width: min(100%, 1250px); margin-inline: auto; }

body.film-expanded { overflow: hidden; }
.film-frame.is-expanded {
  position: fixed !important; z-index: 20; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh; max-width: none;
  aspect-ratio: auto; translate: none !important; transform: none !important;
  border: 0; border-radius: 0; background: #101725; box-shadow: none;
  opacity: 1 !important;
}
.film-frame.is-expanded video { background: #101725; }
.film-frame.is-expanded .film-expand { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }

.ipad-story { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(24px,4vw,58px); align-items:center; margin-top:clamp(72px,9vw,125px); padding:clamp(22px,4.5vw,60px); background:#f6f8ff; border:1px solid #e4e9f5; border-radius:clamp(20px,3vw,40px); }
.ipad-story h3 { font-size:clamp(29px,3.4vw,50px); line-height:1.12; letter-spacing:-.04em; }
.ipad-story-copy > p:not(.eyebrow) { color:var(--muted); margin-top:16px; line-height:1.65; }
@media(max-width:760px) { .ipad-story { grid-template-columns:1fr; gap:20px; padding:22px; } }

/* Keep the full recorded window visible while giving detailed documents room. */
#editing .film-frame { width: 100%; }
#create .chapter-shell { display: block; }
#create .chapter-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "eyebrow eyebrow" "title description" "title methods" "title source";
  column-gap: clamp(25px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 52px);
}
#create .chapter-copy .eyebrow { grid-area: eyebrow; }
#create .chapter-copy h2 { grid-area: title; }
#create .chapter-copy > p:not(.eyebrow) { grid-area: description; margin-top: 3px; }
#create .chapter-copy .method { grid-area: methods; }
#create .chapter-copy .source-credit { grid-area: source; }
#create .film-frame { width: 100%; }
@media (max-width: 760px) {
  #create .chapter-copy { display: block; }
  #create .chapter-copy > p:not(.eyebrow) { margin-top: 17px; }
}
