/* InSolution Labs — Identity 2026
   Paper white, ink, one electric blue. Soft surfaces, heavy type, Z-axis depth. */

:root {
  color-scheme: light;

  --paper: #FBFAF7;
  --surface: #F1F0EC;
  --surface-2: #E8E7E1;
  --ink: #0B0B0C;
  --muted: #62626A;
  --faint: #9A9AA1;
  --blue: #1F5EFF;
  --blue-soft: #E7EDFF;

  --dark: #0B0B0C;
  --dark-ink: #F2EFE8;

  --hair: rgba(11,11,12,.07);
  --hair-2: rgba(11,11,12,.12);

  --shadow-soft: 0 40px 80px -46px rgba(11,11,12,.28);
  --shadow-lift: 0 30px 60px -34px rgba(11,11,12,.32);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 82rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --spring: cubic-bezier(.22,.9,.24,1);
  --t: .45s var(--spring);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --paper: #0B0B0C;
  --surface: #151518;
  --surface-2: #1C1C20;
  --ink: #F5F3EE;
  --muted: #A6A6AE;
  --faint: #74747C;
  --blue: #6E92FF;
  --blue-soft: #16203F;

  --dark: #050505;
  --dark-ink: #F2EFE8;

  --hair: rgba(255,255,255,.08);
  --hair-2: rgba(255,255,255,.16);

  --shadow-soft: 0 40px 80px -46px rgba(0,0,0,.9);
  --shadow-lift: 0 30px 60px -34px rgba(0,0,0,.9);
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }
h1, h2, h3, p, figure { margin: 0 }
ul { margin: 0; padding: 0; list-style: none }

::selection { background: var(--blue); color: #fff }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 999px }

.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 999px; font-size: .875rem;
}
.skip:focus { top: 1rem }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto }

/* ---------- floating nav ---------- */

.nav {
  position: fixed; top: 1.1rem; left: 50%; transform: translateX(-50%);
  z-index: 40;
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem);
  width: min(calc(100% - 2rem), 68rem);
  padding: .5rem .5rem .5rem 1.1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid color-mix(in srgb, var(--paper) 55%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--paper) 92%, transparent),
    inset 0 16px 20px -20px color-mix(in srgb, var(--paper) 80%, transparent),
    0 20px 40px -30px rgba(11,11,12,.4);
}

.brand { display: inline-flex; align-items: baseline; gap: 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.032em; white-space: nowrap }
.brand img { width: 1.5rem; height: 1.5rem }
.brand span { color: var(--faint); font-weight: 500; font-size: .82em; margin-left: .38rem; letter-spacing: -.015em }

.nav nav { display: flex; gap: 1.4rem; margin-left: auto }
.nav nav a { font-size: .875rem; color: var(--muted); transition: color var(--t) }
.nav nav a:hover { color: var(--ink) }

.nav .btn { min-height: 2.5rem; padding: 0 .35rem 0 1rem; font-size: .8125rem }
.nav .btn__icon { width: 1.9rem; height: 1.9rem }
.nav .btn__icon svg { width: .8rem; height: .8rem }

@media (max-width: 720px) {
  .nav { top: .6rem; padding: .4rem .45rem .4rem .7rem; gap: .5rem }
  .brand { font-size: .95rem }
  .nav nav { gap: .8rem; margin-left: auto }
  .nav nav a { font-size: .8125rem }
  .nav .btn { margin-left: 0; padding: 0 .3rem 0 .9rem }
}
@media (max-width: 400px) {
  .brand { font-size: .875rem }
  .nav nav { gap: .65rem }
  .nav nav a { font-size: .78rem }
  .theme { font-size: .78rem; padding: .26rem .55rem }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  min-height: 3.25rem; padding: 0 .45rem 0 1.5rem;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.015em;
  border-radius: 999px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0) 62%),
    color-mix(in srgb, var(--blue) 88%, transparent);
  border: 1px solid rgba(255,255,255,.5);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  transition: transform .5s var(--spring), box-shadow .5s var(--spring), border-color .3s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.96),
    inset 0 -14px 22px -20px rgba(255,255,255,.85),
    0 18px 34px -22px rgba(23,28,52,.5);
}
html[data-theme="dark"] .btn__icon { background: rgba(11,11,12,.14) }
html[data-theme="dark"] .btn {
  color: #0B0B0C;
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 62%),
    color-mix(in srgb, var(--blue) 85%, transparent);
  border-color: rgba(255,255,255,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -14px 22px -20px rgba(255,255,255,.16),
    0 18px 34px -22px rgba(0,0,0,.8);
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.95);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -14px 22px -20px rgba(255,255,255,.9),
    0 26px 44px -24px rgba(23,28,52,.55);
}
.btn:active { transform: scale(.985) }

.btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  background: rgba(255,255,255,.22);
  color: inherit;
  transition: transform .5s var(--spring), background .3s ease;
}
.btn:hover .btn__icon { transform: translateX(3px) translateY(-1px) scale(1.04) }
.btn__icon svg { width: .95rem; height: .95rem }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hair-2); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); box-shadow: none }
.btn--ghost .btn__icon { background: var(--surface) }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9375rem; font-weight: 600;
  color: var(--muted);
  transition: color var(--t);
}
.link-arrow:hover { color: var(--blue) }

