/* Launch film and the product walkthrough. */
.hero-content { padding-top: clamp(150px, 17vh, 200px); padding-bottom: 76px; }
.hero h1 { font-size: clamp(64px, 7.65vw, 126px); max-width: 1100px; }
.hero-intro { max-width: 580px; }
.hero-intro p { font-size: clamp(17px, 1.18vw, 20px); line-height: 1.55; text-wrap: pretty; }
/* The launch film loads on play; its still image keeps the first page load light. */
.launch-section { padding-top: clamp(36px, 5vw, 80px); padding-bottom: 0; }
.launch-cta { display: flex; justify-content: flex-end; width: 100%; max-width: calc(var(--site-width) + var(--site-gutter) * 2); margin-inline: auto; padding: 32px var(--site-gutter) clamp(70px, 8vw, 120px); }
.launch-frame { border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); background: var(--color-text-primary); overflow: hidden; }
.launch-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
#launch-film::backdrop { background: #000; }
.launch-cover { display: block; position: relative; width: 100%; padding: 0; aspect-ratio: 16 / 9; background: var(--color-bg); overflow: hidden; }
.launch-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.launch-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: clamp(60px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%; color: var(--color-bg); background: var(--color-text-primary); box-shadow: 0 8px 28px rgb(0 0 0 / .16); transition: transform 180ms ease; }
.launch-play svg { width: 34%; height: 34%; margin-left: 4%; }
.launch-cover:hover .launch-play { transform: scale(1.06); }
.launch-cover:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) { .launch-play { transition: none; } }
.how-section { padding-top: 0; padding-bottom: clamp(70px, 8vw, 120px); }
.page-content > .how-section:first-of-type { padding-top: clamp(64px, 7vw, 112px); }
.how-heading { margin-bottom: 44px; }
.how-heading .eyebrow { margin-bottom: 20px; }
.how-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--color-border); margin-bottom: 44px; }
.how-tabs button { display: flex; align-items: center; gap: 14px; position: relative; padding: 18px 0 23px; text-align: left; font-size: 23px; letter-spacing: -.025em; color: var(--site-muted); transition: color 180ms; }
.how-tabs button span { font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--color-text-secondary); }
.how-tabs button::after { content: ''; position: absolute; bottom: -1px; inset-inline: 0 24px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--site-ease); }
.how-tabs button[aria-selected=true] { color: var(--color-text-primary); }
.how-tabs button[aria-selected=true]::after { transform: scaleX(1); }
.how-tabs button:hover { color: var(--color-text-primary); }
.how-panel { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.35fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.how-panel:not([hidden]) { animation: panel-enter 340ms var(--site-ease) both; }
.how-copy { padding-block: 28px; }
.how-copy h3 { font-size: clamp(32px, 3.05vw, 49px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 25px; text-wrap: balance; max-width: 500px; }
.how-copy > p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--site-muted); max-width: 440px; text-wrap: pretty; }
.how-visual { min-width: 0; }
.how-canvas { width: 100%; aspect-ratio: 4 / 3; background: var(--color-surface-sunken); border-radius: var(--radius-lg); }
.quickfix-section { padding-top: 0; }
.quickfix-section .catalogue-section { margin-top: 0; }
.quickfix-section .catalogue-editorial { border-top: 1px solid var(--color-border); padding-top: 70px; }
.quickfix-section .catalogue-editorial .eyebrow { margin-bottom: 18px; font-size: 12px; line-height: 1.4; }
.quickfix-section .catalogue-editorial h2 { margin-bottom: 0; }
.quickfix-section .catalogue-editorial > div:last-child > p:first-child { font-size: 18px; line-height: 1.55; max-width: 500px; }
.quickfix-section .catalogue-editorial .catalogue-invitation { margin-top: 18px; font-size: 13px; color: var(--site-muted); }
.catalogue-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--color-border); }
.catalogue-pagination > p { font-size: .875rem; color: var(--site-muted); font-variant-numeric: tabular-nums; }
.catalogue-pagination > div { display: flex; gap: 8px; }
.catalogue-pagination button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.catalogue-pagination button:disabled { opacity: .3; cursor: default; }
.catalogue-pagination button:not(:disabled):hover { background: var(--color-surface-sunken); }
.catalogue-pagination svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; }
@keyframes panel-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 1150px) {
  .how-panel { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 30px; }
}
@media (max-width: 800px) {
  .hero-content { padding-bottom: 65px; }
  .how-panel { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .how-copy { padding: 0; max-width: 620px; }
  .how-copy h3 { font-size: 38px; max-width: 550px; margin-bottom: 18px; }
  .how-copy > p { max-width: none; font-size: 17px; }
  .how-tabs { margin-bottom: 30px; }
  .how-tabs button { font-size: 19px; gap: 9px; }
  .quickfix-section .catalogue-editorial { padding-top: 46px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(42px, 10.5vw, 64px); margin-left: 0; }
  .hero-content { padding-top: 140px; padding-bottom: 50px; }
  .hero-intro p { font-size: 17px; }
  .launch-cta { padding-top: 24px; padding-bottom: 64px; }
  .launch-frame { border-radius: var(--radius-sm); }
  .how-heading { margin-bottom: 25px; }
  .how-heading .eyebrow { font-size: 10px; }
  .how-tabs button { font-size: 16px; flex-direction: column; align-items: flex-start; gap: 5px; padding-bottom: 16px; }
  .how-tabs button::after { right: 14px; }
  .how-tabs button span { font-size: 9px; }
  .how-copy h3 { font-size: 32px; }
  .how-copy > p { font-size: 16px; }
  .how-canvas { border-radius: var(--radius-md); }
  .quickfix-section .catalogue-editorial > div:last-child > p:first-child { font-size: 16px; }
}
/* On phones, browse a small page of products and keep the tour controls in one row. */
@media (max-width: 800px) {
  #platform { scroll-margin-top: 16px; }
  .page-content > .how-section:first-of-type { padding-top: 48px; }
  .how-section { padding-bottom: 48px; }
  .how-heading { margin-bottom: 20px; }
  .how-heading .eyebrow { margin-bottom: 12px; font-size: .75rem; line-height: 1.5; }
  .how-heading h2 { font-size: clamp(2rem, 7.6vw, 2.5rem); }
  .how-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; margin-bottom: 26px; }
  .how-tabs button { flex: 1 0 auto; flex-direction: row; align-items: center; justify-content: center; min-width: 44px; min-height: 48px; padding: 12px 6px; font-size: .9375rem; line-height: 1.3; white-space: nowrap; }
  .how-tabs button span { display: none; }
  .how-tabs button::after { inset-inline: 8px; }
  .how-tabs button:focus-visible { outline-offset: -3px; }
  .how-panel { gap: 24px; }
  .how-copy h3 { max-width: 30rem; margin-bottom: 14px; font-size: clamp(1.75rem, 7.3vw, 2.25rem); line-height: 1.13; letter-spacing: -.035em; text-wrap: pretty; }
  .how-copy > p { font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
  .how-canvas { aspect-ratio: 2 / 1; max-height: 220px; border-radius: var(--radius-md); }
}
@media (max-width: 700px) {
  .quickfix-section .catalogue-editorial { gap: 16px; padding-top: 32px; margin-bottom: 24px; }
  .quickfix-section .catalogue-editorial .eyebrow { margin-bottom: 12px; }
  .quickfix-section .catalogue-editorial h2 { font-size: clamp(2rem, 7.6vw, 2.5rem); }
  .quickfix-section .catalogue-editorial > div:last-child > p:first-child { font-size: 1rem; line-height: 1.55; }
  .quickfix-section .catalogue-editorial .catalogue-invitation { margin-top: 10px; }
  .quickfix-section .heatmap-shell { margin-inline: 0; padding: 16px 12px 12px; }
  .quickfix-section .heatmap-toolbar { gap: 16px 12px; margin-bottom: 16px; }
  .quickfix-section .heatmap-identity > span { display: none; }
  .quickfix-section .heatmap-identity img { display: block; width: 56px; }
  .quickfix-section .heatmap-toolbar .ui-button { min-height: 44px; font-size: .875rem; padding-inline: 12px; gap: 12px; }
  .quickfix-section .heatmap-tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px; font-size: .75rem; }
  .quickfix-section .heatmap-tally > span { display: block; white-space: normal; line-height: 1.4; }
  .quickfix-section .heatmap-tally strong { display: block; font-size: 1rem; margin-bottom: 3px; }
  .quickfix-section .heatmap-key { display: none; }
  .quickfix-section .catalogue-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .quickfix-section .catalogue-tile { aspect-ratio: 1; min-height: 44px; }
  .quickfix-section .heatmap-foot { padding: 12px 0 0; font-size: .875rem; }
  .quickfix-section .heatmap-foot > p { min-height: 0; line-height: 1.5; }
  .quickfix-section .heatmap-open-hint { display: none; }
  .quickfix-section .catalogue-bottom { margin-top: 14px; gap: 4px; }
  .quickfix-section .catalogue-bottom > p { font-size: .8125rem; line-height: 1.5; }
  .quickfix-section .catalogue-bottom button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .how-panel { animation: none !important; }
  .how-tabs button::after { transition: none; }
}
.is-motion-paused .how-panel { animation: none !important; }
