/* Two complete, centered scenes, sized to the available viewport. */
:root { --header-height: 66px; --preview-height: 24px; }
html { scroll-padding-top: var(--header-height); }
.preview-strip { height: var(--preview-height); display: grid; place-items: center; padding: 0 12px; font-size: 10px; }
.site-header { height: var(--header-height); }
.header-inner { height: 100%; min-height: 0; }
.brand img { width: 180px; height: 60px; }
.site-header nav { gap: 22px; font-size: 12px; }
.site-header nav .nav-cta { padding: 8px 16px; }
.home-section {
  height: calc(100svh - var(--header-height) - var(--preview-height));
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 0 24px;
  gap: 20px;
  scroll-margin-top: var(--preview-height);
}
.hero.container {
  flex: 1;
  min-height: 0;
  width: min(1080px, calc(100% - 64px));
  padding: 0;
  gap: 48px;
  grid-template-columns: 1.2fr 1fr;
}
.hero-copy { text-align: center; }
.hero .eyebrow { margin: 0 auto 14px; padding: 6px 13px; }
.hero h1 { font-size: clamp(32px, 5.6svh, 54px); line-height: 1.1; max-width: 570px; margin: auto; }
.hero-description { font-size: clamp(14px, 1.9svh, 17px); line-height: 1.6; max-width: 480px; margin: 18px auto 0; }
.hero-actions { margin-top: 22px; justify-content: center; flex-direction: row; gap: 12px; }
.hero-actions .button { padding: 13px 19px; }
.hero-note { justify-content: center; margin-top: 14px; }
.hero-audience { margin: 18px auto 0; padding: 10px 16px; font-size: 11px; }
.hero-audience strong { display: inline; }
.hero-art { height: min(100%, 54svh, 470px); min-height: 0; width: auto; max-width: 100%; padding: 0 15px; justify-self: center; align-self: center; }
.art-frame { height: 100%; max-height: 100%; width: auto; border-radius: 38px; border-width: 5px; transform: none; }
.art-frame img { height: 100%; width: auto; max-width: 100%; aspect-ratio: 590/790; object-fit: contain; }
.art-note { left: -12px; bottom: 25px; padding: 12px 18px; font-size: 12px; border-radius: 23px; }
.art-note strong { font-size: 20px; }
.art-star { top: 0; left: -14px; font-size: 40px; }
.home-benefits { width: min(1080px, calc(100% - 64px)); flex-shrink: 0; }
.home-benefits .benefit-strip { padding: 0; gap: 18px; }
.home-benefits .benefit-strip > div { padding: 17px 18px; border-radius: 25px; }
.home-benefits .benefit-strip p strong { font-size: 13px; }
.home-benefits .benefit-strip p span { font-size: 11px; }