/* ---------- type ---------- */

.display {
  font-weight: 600;
  font-size: clamp(3rem, 1rem + 7.4vw, 6.75rem);
  line-height: .92;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.section-title {
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.tag {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: color-mix(in srgb, var(--paper) 60%, transparent);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted);
}
.tag i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue); display: inline-block }

.sub { font-size: clamp(1.0625rem, .95rem + .55vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 44ch }
.fine { font-size: .8125rem; color: var(--faint) }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 88dvh;
  display: flex; align-items: center;
  padding: clamp(7rem, 12vh, 10rem) 0 clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 6.6fr) minmax(0, 5.4fr) }
}

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.25rem, 2.5vw, 1.9rem) }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: .4rem }

/* Z-axis stack */

.stack { position: relative; min-height: 26rem; display: flex; align-items: center; justify-content: center }
@media (min-width: 980px) { .stack { min-height: 34rem } }

.shot {
  position: absolute;
  border-radius: 1.6rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hair);
}
.shot img { width: 100%; height: 100%; object-fit: cover }

.shot--main {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 3 / 2;
  transform: rotate(-1.5deg);
}
.shot--watch {
  width: min(38%, 12.5rem);
  aspect-ratio: 4 / 5;
  left: -1.5rem; bottom: -3.5rem;
  transform: rotate(3deg);
  border: 6px solid var(--paper);
}
@media (max-width: 979px) {
  .shot--watch { left: -.5rem; bottom: -2.5rem }
}

.sticker {
  position: absolute; top: -.6rem; right: .5rem;
  transform: rotate(6deg);
  padding: .6rem 1rem; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: .8125rem; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 18px 30px -18px rgba(31,94,255,.8);
}

/* ---------- shell (double bezel) ---------- */

.shell {
  padding: .55rem;
  border-radius: 2.1rem;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--hair);
}
.shell__in {
  border-radius: 1.65rem;
  background: var(--paper);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.6);
  overflow: hidden;
}

/* ---------- sections ---------- */

.section { padding: clamp(4rem, 9vw, 8rem) 0 }
.section__head { display: flex; flex-direction: column; gap: 1rem; max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.5rem) }

/* bento */

.bento { display: grid; gap: 1rem }
@media (min-width: 860px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 1.25rem }
  .cell--wide { grid-column: span 7 }
  .cell--narrow { grid-column: span 5 }
}

.cell .shell__in { display: flex; flex-direction: column; height: 100% }
.cell__media { background: var(--surface-2); overflow: hidden }
.cell__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10 }
.cell--narrow .cell__media img { aspect-ratio: 16 / 11 }

.cell__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem }
.cell__name { font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -.04em; line-height: 1 }
.cell__line { color: var(--muted); font-size: .9375rem; max-width: 40ch }
.cell__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding-top: .9rem; border-top: 1px solid var(--hair) }
.cell__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .8125rem; color: var(--faint) }
.cell__meta .live { color: var(--ink) }
.cell__meta .live::before { content: ""; display: inline-block; width: .38rem; height: .38rem; border-radius: 50%; background: var(--blue); margin-right: .4rem; vertical-align: .04em }

/* price */

.price {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center } }

.price__card { padding: clamp(1.5rem, 4vw, 2.6rem) }
.price__num { font-weight: 600; font-size: clamp(4rem, 2rem + 8vw, 9rem); line-height: .82; letter-spacing: -.06em }
.price__num small { display: block; font-size: .18em; letter-spacing: .02em; font-weight: 600; color: var(--muted); margin-top: 1rem }
.price__list { display: flex; flex-direction: column; gap: .9rem }
.price__list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted) }
.price__list li::before {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .22rem; border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 4px var(--blue-soft);
  background-image: none;
  position: relative;
}
.price__list li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); font-size: .7rem; font-weight: 700; background: var(--blue-soft) }

/* person */

.person { padding: clamp(4rem, 9vw, 7rem) 0 }
.person__in {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2.1rem;
  background: var(--ink); color: var(--paper);
  display: grid; gap: 2rem;
}
@media (min-width: 900px) { .person__in { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: end; gap: 4rem } }
.person__in h2 { color: var(--paper) }
.person__in p { color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 44ch }
.person__sig { margin-top: 1.5rem; font-size: .8125rem; color: color-mix(in srgb, var(--paper) 55%, transparent) }
.person__sig strong { display: block; color: var(--paper); font-size: 1rem; font-weight: 600; margin-bottom: .1rem }

/* faq */

.faq { display: grid; gap: 0 }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4rem; align-items: start } }

.faq details { border-bottom: 1px solid var(--hair-2); padding: 1.15rem 0 }
.faq details:first-of-type { border-top: 1px solid var(--hair-2) }
.faq summary { cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; float: right; color: var(--faint); font-weight: 500 }
.faq details[open] summary::after { content: "−" }
.faq p { margin: .7rem 0 0; color: var(--muted); max-width: 60ch }

/* footer */

