/* Altivon Digital — page sections (spec: design/ART-DIRECTION.md §5–7). Loaded after tokens.css, base.css, samples.css.
   Components are written against the semantic tokens so they work on every ground. */

/* ---- Intro: the stage light comes up and the wordmark resolves (once per visit, ≤ 1.4s) ------------------ */
.intro { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; background-color: #05080F; pointer-events: none; } /* dark, then the studio light comes up */
html:not(.js) .intro, html.intro-done .intro { display: none; }
.intro__light { position: absolute; inset: -20%; background: var(--sweep); opacity: 0; }
.intro__mark { position: relative; display: inline-flex; align-items: baseline; gap: 10px; color: var(--on-night); }
.intro__logo { display: block; width: min(64vw, 380px); height: auto; } .intro__word { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.2rem); font-weight: var(--fw-brand); font-stretch: var(--fwd-brand); letter-spacing: var(--tr-brand); line-height: 1; }
.intro__sub { font-size: .95rem; }
.intro.is-play .intro__light { animation: introLight 1.1s var(--ease-out) forwards; }
.intro.is-play .intro__word, .intro.is-play .intro__logo { animation: introWord 1s var(--ease-out) .08s both; }
.intro.is-play .intro__sub { animation: introWord 1s var(--ease-out) .22s both; }
.intro.is-leave { animation: introLeave .7s var(--ease-in-out) forwards; }
@keyframes introLight { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes introWord { from { opacity: 0; filter: blur(12px); transform: translateY(.18em); letter-spacing: 0; } to { opacity: 1; filter: none; transform: none; } }
@keyframes introLeave { to { opacity: 0; visibility: hidden; } }

/* ---- Shared: the DOM phone (also the fallback when WebGL is off) ---------------------------------------
   The phone is drawn at real size (428 × 868 CSS px: a 390 × 844 screen inside a 19px frame) and scaled to
   fit with --s, so the sample inside keeps its true phone layout and stays crisp. */
.phone { --s: .8; position: relative; width: calc(428px * var(--s)); height: calc(868px * var(--s)); flex: none; }
.phone__body {
  position: absolute; top: 0; left: 0; width: 428px; height: 868px; padding: 19px;
  border-radius: 68px; transform: scale(var(--s)); transform-origin: 0 0;
  background:
    linear-gradient(145deg, #a9a6a0 0%, #e9e7e2 14%, #8d8a84 32%, #c9c6c0 56%, #7c7973 78%, #d6d3cd 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 2.5px rgba(40, 39, 36, .55), inset 0 0 0 7px #121211,
    0 60px 90px -40px rgba(22, 22, 21, .55), 0 26px 40px -24px rgba(22, 22, 21, .4);
}
.phone__body::before { /* side buttons */
  content: ""; position: absolute; top: 210px; right: -3px; width: 4px; height: 104px; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #8a8781, #d4d1cb); box-shadow: -432px -88px 0 -0.5px #b7b4ae, -432px 0 0 -0.5px #b7b4ae;
}
.phone__screen { position: relative; width: 390px; height: 830px; overflow: hidden; border-radius: 50px; background: #000; isolation: isolate; }
.phone__island { position: absolute; top: 30px; left: 50%; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #050505; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); z-index: 6; }
.phone__island::after { content: ""; position: absolute; top: 10px; right: 22px; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4566, #0b0d14 60%); }
.phone__glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.13) 47%, rgba(255,255,255,0) 58%);
  background-size: 240% 100%; background-position: var(--glare, 70%) 0; }
.phone__shadow { position: absolute; left: 12%; right: 12%; bottom: calc(-5% * var(--s)); height: 7%; background: var(--contact-shadow); filter: blur(6px); z-index: -1; }
.phone__size, .laptop__size { position: absolute; color: var(--text-3); }
.phone__size { left: 50%; bottom: -34px; translate: -50% 0; }

/* the social profile shown in the hero (a generic profile, not a copy of any app's interface) */
.ig { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; color: #111; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; z-index: 1; }
.ig__status { display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 8px 32px 0 40px; font-size: 16px; font-weight: 600; }
.ig__status-icons { display: inline-flex; gap: 5px; } .ig__status-icons i { display: block; width: 16px; height: 10px; border-radius: 2px; background: #111; }
.ig__status-icons i:nth-child(1) { width: 17px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.ig__status-icons i:nth-child(3) { width: 24px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1px #111; background: linear-gradient(90deg, #111 78%, transparent 0); }
.ig__top { display: flex; align-items: center; justify-content: center; height: 44px; font-size: 17px; font-weight: 700; }
.ig__head { display: flex; align-items: center; gap: 22px; padding: 10px 18px 6px; }
.ig__avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #d9d6d0; }
.ig__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; flex: 1; font-size: 13px; color: #333; text-align: center; line-height: 1.2; }
.ig__stats b { display: block; font-size: 17px; color: #111; }
.ig__name { padding: 8px 18px 0; font-size: 15px; font-weight: 700; }
.ig__bio { padding: 2px 18px 0; font-size: 14px; line-height: 1.4; color: #222; }
.ig__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 18px 14px; font-size: 14px; font-weight: 600; }
.ig__actions span { display: grid; place-items: center; height: 34px; border-radius: 9px; background: #efefef; }
.ig__actions span:first-child { background: #161615; color: #fff; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-top: 2px; }
.ig__tile { position: relative; aspect-ratio: 1; overflow: hidden; background: #ddd; }
.ig__tile img { width: 100%; height: 100%; object-fit: cover; }

/* the website screen (sample engine inside) */
.site-screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; z-index: 2; opacity: 0; }
.site-screen.is-on { opacity: 1; }
.addr { position: relative; flex: none; display: flex; align-items: flex-end; justify-content: center; height: 98px; padding: 0 16px 10px; background: #f2f1ee; color: #161615; font: 600 15px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em; box-shadow: inset 0 -1px 0 rgba(22,22,21,.08); }
.addr::before { content: "9:41"; position: absolute; top: 19px; left: 40px; font-size: 16px; font-weight: 600; }
.addr::after { content: ""; position: absolute; top: 21px; right: 30px; width: 25px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(22,22,21,.45); background: linear-gradient(90deg, #161615 0 76%, transparent 76%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.addr__pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 62%; max-width: 100%; height: 38px; padding: 0 16px; border-radius: 12px; background: #e3e1dc; white-space: nowrap; overflow: hidden; }
.addr__lock { flex: none; width: 9px; height: 11px; border-radius: 2px; background: #161615; position: relative; top: 1px; }
.addr__lock::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.5px solid #161615; border-bottom: 0; border-radius: 4px 4px 0 0; }
.site-screen__body { position: relative; flex: 1; min-height: 0; }
.site-screen__body > .smp-stage, .site-screen__body > .smp-root { height: 100%; }
/* a dark site: Safari tints its bar to the page */
.site-screen.is-dark { background: #0b0b0a; }
.addr, .addr__pill { transition: background-color .32s ease, color .32s ease; }
.site-screen.is-dark .addr { background: #0b0b0a; color: #f2efe9; box-shadow: inset 0 -1px 0 rgba(242,239,233,.08); }
.site-screen.is-dark .addr::after { box-shadow: inset 0 0 0 1px rgba(242,239,233,.5); background: linear-gradient(90deg, #f2efe9 0 76%, transparent 76%) 2px 2px / calc(100% - 4px) calc(100% - 4px) no-repeat; }
.site-screen.is-dark .addr__pill { background: #1e1e1c; }
.site-screen.is-dark .addr__lock { background: #f2efe9; }
.site-screen.is-dark .addr__lock::before { border-color: #f2efe9; }
.addr--bare { height: 50px; padding: 0; box-shadow: none !important; }
.addr__text.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---- The phone story (pinned) ----------------------------------------------------------------------------- */
.story { position: relative; }
.story__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.story__stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1600px; pointer-events: none; }
.story__stage .phone { pointer-events: auto; transform-style: preserve-3d; will-change: transform; }
.story__gl { position: absolute; inset: 0; }
.story__gl:empty { display: none; }
.has-3d .story__stage > .phone .phone__body { box-shadow: none; background: transparent; }
.dms { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.dm { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.dm__chip { will-change: transform; }
.dm.is-off { visibility: hidden; } /* no room for it on this screen (story.js) */

.hero { position: absolute; inset: 0; align-content: center; pointer-events: none; z-index: 3; padding-top: var(--nav-h); }
.hero > * { pointer-events: auto; }
.hero__copy { --col: 1 / span 7; --col-lg: 1 / span 6; align-self: center; }
.hero__label { margin-bottom: clamp(16px, 2vw, 28px); }
.hero__title { font-size: clamp(3rem, 1rem + 5.6vw, 7.25rem); white-space: nowrap; }
.hero__lead { margin-top: clamp(20px, 2.2vw, 32px); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(28px, 3vw, 44px); }
.hero__sample { position: absolute; bottom: 28px; right: max(var(--margin), env(safe-area-inset-right)); }
.hero__scroll { position: absolute; left: max(var(--margin), env(safe-area-inset-left)); bottom: 28px; display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll-line { position: relative; width: 48px; height: 1px; overflow: hidden; background: var(--hairline); }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--text); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { translate: -100% 0; } 55% { translate: 0 0; } 100% { translate: 100% 0; } }

.caps { position: absolute; inset: 0; margin: 0; list-style: none; pointer-events: none; z-index: 3; }
.cap { position: absolute; top: 50%; width: min(30vw, 380px); opacity: 0; visibility: hidden; }
.cap:nth-child(odd) { left: max(var(--margin), 6vw); translate: 0 -50%; }
.cap:nth-child(even) { right: max(var(--margin), 6vw); translate: 0 -50%; }
.cap .t-label { display: block; margin-bottom: 14px; }
.cap .t-sub { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); }
.cap .t-body { margin-top: 14px; font-size: 1.125rem; }
.ring { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 14px; box-shadow: 0 0 0 1.5px #f2efe9, 0 0 0 6px rgba(242, 239, 233, .14), 0 0 28px 6px rgba(242, 239, 233, .16); opacity: 0; pointer-events: none; z-index: 4; transition: none; }
.ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; box-shadow: 0 0 0 1.5px rgba(242, 239, 233, .7); animation: ring-pulse 2.2s cubic-bezier(.2,.6,.2,1) infinite; }
@keyframes ring-pulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12, 1.35); } }

/* ---- Live demo ------------------------------------------------------------------------------------------------ */
.demo { padding-block: var(--section-pad); }
.demo__grid { row-gap: 64px; align-items: center; }
.demo__copy { --col: 1 / span 6; --col-lg: 1 / span 5; }
.demo__copy .t-h2 { margin-top: 18px; }
.demo__panel { margin-top: clamp(32px, 3.4vw, 52px); padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-card); display: grid; gap: 14px; box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow-float); background-color: rgba(244, 243, 240, .72); }
.demo__input { width: 100%; height: 60px; padding: 0 18px; border: 0; border-radius: var(--radius-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 1.25rem; font-weight: 500; letter-spacing: -.015em; outline: none; transition: box-shadow .3s var(--ease-out); }
.demo__input::placeholder { color: #8b8881; }
.demo__input:focus { box-shadow: inset 0 0 0 1.5px var(--royal); }
.demo__types { border: 0; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; min-width: 0; }
.demo__types legend { padding: 0; margin-bottom: 10px; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: var(--fs-ui); font-weight: var(--fw-nav); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), scale var(--dur-press) var(--ease-press); }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(11, 18, 38, .32); }
.chip:active { scale: .97; }
.chip[aria-checked="true"] { background: var(--ink); color: var(--stone); box-shadow: none; }
.demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 10px; }
.demo__status { min-height: 1.4em; color: var(--text-2); font-size: var(--fs-small); }
.demo__fine { margin-top: 18px; color: var(--text-3); font-size: var(--fs-small); max-width: 46ch; }
.demo__device { --col: 7 / -1; --col-lg: 8 / -1; display: grid; justify-items: center; gap: 28px; }
.phone--demo { --s: .78; }

/* ---- Every screen: the laptop moment (night) -------------------------------------------------------------------- */
.screens__head { row-gap: 20px; }
.screens__label { --col: 1 / -1; }
.screens__title { --col: 1 / span 8; --col-lg: 1 / span 7; }
.screens__lead { --col: 7 / -1; --col-lg: 8 / span 4; align-self: end; }
.screens { overflow-x: clip; }
.screens__stage { position: relative; display: grid; place-items: center; margin-top: clamp(56px, 7vw, 120px); perspective: 2200px; min-height: clamp(360px, 52vw, 820px); }
.laptop { position: relative; width: min(1080px, 86vw); transform-style: preserve-3d; }
.laptop__lid { position: relative; width: 84%; margin: 0 auto; aspect-ratio: 16 / 10.6; padding: 1.6% 1.6% 2.6%; border-radius: 22px 22px 8px 8px; background: linear-gradient(180deg, #232321, #121211); box-shadow: inset 0 0 0 1.5px #4b4a46, inset 0 0 0 3px #0c0c0b, 0 40px 80px -30px rgba(0,0,0,.6); transform-origin: 50% 100%; transform: rotateX(var(--lid, 0deg)); will-change: transform; }
.laptop__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 8px 8px 2px 2px; background: #000; }
.laptop__view { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; transform-origin: 0 0; }
.laptop__view > .smp-stage, .laptop__view > .smp-root { height: 100%; }
.laptop__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.07) 50%, rgba(255,255,255,0) 60%); }
.laptop__notch { position: absolute; top: 1.2%; left: 50%; width: 9%; height: 2.6%; translate: -50% 0; border-radius: 0 0 8px 8px; background: #0b0b0a; }
.laptop__base { position: relative; height: clamp(12px, 1.6vw, 22px); margin-top: -2px; border-radius: 0 0 24px 24px / 0 0 16px 16px; background: linear-gradient(180deg, #e3e1dc 0%, #c5c2bc 40%, #8c8a85 100%); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.laptop__lip { position: absolute; top: 0; left: 50%; width: 15%; height: 42%; translate: -50% 0; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #9c9a95, #d4d2cd); }
.laptop__size { left: 8%; bottom: -40px; }
.phone--small { --s: .42; position: absolute; right: 4%; bottom: 0; }
@media (max-width: 47.99em) {
  .phone--small { --s: .3; right: 2%; }
  .screens__stage { min-height: 300px; }
}

/* ---- Services ------------------------------------------------------------------------------------------------------ */
.services .grid { row-gap: 48px; }
.services__head { --col: 1 / span 5; --col-lg: 1 / span 4; }
.services__head .t-h2 { margin-top: 18px; }
.services__list { --col: 1 / -1; --col-lg: 5 / -1; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline); }
.svc { border-bottom: 1px solid var(--hairline); }
.svc__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; grid-template-areas: "n name icon" ". line line"; column-gap: 12px; row-gap: 10px; width: 100%; padding: 30px 0; text-align: left; color: var(--text); }
.svc__n { grid-area: n; padding-top: .55em; }
.svc__name { grid-area: name; transition: translate .6s var(--ease-out); }
.svc__line { grid-area: line; color: var(--text-2); font-size: var(--fs-body); line-height: var(--lh-body); max-width: 56ch; }
.svc__icon { grid-area: icon; position: relative; width: 18px; height: 18px; margin-top: .55em; justify-self: end; }
.svc__icon i { position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: rotate var(--dur-morph) var(--ease-spring); }
.svc__icon i:last-child { rotate: 90deg; }
.svc__row[aria-expanded="true"] .svc__icon i:last-child { rotate: 0deg; }
.svc__row:hover .svc__name { translate: 8px 0; }
.svc__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.svc__more > ul { min-height: 0; overflow: hidden; margin: 0; padding: 0 0 0 68px; list-style: none; }
.svc__more li { position: relative; padding: 0 0 12px 20px; color: var(--text-2); }
.svc__more li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: currentColor; }
.svc__row[aria-expanded="true"] + .svc__more { grid-template-rows: 1fr; }
.svc__row[aria-expanded="true"] + .svc__more > ul { padding-bottom: 22px; }
@media (min-width: 68.75em) {
  .svc__row { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 28px; grid-template-areas: "n name line icon"; align-items: baseline; padding: 36px 0; }
  .svc__line { padding-right: 24px; }
  .svc__more > ul { padding-left: 76px; display: flex; flex-wrap: wrap; gap: 0 32px; }
}

/* ---- Process: horizontal pinned track on desktop, a stack on phones -------------------------------------------- */
.process { position: relative; }
.process__pin { padding-block: var(--section-pad) clamp(80px, 9vw, 140px); overflow: hidden; }
.process__head .t-h2 { margin-top: 18px; max-width: 11em; }
.process__track { display: flex; gap: var(--gutter); margin: clamp(48px, 6vw, 96px) 0 0; padding: 0 max(var(--margin), env(safe-area-inset-left)); list-style: none; will-change: transform; }
.step { position: relative; flex: 0 0 min(76vw, 560px); min-height: clamp(320px, 34vw, 480px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: clamp(24px, 2.6vw, 40px); border-radius: var(--radius-card); background: var(--paper); overflow: hidden; }
.step__n { position: absolute; top: -.08em; right: .02em; font-size: clamp(9rem, 6rem + 12vw, 20rem); font-weight: 560; letter-spacing: -.06em; line-height: 1; color: rgba(11, 18, 38, .06); pointer-events: none; }
.step .t-body { max-width: 34ch; }
@media (max-width: 47.99em) {
  .process__track { flex-direction: column; padding-right: max(var(--margin), env(safe-area-inset-right)); }
  .step { flex: none; min-height: 260px; }
}

/* ---- Made in Guyana ----------------------------------------------------------------------------------------------------- */
.guyana { position: relative; min-height: min(110vh, 1100px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.guyana__media { position: absolute; inset: 0; z-index: -2; }
.guyana__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.08)); will-change: transform; }
.guyana__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 12, 25, .92) 0%, rgba(7, 12, 25, .55) 34%, rgba(7, 12, 25, .05) 64%), linear-gradient(180deg, rgba(7, 12, 25, .35), rgba(7, 12, 25, 0) 22%); }
.guyana__copy { row-gap: 22px; padding-block: var(--section-pad) clamp(64px, 7vw, 110px); }
.guyana__copy .t-h2 { --col: 1 / span 10; --col-lg: 1 / span 8; }
.guyana__copy .t-lead { --col: 1 / span 8; --col-lg: 1 / span 5; color: var(--on-night-2); }
.guyana__facts { --col: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.guyana__facts li { padding: 10px 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line-night); color: var(--on-night); }

/* ---- FAQ ------------------------------------------------------------------------------------------------------------------- */
.faq .grid { row-gap: 40px; }
.faq__head { --col: 1 / span 5; --col-lg: 1 / span 4; align-self: start; }
@media (min-width: 68.75em) { .faq__head { position: sticky; top: calc(var(--nav-h) + 40px); } }
.faq__head .t-h2 { margin-top: 18px; }
.faq__list { --col: 1 / -1; --col-lg: 6 / -1; border-top: 1px solid var(--hairline); }
.qa { border-bottom: 1px solid var(--hairline); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .t-sub { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.75rem); }
.qa__icon { position: relative; flex: none; width: 18px; height: 18px; }
.qa__icon i { position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: rotate var(--dur-morph) var(--ease-spring); }
.qa__icon i:last-child { rotate: 90deg; }
.qa[open] .qa__icon i:last-child { rotate: 0deg; }
.qa__a { overflow: hidden; }
.qa__a .t-body { padding: 0 48px 30px 0; }

/* ---- Phone (390px) compositions --------------------------------------------------------------------------------------------- */
@media (max-width: 47.99em) {
  .story__pin { min-height: 600px; }
  .hero__scroll { display: none; }
  .hero__sample { position: static; grid-column: 1 / -1; margin-top: 18px; }
  .hero { align-content: start; padding-top: calc(var(--nav-h) + 24px); }
  .hero__copy { align-self: start; }
  .hero__title { font-size: clamp(2.4rem, 10.4vw, 3.4rem); }
  .hero__lead { font-size: 1.0625rem; max-width: 30ch; }
  .hero__actions .btn { width: auto; }
  .dm__chip { font-size: .8125rem; min-height: 34px; padding: 8px 12px; }
  .cap { left: max(var(--margin), env(safe-area-inset-left)) !important; right: max(var(--margin), env(safe-area-inset-right)) !important; width: auto; top: calc(var(--nav-h) + 18px); translate: none !important; }
  .cap .t-sub { font-size: 1.75rem; }
  .cap .t-body { font-size: 1rem; margin-top: 8px; }
  .demo__device { order: -1; }
  .phone--demo { --s: .64; }
}
@media (max-height: 760px) and (min-width: 48em) {
  .hero__title { font-size: clamp(3rem, 1rem + 6.6vw, 8rem); }
}
/* short phones: the copy tightens so more of the phone rises into view */
@media (max-width: 47.99em) and (max-height: 720px) {
  .hero { padding-top: calc(var(--nav-h) + 12px); }
  .hero__label { margin-bottom: 12px; }
  .hero__title { font-size: clamp(2.25rem, 9.6vw, 3rem); }
  .hero__lead { margin-top: 14px; font-size: 1rem; }
  .hero__actions { margin-top: 20px; gap: 10px 24px; }
  .hero__sample { margin-top: 12px; }
}
/* tablets held upright: the copy centred on top, the whole phone under it */
@media (min-width: 48em) and (max-width: 73.74em) and (orientation: portrait) {
  .hero { align-content: start; padding-top: calc(var(--nav-h) + clamp(28px, 4.5vh, 72px)); }
  .hero__copy { --col: 1 / -1; --col-lg: 1 / -1; justify-self: center; text-align: center; }
  .hero__title { font-size: clamp(3.5rem, 1rem + 6.4vw, 6.25rem); }
  .hero__lead { margin-inline: auto; max-width: 36ch; }
  .hero__actions { justify-content: center; }
}
/* phones on their side and other short landscape windows: type sized by height so it all fits beside the phone */
@media (orientation: landscape) and (max-height: 520px) {
  .story__pin { min-height: 0; }
  .hero { padding-top: var(--nav-h); }
  .hero__label { margin-bottom: 10px; }
  .hero__copy { --col: 1 / span 8; --col-lg: 1 / span 7; }
  .hero__title { font-size: clamp(1.9rem, 11svh, 3rem); }
  .hero__lead { margin-top: 12px; font-size: .9375rem; max-width: 44ch; }
  .hero__actions { margin-top: 16px; gap: 10px 24px; }
  .hero__scroll { display: none; }
  .hero__sample { right: auto; left: max(var(--margin), env(safe-area-inset-left)); bottom: 12px; }
}

/* ---- Reduced motion: final composed states, no travel ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
  .hero__scroll-line::after, .ring::after { animation: none; }
  .svc__more, .svc__icon i, .qa__icon i { transition: none; }
}
