/* SevenOS brand tokens and semantic UI colors. */
:root {
  color-scheme: light;
  --navy: #080F20;
  --blue: #2563EB;
  --cyan: #06B6D4;
  --teal: #14B8A6;
  --cloud: #F8FAFC;
  --dark-surface: #111D33;
  --ink: #0F172A;
  --secondary: #64748B;
  --white: #FFFFFF;
  --muted: color-mix(in srgb, var(--secondary) 81%, var(--ink));
  --on-dark-muted: color-mix(in srgb, var(--cloud) 78%, var(--secondary));
  --line: color-mix(in srgb, var(--secondary) 22%, var(--cloud));
  --soft-blue: color-mix(in srgb, var(--blue) 6%, var(--cloud));
  --blue-strong: color-mix(in srgb, var(--blue) 73%, var(--navy));
  --dark-blue: color-mix(in srgb, var(--blue) 29%, var(--dark-surface));
  --dark-edge: color-mix(in srgb, var(--blue) 24%, var(--secondary));
  --cyan-light: color-mix(in srgb, var(--cyan) 53%, var(--cloud));
  --teal-light: color-mix(in srgb, var(--teal) 15%, var(--cloud));
  --teal-strong: color-mix(in srgb, var(--teal) 35%, var(--navy));
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space: clamp(3.5rem, 8vw, 7.5rem);
  --radius: 14px;
}

* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.62 var(--sans); background: var(--cloud); color: var(--ink); }
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-underline-offset: .23em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .64; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0 0 .65em; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { font-family: var(--sans); font-weight: 690; letter-spacing: -.055em; }
h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.28rem; }
p { max-width: 67ch; }
.wrap { width: min(100% - 3rem, 1280px); margin-inline: auto; }
.eyebrow { font-size: .74rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-strong); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: .75rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { background: var(--navy); color: var(--cloud); border-bottom: 1px solid color-mix(in srgb, var(--cloud) 14%, transparent); position: relative; z-index: 2; }
.top-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-home { flex: none; display: inline-block; width: 64px; }
.brand-home img { width: 100%; height: auto; }
.gallery-brand { width: 144px; height: auto; }
.lab-bar .gallery-brand { width: 104px; }
.desktop-nav, .top-actions { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); }
.desktop-nav a, .top-actions > a:first-child { font-size: .87rem; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .top-actions > a:first-child:hover { text-decoration: underline; }
.mobile-nav { display: none; }
.button { border: 1px solid transparent; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .7em; padding: .65em 1em; border-radius: .42rem; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background-color .2s, border-color .2s; }
.button.primary { background: var(--cyan-light); color: var(--ink); }
.button.primary:hover { background: var(--cyan-light); }
.button.secondary { background: transparent; color: inherit; border-color: currentColor; }
.button.secondary:hover { background: color-mix(in srgb, var(--blue) 8%, transparent); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); vertical-align: .08em; margin-right: .45em; }
.lede { font-size: clamp(1rem, 2vw, 1.22rem); max-width: 48ch; }
.pricing-link { padding: .65rem 0; }
.showcase { display: grid; grid-template-columns: .9fr 1.35fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: var(--space); }
.section-copy p:not(.eyebrow), .editorial p, .roadmap p:not(.eyebrow), .page-intro .lede { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 690; color: var(--blue-strong); }
.lab { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 48px color-mix(in srgb, var(--navy) 10%, transparent); }
.lab-bar, .lab-status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; font-size: .72rem; }
.lab-bar { background: var(--ink); color: var(--cloud); }
.lab-inner { padding: clamp(.8rem, 3vw, 2rem); }
.lab h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); }
.lab-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.lab-photos img { width: 100%; height: auto; aspect-ratio: 1 / 1.08; border-radius: 4px; }
.lab-status { color: var(--muted); padding-inline: 0; }
.editorial, .roadmap { padding-block: var(--space); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2.3rem; margin-block: 2rem 1rem; }
.feature-list article { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.feature-list article p { color: var(--muted); }
.closing { border-top: 1px solid var(--line); padding-block: var(--space); }
.page-intro { padding: clamp(4rem, 9vw, 8rem) 0 clamp(2rem, 4vw, 4rem); }
.page-intro h1 { font-size: clamp(3rem, 7vw, 5.5rem); max-width: 15ch; }
.page-intro .actions { margin-top: 1.6rem; }
.prose { max-width: 820px; }
.prose h2 { font: 700 clamp(1.3rem, 3vw, 2rem)/1.22 var(--sans); margin: 1.5em 0 .6em; letter-spacing: -.025em; }
.prose :is(p, li) { overflow-wrap: anywhere; }
.legal { padding-bottom: var(--space); }
.price-section { padding-bottom: clamp(2rem, 6vw, 4rem); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.3rem; }
.price-grid article { padding: clamp(.8rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-grid article:last-child { background: var(--soft-blue); }
.price-grid h2 { font: 680 1.02rem/1.2 var(--sans); letter-spacing: 0; }
.amount { font: 400 clamp(2rem, 4vw, 3.4rem)/1.1 var(--sans); margin-bottom: .35rem; }
.saving { font-size: .86rem; color: var(--blue-strong); font-weight: 650; }
.notice { color: var(--muted); margin-bottom: 1.1rem; }
.resource-list { padding-bottom: var(--space); }
.resource-list h2 { font: 670 1.35rem/1.2 var(--sans); letter-spacing: 0; }
footer { background: var(--navy); color: var(--cloud); padding: 2.7rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1rem 1.8rem; }
.footer-grid > div { display: grid; align-content: start; }
.footer-grid a:not(.brand-home), .text-button { display: flex; align-items: center; min-height: 38px; }
.footer-grid strong { color: var(--cyan-light); margin-bottom: .2rem; }
.footer-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; border-top: 1px solid color-mix(in srgb, var(--cloud) 14%, transparent); margin-top: 1.2rem; padding-top: 1rem; font-size: .86rem; overflow-wrap: anywhere; }
.text-button { color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; }
dialog { width: min(100% - 2rem, 32rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cloud); color: var(--ink); padding: 1.6rem; }
dialog::backdrop { background: color-mix(in srgb, var(--navy) 69%, transparent); }
dialog h2 { font-size: 2rem; }
dialog label { display: block; padding-block: .4rem; }
dialog .actions { margin-top: .8rem; }
.demo-wrap { margin-bottom: var(--space); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.demo-start { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.demo-start > div { padding: clamp(1.4rem, 5vw, 4rem); align-self: center; }
.demo-start img { width: 100%; height: 100%; min-height: 280px; }
.demo-top, .demo-bottom { padding: 1.2rem clamp(1rem, 3vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.demo-top { background: var(--navy); color: var(--cloud); }
.demo-top .eyebrow { color: var(--cyan-light); }
.demo-top h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0; }
.demo-top strong { font-size: .83rem; font-variant-numeric: tabular-nums; }
.album-tabs, .sheet-tabs, .reorder { display: flex; flex-wrap: wrap; gap: .5rem; }
.album-tabs { padding: .85rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.album-tabs button, .sheet-tabs button, .reorder button { min-height: 44px; padding: .4rem .65rem; color: var(--ink); border: 1px solid var(--line); border-radius: .35rem; background: var(--cloud); }
.album-tabs button[aria-pressed="true"], .sheet-tabs button[aria-pressed="true"] { background: var(--blue-strong); border-color: var(--blue-strong); color: var(--cloud); }
.album-tabs small, .sheet-tabs small { margin-left: .45em; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.photo-panel, .sheet-panel { min-width: 0; padding: clamp(1rem, 3vw, 2rem); }
.sheet-panel { border-left: 1px solid var(--line); background: var(--soft-blue); }
.demo-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .6rem; margin-bottom: .75rem; }
.demo-title h3 { margin: 0; }
.demo-title span { font-size: .82rem; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.shot { position: relative; border: 2px solid transparent; border-radius: 6px; padding: 0; overflow: hidden; background: var(--line); }
.shot[aria-pressed="true"] { border-color: var(--blue); }
.shot img { width: 100%; height: auto; aspect-ratio: 1.12; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.055); }
.shot:disabled { opacity: 1; }
.shot span { position: absolute; right: 4px; bottom: 4px; border-radius: 50%; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; color: var(--white); background: var(--dark-surface); font-weight: 700; }
.shot[aria-pressed="true"] span { background: var(--cyan-light); color: var(--ink); }
@keyframes appear { from { opacity: .25; transform: scale(.98); } }
.demo-bottom { border-top: 1px solid var(--line); }
.demo-bottom p { margin: .25rem 0 0; color: var(--muted); }
.demo-status { margin: 0; padding: 0 clamp(1rem, 3vw, 2rem); min-height: 1.65rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
  .desktop-nav, .top-actions { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { padding: .6rem .3rem; cursor: pointer; }
  .mobile-nav nav { position: absolute; top: 100%; right: 1.5rem; width: min(265px, calc(100% - 3rem)); background: var(--navy); border: 1px solid var(--dark-edge); padding: .7rem .9rem; display: grid; border-radius: 0 0 .6rem .6rem; }
  .mobile-nav nav a { padding: .65rem .4rem; }
  .mobile-nav nav .button { margin-top: .5rem; }
  .showcase { gap: 2rem; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2rem); }
  .top-row { min-height: 62px; }
  .top-row .brand-home { width: 52px; }
  .showcase, .demo-start, .demo-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sheet-panel { border-left: 0; border-top: 1px solid var(--line); }
  .demo-start img { max-height: 230px; min-height: 0; }
  .page-intro h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Shared technology surfaces and official artwork. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.top { color: var(--ink); background: var(--white); border-bottom-color: var(--line); }
.top-row { min-height: 72px; }
.brand-home { width: 62px; border-radius: 0; background: transparent; }
.brand-home img, .gallery-brand { background: transparent; filter: url("./background.svg#clear"); }
footer .brand-home img, .lab-bar .gallery-brand { filter: url("./background.svg#clear") brightness(2.8) saturate(.82); }
.button { border-radius: 8px; }
.button.primary { color: var(--white); background: var(--blue); box-shadow: 0 4px 12px color-mix(in srgb, var(--navy) 25%, transparent); }
.button.primary:hover { background: var(--blue-strong); }
.mobile-nav nav { background: var(--white); border-color: var(--line); box-shadow: 0 15px 34px color-mix(in srgb, var(--navy) 15%, transparent); z-index: 4; }
.page-intro { background: linear-gradient(155deg, var(--soft-blue), var(--white) 75%); border-radius: 0 0 26px 26px; padding-inline: clamp(1rem, 4vw, 3.5rem); margin-bottom: 2rem; }
.page-intro h1, .page-intro .lede { max-width: 23ch; }
.page-intro .lede { max-width: 58ch; }

.tech-hero { overflow: hidden; color: var(--cloud); background: radial-gradient(ellipse at 78% 22%, var(--dark-blue) 0, var(--dark-surface) 45%, var(--navy) 78%); }
.hero-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(1.75rem, 4.5vw, 4.75rem); align-items: center; padding-block: clamp(3rem, 7.8vw, 7.2rem); }
.hero-message h1 { font-size: clamp(2.65rem, 5vw, 5rem); line-height: 1.02; margin: .55rem 0 1rem; text-wrap: balance; }
.hero-message em { display: block; color: var(--cyan); font-style: normal; }
.hero-message .eyebrow { color: var(--cyan-light); }
.hero-message .lede { max-width: 45ch; color: var(--on-dark-muted); margin-bottom: 1.45rem; }
.hero-message .dot { background: var(--teal); box-shadow: 0 0 14px color-mix(in srgb, var(--teal) 55%, transparent); }
.hero-message .button.secondary { border-color: var(--dark-edge); }
.hero-message .pricing-link { font-size: .89rem; color: var(--cyan-light); }
.product-frame { min-width: 0; background: var(--soft-blue); color: var(--ink); border: 1px solid var(--dark-edge); border-radius: 16px; overflow: hidden; box-shadow: 0 25px 65px color-mix(in srgb, var(--navy) 63%, transparent), 0 0 0 6px color-mix(in srgb, var(--blue) 10%, transparent); }
.product-bar, .product-title, .product-label, .ui-head, .scene-progress, .board-top, .board-meter { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.product-bar { padding: .15rem 1rem; background: var(--white); color: var(--dark-surface); border-bottom: 1px solid var(--line); font-size: .78rem; }
.product-bar .gallery-brand { width: 104px; }
.product-main { padding: clamp(.85rem, 2vw, 1.4rem); }
.product-title h2 { font-size: clamp(1.2rem, 2.65vw, 2.3rem); margin: .13rem 0 .2rem; }
.product-main small, .ui-box small { display: block; color: var(--muted); font-size: .75rem; }
.ui-chip { display: inline-flex; align-items: center; flex-shrink: 0; width: fit-content; max-width: 100%; border: 1px solid var(--line); background: var(--soft-blue); color: var(--blue-strong); border-radius: 999px; padding: .25rem .63rem; font-weight: 700; font-size: .69rem; line-height: 1.25; }

.product-tabs { display: flex; gap: 1rem; border-bottom: 1px solid var(--line); padding-top: .65rem; font-size: .76rem; }
.product-tabs > * { padding-bottom: .45rem; }
.product-tabs b { color: var(--blue-strong); border-bottom: 2px solid var(--blue); }
.product-content { display: grid; grid-template-columns: 1.1fr .85fr; gap: .75rem; margin-top: .8rem; }
.product-content > * { min-width: 0; }
.product-label { font-size: .67rem; margin-bottom: .5rem; }
.product-label span { color: var(--blue-strong); white-space: nowrap; }
.product-photos, .scene-grid, .board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .32rem; }
.product-photos > div { position: relative; border-radius: 6px; overflow: hidden; }
.product-photos > div:has(span) { outline: 2px solid var(--blue); outline-offset: -2px; }
.product-photos img, .scene-grid img, .board-grid img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 6px; }
.product-photos span { position: absolute; top: 4px; right: 4px; color: var(--white); background: var(--blue); width: 1rem; height: 1rem; display: grid; place-items: center; border-radius: 50%; font-size: .67rem; }
.product-album { padding: .6rem; border: 1px solid var(--line); border-radius: 9px; background: var(--white); display: flex; flex-direction: column; gap: .42rem; font-size: .76rem; }
.mini-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; border: 3px solid var(--line); background: var(--line); border-radius: 5px; overflow: hidden; }
progress { width: 100%; height: 7px; accent-color: var(--blue); }
.ui-meter { line-height: 1.15; }
.album-peek { display: flex; flex-wrap: wrap; gap: .2rem; }
.album-peek .ui-chip { font-size: .61rem; padding: .16rem .35rem; }

.advantages { border-bottom: 1px solid var(--line); background: var(--white); padding: 2rem 0 1.3rem; }
.advantages-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.advantages-grid article { border-left: 1px solid var(--line); padding-left: 1rem; }
.advantages-grid article > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--blue); background: var(--soft-blue); font-size: 1.2rem; transition: transform .25s; }
.advantages-grid article:hover > span { transform: translateY(-3px); }
.advantages h2 { font-size: 1rem; letter-spacing: -.02em; margin: .65rem 0 .25rem; }
.advantages p { color: var(--muted); font-size: .85rem; }
.advantages .limits { max-width: none; margin: 1rem 0 .2rem; }

.scenes, .mode-section, .compare-section, .founder { padding-block: var(--space); }
.storyboard { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; margin-block: 2.3rem; }
.sticky-board { position: sticky; top: clamp(1rem, 9vh, 5rem); min-width: 0; border-radius: 17px; overflow: hidden; color: var(--cloud); background: radial-gradient(at 90% 10%,var(--dark-blue),var(--navy) 72%); border: 1px solid var(--dark-blue); box-shadow: 0 20px 55px color-mix(in srgb, var(--navy) 21%, transparent); }
.board-top, .board-meter { padding: .85rem 1rem; min-height: 54px; font-size: .77rem; }
.board-top span { color: var(--on-dark-muted); }
.board-image { position: relative; display: grid; align-items: center; min-height: 245px; aspect-ratio: 1.35; padding: 1.5rem; }
.board-grid { grid-area: 1/1; grid-template-columns: repeat(2,1fr); width: 79%; transition: transform .48s ease, opacity .48s ease; }
.board-grid img { aspect-ratio: 1.5; }
.board-spread { grid-area: 1/1; width: 67%; justify-self: end; transition: transform .48s ease, opacity .48s ease; transform: translate(4%,28%) scale(.78); filter: drop-shadow(0 14px 16px color-mix(in srgb, var(--navy) 63%, transparent)); }
.board-order { display: flex; gap: .42rem; margin-top: .4rem; }
.board-order i { font: 700 .7rem var(--sans); padding: .3rem .6rem; background: var(--dark-blue); border-radius: 5px; transition: transform .4s; }
[data-active-scene="1"] .board-spread,[data-active-scene="3"] .board-spread { transform: translate(-12%,9%) scale(1.16); }
[data-active-scene="1"] .board-order i:first-child { transform: translateX(2.15rem); }
[data-active-scene="1"] .board-order i:nth-child(2) { transform: translateX(-2.15rem); }
[data-active-scene="2"] .board-grid,[data-active-scene="4"] .board-grid { transform: translateX(-7%) scale(.85); opacity: .68; }
[data-active-scene="5"] .board-grid { transform: translateX(8%) scale(1.15); }
[data-active-scene="5"] .board-spread { opacity: .14; transform: scale(.68); }
.board-meter progress { max-width: 78%; }
.board-meter span { white-space: nowrap; }
.feature-scene { padding: 1.1rem 0 2.7rem; margin-bottom: 1.5rem; border-top: 1px solid var(--line); }
.feature-scene h3 { font-size: clamp(1.45rem, 3.3vw, 2.55rem); letter-spacing: -.05em; }
.scene-copy p { color: var(--muted); }
.ui-box { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .8rem; overflow: hidden; box-shadow: 0 10px 28px color-mix(in srgb, var(--navy) 5%, transparent); }
.ui-head { margin-bottom: .75rem; font-size: .82rem; }
.scene-grid img { aspect-ratio: 1.55; }
.scene-progress { margin-top: .85rem; font-size: .8rem; }
.scene-progress p { color: var(--muted); margin: .1rem 0; }
.scene-progress progress { width: 42%; }
.sheet-order { display: grid; gap: .45rem; padding-left: 1.8rem; margin: 0 .2rem 0 0; }
.sheet-order li { border: 1px solid var(--line); border-radius: 8px; padding: .4rem; font-size: .78rem; background: var(--soft-blue); }
.sheet-order li::marker { font-weight: 750; color: var(--blue-strong); }
.sheet-order li > div { display: inline-flex; width: calc(100% - 87px); align-items: center; gap: .5rem; vertical-align: middle; }
.sheet-order .mini-spread { min-width: 42px; width: min(32%, 92px); }
.sheet-order button, .reorder button { min-width: 38px; min-height: 42px; color: var(--blue-strong); border: 1px solid var(--line); border-radius: 6px; background: var(--soft-blue); }
.sheet-order button { margin-left: .12rem; }
.dragging { opacity: .5; }
.drop-ready { outline: 2px solid var(--blue); outline-offset: -2px; }
.album-list { display: grid; gap: .5rem; }
.album-list > div { display: grid; grid-template-columns: 56px 1fr auto; gap: .6rem; align-items: center; padding: .42rem; border-radius: 7px; background: var(--soft-blue); font-size: .8rem; }
.album-list img { width: 100%; height: 42px; border-radius: 4px; }
.album-list progress { max-width: 175px; display: block; }
.handoff { display: grid; grid-template-columns: 1fr auto 1fr; gap: .65rem; align-items: center; margin-bottom: .55rem; }
.handoff > div { border: 1px solid var(--line); border-radius: 8px; padding: .55rem; background: var(--soft-blue); font-size: .76rem; }
.handoff p { margin: .4rem 0; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { padding: .5rem .1rem; display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: .8rem; }
.timeline time { min-width: 3rem; color: var(--blue-strong); }
.client-cover { position: relative; isolation: isolate; color: var(--white); padding: 1rem; display: grid; align-content: end; min-height: 150px; margin-bottom: .55rem; border-radius: 7px; overflow: hidden; background: var(--dark-surface); }
.client-cover img { width: 100%; height: 100%; position: absolute; inset: 0; z-index: -2; }
.client-cover::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(transparent,color-mix(in srgb, var(--navy) 91%, transparent)); }
.client-cover small { color: var(--cloud); }
.client-cover b { font-size: 1.3rem; }

.drive-band, .roadmap-band { background: var(--navy); border-block-start: 1px solid var(--dark-edge); color: var(--soft-blue); padding-block: var(--space); }
.drive-band .eyebrow, .drive-band .text-link { color: var(--cyan); }
.drive-band .section-copy p:not(.eyebrow), .drive-band p, .roadmap-band p { color: var(--on-dark-muted); }
.drive-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; padding: 0; margin: 2rem 0; list-style: none; }
.drive-flow li { position: relative; background: var(--dark-surface); border: 1px solid var(--dark-edge); border-radius: 9px; padding: 1.1rem .5rem; display: grid; justify-items: center; text-align: center; gap: .55rem; font-size: .88rem; }
.drive-flow li:not(:last-child)::after { content: "→"; position: absolute; left: calc(100% + 4px); top: 39%; color: var(--cyan); }
.drive-flow i { font: 650 1.65rem var(--sans); color: var(--cyan); }
.drive-flow.is-visible li { animation: connection .6s both; }
.drive-flow li:nth-child(2) { animation-delay: .13s; }
.drive-flow li:nth-child(3) { animation-delay: .26s; }
.drive-flow li:nth-child(4) { animation-delay: .39s; }
@keyframes connection { from { transform: translateY(8px); opacity: .55; } to { transform: none; opacity: 1; } }
.storage-status { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.storage-status > div { border-left: 2px solid var(--blue); padding: .45rem .8rem; }
.mode-section, .founder { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(1.2rem, 5vw, 5rem); }
.optimization { box-shadow: 0 12px 35px color-mix(in srgb, var(--navy) 9%, transparent); }
.mode-visual { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: center; background: var(--soft-blue); border-radius: 9px; overflow: hidden; padding-right: .75rem; font-size: .84rem; }
.mode-visual img { width: 100%; aspect-ratio: 2.25; height: auto; }
.detail-stack { margin-top: .65rem; }
.detail-stack details, .compare-tabs details { border-top: 1px solid var(--line); }
.detail-stack summary, .compare-tabs summary, .turn-page summary { cursor: pointer; min-height: 44px; padding: .65rem .35rem; font-weight: 700; }
.detail-stack details[open] summary, .compare-tabs details[open] summary { color: var(--blue-strong); }
.detail-stack p { font-size: .84rem; margin-left: .5rem; }
.compare-section { border-top: 1px solid var(--line); }
.compare-tabs { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.compare-tabs summary { padding-inline: 1rem; }
.compare-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; padding: .8rem 1rem 1.15rem; }
.compare-flow span { padding: .85rem; background: var(--soft-blue); border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; }
.compare-tabs details[open] .compare-flow { animation: appear .3s; }
.road-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.road-grid article { min-width: 0; border: 1px solid var(--dark-edge); background: var(--dark-surface); border-radius: 13px; padding: .95rem; }
.road-grid h3 { margin: .75rem 0 .35rem; }
.road-grid article p { font-size: .9rem; }
.road-book { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; perspective: 500px; }
.turn-page[open] .road-book > :last-child { transform-origin: left; animation: flip-in .6s ease both; }
@keyframes flip-in { from { transform: rotateY(-75deg); } to { transform: rotateY(0); } }
.road-phone, .road-consent { display: grid; gap: .35rem; color: var(--dark-surface); background: var(--soft-blue); border-radius: 9px; padding: .6rem; font-size: .8rem; }
.road-phone .scene-grid { grid-template-columns: repeat(2,1fr); }
.road-consent > div { padding: .5rem; background: var(--teal-light); color: var(--teal-strong); border-radius: 5px; }
.founder-mark { aspect-ratio: 1.45; display: grid; place-items: center; color: var(--cyan); background: radial-gradient(at 75% 0%,var(--dark-blue),var(--navy) 65%); font-size: clamp(4rem, 12vw, 10rem); font-weight: 780; line-height: 1; border-radius: 16px; }
.duration-picker { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.duration-picker legend { margin-bottom: .35rem; color: var(--muted); font-size: .85rem; }
.duration-picker label { display: inline-flex; align-items: center; gap: .34rem; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: .3rem .6rem; background: var(--white); }
.duration-picker label:has(:checked), .price-grid article.is-plan { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--soft-blue); }
.shot[aria-pressed="true"] { box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 33%, transparent); }
.demo-top { background: linear-gradient(115deg,var(--navy),var(--dark-blue)); }
.demo-grid { border-top: 1px solid var(--line); }
.demo-wrap { box-shadow: 0 18px 55px color-mix(in srgb, var(--navy) 9%, transparent); }
.sheet-tabs button[draggable=true] { cursor: grab; }

@media (max-width: 1020px) {
  .hero-layout { gap: 1.8rem; }
  .product-content { grid-template-columns: 1fr .78fr; gap: .5rem; }
  .advantages-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 790px) {
  .hero-layout, .storyboard { grid-template-columns: 1fr; }
  .hero-message h1 { max-width: 17ch; }
  .sticky-board { display: none; }
  .scene-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
  .feature-scene { min-width: 0; margin: 0; padding-bottom: 1rem; }
  .road-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .top-row { min-height: 60px; }
  .hero-layout { gap: 1.6rem; padding-block: 2.65rem; }
  .hero-message h1 { font-size: clamp(2.4rem, 10.2vw, 3.4rem); }
  .product-bar { padding-inline: .68rem; }
  .product-title .ui-chip { max-width: 95px; }
  .product-label { flex-wrap: wrap; gap: .15rem; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .advantages-grid article { padding-left: .65rem; }
  .scene-list,.mode-section,.founder,.road-grid { grid-template-columns: 1fr; }
  .drive-flow { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
  .drive-flow li:not(:last-child)::after { display: none; }
  .storage-status { grid-template-columns: 1fr; }
  .compare-flow { grid-template-columns: 1fr; }
  .founder-mark { max-height: 175px; }
}
@media (prefers-reduced-motion: reduce) {
  .board-grid, .board-spread, .board-order i { transform: none !important; }
}

.selection-grid > div { position: relative; }
.selection-grid > div:has(span) img { outline: 2px solid var(--blue); outline-offset: -2px; }
.selection-grid span { position: absolute; right: 5px; top: 5px; background: var(--blue); color: var(--white); font-size: .75rem; padding: 0 .35rem; border-radius: 5px; }
[data-active-scene="0"] .selection-grid span { animation: appear .4s ease both; }
.upload-path { display: flex; align-items: center; gap: .5rem; margin: 0 .35rem .55rem; font-size: .78rem; }
.upload-path span { background: var(--soft-blue); border: 1px solid var(--line); border-radius: 7px; padding: .4rem .55rem; }
.upload-path b { display: block; color: var(--blue-strong); }
.upload-path i { font-style: normal; }
.founder-mark img { width: min(57%, 225px); height: auto; filter: url("./background.svg#clear") brightness(2.8) saturate(.82); }
.os-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 1.5rem; gap: 1.3rem; background: var(--dark-surface); color: var(--soft-blue); border-radius: 14px; }
.os-overview > div { border-left: 1px solid var(--dark-edge); padding-left: .9rem; }
.os-overview span { color: var(--cyan); }
.os-overview h2 { font-size: 1.2rem; letter-spacing: -.025em; margin: .4rem 0; }
.os-overview p { color: var(--on-dark-muted); font-size: .9rem; margin: 0; }
@media (max-width:560px) { .os-overview { grid-template-columns: 1fr; } .founder-mark img { max-height: 165px; } }

/* Gallery photographs stay inside fixed crop frames across browser engines. */
.photo-frame { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-spread .photo-frame { aspect-ratio: 5 / 4; }
.board-grid .photo-frame { aspect-ratio: 3 / 2; border-radius: 6px; }

/* The workflow has its own navy section and cyan/teal state indicators. */
.scenes { background: var(--navy); color: var(--cloud); }
.scenes .eyebrow, .scenes .text-link { color: var(--cyan); }
.scenes .section-copy h2 { max-width: 18ch; }
.scenes .scene-copy p { color: var(--on-dark-muted); }
.storyboard { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.sticky-board { background: var(--dark-surface); border-color: var(--dark-edge); box-shadow: none; }
.board-top { border-bottom: 1px solid var(--dark-edge); }
.board-top strong { color: var(--cyan); text-align: right; }
.board-image { display: block; min-height: 0; padding: 0; aspect-ratio: 16 / 11; background: radial-gradient(ellipse at 32% 38%, var(--dark-blue), var(--dark-surface) 72%); }
.board-grid { position: absolute; inset: 11% auto auto 8%; width: 63%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.board-grid img { border-radius: 0; aspect-ratio: auto; }
.board-grid .photo-frame:nth-child(-n+2) { box-shadow: 0 0 0 2px var(--cyan); }
.board-spread { position: absolute; right: 8%; top: 33%; width: 53%; }
.board-spread .mini-spread { border-color: var(--cyan); background: var(--cyan); }
.board-spread .mini-spread img { height: 100%; aspect-ratio: auto; }
.board-meter { border-top: 1px solid var(--dark-edge); }
.board-meter progress { accent-color: var(--teal); }
.feature-scene { border-top-color: var(--dark-edge); }
.feature-scene[data-scene] .ui-box { border-top: 3px solid var(--blue); }
.feature-scene[data-scene="2"] .ui-box, .feature-scene[data-scene="4"] .ui-box { border-top-color: var(--teal); }
.feature-scene[data-scene="1"] .ui-box, .feature-scene[data-scene="5"] .ui-box { border-top-color: var(--cyan); }
.scene-progress progress { accent-color: var(--blue); }
.drive-flow i, .road-grid h3 { color: var(--cyan); }
.drive-flow li:nth-child(2) { border-color: var(--teal); }
.storage-status > div:first-child { border-color: var(--teal); }
.product-tabs b, .album-tabs button[aria-pressed="true"], .sheet-tabs button[aria-pressed="true"] { border-color: var(--blue); }
.album-tabs button[aria-pressed="true"], .sheet-tabs button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
@media (min-width: 641px) and (max-width: 1080px) {
  .storyboard { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .sticky-board { display: block; position: relative; top: auto; width: min(100%, 610px); justify-self: center; }
  .board-image { aspect-ratio: 2 / 1; }
  .board-grid { width: 49%; }
  .board-spread { width: 43%; }
  .scene-list { display: block; }
  .feature-scene { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 1rem; margin: 0; padding-block: 1.2rem; }
  .feature-scene > * { min-width: 0; }
}
@media (max-width: 640px) {
  .storyboard, .scene-list { display: block; }
  .sticky-board { display: none; }
  .feature-scene + .feature-scene { margin-top: 1.2rem; }
}

/* Consistent disclosure controls, including WebKit's native marker. */
:root { accent-color: var(--blue); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; display: inline-block; width: .44em; height: .44em; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); vertical-align: .08em; margin-right: .55em; }
details[open] > summary::before { transform: rotate(45deg); vertical-align: .18em; }
.roadmap-band summary::before { border-color: var(--cyan); }

.demo-album-picker { padding: clamp(1rem, 3vw, 2rem); }
.demo-album-picker h3 { font-size: clamp(1.45rem, 3vw, 2rem); }
.demo-album-picker > p { color: var(--muted); }
.demo-album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: .8rem; padding: 0; margin: 1.1rem 0 0; }
.demo-album-card { display: grid; width: 100%; height: 100%; text-align: start; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: var(--white); color: var(--ink); }
.demo-album-card:hover { border-color: var(--blue); background: var(--soft-blue); }
.demo-album-cover { position: relative; display: block; aspect-ratio: 2 / 1; }
.demo-album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-album-details { display: grid; gap: .25rem; padding: .8rem; min-width: 0; overflow-wrap: anywhere; }
.demo-album-orientation { color: var(--blue-strong); font-size: .75rem; font-weight: 700; }
.demo-album-details > small { color: var(--muted); }
.demo-album-toolbar { padding: .7rem clamp(1rem, 3vw, 2rem) 0; }
@media (max-width: 640px) {
  .demo-album-grid { grid-template-columns: 1fr; }
  .demo-album-card { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .demo-album-cover { aspect-ratio: auto; }
}

.demo-roles { display: flex; flex-wrap: wrap; gap: .5rem; padding: .85rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.demo-roles button { border-color: var(--line); }
.demo-roles button[aria-pressed="true"] { color: var(--white); background: var(--blue); border-color: var(--blue); }
.studio-demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-block: 1rem 1.5rem; }
.studio-demo-form, .studio-demo-library { min-width: 0; border: 1px solid var(--line); border-radius: .7rem; background: var(--cloud); padding: 1rem; }
.studio-demo-form { display: grid; gap: .7rem; align-content: start; }
.studio-demo-form h4, .studio-demo-library h4, .studio-demo > h4 { margin: 0 0 .5rem; }
.studio-demo-form label { display: grid; gap: .25rem; font-size: .86rem; font-weight: 650; }
.studio-demo-form input, .studio-demo-form select { width: 100%; min-height: 2.65rem; color: var(--ink); border: 1px solid var(--line); border-radius: .4rem; padding: .35rem .55rem; background: var(--white); }
.studio-demo-form small, .studio-demo-library h4 span, .demo-sheet-note { font-size: .8rem; color: var(--muted); }
.studio-demo-form button { justify-self: start; }
.studio-demo-limits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.demo-library-photo { aspect-ratio: 1.12; min-width: 0; overflow: hidden; border-radius: .4rem; }
.demo-library-photo img { width: 100%; height: 100%; }
.studio-demo-albums { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.studio-demo-albums li { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding: .25rem .7rem; border: 1px solid var(--line); border-radius: .6rem; }
.studio-demo-albums .demo-album-details { padding: .45rem 0; overflow-wrap: anywhere; }
.demo-album-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-bottom: .7rem; }
.demo-album-toolbar h3 { margin: 0; overflow-wrap: anywhere; }
.demo-title h4 { margin: 0; font-size: 1rem; }
.demo-confirmation { margin: 0 clamp(1rem, 3vw, 2rem) .85rem; padding: .85rem; border: 1px solid var(--teal); border-radius: .6rem; background: var(--teal-light); overflow-wrap: anywhere; }
.demo-confirmation h4, .demo-confirmation p { margin: 0; }
.demo-submitted { width: fit-content; background: var(--teal-light); color: var(--teal-strong); border-radius: .3rem; padding: .15rem .45rem; font-size: .78rem; font-weight: 700; }
@media (max-width: 640px) {
  .studio-demo-grid { grid-template-columns: minmax(0, 1fr); }
}

.demo-sheet-continuation { align-self: center; color: var(--muted); font-size: .8rem; }
.demo-spread-preview { margin: .85rem 0; }
.demo-spread-preview figcaption { margin-bottom: .35rem; font-size: .8rem; font-weight: 650; }
.demo-layout-options { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.demo-layout-options button { min-height: 44px; border: 1px solid var(--line); border-radius: .4rem; color: var(--ink); background: var(--white); padding: .3rem .55rem; }
.demo-layout-options button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--white); }
.demo-spread-surface { position: relative; display: flex; flex-direction: column; gap: 3px; width: min(100%, 550px); aspect-ratio: 8 / 3; margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; padding: 4px; background: var(--white); }
.demo-spread-surface.portrait { width: min(100%, 375px); aspect-ratio: 3 / 2; }
.demo-spread-surface.square { width: min(100%, 450px); aspect-ratio: 2; }
.demo-spread-surface::after { content: ""; position: absolute; pointer-events: none; inset: 0 auto 0 50%; width: 1px; background: color-mix(in srgb, var(--navy) 30%, transparent); box-shadow: 0 0 5px color-mix(in srgb, var(--navy) 35%, transparent); }
.demo-spread-row { display: flex; gap: 3px; flex: 1 1 0; min-height: 0; }
.demo-spread-cell { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--soft-blue); }
.demo-spread-cell img { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-spread-empty { margin: auto; color: var(--muted); font-size: .82rem; text-align: center; }
.demo-spread-preview > p { margin: .35rem 0 0; }