.foot {
  border-top: 1px solid var(--hair);
  padding: 2rem 0 3rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  align-items: baseline; justify-content: space-between;
}
.foot p, .foot a { font-size: .875rem; color: var(--faint); margin: 0 }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.3rem }
.foot a:hover { color: var(--ink) }

/* ---------- motion ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity .9s var(--spring), transform .9s var(--spring), filter .9s var(--spring);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; filter: none }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
  html.js .reveal { opacity: 1; transform: none; filter: none }
}

.cell__media--pad { display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 3.5rem); min-height: 12rem }
.cell__media--pad img { width: clamp(4.5rem, 10vw, 6.5rem); height: auto; aspect-ratio: 1; object-fit: contain }

/* ---------- app pages ---------- */

.app-hero { padding: clamp(7rem, 12vh, 9rem) 0 clamp(2.5rem, 5vw, 4rem) }
.app-hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center }
@media (min-width: 980px) { .app-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) } }

.app-hero h1 {
  font-weight: 600;
  font-size: clamp(2.5rem, 1rem + 4.6vw, 4.75rem);
  line-height: .92; letter-spacing: -.05em;
  text-wrap: balance;
}
.app-hero .lead { margin-top: 1.4rem }
.app-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center }
.app-hero .fine { margin-top: 1rem }

.app-visual { border-radius: 1.6rem; overflow: hidden; background: var(--surface); border: 1px solid var(--hair); box-shadow: var(--shadow-soft) }
.app-visual img { width: 100%; height: auto }

.feature-grid { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)) }
.feature h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 .4rem }
.feature p { color: var(--muted); font-size: .9375rem; margin: 0 }

.screen-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); margin-top: 2rem }
.screen-row figure { margin: 0 }
.screen-row img { width: 100%; border-radius: 1rem; background: var(--surface-2); border: 1px solid var(--hair) }
.screen-row figcaption { margin-top: .5rem; font-size: .75rem; color: var(--faint) }

.split { display: grid; gap: 2.5rem }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start } }

.list { display: flex; flex-direction: column; gap: .85rem }
.list li { display: flex; gap: .7rem; color: var(--muted); font-size: .9375rem; line-height: 1.5 }
.list li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue); flex: none; margin-top: .45rem }
.list--no li::before { background: var(--faint) }

.cta-band { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem) }
.cta-band__in {
  border-radius: 2rem; background: var(--ink); color: var(--paper);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: var(--paper); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); letter-spacing: -.045em; line-height: .98 }
.cta-band p { color: color-mix(in srgb, var(--paper) 70%, transparent); max-width: 40ch; margin-top: .6rem }

.shelf { display: grid; gap: 1rem }
@media (min-width: 860px) { .shelf { grid-template-columns: repeat(2, 1fr); gap: 1.25rem } }
.shelf .cell--wide, .shelf .cell--narrow { grid-column: auto }

.spec { display: grid; gap: .2rem }
.spec div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); font-size: .9375rem }
.spec dt { color: var(--faint) }
.spec dd { margin: 0; color: var(--ink); text-align: right }

.app-visual--tight { max-width: 30rem; justify-self: end; width: 100% }

[id] { scroll-margin-top: 6.5rem }

/* ---------- theme switch ---------- */

.theme {
  font: inherit; font-size: .875rem; font-weight: 500;
  color: var(--muted); background: transparent;
  border: 1px solid var(--hair-2); border-radius: 999px;
  padding: .3rem .7rem; cursor: pointer;
  white-space: nowrap;
  transition: color var(--t), border-color var(--t);
}
.theme:hover { color: var(--ink); border-color: var(--ink) }

/* ---------- long-form pages ---------- */

.prose {
  width: min(100% - 2 * var(--pad), 68ch);
  margin-inline: auto;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3rem, 6vw, 5rem);
}
.prose h1 {
  font-weight: 600;
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4rem);
  line-height: .94; letter-spacing: -.045em;
  margin: 0 0 1.6rem; max-width: 24ch;
  overflow-wrap: anywhere; hyphens: auto;
}
.prose h2 {
  font-weight: 600;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  letter-spacing: -.035em; line-height: 1.1;
  margin: 2.8rem 0 .7rem;
  overflow-wrap: anywhere; hyphens: auto;
}
.prose h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; margin: 1.8rem 0 .45rem }
.prose p, .prose li { color: var(--muted); margin: 0 0 1rem }
.prose address { font-style: normal; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem }
.prose strong { color: var(--ink) }
.prose a { color: var(--ink); border-bottom: 1px solid var(--hair-2) }
.prose a:hover { color: var(--blue); border-color: var(--blue) }
.prose ul { list-style: disc; padding-left: 1.2rem }
.prose ol { list-style: decimal; padding-left: 1.2rem }
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em; background: var(--surface);
  border: 1px solid var(--hair); padding: 1px 5px; border-radius: 4px; color: var(--ink);
}
.prose .updated { color: var(--faint); font-size: .8125rem }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem }
.prose th { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint) }
.prose td { text-align: left; padding: .85rem 1.5rem .85rem 0; border-bottom: 1px solid var(--hair); color: var(--muted); vertical-align: top }
.prose td:first-child { color: var(--ink); font-weight: 500 }
.prose details { border-bottom: 1px solid var(--hair-2); padding: 1.05rem 0 }
.prose details summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink) }
.prose details summary::-webkit-details-marker { display: none }
.prose details summary::after { content: "+"; float: right; color: var(--faint) }
.prose details[open] summary::after { content: "−" }
.prose details p { margin: .7rem 0 0 }
.prose .callout { border-left: 3px solid var(--blue); padding-left: 1.25rem; margin: 1.75rem 0 }
.prose .callout p:last-child { margin-bottom: 0 }
@media (max-width: 720px) { .prose table { display: block; overflow-x: auto } }

