:root {
  --paper: #f8f9fb; --surface: #fefefe; --ink: #17212c; --muted: #5a6672;
  --blue: #225bdc; --blue-hover: #1546b4; --blue-ink: #f7faff; --pale: #e9effa;
  --line: #dce1e8; --dark: #172630; --dark-muted: #becbd4; --dark-line: #3a4b56;
  --cream: #f1f0eb; --sky: #dae8f8; --white-line: #ffffff40;
  --font: "Manrope", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --radius-button: 7px; --radius-panel: 18px; --radius-image: 8px;
  --space: 8px; --max: 1200px; --gutter: clamp(20px, 4.5vw, 64px);
  --section-space: clamp(76px, 8.5vw, 124px);
  --ease: cubic-bezier(.22, 1, .36, 1); --fast: 180ms; --slow: 650ms;
  --shadow-image: 0 1px 3px #162c4612, 0 12px 28px #162c4610, 0 32px 64px #162c461a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; line-break: strict; word-break: normal; overflow-wrap: anywhere; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.85; letter-spacing: normal; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--blue); }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: var(--blue); color: var(--blue-ink); }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.45; font-feature-settings: "palt"; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 3.3vw, 46px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
#possibilities, #assistance, #start, #guide-highlight { scroll-margin-top: calc(24px - var(--section-space)); }
#faq { scroll-margin-top: -40px; }
.phrase { display: block; }
.accent { color: var(--blue); }
.eyebrow, .mini-label { font-family: "Manrope", sans-serif; font-size: 11px; line-height: 1.5; font-weight: 800; letter-spacing: .11em; }
.eyebrow { color: var(--blue); margin-bottom: 24px; }
.mini-label { color: var(--muted); display: block; margin-bottom: 20px; font-size: 10px; letter-spacing: .1em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-intro { font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 33em; }
.small-note { font-size: 12px; line-height: 1.7; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 56px; padding: 15px 24px; border: 1px solid transparent; border-radius: var(--radius-button); background: var(--blue); color: var(--blue-ink); font-size: 14px; font-weight: 700; line-height: 1.6; text-decoration: none; transition: background var(--fast) var(--ease), transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.button span { font-family: "Manrope", sans-serif; font-size: 20px; line-height: 1; transition: transform var(--fast) var(--ease); }
.button:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 6px 18px #225bdc24; }
.button:hover span { transform: translate(2px,-2px); }
.button-small { min-height: 40px; padding: 9px 17px; font-size: 12px; gap: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-block: 9px; min-height: 44px; font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link span { transition: transform var(--fast) var(--ease); }
.text-link:hover { color: var(--blue); }
.text-link:hover span { transform: translate(2px,-2px); }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 200; padding: 12px 20px; background: var(--ink); color: var(--surface); }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #f8f9fbef; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-family: "Manrope", sans-serif; font-size: 23px; line-height: 1; font-weight: 800; letter-spacing: -.8px; }
.brand img { width: 29px; height: 29px; object-fit: contain; border-radius: 7px; }
.site-header::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--blue); transform: scaleX(var(--read-progress, 0)); transform-origin: left; pointer-events: none; }
.brand-period { color: var(--blue); }
.brand:hover { color: var(--blue); }
.desktop-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 28px; }
.desktop-nav a, .mobile-nav a { font-size: 12px; font-weight: 600; text-decoration: none; padding-block: 12px; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; min-height: 42px; background: none; border: 1px solid var(--line); border-radius: var(--radius-button); padding: 8px 12px; font-size: 12px; font-weight: 600; }
.menu-toggle:hover { background: var(--pale); }
.mobile-nav { display: flex; flex-direction: column; padding-bottom: 20px; }
.mobile-nav a { border-top: 1px solid var(--line); }
.hero { padding-top: clamp(56px, 6.5vw, 94px); }
.hero-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.hero .eyebrow { margin-bottom: 22px; }
h1 { font-size: clamp(40px, 4.8vw, 67px); line-height: 1.42; font-weight: 800; letter-spacing: -.045em; }
.hero-description { padding-bottom: 5px; max-width: 430px; justify-self: end; }
.hero-description > p:first-child { color: var(--muted); font-size: 15px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 24px; }
.hero-description .small-note { margin-top: 12px; }
.screenshot-link { display: block; position: relative; text-decoration: none; border-radius: var(--radius-image); }
.screenshot-link img { width: 100%; border-radius: inherit; transition: filter var(--fast) var(--ease); }
.screenshot-link:hover img { filter: brightness(.97); }
.zoom-label { display: inline-flex; align-items: center; gap: 14px; position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 700; box-shadow: 0 2px 8px #17212c12; opacity: 0; transform: translateY(4px); transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease); }
.screenshot-link:hover .zoom-label, .screenshot-link:focus-visible .zoom-label { opacity: 1; transform: none; }
.hero-benefits { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.hero-benefits ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.hero-benefits li { border-left: 1px solid var(--line); padding-left: 22px; }
.workflow-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.workflow-tabs a { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 3px 8px; padding: 20px 16px 24px; color: var(--muted); text-decoration: none; transition: background var(--fast) var(--ease), color var(--fast) var(--ease); }
.workflow-tabs a > span:not(.tab-number) { font-size: 17px; font-weight: 700; line-height: 1.7; }
.workflow-tabs .tab-number { font-size: 11px; color: var(--muted); padding-top: 4px; font-variant-numeric: tabular-nums; }
.workflow-tabs small { grid-column: 2; font-size: 12px; }
.workflow-tabs a::after { content: ""; position: absolute; height: 3px; bottom: -1px; inset-inline: 0; background: var(--blue); transform: scaleX(0); transition: transform var(--fast) var(--ease); transform-origin: left; }
.workflow-tabs a:hover { background: var(--pale); color: var(--blue); }
.workflow-tabs a[aria-selected="true"] { color: var(--blue); }
.workflow-tabs a[aria-selected="true"]::after { transform: scaleX(1); }
.workflow-panel { display: grid; grid-template-columns: .85fr 1.4fr; gap: 60px; align-items: center; padding-top: 48px; }
.workflow-copy > p:not(.mini-label) { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 26em; }
.feature-lines { list-style: none; margin: 24px 0; padding: 0; font-size: 12px; color: var(--muted); }
.feature-lines li { padding: 12px 0; border-top: 1px solid var(--line); }
.workflow-footnote { font-size: 12px; color: var(--blue); }
.workflow-visual { background: var(--pale); padding: 32px; min-height: 478px; display: grid; place-items: center; border-radius: var(--radius-panel); }
.workflow-visual .screenshot-link { width: 100%; box-shadow: var(--shadow-image); }
.share-visual .screenshot-link { max-width: 420px; }
.report-visual { background: var(--cream); }
.guide-visual { background: var(--sky); }
.assistance { background: var(--dark); color: var(--paper); }
.assistance .eyebrow { color: #9abaf2; }
.assistance .section-intro, .assistance .mini-label { color: var(--dark-muted); }
.assist-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; }
.assist-main { min-width: 0; padding-right: 56px; border-right: 1px solid var(--dark-line); }
.assist-copy > p, .assist-secondary > p { font-size: 14px; line-height: 1.9; color: var(--dark-muted); margin-top: 18px; max-width: 32em; }
.assist-main h3, .assist-secondary h3 { font-size: 27px; }
.assist-image { margin-top: 32px; box-shadow: 0 20px 44px #08121b40; }
.ocr-image { margin-top: 32px; }
.assist-secondary .assist-note { font-size: 12px; padding-top: 20px; border-top: 1px solid var(--dark-line); margin-top: 24px; }
.assistance :focus-visible { outline-color: #9abaf2; }
.output-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 96px; align-items: center; }
.output-copy .section-intro { margin-top: 24px; }
.format-list { display: grid; grid-template-columns: minmax(104px,.8fr) 1fr 1.3fr; gap: 10px 20px; align-items: center; margin: 32px 0 20px; max-width: 430px; }
.format-list span { white-space: nowrap; font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: var(--muted); }
.format-list .format-primary { grid-row: span 2; align-self: stretch; display: flex; align-items: center; font-size: 42px; line-height: 1.2; color: var(--blue); font-weight: 700; padding-right: 20px; border-right: 1px solid var(--line); }
.output-example { padding: 28px 38px 18px; background: var(--cream); border-radius: var(--radius-panel); }
.output-example .screenshot-link { max-width: 320px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-image); }
.output-example .screenshot-link img { border-radius: 0; }
.output-example figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: var(--muted); padding-top: 20px; }
.output-example figcaption span:first-child { font-weight: 700; letter-spacing: .08em; }
.local-section { background: var(--pale); padding-block: 76px; }
.local-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 60px; }
.local-layout .eyebrow { margin: 12px 0 0; }
.local-layout h2 { font-size: clamp(28px, 3vw, 39px); }
.local-layout h2 .phrase { display: inline-block; }
.local-layout p:not(.eyebrow) { font-size: 15px; margin-top: 24px; line-height: 2; color: var(--muted); }
.local-layout .text-link { margin-top: 20px; }
.start-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 60px; }
.start-layout .section-intro { margin-top: 24px; font-size: 15px; }
.start-steps { padding: 0; margin: 0; list-style: none; }
.start-steps li { display: flex; align-items: start; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.start-steps li:first-child { padding-top: 0; }
.step-number { font-family: "Manrope", sans-serif; font-size: 25px; color: var(--blue); font-weight: 500; line-height: 1.6; }
.start-steps h3 { font-size: 19px; line-height: 1.7; }
.start-steps p { font-size: 13px; line-height: 1.8; margin-top: 6px; color: var(--muted); }
.faq-section { padding-bottom: var(--section-space); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 60px; padding-top: 64px; border-top: 1px solid var(--line); }
.faq-layout h2 { font-size: 29px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; list-style: none; font-size: 14px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--blue); font-size: 21px; font-weight: 400; flex-shrink: 0; transition: transform var(--fast) var(--ease); }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-answer { padding: 0 36px 24px 0; font-size: 14px; color: var(--muted); line-height: 1.9; }
.download-section { background: var(--blue); color: var(--blue-ink); padding-block: 80px; }
.download-layout { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.download-section .eyebrow { color: #d5e2fc; }
.download-section h2 { font-size: clamp(32px, 3.6vw, 50px); }
.download-action { max-width: 360px; }
.button-light { background: var(--surface); color: var(--blue); width: 100%; }
.button-light:hover { background: var(--pale); box-shadow: 0 8px 20px #133c9f3b; }
.download-meta { font-size: 12px; line-height: 1.8; margin-top: 18px; color: #e3ecfd; }
.download-note, .download-terms { font-size: 11px; color: #e3ecfd; margin-top: 12px; line-height: 1.8; }
.download-note a, .download-terms a { text-decoration-color: #ffffff80; }
.download-note a:hover, .download-terms a:hover { text-decoration-color: var(--surface); }
.download-section :focus-visible { outline-color: var(--surface); }
.site-footer { padding-block: 44px 24px; }
.footer-main { display: flex; align-items: center; gap: 30px; padding-bottom: 34px; }
.footer-main > p { color: var(--muted); font-size: 12px; }
.footer-main .back-top { margin-left: auto; font-size: 11px; }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 24px; justify-content: space-between; font-size: 11px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer-bottom a:hover { color: var(--blue); }
.image-dialog { width: min(1320px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-image); }
.image-dialog::backdrop { background: #0c182cbb; backdrop-filter: blur(5px); }
.dialog-toolbar { display: flex; align-items: center; gap: 28px; justify-content: space-between; padding: 16px 20px; }
.dialog-toolbar p { font-size: 13px; line-height: 1.6; }
.dialog-close { flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--radius-button); padding: 9px 16px; background: var(--surface); min-height: 44px; font-size: 12px; }
.dialog-close:hover { background: var(--pale); }
.dialog-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dialog-zoom { border: 1px solid var(--line); border-radius: var(--radius-button); background: var(--surface); min-height: 44px; padding: 9px 14px; font-size: 12px; }
.dialog-zoom:hover, .dialog-zoom[aria-pressed="true"] { background: var(--pale); color: var(--blue); }
.image-dialog.actual-size .dialog-image { max-width: none; width: auto; margin-inline: 0; }
.dialog-image-wrap { padding: 0 16px 16px; overflow: auto; max-height: calc(100dvh - 142px); }
.dialog-image { width: auto; max-width: 100%; max-height: none; margin-inline: auto; }
.entrance { animation: rise var(--slow) var(--ease) both; }
.hero h1 .phrase:nth-child(1) { animation-delay: 70ms; }
.hero h1 .phrase:nth-child(2) { animation-delay: 140ms; }
.hero-description { animation-delay: 200ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
  .desktop-nav { gap: 22px; margin-right: 12px; }
  .hero-top { gap: 32px; grid-template-columns: 1.08fr 1fr; }
  h1 { font-size: clamp(39px, 4.9vw, 53px); }
  .hero-actions .text-link { padding-block: 4px; }
  .hero-benefits { align-items: start; flex-direction: column; gap: 12px; padding-block: 24px; }
  .hero-benefits li:first-child { padding-left: 0; border-left: none; }
  .workflow-panel, .start-layout, .faq-layout, .local-layout { gap: 40px; }
  .workflow-visual { padding: 24px; min-height: 425px; }
  .assist-grid { gap: 40px; }
  .assist-main { padding-right: 32px; }
  .output-layout { gap: 48px; }
  .output-example { padding: 24px; }
}
@media (max-width: 780px) {
  .header-inner { height: 68px; }
  .desktop-nav { display: none; }
  .js .menu-toggle { display: block; }
  .header-actions .button { min-height: 40px; }
  .hero-top { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  h1 { font-size: clamp(38px, 7.5vw, 57px); }
  .hero-description { max-width: none; justify-self: start; }
  .hero-description > p:first-child { font-size: 15px; }
  .hero-actions { margin-top: 22px; }
  .section-heading { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 36px; }
  h2 { font-size: clamp(30px, 5.2vw, 41px); }
  .workflow-tabs a { padding: 16px 10px; display: block; }
  .workflow-tabs .tab-number { display: block; margin-bottom: 6px; }
  .workflow-tabs a > span:not(.tab-number) { font-size: 14px; }
  .workflow-tabs small { font-size: 10px; display: block; margin-top: 4px; }
  .workflow-panel { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .workflow-copy > p:not(.mini-label) { max-width: 38em; }
  .workflow-copy h3 .phrase { display: inline-block; }
  .workflow-copy .feature-lines { margin: 20px 0 12px; }
  .workflow-visual { min-height: 0; padding: 28px; }
  .workflow-visual .screenshot-link { max-width: 500px; }
  .share-visual .screenshot-link { max-width: 370px; }
  .assist-grid { grid-template-columns: 1fr; gap: 40px; }
  .assist-main { border-right: 0; padding: 0 0 40px; border-bottom: 1px solid var(--dark-line); }
  .assist-copy > p, .assist-secondary > p { max-width: 39em; }
  .assist-image { max-width: 560px; }
  .ocr-image { max-width: 500px; }
  .assist-secondary h3 .phrase { display: inline-block; }
  .output-layout { grid-template-columns: 1fr; gap: 40px; }
  .output-example { max-width: 490px; width: 100%; justify-self: center; padding: 28px; }
  .local-layout, .start-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .local-layout { gap: 24px; }
  .local-layout .eyebrow { margin-top: 0; }
  .local-section { padding-block: 60px; }
  .faq-layout { padding-top: 48px; }
  .download-layout { flex-direction: column; align-items: start; gap: 36px; }
  .download-section { padding-block: 64px; }
  .download-action { max-width: 400px; }
  .footer-main { flex-wrap: wrap; gap: 16px 24px; }
  .footer-main > p { margin-left: auto; font-size: 11px; }
  .footer-main .back-top { margin-left: 0; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .zoom-label { opacity: 1; transform: none; font-size: 10px; right: 10px; bottom: 10px; padding: 6px 10px; }
}
@media (max-width: 460px) {
  :root { --gutter: 20px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand img { width: 26px; height: 26px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; flex-shrink: 0; }
  .header-actions .button { padding-inline: 10px; font-size: 11px; gap: 8px; white-space: nowrap; }
  .header-actions .button span { display: none; }
  .menu-toggle { padding-inline: 7px; font-size: 11px; white-space: nowrap; }
  .hero { padding-top: 44px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .08em; margin-bottom: 20px; }
  h1 { font-size: clamp(34px, 9.5vw, 41px); letter-spacing: -.055em; line-height: 1.5; }
  .hero-description > p:first-child { font-size: 14px; line-height: 2; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { font-size: 12px; padding: 8px 0; }
  .hero-description .small-note { margin-top: 6px; font-size: 11px; }
  .hero-benefits { gap: 12px; font-size: 11px; }
  .hero-benefits ul { flex-wrap: wrap; gap: 6px 12px; }
  .hero-benefits li { padding-left: 12px; }
  .hero-benefits li:last-child { border-left: 0; padding-left: 0; flex-basis: 100%; }
  .section-intro { font-size: 14px; }
  .eyebrow { font-size: 9px; margin-bottom: 20px; }
  h2 { font-size: 30px; letter-spacing: -.04em; }
  .workflow-tabs a { padding: 14px 5px; }
  .workflow-tabs a > span:not(.tab-number) { font-size: 12px; letter-spacing: -.03em; }
  .workflow-tabs small { font-size: 9px; }
  .workflow-copy h3 { font-size: 26px; }
  .workflow-copy > p:not(.mini-label) { font-size: 14px; }
  .feature-lines { font-size: 11px; }
  .workflow-visual { padding: 16px; border-radius: 12px; }
  .assist-main h3, .assist-secondary h3 { font-size: 25px; }
  .output-copy .section-intro br { display: none; }
  .format-list { grid-template-columns: 82px 1fr 1.3fr; gap: 12px 16px; }
  .format-list span { font-size: 18px; }
  .format-list .format-primary { font-size: 34px; padding-right: 14px; }
  .output-example { padding: 20px; }
  .local-layout p:not(.eyebrow) { font-size: 14px; }
  .local-layout p:not(.eyebrow) br { display: none; }
  .start-steps li { gap: 22px; }
  .start-steps h3 { font-size: 17px; }
  .faq-list summary { font-size: 13px; gap: 16px; padding-block: 20px; }
  .faq-answer { font-size: 13px; padding-right: 12px; }
  .download-section h2 { font-size: 33px; }
  .download-action { width: 100%; }
  .button-light { padding-inline: 18px; gap: 14px; font-size: 13px; }
  .footer-main { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .footer-main > p { margin: 0; }
  .footer-bottom nav { gap: 4px 16px; }
  .image-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 8px; }
  .dialog-toolbar { padding: 12px; gap: 12px; align-items: start; flex-direction: column; }
  .dialog-toolbar p { font-size: 11px; }
  .dialog-close { padding: 8px 10px; font-size: 11px; }
  .dialog-actions { align-self: end; }
  .dialog-zoom { padding: 8px 12px; font-size: 11px; }
  .dialog-image-wrap { padding: 0 8px 8px; max-height: calc(100dvh - 150px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .button, .demo-toggle, .workflow-tabs a[aria-selected="true"] { border: 1px solid ButtonText; } .workflow-tabs a[aria-selected="true"] { text-decoration: underline; } }
@media print { .site-header { position: static; } .menu-toggle, .image-dialog, .zoom-label { display: none; } [data-panel][hidden] { display: grid !important; } .entrance { animation: none; } }

/* Product film: one focal point, with native playback controls and text fallback. */
.demo-stage { background: var(--sky); border-radius: var(--radius-panel); padding: 24px 28px 18px; }
.demo-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.demo-heading .mini-label { color: var(--blue); font-size: 10px; margin-bottom: 8px; }
.demo-heading h2 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.025em; line-height: 1.5; }
.demo-duration { color: var(--muted); font-size: 12px; white-space: nowrap; }
.demo-duration span { margin-inline: 8px; }
.demo-player { position: relative; aspect-ratio: 8 / 5; border-radius: 10px; background: var(--sky); overflow: hidden; box-shadow: var(--shadow-image); }
.demo-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-stage .demo-player { width: 100%; max-height: min(60vh, 620px); }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.demo-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.demo-toggle { min-height: 44px; min-width: 104px; padding: 8px 14px; border: 1px solid #4c658060; border-radius: 6px; background: #ffffff80; color: var(--ink); font-size: 12px; font-weight: 700; transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.demo-toggle:hover { background: var(--surface); border-color: var(--blue); }
.demo-time { font-family: "Manrope", sans-serif; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.demo-toolbar p { color: var(--muted); font-size: 11px; line-height: 1.7; text-align: right; }
.demo-toolbar p span { display: block; }
.demo-message:not(:empty) { margin-top: 14px; font-size: 13px; color: var(--ink); }
.demo-transcript { margin-top: 12px; color: var(--muted); font-size: 12px; }
.demo-transcript summary { display: list-item; padding-block: 8px; cursor: pointer; min-height: 36px; }
.demo-transcript summary:hover { color: var(--blue); }
.demo-transcript ol { padding-left: 22px; margin: 8px 0 12px; max-width: 56em; }
.demo-transcript li { margin-block: 8px; }
.demo-transcript > a { display: inline-block; padding-block: 8px; }
.demo-transcript > p { max-width: 64em; line-height: 1.9; margin-block: 8px; }
.film-still-link { display: inline-flex; min-height: 44px; gap: 10px; align-items: center; color: var(--blue); font-size: 12px; margin-top: 8px; }
.next-highlight { display: flex; justify-content: end; padding-top: 18px; }
.next-highlight .text-link { min-height: 44px; font-size: 13px; }
.highlight-length { color: var(--muted); font-size: 11px; font-weight: 400; }
.guide-highlight { padding-bottom: 0; }
.guide-film .demo-heading { align-items: center; }
.film-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: 14px; font-weight: 700; }
.film-steps li + li::before { content: '→'; color: var(--muted); margin-right: 20px; font-weight: 400; }
.film-fullscreen { background: transparent; border: 0; border-radius: 6px; min-height: 44px; padding: 8px 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.film-fullscreen:hover { background: var(--surface); color: var(--blue); }
.demo-player video:fullscreen { background: var(--ink); object-fit: contain; }
.film-dialog { width: min(1240px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.film-dialog::backdrop { background: #17212cba; }
.film-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.film-dialog-bar p { font-size: 14px; font-weight: 700; }
.film-dialog-bar button { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 8px 14px; font-size: 12px; white-space: nowrap; }
.film-dialog-bar button:hover { border-color: var(--blue); color: var(--blue); }
.film-dialog video { display: block; width: 100%; height: min(74dvh, 750px); object-fit: contain; background: var(--sky); }
/* The headline and primary action are readable immediately, independent of media. */
.hero-top .entrance { animation: none; }
@media (max-width: 780px) {
  .demo-stage { padding: 22px 18px 18px; }
  .demo-stage .demo-player { max-height: none; }
  .demo-heading { flex-wrap: wrap; align-items: start; gap: 10px; margin-bottom: 18px; }
  .demo-heading h2 { font-size: 22px; }
  .demo-toolbar { align-items: start; flex-direction: column; gap: 12px; margin-top: 14px; }
  .demo-toolbar p { text-align: left; }
  .demo-toolbar p span { display: inline; }
}
@media (max-width: 460px) {
  .demo-stage { padding: 18px 12px 14px; border-radius: 12px; }
  .demo-heading .mini-label { font-size: 8px; }
  .demo-heading h2 { font-size: 19px; }
  .demo-duration { font-size: 11px; }
  .demo-player { border-radius: 6px; }
  .demo-toolbar p { font-size: 10px; }
  .demo-toolbar p span { display: block; }
  .demo-transcript { font-size: 11px; }
  .next-highlight { justify-content: start; }
  .film-steps { gap: 8px; font-size: 12px; }
  .film-steps li + li::before { margin-right: 8px; }
}
@media print { .demo-player, .demo-controls { display: none; } .demo-transcript { display: block; } }

.download-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:32px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink)}
.download-dialog::backdrop{background:#17212cba}
.download-dialog h2{font-size:23px;margin:12px 0}
.download-dialog p{font-size:14px;line-height:1.8;color:var(--muted)}
.download-close{display:block;margin-left:auto;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-size:24px;cursor:pointer}
.download-form{display:grid;gap:10px;margin-top:24px}
.download-form label{font-size:14px;font-weight:700}
.download-form input{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border:1px solid #99a5b4;border-radius:8px;background:white;color:var(--ink);font:inherit;margin-bottom:8px}
.download-form .button{margin-top:8px;cursor:pointer}
.download-form button:disabled{opacity:.6;cursor:wait}
.download-status{min-height:26px;margin-bottom:0}
.download-save{margin-top:16px}
.download-save[hidden]{display:none}
