/* HEIO TV — heio.tv */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-latin.woff2") format("woff2");
  font-weight: 400 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-latin-ext.woff2") format("woff2");
  font-weight: 400 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #05060a;
  --bg-2: #0a0c12;
  --panel: #0e1119;
  --ink: #eef1f6;
  --ink-2: #c3c9d6;
  --mute: #8f97ab;
  --line: rgba(238, 241, 246, .1);
  --line-2: rgba(238, 241, 246, .18);
  --cyan: #00f5ff;
  --cyan-ink: #04121a;
  --cyan-soft: rgba(0, 245, 255, .14);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(1.25rem, 4.5vw, 4.5rem);
  --max: 82rem;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;
  --sec-y: clamp(6rem, 14vw, 12rem);
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--cyan); color: var(--cyan-ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #2a3040 var(--bg); scrollbar-width: thin; caret-color: var(--cyan); }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cyan); color: var(--cyan-ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 1rem; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 1.75rem; height: 1.75rem; stroke-width: 1.5; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --h: 3.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: 0 1.6rem; border-radius: 999px;
  font: 700 1rem/1 var(--text); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, box-shadow .35s var(--ease-out), border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 10px 30px -10px rgba(0, 245, 255, .55); }
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(0, 245, 255, .7); transform: translateY(-2px); }
.btn-primary .ico { transition: transform .35s var(--ease-out); }
.btn-primary:hover .ico { transform: translateX(3px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(238, 241, 246, .03); }
.btn-ghost:hover { border-color: var(--ink-2); background: rgba(238, 241, 246, .07); }
.btn-sm { --h: 2.5rem; padding: 0 1.1rem; font-size: .9rem; }

/* ── Top bar ─────────────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: max(.9rem, env(safe-area-inset-top)) var(--pad) .9rem;
  background: rgba(5, 6, 10, 0); border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.bar[data-scrolled] { background: rgba(5, 6, 10, .78); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.bar-logo img { height: 2.1rem; width: auto; }
.bar-nav { display: flex; gap: 1.75rem; margin-left: 1rem; }
.bar-nav a, .lang { text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 500; transition: color .2s; }
.bar-nav a:hover, .lang:hover { color: var(--ink); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.lang { font: 700 .82rem/1 var(--display); letter-spacing: .08em; font-stretch: 80%; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 8px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "h h" "body tv"; align-items: center; column-gap: clamp(1.5rem, 4vw, 4.5rem); row-gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(7rem, 15vh, 9.5rem) var(--pad) clamp(3rem, 8vh, 6rem);
  max-width: 110rem; margin: 0 auto;
}
.hero-h {
  grid-area: h; position: relative; z-index: 2;
  font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -.035em;
  font-size: clamp(2.5rem, 7.4vw, 6rem);
  display: grid;
}
.hero-h span { display: block; }
.hero-h span:first-child { font-stretch: 100%; }
.hero-h span:last-child { font-stretch: 125%; animation: widen 1.4s .25s var(--ease-out) both; }
@keyframes widen { from { font-stretch: 62%; opacity: 0; } 40% { opacity: 1; } to { font-stretch: 125%; } }
.hero-body { grid-area: body; position: relative; z-index: 2; align-self: start; }
.hero-lede { max-width: 34rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }
.hero-note { margin-top: .9rem; font-size: .9rem; color: var(--mute); }
.stores { list-style: none; padding: 0; margin: 2.75rem 0 0; display: flex; flex-wrap: wrap; gap: 1.6rem 2.25rem; }
.stores li { display: flex; align-items: center; gap: .8rem; color: var(--ink-2); }
.stores b { display: block; font: 700 .98rem/1.25 var(--text); color: var(--ink); }
.stores small { display: block; font-size: .82rem; color: var(--mute); }

.hero-tv { grid-area: tv; position: relative; margin: 0; perspective: 1800px; align-self: start; }
.hero-tv .tv {
  transform-origin: 30% 60%;
  transform: rotateY(-16deg) rotateX(7deg) translateZ(0);
  animation: tv-settle linear both;
  animation-timeline: scroll(root);
  animation-range: 0 70vh;
}
@keyframes tv-settle { to { transform: rotateY(0) rotateX(0) scale(1.03); } }
.spill {
  position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -14%; height: 46%;
  background: radial-gradient(60% 55% at 50% 30%, rgba(0, 245, 255, .26), rgba(0, 120, 255, .08) 55%, transparent 75%);
  filter: blur(30px);
  animation: spill-grow linear both; animation-timeline: scroll(root); animation-range: 0 70vh;
}
@keyframes spill-grow { from { opacity: .55; } to { opacity: 1; transform: scaleX(1.12); } }

/* TV object */
.tv {
  position: relative; border-radius: clamp(10px, 1.2vw, 18px); padding: clamp(5px, .6vw, 10px);
  background: linear-gradient(160deg, #1d212b, #0b0d12 45%, #15181f);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 18px 40px -20px rgba(0, 0, 0, .8);
}
.tv-screen { position: relative; overflow: hidden; border-radius: clamp(4px, .5vw, 8px); background: #000; aspect-ratio: 16 / 9; }
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.tv-screen::after { /* glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 28%, transparent 72%, rgba(255, 255, 255, .03));
}
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; animation: ring-in .5s 1.5s var(--ease-out) forwards; }
.ring rect {
  x: 7.55px; y: 50.8px; width: 10.65px; height: 6.5px; rx: .55px; ry: .98px;
  fill: none; stroke: var(--cyan); stroke-width: 3;
  filter: drop-shadow(0 4px 10px rgba(0, 245, 255, .55));
  transition: x .5s var(--ease-out), y .5s var(--ease-out), width .5s var(--ease-out), height .5s var(--ease-out);
}
.tv-tour .ring { animation: none; opacity: 1; }
@keyframes ring-in { to { opacity: 1; } }
.tune {
  position: absolute; inset: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .9 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 240px 240px,
    #0b0f16;
  animation: tune-out 1.25s .15s var(--ease-io) forwards, tune-jitter .12s steps(3) 0s 10;
}
@keyframes tune-out { 0% { opacity: 1; } 55% { opacity: .85; clip-path: inset(0 0 0 0); } 100% { opacity: 0; clip-path: inset(48% 0 52% 0); } }
@keyframes tune-jitter { 0% { background-position: 0 0, 0 0; } 33% { background-position: -60px 40px, 0 0; } 66% { background-position: 50px -30px, 0 0; } }

/* ── Section scaffolding ─────────────────────────────────── */
.sec-head, .wall-copy, .pricing-copy { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sec-h {
  font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.25rem, 5vw, 4.75rem); line-height: .95; letter-spacing: -.03em;
}
.sec-lede { margin-top: 1.25rem; max-width: 40rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }

/* ── Tour ────────────────────────────────────────────────── */
.tour { padding: var(--sec-y) 0 calc(var(--sec-y) * .5); }
.tour-grid {
  max-width: 110rem; margin: clamp(3rem, 7vw, 6rem) auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 6rem);
}
.tour-stage { position: sticky; top: clamp(5.5rem, 14vh, 9rem); align-self: start; }
.tv-tour .layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.025); filter: blur(10px); transition: opacity .55s var(--ease-io), transform .8s var(--ease-out), filter .6s var(--ease-out); }
.tv-tour .layer.is-on { opacity: 1; transform: none; filter: none; }
.tour-dots { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 1.5rem 0 0; }
.tour-dots { gap: .75rem; }
.tour-dots li { width: 2.5rem; height: .55rem; border-radius: 4px; background: var(--line-2); outline: 2px solid transparent; outline-offset: 3px; transition: background-color .4s, outline-color .4s; }
.tour-dots li[data-on] { background: var(--ink); outline-color: var(--cyan); }
.tour-steps { list-style: none; margin: 0; padding: 0; }
.chapter { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2rem 0; }
.chapter h3 { font: 800 clamp(1.6rem, 2.4vw, 2.4rem)/1.05 var(--display); font-stretch: 100%; letter-spacing: -.02em; transition: color .5s; }
.chapter p { color: var(--ink-2); max-width: 30rem; transition: color .5s; }
.chapter-shot { display: none; }
@supports (animation-timeline: view()) {
  .chapter { animation: chapter-focus linear both; animation-timeline: view(); animation-range: cover 20% cover 80%; }
  @keyframes chapter-focus { 0%, 100% { opacity: .28; } 30%, 70% { opacity: 1; } }
}

/* ── Poster wall ─────────────────────────────────────────── */
.wall { padding: calc(var(--sec-y) * .6) 0 var(--sec-y); overflow: clip; }
.wall-rows {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; gap: clamp(.75rem, 1.2vw, 1.25rem);
  transform: rotate(-4deg) scale(1.08);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.wall-row { display: flex; gap: clamp(.75rem, 1.2vw, 1.25rem); width: max-content; animation: drift 80s linear infinite; }
.wall-row:nth-child(2) { animation-duration: 95s; animation-direction: reverse; margin-left: -6rem; }
.wall-row:nth-child(3) { animation-duration: 70s; margin-left: -12rem; }
.wall-row img { width: clamp(7.5rem, 11vw, 11rem); aspect-ratio: 2 / 3; height: auto; border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9); }
@keyframes drift { to { transform: translateX(-50%); } }
.wall-row img { transition: transform .45s var(--ease-out), outline-color .3s; outline: 3px solid transparent; outline-offset: 3px; }
.wall-row img.is-focus { transform: scale(1.08); outline-color: var(--cyan); }
.wall-label { position: relative; z-index: 1; max-width: var(--max); margin: clamp(4rem, 7vw, 6rem) auto 0; padding: 0 var(--pad); font-size: .85rem; color: var(--mute); }

/* ── Setup ───────────────────────────────────────────────── */
.setup {
  max-width: var(--max); margin: 0 auto; padding: var(--sec-y) var(--pad);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 7vw, 7rem); align-items: center;
}
.steps { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0; display: grid; gap: 2rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.step-n {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line-2); font: 800 1.05rem/1 var(--display); color: var(--ink);
}
.steps h3 { font: 700 1.3rem/1.2 var(--text); }
.steps p { margin-top: .35rem; color: var(--ink-2); max-width: 30rem; }
.setup-visual { position: relative; justify-self: center; width: min(100%, 22rem); }
.phone {
  position: relative; border-radius: 2.6rem; padding: .7rem; background: linear-gradient(150deg, #23272f, #0b0d12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 50px 90px -40px rgba(0, 0, 0, .95), 0 24px 50px -30px rgba(0, 245, 255, .25);
}
.phone img { border-radius: 2rem; width: 100%; aspect-ratio: 640 / 1386; object-fit: cover; object-position: top; }
.code-card {
  position: relative; z-index: 2; margin: 0 auto 1.5rem; width: max-content;
  display: grid; gap: .35rem; padding: 1rem 1.25rem; border-radius: 14px;
  background: #0d1118; border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
}
.code-label { font-size: .78rem; color: var(--mute); letter-spacing: .02em; }
.code { font: 700 1.6rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .14em; color: var(--ink); white-space: pre; }

/* ── Tech ────────────────────────────────────────────────── */
.tech { max-width: var(--max); margin: 0 auto; padding: calc(var(--sec-y) * .5) var(--pad) var(--sec-y); }
.tech-list { margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(2rem, 4vw, 4rem); }
.tech-list > div { padding: 1.75rem 0 2.25rem; border-top: 1px solid var(--line); }
.tech-list dt { font: 800 1.35rem/1.15 var(--display); font-stretch: 88%; letter-spacing: -.01em; }
.tech-list dd { margin: .6rem 0 0; color: var(--ink-2); max-width: 26rem; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-copy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "h tv" "p tv" "s tv"; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pricing-copy .sec-h { grid-area: h; } .pricing-copy .sec-lede { grid-area: p; }
.start { grid-area: s; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.start-line { font-weight: 600; color: var(--ink); max-width: 34rem; }
.stores-sm { margin-top: 1.25rem; }
.pricing-tv { grid-area: tv; margin: 0; align-self: center; transform: rotate(1.5deg); }
.pricing { padding: var(--sec-y) 0; background: linear-gradient(180deg, transparent, var(--bg-2) 18%, var(--bg-2) 82%, transparent); }
.plans { max-width: var(--max); margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.plan { padding-top: 1.5rem; border-top: 2px solid var(--line-2); }
.plan-life { border-top-color: var(--ink); border-top-width: 3px; }
.plan h3 { font: 800 clamp(2rem, 4vw, 3.25rem)/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.plan p { margin-top: .9rem; color: var(--ink-2); max-width: 26rem; font-size: 1.1rem; }
.pricing-cta { max-width: var(--max); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.fine { color: var(--mute); font-size: .92rem; max-width: 36rem; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 60rem; margin: 0 auto; padding: var(--sec-y) var(--pad); }
.qa { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 3rem 1.5rem 0; font: 700 clamp(1.1rem, 1.6vw, 1.3rem)/1.3 var(--text);
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .25em; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 1rem; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease-out);
}
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }
.qa p { padding: 0 3rem 1.6rem 0; color: var(--ink-2); max-width: 46rem; }
.qa p a { color: var(--ink); text-underline-offset: .2em; }

/* ── Footer ──────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 3.5rem var(--pad) max(3rem, env(safe-area-inset-bottom)); max-width: 110rem; margin: 0 auto; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.foot-top img { height: 2.25rem; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }
.foot-disclaimer { margin-top: 2.5rem; max-width: 52rem; color: var(--ink-2); font-size: .95rem; }
.foot-tm { margin-top: 1rem; color: var(--mute); font-size: .85rem; }

/* ── Reveal (scroll-driven, content visible by default) ─── */
@supports (animation-timeline: view()) {
  .sec-h, .sec-lede, .steps li, .tech-list > div, .plan, .setup-visual {
    animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
  }
  @keyframes rise { from { opacity: .001; transform: translateY(2.25rem); } }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bar-nav { display: none; }
  .tech-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "h" "tv" "body"; min-height: auto; padding-top: 7rem; }
  .hero-tv { margin: .5rem 0 1rem; }
  .pricing-copy { grid-template-columns: 1fr; grid-template-areas: "h" "p" "s" "tv"; }
  .pricing-tv { margin-top: 2.5rem; transform: none; }
  .hero-tv .tv { transform: rotateX(10deg); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .chapter { min-height: 0; padding: 0 0 3.5rem; animation: none !important; opacity: 1; }
  .chapter-shot { display: block; order: -1; border-radius: 10px; border: 6px solid #12151c; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); margin-bottom: .5rem; }
  .setup { grid-template-columns: 1fr; }
  .setup-visual { width: min(76%, 20rem); margin-top: 1rem; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; padding-block: .8rem; line-height: 1.2; }
  .setup-copy .btn { width: 100%; }
  .bar-end .btn { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tech-list { grid-template-columns: 1fr; }
  .code-card { padding: .8rem 1rem; }
  .code { font-size: 1.25rem; }
  .pricing-cta .btn { width: 100%; }
}
/* Very narrow (e.g. Galaxy Z Fold cover screen ~344–412px) */
@media (max-width: 380px) {
  :root { --pad: 1rem; }
  .hero-h { font-size: clamp(1.9rem, 10.6vw, 2.6rem); letter-spacing: -.03em; }
  .sec-h { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .stores { gap: 1rem; }
}
/* Near-square unfolded foldables (Galaxy Z Fold inner screen) */
@media (min-width: 600px) and (max-width: 1100px) and (min-aspect-ratio: 4/5) and (max-aspect-ratio: 5/4) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "h" "tv" "body"; min-height: auto; }
  .hero-tv .tv { transform: rotateX(8deg); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { position: sticky; top: 3.75rem; z-index: 1; display: block; background: var(--bg); padding: 1rem 0; }
  .chapter { min-height: 46vh; }
  .chapter-shot { display: none; }
  .setup { grid-template-columns: 1fr 1fr; }
  .tech-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Spanning a hinged foldable: copy on one panel, TV on the other */
@media (horizontal-viewport-segments: 2) {
  .hero {
    grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0);
    grid-template-areas: "h tv" "body tv";
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0));
    padding-left: 0; padding-right: 0;
  }
  .hero-h, .hero-body { padding: 0 1.5rem; }
}
@media (vertical-viewport-segments: 2) {
  .hero { grid-template-columns: 1fr; grid-template-rows: env(viewport-segment-height 0 0) env(viewport-segment-height 0 1); row-gap: calc(env(viewport-segment-top 0 1) - env(viewport-segment-bottom 0 0)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wall-row { animation: none !important; }
  .hero-tv .tv { transform: none; }
  .tune { display: none; }
}