/* ---------- product detail blocks ---------- */

.steps { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 2rem 0 }
.step { border-top: 2px solid var(--ink); padding-top: .9rem }
.step h3 { font-weight: 600; font-size: 1rem; margin: 0 0 .35rem }
.step p { margin: 0; font-size: .9375rem; color: var(--muted) }

.faq-list { margin-top: 1rem }
.faq-list details { border-bottom: 1px solid var(--hair-2); padding: 1.05rem 0 }
.faq-list details:first-child { border-top: 1px solid var(--hair-2) }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 1rem }
.faq-list summary::-webkit-details-marker { display: none }
.faq-list summary::after { content: "+"; float: right; color: var(--faint) }
.faq-list details[open] summary::after { content: "−" }
.faq-list p { margin: .7rem 0 0; color: var(--muted); max-width: 60ch }

.works { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; margin: 1.2rem 0 }
.works li { font-size: .9375rem; color: var(--ink) }

.waiver { display: flex; gap: .7rem; align-items: flex-start; font-size: .875rem; line-height: 1.55; color: var(--muted); margin: 1.25rem 0 }
.waiver input { margin-top: .2rem; width: 1rem; height: 1rem; flex: none; accent-color: var(--blue) }
.waiver a { color: var(--ink); border-bottom: 1px solid var(--hair-2) }

.btn[disabled] { background: var(--surface-2); color: var(--faint); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; cursor: not-allowed; transform: none }
.btn[disabled] .btn__icon { background: transparent }

/* ---------- legacy content aliases ---------- */
.body-text { color: var(--muted); max-width: 60ch; margin: 0 0 1rem }
.plain-list, .steps-list { color: var(--muted); padding-left: 1.2rem; list-style: disc; margin: 0 0 1rem }
.plain-list li, .steps-list li { margin-bottom: .5rem }
.note { font-size: .8125rem; color: var(--faint); margin: 0 0 .5rem }
.fineprint { font-size: .8125rem; color: var(--faint); max-width: 66ch }
.stream-address { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .8125rem; color: var(--ink); word-break: break-all; margin-right: .5rem }
.copy-btn { font: inherit; font-size: .75rem; font-weight: 600; border: 1px solid var(--hair-2); background: transparent; color: var(--muted); padding: 3px 9px; border-radius: 999px; cursor: pointer }
.copy-btn:hover { border-color: var(--blue); color: var(--blue) }
.prose .section { padding: 0 }
.prose .contact, .prose .contact-intro, .prose .contact-lines { margin-top: 2rem }


/* ---------- homepage app index ---------- */

.index-list { display: flex; flex-direction: column; border-top: 1px solid var(--hair-2) }
.index-list li { border-bottom: 1px solid var(--hair-2) }
.index-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: .95rem 0; font-weight: 600; font-size: 1.0625rem; transition: color var(--t) }
.index-list a:hover { color: var(--blue) }
.index-list span { font-weight: 400; font-size: .875rem; color: var(--faint); text-align: right; max-width: 60% }


.brand .mark { flex: none; display: block }
.foot__brand { display: flex; align-items: center; gap: .55rem }
.foot__brand .mark { opacity: .9 }

/* ---------- homepage shelf ---------- */

.shelf-list { border-top: 1px solid var(--hair-2) }
.shelf-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hair-2);
}
.shelf-row img {
  width: 9rem; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: .6rem; border: 1px solid var(--hair);
  background: var(--surface-2);
}
.shelf-row h3 { font-weight: 600; font-size: 1.35rem; letter-spacing: -.035em; margin: 0 0 .2rem }
.shelf-row p { margin: 0; color: var(--muted); font-size: .9375rem; max-width: 46ch }
.shelf-row .meta { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; font-size: .8125rem; color: var(--faint); white-space: nowrap }
.shelf-row .meta .live { color: var(--ink) }
.shelf-row a.row-link { font-size: .875rem; font-weight: 600; color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 1px }
@media (max-width: 720px) {
  .shelf-row { grid-template-columns: 6rem minmax(0, 1fr); gap: .9rem 1rem }
  .shelf-row img { width: 6rem }
  .shelf-row .meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem .9rem }
  .shelf-row a.row-link { grid-column: 2; justify-self: start }
}

