/* The Quest Studio — site styles. No framework, no third-party requests. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Animatable scene angles (used for the touch-screen sway). */
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 10deg; }
@property --ry { syntax: "<angle>"; inherits: true; initial-value: -16deg; }

:root {
  --bg: #f3efe7;
  --bg-2: #ebe5da;
  --surface: #fbf9f5;
  --ink: #16140f;
  --ink-2: #4a453c;
  --ink-3: #6f685b;
  --line: rgba(22, 20, 15, 0.1);
  --line-2: rgba(22, 20, 15, 0.2);
  --accent: #e8572a;
  --focus: #2e5bff;
  --live: #1f8a4c;
  --soon: #b7791f;
  --band: #16140f;
  --band-ink: #f3efe7;
  --band-ink-2: rgba(243, 239, 231, 0.72);
  --drop: rgba(40, 28, 8, 0.32);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 40px 80px -48px rgba(40, 28, 8, 0.38);
  --grain-opacity: 0.32;

  --radius-lg: 32px;
  --radius: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e0c;
    --bg-2: #15130f;
    --surface: #1a1814;
    --ink: #f2eee6;
    --ink-2: #c4bdaf;
    --ink-3: #9a9384;
    --line: rgba(242, 238, 230, 0.1);
    --line-2: rgba(242, 238, 230, 0.2);
    --focus: #7d9bff;
    --live: #4cc283;
    --soon: #e3a64a;
    --band: #1d1b16;
    --drop: rgba(0, 0, 0, 0.6);
    --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 80px -48px rgba(0, 0, 0, 0.8);
    --grain-opacity: 0.18;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine paper grain over the whole page. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.05 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 760; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 13px; font-weight: 640; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { background: var(--bg); border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; font-weight: 720; letter-spacing: -0.02em; font-size: 18px; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-dot { fill: var(--accent); }

.nav { display: flex; gap: 4px; }
.nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 560; color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav a:hover { background: var(--line); color: var(--ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 640; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px var(--drop); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--line); }
.btn-soon { border: 1px dashed var(--line-2); color: var(--ink-3); cursor: default; }
.btn-light { background: var(--band-ink); color: var(--band); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--band-ink); border-color: rgba(243, 239, 231, 0.3); }
.btn-outline-light:hover { border-color: var(--band-ink); }
.btn-outline-light.is-done { border-color: var(--live); }

.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Official Google Play badge. The PNG has Google's required clear space
   built in, so the negative margin lines its visible edge up with buttons. */
.play-badge { display: inline-block; line-height: 0; margin: -12px -12px -12px -12px; border-radius: 14px; transition: transform 0.2s var(--ease-out); }
.play-badge img { height: 72px; width: auto; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge:active { transform: scale(0.97); }

.text-link {
  font-size: 15px; font-weight: 560; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px;
  padding: 12px 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.text-link:hover { color: var(--ink); text-decoration-color: var(--accent); }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(24px, 6vw, 72px) clamp(24px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(24px, 4vw, 56px); }

.hero h1 { font-size: clamp(42px, 6.2vw, 84px); margin-top: 18px; }
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.lede a { font-weight: 620; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color 0.2s ease; }
.lede a:hover { text-decoration-color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* 3D stage */
.stage { position: relative; height: clamp(340px, 44vw, 560px); perspective: 1400px; perspective-origin: 50% 40%; }
.scene {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}

.ring {
  position: absolute; left: 6%; width: 88%; aspect-ratio: 1; top: 50%; margin-top: -44%;
  border: 1px solid var(--line-2); border-radius: 50%;
  transform: rotateX(76deg) translateZ(-90px);
}
.ring--inner { left: 22%; width: 56%; margin-top: -28%; border-style: dashed; border-color: var(--line); transform: rotateX(76deg) translateZ(-40px); }

.pixel {
  position: absolute; width: 14px; height: 14px; border-radius: 3px;
  box-shadow: 0 6px 14px -6px var(--drop);
  animation: drift 9s ease-in-out infinite;
}
.px1 { left: 14%; top: 74%; background: #ffc83d; transform: translateZ(140px); animation-delay: -1s; }
.px2 { left: 84%; top: 64%; background: #39d98a; transform: translateZ(170px); animation-delay: -3s; width: 10px; height: 10px; }
.px3 { left: 30%; top: 4%; background: #ff5c8a; transform: translateZ(-120px); animation-delay: -5s; }
.px4 { left: 90%; top: 22%; background: #4cc3ff; transform: translateZ(60px); animation-delay: -2s; width: 10px; height: 10px; }
.px5 { left: 52%; top: 90%; background: #8c6cff; transform: translateZ(-30px); animation-delay: -6s; }

/* A tile is an extruded app icon: a face plus stacked slices for depth. */
.tile { --s: clamp(118px, 14vw, 196px); --r: 23%; position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.tile .enter, .tile .float, .tile-body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.tile .float { animation: bob var(--bob, 8s) ease-in-out var(--bob-delay, 0s) infinite; }
.slice {
  position: absolute; inset: 0; border-radius: var(--r);
  background: linear-gradient(160deg, var(--edge-hi), var(--edge));
  transform: translateZ(calc(var(--i) * -1.6px));
}
.face {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--r);
  transform: translateZ(0.6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: var(--edge);
}
.face img { width: 100%; height: 100%; object-fit: cover; }
.face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 90% at var(--gx, 28%) var(--gy, 18%), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 52%);
  mix-blend-mode: soft-light;
}
.drop {
  position: absolute; left: 12%; right: 12%; bottom: -26%; height: 20%;
  border-radius: 50%; background: var(--drop); filter: blur(16px);
  transform: translateZ(-110px);
}

.tile--nq { --edge: #081038; --edge-hi: #1c3394; }
.tile--velto { --edge: #0c0c10; --edge-hi: #4a0c12; }
.tile--ap { --edge: #150847; --edge-hi: #3d1ca8; }
.tile--kc { --edge: #1d0846; --edge-hi: #7a1212; }

.ht1 { left: 3%; top: 30%; transform: translateZ(-60px) rotateZ(-9deg) rotateY(16deg); --bob: 9s; --bob-delay: -2s; }
.ht2 { left: 35%; top: 3%; transform: translateZ(10px) rotateZ(7deg) rotateY(-10deg); --bob: 10s; }
.ht3 { left: 62%; top: 34%; transform: translateZ(-30px) rotateZ(10deg) rotateY(-14deg); --bob: 8.5s; --bob-delay: -4s; }
.ht4 { left: 29%; top: 58%; transform: translateZ(90px) rotateZ(-4deg) rotateX(8deg); --bob: 8s; --bob-delay: -5s; }

/* Hero entrance: tiles rise out of depth, one after another. */
.js .stage .enter { opacity: 0; transform: translateZ(-260px) rotateX(48deg); }
.js .stage.is-in .enter { opacity: 1; transform: none; transition: transform 1.6s var(--ease-out), opacity 0.9s ease; }
.js .stage.is-in .ht1 .enter { transition-delay: 0.1s; }
.js .stage.is-in .ht2 .enter { transition-delay: 0.25s; }
.js .stage.is-in .ht3 .enter { transition-delay: 0.4s; }
.js .stage.is-in .ht4 .enter { transition-delay: 0.55s; }

@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg); }
  50% { transform: translate3d(0, -14px, 0) rotateX(5deg); }
}
@keyframes drift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}
@keyframes sway {
  0%, 100% { --ry: -22deg; --rx: 12deg; }
  50% { --ry: -6deg; --rx: 6deg; }
}

/* Touch screens: no pointer to follow, so the scene sways on its own. */
@media (hover: none) {
  .hero .scene { animation: sway 14s ease-in-out infinite; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; font-size: clamp(32px, 4.2vw, 56px); }

/* ---------------------------------------------------------------- apps */
.apps { display: grid; gap: clamp(20px, 3vw, 32px); }

.app {
  display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow); overflow: hidden;
}
.app:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr); }
.app:nth-child(even) .app-visual { order: 2; }

.app-visual { position: relative; display: grid; place-items: center; min-height: 340px; background: var(--glow); }
.app--nq { --glow: radial-gradient(60% 60% at 50% 52%, rgba(59, 108, 255, 0.26), rgba(59, 108, 255, 0) 70%); --accent-app: #3b6cff; }
.app--velto { --glow: radial-gradient(60% 60% at 50% 52%, rgba(224, 38, 46, 0.22), rgba(224, 38, 46, 0) 70%); --accent-app: #e0262e; }
.app--ap { --glow: radial-gradient(60% 60% at 50% 52%, rgba(122, 77, 255, 0.26), rgba(122, 77, 255, 0) 70%); --accent-app: #7a4dff; }
.app--kc { --glow: radial-gradient(60% 60% at 50% 52%, rgba(196, 40, 30, 0.24), rgba(196, 40, 30, 0) 70%); --accent-app: #c4281e; }

.mini-stage { perspective: 900px; width: 100%; height: 100%; display: grid; place-items: center; }
.mini-scene { --rx: 12deg; --ry: -26deg; position: relative; width: 176px; height: 176px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.tile--solo { --s: 176px; inset: 0; }
.tile--solo .slice { transform: translateZ(calc(var(--i) * -1.7px)); }

.js .app .enter { opacity: 0; transform: translateZ(-120px) rotateY(-55deg) rotateX(18deg); }
.js .app.is-in .enter { opacity: 1; transform: none; transition: transform 1.4s var(--ease-out) 0.15s, opacity 0.8s ease 0.15s; }

.app-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.app-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 640; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; }
.category { font-size: 14px; color: var(--ink-3); font-weight: 520; }

.app h3 { margin-top: 18px; font-size: clamp(30px, 3.4vw, 44px); }
.app-lede { margin-top: 12px; font-size: 18px; color: var(--ink-2); max-width: 36em; }

.facts { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.facts li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 2px;
  background: var(--accent-app);
}

.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 32px; }

/* Live / coming soon pill. */
.status--live .dot { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 18%, transparent); }
.status--soon .dot { background: var(--soon); }

/* The card's logo links to the app page. */
.app-visual { text-decoration: none; }
.app h3 a { text-decoration: none; }
.app h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent-app); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-static { cursor: default; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; color: var(--ink-3); font-size: 15px; }
.hero-stats strong { color: var(--ink); font-weight: 720; }
.section-head .lede { margin-top: 16px; }

/* ---------------------------------------------------------------- studio */
.section--studio { border-top: 1px solid var(--line); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.principle { padding-top: 28px; border-top: 2px solid var(--ink); }
.p-icon { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { margin-top: 20px; font-size: 22px; letter-spacing: -0.02em; }
.principle p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* ---------------------------------------------------------------- contact */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end;
  padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-lg);
  background: var(--band); color: var(--band-ink);
}
.contact .eyebrow { color: var(--band-ink-2); }
.contact h2 { margin-top: 14px; font-size: clamp(32px, 4.2vw, 56px); }
.contact-text { margin-top: 18px; color: var(--band-ink-2); max-width: 30em; }
.email {
  display: inline-block; font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em;
  text-decoration: none; word-break: break-word;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 4px; transition: background-size 0.4s var(--ease-out);
}
.email:hover { background-size: 100% 2px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.copy-status { min-height: 1.6em; margin-top: 10px; font-size: 14px; color: var(--band-ink-2); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding-block: 56px 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)) auto; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--ink-3); font-size: 15px; }
.footer-title { font-size: 13px; font-weight: 640; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.footer-links { margin-top: 14px; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 4px 0; font-size: 15px; text-decoration: none; color: var(--ink-2); overflow-wrap: anywhere; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); padding-inline: 0; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* ---------------------------------------------------------------- app pages */
.app-page--kc { --accent-app: #c4281e; --glow-app: rgba(196, 40, 30, 0.22); }
.app-page--velto { --accent-app: #e0262e; --glow-app: rgba(224, 38, 46, 0.2); }
.app-page--nq { --accent-app: #3b6cff; --glow-app: rgba(59, 108, 255, 0.24); }
.app-page--ap { --accent-app: #7a4dff; --glow-app: rgba(122, 77, 255, 0.24); }

.app-hero { padding-block: clamp(8px, 2vw, 20px) clamp(56px, 8vw, 112px); background: radial-gradient(45% 55% at 78% 45%, var(--glow-app), transparent 70%); }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(16px, 3vw, 40px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.back-link:hover .arrow { transform: translateX(-3px); }
.app-id h1 { margin-top: 18px; font-size: clamp(44px, 6vw, 80px); }
.app-native { margin-top: 12px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; line-height: 1.5; color: var(--ink-2); }
:lang(kn) { font-family: "Noto Sans Kannada", "Nirmala UI", "Tunga", system-ui, sans-serif; letter-spacing: 0; }
.app-hero .lede { margin-top: 24px; max-width: 32em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.app-hero .app-actions { margin-top: 36px; }
.chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); }


/* The app's logo, large, floating in its own glow. */
.app-hero-visual { display: grid; place-items: center; min-height: clamp(300px, 34vw, 420px); }
.app-hero-visual .mini-scene, .app-hero-visual .tile--solo { width: clamp(180px, 22vw, 260px); height: clamp(180px, 22vw, 260px); --s: clamp(180px, 22vw, 260px); }
.js .app-hero-visual .enter { opacity: 0; transform: translateZ(-140px) rotateY(-55deg) rotateX(18deg); }
.js .app-hero-visual.is-in .enter { opacity: 1; transform: none; transition: transform 1.4s var(--ease-out) 0.1s, opacity 0.8s ease 0.1s; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }


.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(8px, 2vw, 16px); }
.feature {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3vw, 32px); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow);
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent-app); }
.feature h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.feature ul { margin-top: 18px; display: grid; gap: 12px; }
.feature li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent-app); }

.privacy-note { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(24px, 3vw, 40px); padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); border-left: 3px solid var(--accent-app); background: var(--surface); }
.privacy-note .p-icon { flex: none; margin-top: 2px; }
.privacy-note h3 { font-size: 21px; letter-spacing: -0.02em; }
.privacy-note p { margin-top: 8px; color: var(--ink-2); }
.privacy-links { display: flex; flex-wrap: wrap; gap: 0 20px; }

.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--ink-3); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 16px; color: var(--ink-2); }

.contact-actions .play-badge--light { margin-bottom: 12px; }

/* ---------------------------------------------------------------- reveal */
.js [data-reveal]:not(.stage):not(.app) { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in:not(.stage):not(.app) { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 0.9s var(--ease-out); }
.js .app[data-reveal] { opacity: 0; transform: translateY(28px); }
.js .app[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 1s var(--ease-out); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { order: 2; height: clamp(320px, 70vw, 480px); max-width: 560px; width: 100%; margin-inline: auto; }
  .tile { --s: clamp(112px, 24vw, 168px); }
  .app { grid-template-columns: 1fr; }
  .app:nth-child(even) { grid-template-columns: 1fr; }
  .app:nth-child(even) .app-visual { order: 0; }
  .app-visual { min-height: 260px; }
  .principles { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .app-hero-grid { grid-template-columns: 1fr; }
  .app-hero-visual { order: -1; min-height: 220px; }
  .app-hero-visual .mini-scene, .app-hero-visual .tile--solo { width: 168px; height: 168px; --s: 168px; }
  .app-hero-grid { gap: 24px; margin-top: 8px; }
  .app-hero-copy { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-row { height: 64px; }
  .brand span { font-size: 16px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .facts { grid-template-columns: 1fr; }
  .app-actions .btn { width: 100%; }
  .mini-scene, .tile--solo { width: 148px; height: 148px; --s: 148px; }
  .app-visual { min-height: 230px; }
  .contact-buttons .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-optional { display: none; }
  .nav a { padding: 8px 10px; }
}

@media (max-width: 340px) {
  .brand span { display: none; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .stage .enter, .js .app .enter, .js .app-hero-visual .enter { opacity: 1 !important; transform: none !important; }

}