.discovery.section-space { height: calc(100svh - var(--header-height)); min-height: 490px; padding: 18px 0 20px; }
.discovery > .container { height: 100%; max-width: 1080px; display: flex; flex-direction: column; gap: 15px; }
.discovery .section-heading { display: block; text-align: center; margin: 0; flex-shrink: 0; }
.discovery .section-heading .eyebrow { font-size: 9px; margin-bottom: 5px; }
.discovery .section-heading h2 { font-size: clamp(25px, 3.8svh, 36px); line-height: 1.15; }
.discovery .section-heading > p { font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.discovery-layout { min-height: 0; flex: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: stretch; }
.discovery-info { min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.demo-tabs { gap: 13px; flex-shrink: 0; }
.demo-tabs button { min-height: 0; padding: 13px 17px; border-radius: 24px; gap: 13px; }
.demo-tabs strong { font-size: 15px; }
.demo-tabs small { font-size: 11px; }
.tab-icon { width: 40px; height: 42px; border-radius: 15px; }
.tab-icon svg { width: 25px; height: 25px; }
.demo-explanation { margin-top: 22px; padding: 16px 20px; border-radius: 24px; }
.demo-explanation .quote-mark { display: none; }
#demo-quote { font-size: 16px; max-width: none; line-height: 1.4; }
#demo-description { font-size: 12px; line-height: 1.6; margin-top: 8px; max-width: none; }
.usage-details-button { display: none; }
.demo-stage { min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.demo-window { min-height: 0; flex: 1; display: flex; flex-direction: column; border-radius: 29px; }
.window-top { padding: 9px 16px; font-size: 11px; flex-shrink: 0; }
#demo-panel { min-height: 0; flex: 1; padding: 12px 18px; display: flex; flex-direction: column; gap: 8px; }
.capture-heading { min-height: 0; margin: 0; align-items: center; flex-shrink: 0; gap: 12px; }
.capture-heading p { font-size: 14px; line-height: 1.35; }
.capture-heading > span { margin: 0; font-size: 11px; }
.capture-layout { min-height: 0; flex: 1; gap: 20px; align-items: center; }
.capture-phone { height: 100%; width: auto; max-width: 85%; aspect-ratio: 709/1536; flex-shrink: 1; border-width: 4px; border-radius: 20px; }
.capture-phone img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.capture-thumbnails { max-height: 100%; gap: 6px; padding: 3px; flex-shrink: 0; }
.capture-thumbnails[hidden] { display: none; }
.capture-thumbnails button { width: 36px; height: 49px; padding: 2px; border-radius: 9px; }
.zoom-hint { font-size: 10px; padding: 4px 9px; bottom: 8px; }
.capture-caption { font-size: 12px; line-height: 1.45; margin: 0 auto; min-height: 35px; max-width: 430px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.capture-controls { height: 34px; gap: 18px; flex-shrink: 0; }
.capture-controls button { height: 30px; width: 40px; font-size: 18px; border-radius: 13px; }
.capture-controls[data-single=true] { visibility: hidden; }
.capture-controls > span { font-size: 10px; }
.illustrative-label { font-size: 10px; margin: 0; line-height: 1.4; flex-shrink: 0; }

/* The enlarged screen also opens in a full-image view. */
#capture-dialog { height: 94svh; max-height: 1100px; }
.capture-dialog-top { min-height: 56px; padding: 12px 66px 12px 20px; gap: 14px; }
.capture-dialog-top h2 { flex: 1; font-size: 17px; }
.capture-dialog-top .dialog-close { top: 9px; }
#capture-zoom { flex-shrink: 0; border: 1px solid #c6b3e1; background: #fff9; border-radius: 15px; font-size: 12px; padding: 7px 12px; }
.capture-dialog-body { display: flex; align-items: center; justify-content: center; padding: 12px; }
#capture-dialog .capture-dialog-body img { width: auto; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
#capture-dialog.is-zoomed .capture-dialog-body { display: block; overflow: auto; }
#capture-dialog.is-zoomed .capture-dialog-body img { width: min(100%, 709px); height: auto; max-height: none; margin: auto; }
.capture-dialog-bottom { padding: 9px 16px; gap: 12px; }
.capture-dialog-bottom button { height: 34px; }
#usage-dialog { padding-top: 55px; }

@media(max-width:1000px) {
  .site-header nav { gap: 15px; font-size: 11px; }
  .hero.container { gap: 30px; }
  .hero-audience { display: none; }
  .discovery-layout { gap: 24px; }
  .demo-tabs strong { font-size: 14px; }
  .demo-explanation { padding: 15px 17px; }
  #demo-quote { font-size: 15px; }
}
@media(max-width:900px) {
  .menu-button { display: flex; align-items: center; gap: 8px; min-height: 40px; border: 1px solid #dfd2f3; padding: 8px 13px; font-size: 11px; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 22px 22px; border-radius: 0 0 24px 24px; box-shadow: 0 12px 25px #23395d14; }
  .site-header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav > a { padding: 11px; font-size: 13px; }
  .site-header nav .nav-cta { margin-top: 6px; }
  .discovery > .container { width: calc(100% - 36px); }
  .demo-tabs button { padding: 11px 12px; gap: 10px; }
  .demo-tabs small { font-size: 10px; }
  .tab-icon { width: 34px; height: 38px; }
}
@media(max-height:700px) and (min-width:601px) {
  .home-section { min-height: 0; padding: 12px 0 16px; gap: 14px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 9px; }
  .hero h1 { font-size: clamp(28px, 6svh, 40px); }
  .hero-description { margin-top: 12px; font-size: 14px; }
  .hero-actions { margin-top: 15px; }
  .hero-note { margin-top: 10px; }
  .hero-audience { display: none; }
  .home-benefits .benefit-strip > div { padding: 12px 15px; }
  .home-benefits .benefit-strip p span { display: none; }
  .discovery.section-space { min-height: 0; padding: 12px 0 16px; }
  .discovery > .container { gap: 10px; }
  .discovery .section-heading .eyebrow { display: none; }
  .demo-tabs { gap: 10px; }
  .demo-tabs button { padding: 8px 13px; }
  .demo-tabs small { display: none; }
  .tab-icon { width: 32px; height: 34px; }
  .demo-explanation { margin-top: 15px; padding: 12px 15px; }
  #demo-quote { font-size: 14px; }
  #demo-description { font-size: 11px; line-height: 1.45; margin-top: 6px; }
  .capture-caption { font-size: 11px; min-height: 32px; }
  .illustrative-label { display: none; }
}
@media(max-width:600px) {
  :root { --header-height: 60px; }
  .brand img { width: 171px; height: 57px; }
  .header-inner { width: calc(100% - 30px); }
  .home-section { min-height: 0; padding: 12px 0 17px; gap: 14px; }
  .hero.container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 34px); }
  .hero-copy { display: contents; }
  .hero .eyebrow, .hero-audience { display: none; }
  .hero h1 { order: 0; font-size: clamp(26px, 4.2svh, 35px); line-height: 1.1; text-align: center; margin: 0; flex-shrink: 0; }
  .hero-art { order: 1; flex: 1; min-height: 60px; max-height: 23svh; height: 23svh; padding: 0; align-self: center; width: auto; }
  .art-frame { border-radius: 24px; border-width: 4px; box-shadow: 0 5px 0 #d9c7ec; }
  .art-frame img { height: 100%; width: auto; aspect-ratio: 590/790; object-fit: contain; }
  .art-note, .art-star { display: none; }
  .hero-description { order: 2; font-size: 13px; line-height: 1.5; text-align: center; margin: 0; max-width: 370px; flex-shrink: 0; }
  .hero-actions { order: 3; margin: 0; gap: 10px; justify-content: center; flex-shrink: 0; flex-wrap: nowrap; }
  .hero-actions .button { font-size: 11px; padding: 12px 15px; gap: 9px; }
  .hero-actions .text-button { font-size: 10px; padding: 9px 3px; }
  .hero-note { order: 4; margin: 0; font-size: 10px; flex-shrink: 0; }
  .home-benefits { width: calc(100% - 28px); }
  .home-benefits .benefit-strip { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .home-benefits .benefit-strip > div { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; border-radius: 20px; }
  .home-benefits .benefit-icon { width: 28px; height: 28px; border-radius: 10px; }
  .home-benefits .benefit-icon svg { width: 18px; height: 18px; }
  .home-benefits .benefit-strip p strong { font-size: 11px; line-height: 1.3; margin: 0; }
  .home-benefits .benefit-strip p span { display: none; }
  .discovery.section-space { min-height: 0; padding: 10px 0 13px; }
  .discovery > .container { width: calc(100% - 28px); gap: 9px; }
  .discovery .section-heading .eyebrow { display: none; }
  .discovery .section-heading h2 { font-size: 24px; }
  .discovery .section-heading > p { font-size: 11px; margin-top: 4px; }
  .discovery-layout { display: flex; flex-direction: column; gap: 9px; }
  .discovery-info { flex: 0 0 auto; gap: 5px; }
  .demo-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .demo-tabs button { padding: 9px 10px; border-radius: 18px; min-height: 56px; gap: 8px; box-shadow: 0 4px 0 var(--tile-edge); }
  .demo-tabs button[aria-selected=true] { box-shadow: 0 4px 0 var(--tile-edge), 0 0 0 2px #fff; }
  .demo-tabs strong { font-size: 12px; line-height: 1.25; }
  .demo-tabs small, .demo-tabs .tab-arrow { display: none; }
  .tab-icon { width: 26px; height: 29px; border-radius: 10px; }
  .tab-icon svg { width: 19px; height: 19px; }
  .demo-explanation { display: none; }
  .usage-details-button { display: block; border: 0; background: transparent; color: #605080; padding: 4px 10px; font-size: 11px; min-height: 30px; align-self: center; }
  .demo-stage { flex: 1; gap: 0; }
  .demo-window { border-radius: 24px; box-shadow: 0 5px 0 #dfd2f1; }
  .window-top { padding: 6px 12px; font-size: 10px; }
  .real-badge { font-size: 8px; padding: 3px 6px; }
  #demo-panel { padding: 8px 12px; gap: 6px; }
  .capture-heading p { font-size: 12px; }
  .capture-heading > span { font-size: 10px; }
  .capture-layout { gap: 15px; }
  .capture-phone { max-width: 82%; border-radius: 15px; border-width: 3px; }
  .capture-thumbnails { gap: 4px; }
  .capture-thumbnails button { width: 31px; height: 40px; }
  .capture-caption { font-size: 11px; min-height: 32px; line-height: 1.4; }
  .capture-controls { height: 30px; gap: 15px; }
  .capture-controls button { width: 36px; height: 28px; }
  .illustrative-label { display: none; }
  .capture-dialog-top { padding: 10px 54px 10px 13px; gap: 8px; }
  .capture-dialog-top h2 { font-size: 14px; }
  .capture-dialog-top .dialog-close { right: 8px; top: 8px; }
  #capture-zoom { font-size: 10px; padding: 6px 9px; }
  .capture-dialog-bottom p { font-size: 10px; }
}
@media(max-width:600px) and (max-height:680px) {
  .home-section { gap: 10px; padding: 8px 0 14px; }
  .hero.container { gap: 8px; }
  .hero h1 { font-size: 26px; }
  .hero-art { max-height: 17svh; height: 17svh; min-height: 40px; }
  .hero-description { font-size: 12px; line-height: 1.4; }
  .hero-note { font-size: 9px; }
  .home-benefits .benefit-strip > div { padding: 8px 5px; gap: 5px; }
  .home-benefits .benefit-icon { display: none; }
  .home-benefits .benefit-strip p strong { font-size: 10px; }
  .discovery .section-heading h2 { font-size: 21px; }
  .discovery .section-heading > p { display: none; }
  .demo-tabs button { min-height: 49px; padding: 7px 8px; }
  .demo-tabs strong { font-size: 11px; }
  .capture-caption { display: none; }
  .window-top { display: none; }
  .capture-thumbnails { display: none; }
}
@media(max-height:480px) and (min-width:601px) {
  :root { --header-height: 50px; --preview-height: 20px; }
  .brand img { width: 145px; height: 48px; }
  .hero h1 { font-size: 27px; }
  .hero .eyebrow, .hero-note, .hero-audience { display: none; }
  .hero-description { font-size: 12px; margin-top: 10px; }
  .hero-actions { margin-top: 12px; }
  .hero-actions .button { padding: 9px 13px; font-size: 11px; }
  .hero-art { max-height: 50svh; }
  .art-note, .art-star { display: none; }
  .home-benefits .benefit-strip > div { padding: 8px 12px; }
  .home-benefits .benefit-icon { width: 26px; height: 26px; }
  .home-benefits .benefit-strip p strong { font-size: 11px; }
  .discovery .section-heading h2 { font-size: 23px; }
  .discovery .section-heading > p { display: none; }
  .demo-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .demo-tabs button { padding: 9px 11px; min-height: 55px; gap: 8px; border-radius: 18px; }
  .demo-tabs strong { font-size: 12px; }
  .demo-tabs .tab-arrow { display: none; }
  .demo-explanation { display: none; }
  .usage-details-button { display: block; align-self: center; background: none; border: 0; font-size: 11px; color: #605080; padding: 15px; }
  .window-top, .capture-caption, .capture-thumbnails { display: none; }
  .capture-controls { height: 28px; }
  .capture-controls button { height: 25px; }
}
/* Respect text enlargement: allow flow on unusually constrained screens. */
@media(max-height:360px) { .home-section, .discovery.section-space { min-height: 310px; } }
/* Jump directly to a complete scene when choosing a navigation item. */
html { scroll-behavior: auto; }