/* motion band */
.motion { background: var(--dark); color: var(--dark-ink); padding: clamp(3.5rem, 8vw, 6rem) 0 }
.motion .section-title { color: var(--dark-ink) }
.motion .sub { color: color-mix(in srgb, var(--dark-ink) 60%, transparent) }
.motion .screen-row { margin-top: 2.5rem }
.motion video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .8rem; border: 1px solid rgba(255,255,255,.12); background: #000 }
.motion .tag { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.75) }
.motion figcaption { color: rgba(255,255,255,.45) }

/* ---------- Clearout: glass page ---------- */

.stage {
  position: relative; overflow: hidden;
  background: #070709; color: var(--dark-ink);
  padding: clamp(6rem, 12vh, 9rem) 0 clamp(3rem, 6vw, 5rem);
}
.stage__bg { position: absolute; inset: 0; z-index: 0 }
.stage__bg video, .stage__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55 }
.stage__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,9,.55) 0%, rgba(7,7,9,.86) 62%, #070709 100%);
}
.stage .wrap { position: relative; z-index: 1 }
.stage__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center }
@media (min-width: 980px) { .stage__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) } }
.stage h1 {
  font-weight: 600; font-size: clamp(2.6rem, 1rem + 5.6vw, 4.75rem);
  line-height: .94; letter-spacing: -.05em; max-width: 15ch; color: var(--dark-ink);
}
.stage .sub { color: rgba(242,239,232,.74); margin-top: 1.4rem; max-width: 46ch }
.stage .actions { margin-top: 2rem }
.stage .fine { color: rgba(242,239,232,.5); margin-top: 1.35rem; max-width: 40ch }
.stage .btn { background: var(--paper); color: var(--ink) }
.stage .btn .btn__icon { background: rgba(11,11,12,.1) }
.stage .btn--quiet { background: transparent; color: var(--dark-ink); border-color: rgba(255,255,255,.28) }

.glass { background: #070709; color: var(--dark-ink); padding: clamp(3rem, 6vw, 5rem) 0 }
.glass .section-title { color: var(--dark-ink) }
.glass .sub { color: rgba(242,239,232,.66) }
.glass p { color: rgba(242,239,232,.66) }
.glass strong { color: var(--dark-ink) }
.glass .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.72) }
.glass .fine { color: rgba(242,239,232,.45) }

.glass-fig { margin: 0 }
.glass-fig img, .glass-fig video { display: block; width: 100%; height: auto }

.glass-block {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 900px) {
  .glass-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) }
  .glass-block--flip { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) }
  .glass-block--flip > div:first-child { order: 2 }
}
.glass-block h3 {
  font-weight: 600; font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  letter-spacing: -.04em; margin: 0 0 .6rem; color: var(--dark-ink);
}

.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 1.75rem 0 }
.compare th, .compare td { text-align: left; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--hair); vertical-align: top }
.compare thead th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--ink); font-weight: 600 }
.compare td:first-child { color: var(--ink); font-weight: 500 }
.compare td:not(:first-child) { color: var(--muted) }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 10.5rem }
@media (max-width: 760px) { .compare { min-width: 38rem } }

/* ---------- app cards ---------- */

.app-grid { display: grid; gap: 1rem; grid-template-columns: 1fr }
@media (min-width: 720px) { .app-grid { grid-template-columns: 1fr 1fr } }

.app-tile {
  display: flex; flex-direction: column;
  border: 1px solid var(--hair);
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .app-tile:hover { transform: translateY(-3px); border-color: var(--line-strong) }
}
.app-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block }
.app-tile .body { padding: 1.15rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; flex: 1 }
.app-tile h3 { font-weight: 600; font-size: 1.35rem; letter-spacing: -.035em; margin: 0 }
.app-tile p { margin: 0; color: var(--muted); font-size: .9375rem }
.app-tile .meta { margin-top: auto; padding-top: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; font-size: .8125rem; color: var(--faint) }
.app-tile .meta .live { color: var(--ink) }

/* ---------- apps page rows ---------- */

.app-row {
  display: grid; gap: 1.25rem; align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--hair-2);
}
.app-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .9rem; display: block }
@media (min-width: 820px) {
  .app-row { grid-template-columns: 18rem minmax(0, 1fr); gap: 2.5rem }
  .app-row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 18rem }
  .app-row:nth-of-type(even) img { order: 2 }
}
.app-row h2 { font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); letter-spacing: -.04em; margin: 0 0 .4rem }
.app-row p { color: var(--muted); margin: 0; max-width: 52ch }
.app-row .meta { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .8125rem; color: var(--faint) }
.app-row .meta .live { color: var(--ink) }

/* ---------- app tile actions ---------- */

.app-tile h3 a { color: inherit }
.tile-action { margin: .9rem 0 0 }
.tile-action a { font-size: .875rem; font-weight: 600; color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 1px }
.tile-action a:hover { color: var(--ink); border-color: var(--ink) }
.app-tile .meta { margin-top: .7rem }


/* ============================================================
   Liquid Glass — shared
   Translucent material over a fixed light field. Content floats.
   ============================================================ */

.home {
  --h-display: clamp(2.3rem, 1.35rem + 3.9vw, 4rem);
  --h-head: clamp(1.45rem, 1.25rem + .7vw, 1.85rem);
  --h-name: 1.4375rem;
  --h-body: 1.0625rem;
  --h-small: .8125rem;
}

body.glass-page {
  --glass: rgba(255,255,255,.5);
  --glass-soft: rgba(255,255,255,.34);
  --edge: rgba(255,255,255,.75);
  --glass-blur: saturate(180%) blur(28px);
  --glass-shadow: 0 34px 64px -36px rgba(23,28,52,.34), 0 2px 10px -6px rgba(23,28,52,.14);
  --glass-hi:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 18px 24px -22px rgba(255,255,255,.95),
    inset 0 -14px 20px -20px rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(255,255,255,.35);
}

html[data-theme="dark"] body.glass-page {
  --glass: rgba(30,32,40,.5);
  --glass-soft: rgba(30,32,40,.36);
  --edge: rgba(255,255,255,.16);
  --glass-shadow: 0 34px 64px -36px rgba(0,0,0,.85), 0 2px 10px -6px rgba(0,0,0,.5);
  --glass-hi:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 18px 24px -22px rgba(255,255,255,.14),
    inset 0 -14px 20px -20px rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(255,255,255,.05);
}

/* light field behind the glass */

body.glass-page::before {
  content: ""; position: fixed; inset: -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 16% 10%, rgba(46,106,255,.26), rgba(46,106,255,0) 72%),
    radial-gradient(50% 42% at 92% 16%, rgba(255,150,72,.22), rgba(255,150,72,0) 72%),
    radial-gradient(62% 55% at 72% 74%, rgba(124,88,255,.24), rgba(124,88,255,0) 74%),
    radial-gradient(52% 48% at 14% 86%, rgba(52,190,255,.20), rgba(52,190,255,0) 72%),
    linear-gradient(180deg, #EEF2FF 0%, #FCFAF7 52%, #F1EEFF 100%);
}
html[data-theme="dark"] body.glass-page::before {
  background:
    radial-gradient(55% 45% at 16% 10%, rgba(38,88,255,.46), rgba(38,88,255,0) 72%),
    radial-gradient(50% 42% at 92% 16%, rgba(255,104,44,.22), rgba(255,104,44,0) 72%),
    radial-gradient(62% 55% at 72% 74%, rgba(124,58,255,.34), rgba(124,58,255,0) 74%),
    radial-gradient(52% 48% at 14% 86%, rgba(26,148,255,.26), rgba(26,148,255,0) 72%),
    linear-gradient(180deg, #070A14 0%, #0B0B0C 52%, #0C0818 100%);
}

/* hero */

.home .hero2 { padding: clamp(6.5rem, 12vh, 9rem) 0 clamp(3rem, 6vw, 4.5rem) }
@media (min-width: 940px) {
  .home .hero2 { min-height: min(84vh, 46rem); display: flex; align-items: center }
}
.home .hero2__grid { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-items: center }
@media (min-width: 940px) {
  .home .hero2__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.12fr) }
}

.home .hero2__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem }
.home .hero2__title {
  font-weight: 600; font-size: var(--h-display); line-height: .99;
  letter-spacing: -.048em; text-wrap: balance; max-width: 13ch; margin: 0;
}
.home .hero2__lede {
  font-size: var(--h-body); line-height: 1.6;
  color: var(--muted); max-width: 38ch; margin: 0;
}
.home .hero2__cta { margin-top: .6rem }
.home .hero2__cta .btn { font-size: 1.0625rem; padding-left: 1.6rem }

.home .hero2__shot {
  margin: 0; padding: .55rem;
  border-radius: 2rem;
  background: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
.home .hero2__shot img { display: block; width: 100%; height: auto; border-radius: 1.5rem }

/* shelf */

.home .shelf2 { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem) }
.home .shelf2__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .4rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.home .shelf2__head h2 {
  font-weight: 600; font-size: var(--h-head); letter-spacing: -.035em;
  line-height: 1.15; margin: 0;
}
.home .shelf2__head p { margin: 0; font-size: var(--h-body); color: var(--muted) }

.home .grid2 { display: grid; gap: clamp(2rem, 3.4vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem); grid-template-columns: 1fr }
@media (min-width: 700px) { .home .grid2 { grid-template-columns: 1fr 1fr } }

.home .card2 {
  display: flex; flex-direction: column;
  padding: .6rem;
  border-radius: 1.9rem;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
  transition: transform .55s var(--spring), box-shadow .55s var(--spring);
}
@media (hover: hover) and (pointer: fine) {
  .home .card2:hover {
    transform: translateY(-4px);
    box-shadow: 0 44px 76px -38px rgba(23,28,52,.4), 0 3px 12px -6px rgba(23,28,52,.16), var(--glass-hi);
  }
}

.home .card2__media {
  position: relative; display: block; overflow: hidden;
  border-radius: 1.38rem; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(11,11,12,.06);
}
.home .card2__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .7s var(--spring);
}
@media (hover: hover) and (pointer: fine) {
  .home .card2__media:hover img { transform: scale(1.025) }
}

.home .status {
  position: absolute; top: .7rem; left: .7rem;
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .32rem .7rem .32rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.6); color: #0B0B0C;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 22px -14px rgba(0,0,0,.6);
  font-size: .75rem; font-weight: 600; letter-spacing: -.005em;
}
.home .status::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--blue) }
.home .status--soon::before { background: #8E8E96 }

.home .card2__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem .85rem .7rem }
.home .card2__body h3 {
  font-weight: 600; font-size: var(--h-name); letter-spacing: -.035em;
  line-height: 1.15; margin: 0;
}
.home .card2__body h3 a { color: inherit }
.home .card2__body p {
  margin: 0; font-size: var(--h-body); line-height: 1.5;
  color: var(--muted); max-width: 40ch;
}
.home .card2__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: .55rem; flex-wrap: wrap;
}
.home .card2__meta { font-size: .875rem; color: var(--muted) }

.home .btn--sm {
  min-height: 2.5rem; padding: 0 1.1rem; font-size: .875rem; gap: .45rem;
  box-shadow: 0 12px 22px -16px rgba(11,11,12,.6);
}
.home .btn--sm:hover { transform: none; box-shadow: 0 18px 30px -18px rgba(11,11,12,.7) }

.home .btn--line {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink);
  border: 1px solid var(--hair-2);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.home .btn--line:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); border-color: var(--ink) }

@media (max-width: 519px) {
  .home .card2__foot { flex-direction: column; align-items: stretch; gap: .8rem }
  .home .card2__foot .btn { width: 100%; justify-content: center; min-height: 2.75rem }
}

/* one film */

.home .film { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem) }
.home .film__panel {
  max-width: 62rem; margin-inline: auto;
  padding: .55rem .55rem 0;
  border-radius: 2rem;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
.home .film video {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 1.5rem; background: #000;
}
.home .film__cap {
  margin: 0; padding: .85rem .7rem 1rem;
  font-size: .875rem; color: var(--muted);
}
.home .film__cap a { color: var(--ink); border-bottom: 1px solid var(--hair-2); padding-bottom: 1px }
.home .film__cap a:hover { border-color: var(--ink) }

/* contact */

.home .contact2 { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem) }
.home .contact2__grid {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: 2rem;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
  display: grid; gap: 1.25rem 3rem;
}
@media (min-width: 820px) {
  .home .contact2__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start }
}
.home .contact2 h2 {
  font-weight: 600; font-size: var(--h-head);
  letter-spacing: -.035em; line-height: 1.15; margin: 0;
}
.home .contact2 p { margin: 0; font-size: var(--h-body); line-height: 1.6; color: var(--muted); max-width: 44ch }
.home .contact2 p + p { margin-top: .6rem }
.home .contact2 a.mail {
  display: inline-block; margin-top: .9rem;
  font-size: 1.125rem; font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--blue); padding-bottom: .08em;
}
.home .contact2 a.mail:hover { color: var(--blue) }
.home .contact2 a:not(.mail) { color: var(--ink); border-bottom: 1px solid var(--hair-2) }

/* glass must have a fallback */

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home .card2, .home .hero2__shot, .home .film__panel, .home .contact2__grid { background: var(--paper) }
  .home .status { background: #fff }
}

@media (prefers-reduced-transparency: reduce) {
  body.glass-page::before { display: none }
  .home .card2, .home .hero2__shot, .home .film__panel, .home .contact2__grid,
  .home .btn--line, .home .status {
    background: var(--paper);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .home .status { background: #fff; color: #0B0B0C }
}

/* ---------- app pages on the same material ---------- */

/* no staggered fade-ins: content is there when you arrive */
html.js body.glass-page .reveal {
  opacity: 1; transform: none; filter: none; transition: none;
}

body.glass-page .tag {
  padding: 0; border: 0; background: none; border-radius: 0;
  font-size: .8125rem; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--muted);
}
body.glass-page .tag i { display: none }

body.glass-page .app-hero { padding: clamp(6.5rem, 12vh, 8.5rem) 0 clamp(2rem, 4vw, 3rem) }
body.glass-page .app-hero h1 {
  font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.5rem);
  line-height: 1.02; letter-spacing: -.045em;
}
body.glass-page .app-hero .sub,
body.glass-page .app-hero .lead { margin-top: 1.2rem }
body.glass-page .app-hero .fine { margin-top: 1rem }
body.glass-page .section-title {
  font-size: clamp(1.45rem, 1.25rem + .7vw, 1.85rem);
  line-height: 1.18; letter-spacing: -.035em;
}

body.glass-page .app-visual {
  margin: 0; padding: .55rem;
  border-radius: 2rem; overflow: visible;
  background: var(--glass-soft);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
body.glass-page .app-visual img,
body.glass-page .app-visual video {
  display: block; width: 100%; height: auto;
  border-radius: 1.5rem;
}

body.glass-page .section { padding: clamp(2.5rem, 5vw, 4rem) 0 }
body.glass-page .list li {
  display: block; position: relative; padding-left: 1.2rem;
}
body.glass-page .list li::before {
  position: absolute; left: 0; top: .62rem; margin: 0;
}

body.glass-page .screen-row { align-items: start }
body.glass-page .screen-row figure {
  margin: 0; padding: .5rem .5rem .6rem;
  border-radius: 1.2rem;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: 0 22px 40px -30px rgba(23,28,52,.4), var(--glass-hi);
}
body.glass-page .screen-row img,
body.glass-page .screen-row video {
  width: 100%; height: auto; display: block;
  border: 0; border-radius: .85rem; background: var(--surface-2);
}
body.glass-page .screen-row figcaption {
  margin: .55rem .3rem 0; font-size: .8125rem; color: var(--muted);
}

body.glass-page .cta-band__in {
  background: var(--glass); color: var(--ink);
  border: 1px solid var(--edge);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}
body.glass-page .cta-band h2 { color: var(--ink) }
body.glass-page .cta-band p { color: var(--muted) }

/* clearout: feature blocks */

body.glass-page .glass-block {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--hair);
}
body.glass-page .glass-block h3 {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.1rem + .8vw, 1.55rem);
  letter-spacing: -.03em;
}
body.glass-page .glass-block p { color: var(--muted) }

body.glass-page .actions {
  margin-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center;
}
body.glass-page .btn--quiet {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  color: var(--ink);
  border: 1px solid var(--hair-2);
  box-shadow: none;
}
body.glass-page .btn--quiet:hover { border-color: var(--ink) }

/* apps index */

body.glass-page .app-row {
  padding: clamp(.9rem, 2vw, 1.4rem);
  border-radius: 1.9rem; border-bottom: 0;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
  transition: transform .55s var(--spring), box-shadow .55s var(--spring);
}
body.glass-page .app-row + .app-row { margin-top: clamp(.9rem, 2vw, 1.4rem) }
@media (hover: hover) and (pointer: fine) {
  body.glass-page .app-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 44px 76px -40px rgba(23,28,52,.42), var(--glass-hi);
  }
}
body.glass-page .app-row img { border-radius: 1.2rem; border: 0 }

/* buttons inside prose keep their own colours */
.prose a.btn { color: #fff; border-bottom: 0 }
.prose a.btn:hover { color: #fff }
html[data-theme="dark"] .prose a.btn,
html[data-theme="dark"] .prose a.btn:hover { color: #0B0B0C }

/* prose and legal pages: the document itself is the panel */

body.glass-page .prose {
  width: min(100% - 2 * var(--pad), 76ch);
  margin: clamp(5.5rem, 10vh, 7.5rem) auto clamp(2rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 2rem;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--edge);
  box-shadow: var(--glass-shadow), var(--glass-hi);
}

@media (prefers-reduced-transparency: reduce) {
  body.glass-page .app-visual, body.glass-page .screen-row figure,
  body.glass-page .cta-band__in, body.glass-page .app-row, body.glass-page .prose {
    background: var(--paper);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.glass-page .app-visual, body.glass-page .screen-row figure,
  body.glass-page .cta-band__in, body.glass-page .app-row, body.glass-page .prose {
    background: var(--paper);
  }
}

/* Clearout: the windows sit on the page, not inside a light frame. */
body.clearout .app-visual {
  padding: 0; border: 0; background: none;
  border-radius: 1.1rem; overflow: hidden;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 44px 70px -44px rgba(10,12,24,.55);
}
body.clearout .app-visual img,
body.clearout .app-visual video { border-radius: 1.1rem }

/* Blocks with more than one paragraph need air between them. */
body.clearout p + p,
body.clearout p + .fine { margin-top: .9rem }

/* Clearout's nav carries four links; on phones the legal one steps aside
   (it is in the footer) so the bar keeps one line. */
@media (max-width: 560px) {
  body.clearout .nav nav a[href="/clearout-privacy"] { display: none }
  body.clearout .nav nav a { white-space: nowrap }
}

/* Release history — one entry per version, newest open. */
.releases { max-width: 68ch }
.releases details { border-top: 1px solid var(--hair-2); padding: 1.05rem 0 }
.releases details:last-of-type { border-bottom: 1px solid var(--hair-2) }
.releases summary {
  display: flex; align-items: baseline; gap: 1rem;
  cursor: pointer; list-style: none;
}
.releases summary::-webkit-details-marker { display: none }
.releases .ver { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.02em }
.releases .date { margin-left: auto; font-size: .8125rem; color: var(--muted); white-space: nowrap }
.releases summary::after { content: "+"; color: var(--faint); font-weight: 500; margin-left: .3rem }
.releases details[open] summary::after { content: "−" }
.releases ul { margin: .85rem 0 0; padding-left: 1.15rem; list-style: disc }
.releases li { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin-bottom: .45rem }
.releases li:last-child { margin-bottom: 0 }
.releases p { margin: .85rem 0 0; color: var(--muted); font-size: .9375rem }
@media (max-width: 520px) {
  .releases summary { flex-wrap: wrap; gap: .2rem .8rem }
  .releases .date { margin-left: 0; width: 100%; order: 3 }
}
.releases--empty { border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); padding: 1.05rem 0 }
.releases--empty p { margin: 0; color: var(--muted); font-size: .9375rem; max-width: 60ch }
.home .film__cap + .film__cap--list {
  margin-top: -.65rem; padding-top: 0;
  color: var(--muted); font-size: .8125rem; line-height: 1.65; max-width: 62ch;
}
