/* ============================================================================
   Gate One — Marketing site
   Design tokens verbatim from mobile/lib/theme.ts
   Steel blue / dark navy — clean, minimal, human.
   ========================================================================== */

:root {
  --bg: #0b0f15;
  --bg-deep: #05070b;
  --surface: #131820;
  --surfaceUp: #1a2030;
  --accent: #3b82f6;
  --accent-2: #2563eb;
  --accentDim: rgba(59, 130, 246, 0.125);
  --accentSoft: #1e3a5f;
  --text: #e2e8f0;
  --textSec: #94a3b8;
  --textMuted: #64748b;
  --sep: #1e293b;
  --success: #22c55e;
  --successDim: rgba(34, 197, 94, 0.094);
  --warn: #f59e0b;

  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hairline: rgba(255, 255, 255, 0.07);
  --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 14px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 34px -12px rgba(59, 130, 246, 0.45);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  border: 1px solid var(--sep); color: var(--textSec);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accentSoft); color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 11px; }

/* ── Kicker / eyebrow ────────────────────────────────────────────────────── */
.kicker, .eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.32em; color: var(--textMuted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ============================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 21, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--mono); font-weight: 800; font-size: 23px;
  letter-spacing: -0.045em; color: var(--text);
}
.wm-door { width: 13px; height: 21px; color: var(--accent); align-self: center; margin: 0 1px; }
.wm-handle { animation: handle-blink 4s ease-in-out infinite; }
@keyframes handle-blink { 0%, 88%, 100% { opacity: 1; } 94% { opacity: 0.25; } }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--textSec);
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }

/* ============================================================================
   HERO — asymmetric split, copy left / cinematic stage right
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; top: -240px; right: -160px;
  width: 780px; height: 780px; pointer-events: none;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.09) 0%, rgba(59, 130, 246, 0.025) 42%, transparent 68%);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 148px 32px 84px;
  display: grid; grid-template-columns: 1.08fr 1fr;
  gap: 56px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  letter-spacing: -0.033em;
  margin: 22px 0 20px;
}
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.lede {
  color: var(--textSec); font-size: 17.5px; line-height: 1.72;
  max-width: 33.5em;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 0; margin-top: 46px;
  border-top: 1px solid var(--sep);
  padding-top: 22px;
}
.hero-stats > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--sep); }
.hero-stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--textMuted); font-weight: 500; white-space: nowrap; }
.hero-stats dd { font-family: var(--mono); font-size: 14.5px; color: var(--text); margin-top: 5px; white-space: nowrap; }

/* ============================================================================
   STAGE — cinematic loop: phone → door → brand
   ========================================================================== */
.stage-wrap { position: relative; min-width: 0; }
.hero-inner > * { min-width: 0; }
.stage {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 5 / 5.9;
  max-height: 640px;
  margin-left: auto;
  width: 100%; max-width: min(520px, 100%);
  border-radius: 32px;
  background:
    radial-gradient(115% 92% at 50% 30%, #0e141d 0%, #0a0e15 48%, var(--bg-deep) 100%);
  border: 1px solid var(--hairline);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 44px 90px -30px rgba(2, 6, 14, 0.9);
  overflow: hidden;
  isolation: isolate;
}
.ambient {
  position: absolute; left: 50%; top: 50%;
  width: 130%; aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -52%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 66%);
}
.scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ── Scene 1 · phone ── */
.scene-phone { z-index: 3; }
.device {
  width: min(63%, 300px);
  border-radius: 44px;
  background: linear-gradient(160deg, #1c1f26 0%, #0c0e12 100%);
  padding: 10px;
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.07),
    0 34px 70px -18px rgba(0, 0, 0, 0.75),
    0 0 0 1.5px rgba(0, 0, 0, 0.6);
  transition: transform 1s var(--ease), opacity 0.8s var(--ease), filter 1s var(--ease);
  will-change: transform, opacity;
}
.screen {
  position: relative;
  border-radius: 35px;
  background: var(--bg);
  overflow: hidden;
  aspect-ratio: 39 / 80;
  display: flex; flex-direction: column;
  padding: 0 16px;
}
.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 8px 0; position: relative;
}
.sb-clock { font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; color: #fff; }
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 21px; border-radius: 11px; background: #000;
}
.sb-icons { display: flex; align-items: center; gap: 5px; }
.greeting { font-size: 15px; font-weight: 500; color: var(--textSec); padding: 26px 6px 14px; }

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 16px 16px 20px;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.6s var(--ease), border-color 0.6s var(--ease);
  will-change: transform;
}
.hc-status { display: flex; align-items: center; gap: 8px; }
.hc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--success);
  animation: breathe 2.6s ease-in-out infinite;
  transition: background 0.4s var(--ease);
}
.hc-label {
  font-size: 13.5px; font-weight: 600; color: var(--success);
  transition: color 0.4s var(--ease);
}
.hc-lock {
  flex: 1; display: flex; align-items: center; justify-content: center;
  color: #cbd5e1;
}
.hc-lock svg { width: clamp(46px, 34%, 72px); height: auto; }
.lock-shackle {
  transform-origin: 40px 27px;
  transition: transform 0.7s var(--ease);
}
.hc-name {
  font-size: clamp(15px, 5.6cqw, 21px); font-weight: 700; letter-spacing: -0.02em;
  text-align: center; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ripple {
  position: absolute; left: 50%; top: 52%;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(226, 232, 240, 0.8);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0; pointer-events: none;
}

/* card states */
.hero-card[data-status="checking"] .hc-dot,
.hero-card[data-status="opening"] .hc-dot { background: var(--accent); animation: none; }
.hero-card[data-status="checking"] .hc-label,
.hero-card[data-status="opening"] .hc-label { color: var(--accent); }
.hero-card[data-status="open"] { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.22); }
.hero-card[data-status="open"] .hc-label { color: var(--success); }
.hero-card[data-status="open"] .lock-shackle { transform: rotate(-30deg); }
.hero-card.pressed { transform: scale(0.975); }
.hero-card.rippling .ripple { animation: ripple-out 0.7s var(--ease) forwards; }
@keyframes ripple-out {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(9); opacity: 0; }
}

.last-row {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--textMuted); font-size: 12.5px;
  padding: 14px 6px;
}
.tabbar {
  display: flex; justify-content: space-around; align-items: center;
  border-top: 1px solid var(--hairline);
  padding: 10px 0 16px;
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 500; color: var(--textMuted);
}
.tab svg { width: 19px; height: 19px; }
.tab.is-active { color: var(--accent); }

/* ── hand / finger ── */
.hand {
  position: absolute; z-index: 5;
  width: 34%; height: auto;
  left: 50%; top: 46%;
  transform: translate(30%, 130%) rotate(-10deg);
  transform-origin: 30% 0%;
  opacity: 0;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
  transition: transform 1.05s var(--ease), opacity 0.5s var(--ease);
  will-change: transform, opacity;
  pointer-events: none;
}
.stage.hand-in .hand { transform: translate(-26%, -8%) rotate(-8deg); opacity: 1; }
.stage.hand-press .hand { transform: translate(-26%, -8%) rotate(-8deg) scale(0.96); opacity: 1; }
.stage.hand-out .hand { transform: translate(10%, 120%) rotate(-12deg); opacity: 0; }

/* ── zoom-through transition ── */
.stage.zooming .device {
  transform: scale(2.35) translateY(6%);
  opacity: 0;
  filter: blur(6px);
}
.stage.zooming .hand { opacity: 0; }
.flash {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: radial-gradient(circle at 50% 48%, rgba(219, 234, 254, 0.95) 0%, rgba(59, 130, 246, 0.35) 34%, transparent 70%);
  opacity: 0;
}
.stage.flashing .flash { animation: flash-pop 0.9s var(--ease) forwards; }
@keyframes flash-pop {
  0% { opacity: 0; transform: scale(0.6); }
  28% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

/* ── Scene 2 · door ── */
.scene-door { z-index: 2; opacity: 0; pointer-events: none; }
.stage[data-scene="door"] .scene-door { opacity: 1; }
.stage[data-scene="door"] .scene-phone,
.stage[data-scene="brand"] .scene-phone { opacity: 0; pointer-events: none; }
.scene-phone, .scene-brand { transition: opacity 0.7s var(--ease); }

.door-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 100% at 50% 0%, #10161f 0%, #0a0e15 52%, var(--bg-deep) 100%);
}
.door-wall::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 17.5%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.14) 30%, rgba(148, 163, 184, 0.14) 70%, transparent);
}
.door-space {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  perspective: 1100px;
}
.doorway {
  position: relative;
  width: 39%; aspect-ratio: 28 / 46;
  margin-bottom: 17.5%;
  border: 3px solid var(--accent);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  background: #04060a;
  box-shadow:
    inset 0 0 0 1.5px rgba(59, 130, 246, 0.25),
    0 0 60px -18px rgba(59, 130, 246, 0.35);
  transform-style: preserve-3d;
  perspective: 900px;
}
.door-light {
  position: absolute; inset: 0;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(180deg, rgba(219, 234, 254, 0.92) 0%, rgba(147, 197, 253, 0.75) 44%, rgba(59, 130, 246, 0.5) 100%);
  opacity: 0;
  transition: opacity 2.4s var(--ease) 0.3s;
}
.door-panel {
  position: absolute; inset: -1px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(165deg, #232c3c 0%, #131a26 55%, #0d1219 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform-origin: left center;
  transform: rotateY(0deg);
  transition: transform 2.8s cubic-bezier(0.45, 0.05, 0.2, 1) 0.25s;
  will-change: transform;
  backface-visibility: hidden;
}
.door-handle {
  position: absolute; right: 9%; top: 52%;
  width: 9%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.55);
}
.stage.door-open .door-panel { transform: rotateY(-76deg); }
.stage.door-open .door-light { opacity: 1; }
.light-spill {
  position: absolute; left: 50%; bottom: 4%;
  width: 46%; height: 15%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(147, 197, 253, 0.35), transparent 85%);
  clip-path: polygon(24% 0%, 76% 0%, 100% 100%, 0% 100%);
  opacity: 0;
  transition: opacity 2.2s var(--ease) 0.7s;
  filter: blur(2px);
}
.stage.door-open .light-spill { opacity: 1; }

/* door message */
.door-message {
  position: absolute; left: 0; right: 0; top: 13%;
  text-align: center; z-index: 4;
  padding: 0 24px;
}
.dm-head {
  font-size: clamp(24px, 8cqw, 38px); font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.15;
}
.dm-word {
  display: inline-block; opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.dm-word:nth-child(2) { transition-delay: 0.18s; }
.dm-sub {
  margin-top: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  color: var(--textSec); text-transform: uppercase;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s;
}
.stage.msg-in .dm-word, .stage.msg-in .dm-sub { opacity: 1; transform: none; }
.stage.msg-in .dm-sub { opacity: 0.9; }

/* ── Scene 3 · brand ── */
.scene-brand { z-index: 2; opacity: 0; pointer-events: none; gap: 6px; }
.stage[data-scene="brand"] .scene-brand { opacity: 1; }
.stage[data-scene="brand"] .scene-door { opacity: 0; }
.brand-icon {
  width: clamp(84px, 26%, 128px); height: auto;
  border-radius: 26%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 60px -18px rgba(59, 130, 246, 0.35);
  transform: scale(0.6); opacity: 0;
  transition: transform 0.9s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.5s var(--ease);
}
.brand-name {
  margin-top: 20px;
  font-family: var(--mono); font-weight: 800; font-size: 30px;
  letter-spacing: -0.045em; color: var(--text);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 0.25s, transform 0.7s var(--ease) 0.25s;
}
.brand-name span { color: var(--accent); }
.brand-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.5em;
  color: var(--textMuted);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.7s var(--ease) 0.4s, transform 0.7s var(--ease) 0.4s;
}
.stage.brand-in .brand-icon { transform: scale(1); opacity: 1; }
.stage.brand-in .brand-name, .stage.brand-in .brand-tag { opacity: 1; transform: none; }

/* ── stage controls ── */
.stage-ui {
  position: absolute; right: 16px; bottom: 14px; z-index: 10;
  display: flex; align-items: center; gap: 7px;
}
.sdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.sdot.is-on { background: var(--accent); transform: scale(1.25); }
.replay {
  margin-left: 6px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  color: var(--textSec); cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.replay:hover { color: var(--text); border-color: var(--accentSoft); }
.replay:active { transform: scale(0.9); }

/* ============================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--sep);
  border-bottom: 1px solid var(--sep);
  overflow: hidden;
  padding: 17px 0;
  background: rgba(255, 255, 255, 0.012);
}
.marquee-track {
  display: flex; align-items: center; gap: 42px;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.26em;
  color: var(--textMuted); white-space: nowrap;
}
.marquee-track i {
  width: 8px; height: 13px; flex: 0 0 auto;
  border: 1.5px solid var(--accentSoft);
  border-bottom: none;
  border-radius: 99px 99px 0 0;
  opacity: 0.9;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================================
   SECTION SCAFFOLD
   ========================================================================== */
.features, .how { max-width: 1200px; margin: 0 auto; padding: 110px 32px 40px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 52px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top: 16px; }
.section-side {
  color: var(--textMuted); font-size: 15px; max-width: 21em;
  padding-bottom: 6px;
}

/* ============================================================================
   BENTO — asymmetric 3fr/2fr zig-zag
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.5fr;
  grid-template-areas: "a a b" "c d d" "e e e";
  gap: 18px;
}
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: d; }
.bento > :nth-child(5) { grid-area: e; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 24px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.card:hover { border-color: rgba(59, 130, 246, 0.25); }
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.09), transparent 65%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; margin-bottom: 9px; }
.card p { color: var(--textSec); font-size: 14.5px; line-height: 1.65; }
.card-body { position: relative; }
.card-demo { position: relative; margin-top: auto; }

/* demo: tap */
.demo-tap { display: flex; justify-content: center; padding: 6px 0 2px; }
.mini-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--surfaceUp);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 16px 34px;
  color: #cbd5e1;
  animation: mini-cycle 5.2s var(--ease) infinite;
}
.mini-status { display: flex; align-items: center; gap: 7px; align-self: flex-start; }
.mini-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  animation: breathe 2.6s ease-in-out infinite;
}
.mini-label { font-size: 12px; font-weight: 600; color: var(--success); }
.mini-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
@keyframes mini-cycle {
  0%, 68%, 100% { transform: scale(1); }
  72% { transform: scale(0.97); }
  78% { transform: scale(1); }
}

/* demo: yüz tanıma / PIN */
.demo-face { display: flex; justify-content: center; padding: 12px 0 6px; }
.faceid { position: relative; width: 128px; height: 128px; display: grid; place-items: center; overflow: hidden; }
.faceid-svg { width: 108px; height: 108px; color: var(--accent); }
.faceid-scan {
  position: absolute; left: 20px; right: 20px; height: 2px; top: 26px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px 2px rgba(59, 130, 246, 0.55);
  border-radius: 2px;
  animation: faceid-scan 3.2s var(--ease) infinite;
}
@keyframes faceid-scan {
  0%   { top: 26px; opacity: 0; }
  12%  { opacity: 1; }
  50%  { top: 100px; opacity: 1; }
  64%  { top: 100px; opacity: 0; }
  100% { top: 26px; opacity: 0; }
}

/* radar — çözüm sayfasındaki kutu sahnesinin arka plan halkaları */
.radar { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(59, 130, 246, 0.65);
  opacity: 0;
  animation: radar-ping 3s var(--ease) infinite;
}
.ring.r2 { animation-delay: 1s; }
.ring.r3 { animation-delay: 2s; }
@keyframes radar-ping {
  0% { transform: scale(0.14); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}

/* demo: log */
.demo-log { display: flex; flex-direction: column; gap: 0; }
.log-line {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--textSec);
  padding: 10px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.log-line > span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-time { font-family: var(--mono); color: var(--textMuted); }
.log-ok { font-family: var(--mono); font-size: 11px; color: var(--success); letter-spacing: 0.08em; }

/* demo: invite */
.demo-invite { display: flex; justify-content: center; }
.invite-chip {
  width: 100%; max-width: 340px;
  background: var(--surfaceUp);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.invite-top { display: flex; align-items: center; justify-content: space-between; }
.invite-code {
  font-family: var(--mono); font-weight: 800; font-size: 21px;
  letter-spacing: 0.12em; color: var(--text);
}
.invite-badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--success); background: var(--successDim);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 4px 9px; border-radius: 99px;
}
.invite-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.invite-tags span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--textSec);
  border: 1px solid var(--sep);
  padding: 4px 10px; border-radius: 99px;
}
.invite-tags span:first-child { color: var(--accent); border-color: var(--accentSoft); background: var(--accentDim); }

/* strip (kartsız tam genişlik) */
.strip {
  grid-area: e;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  border-top: 1px solid var(--sep);
  border-bottom: 1px solid var(--sep);
  padding: 30px 8px;
  margin-top: 8px;
}
.strip h3 { font-size: 19px; margin-bottom: 6px; }
.strip p { color: var(--textSec); font-size: 14.5px; max-width: 42em; }
.role-chips { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.role {
  font-size: 12.5px; font-weight: 600;
  padding: 7px 15px; border-radius: 99px;
  color: var(--textSec); border: 1px solid var(--sep);
}
.role-admin { color: var(--accent); border-color: var(--accentSoft); background: var(--accentDim); }
.role-super { color: var(--warn); border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.09); }

/* ============================================================================
   SECURITY
   ========================================================================== */
.security {
  margin-top: 110px;
  background: var(--bg-deep);
  border-top: 1px solid var(--sep);
  border-bottom: 1px solid var(--sep);
}
.security-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 110px 32px;
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 72px; align-items: start;
}
.security-sticky { position: sticky; top: 120px; }
.kicker-light { color: var(--accent); }
.security h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 16px 0 20px; }
.security-lede { color: var(--textSec); font-size: 16.5px; line-height: 1.75; max-width: 30em; }
.security-note {
  margin-top: 26px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--textMuted);
}

/* diagram */
.diagram {
  display: flex; align-items: center; gap: 0;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 22px;
  margin-bottom: 44px;
}
.dg-node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--textSec); flex: 0 0 auto;
}
.dg-node svg { color: var(--textSec); }
.dg-node span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }
.dg-node-accent svg, .dg-node-accent span { color: var(--accent); }
.dg-link {
  position: relative; flex: 1; height: 1.5px; margin: 0 14px 22px;
  container-type: size;
  background: linear-gradient(90deg, transparent, var(--sep) 12%, var(--sep) 88%, transparent);
}
.dg-packet {
  position: absolute; top: 50%; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
  transform: translate(0, -50%);
  will-change: transform, opacity;
}
.p-right { animation: pk-right 2.6s cubic-bezier(0.4, 0, 0.4, 1) infinite; }
.p-left { animation: pk-left 2.6s cubic-bezier(0.4, 0, 0.4, 1) infinite 1.3s; background: var(--success); box-shadow: 0 0 10px rgba(34, 197, 94, 0.7); }
@keyframes pk-right {
  0% { transform: translate(0, -50%); opacity: 0; }
  12% { opacity: 1; }
  46%, 100% { transform: translate(calc(100cqw - 0px), -50%); opacity: 0; }
  40% { opacity: 1; }
}
@keyframes pk-left {
  0% { transform: translate(calc(100cqw - 7px), -50%); opacity: 0; }
  12% { opacity: 1; }
  40% { opacity: 1; }
  46%, 100% { transform: translate(0, -50%); opacity: 0; }
}
.dg-lab {
  position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--textMuted); white-space: nowrap;
}

/* security list — divide-y, no cards */
.sec-list { list-style: none; }
.sec-list li {
  display: flex; gap: 26px;
  padding: 26px 4px;
  border-top: 1px solid var(--sep);
}
.sec-list li:last-child { border-bottom: 1px solid var(--sep); }
.sec-id {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.1em; padding-top: 3px; flex: 0 0 58px;
}
.sec-list h4 { font-size: 16.5px; margin-bottom: 6px; }
.sec-list p { color: var(--textSec); font-size: 14.5px; line-height: 1.68; max-width: 36em; }

/* ============================================================================
   HOW — 3 steps, numbered, asymmetric column widths
   ========================================================================== */
.how { padding-bottom: 20px; }
.steps {
  list-style: none;
  display: grid; grid-template-columns: 1.15fr 1fr 1fr;
  gap: 40px;
}
.steps li { border-top: 2px solid var(--sep); padding-top: 22px; position: relative; }
.steps li::before {
  content: ""; position: absolute; top: -2px; left: 0;
  width: 44px; height: 2px; background: var(--accent);
}
.step-no {
  font-family: var(--mono); font-weight: 800; font-size: 15px;
  color: var(--accent); letter-spacing: 0.1em;
}
.steps h3 { font-size: 19px; margin: 12px 0 10px; }
.steps p { color: var(--textSec); font-size: 14.5px; line-height: 1.68; }

/* ============================================================================
   CTA
   ========================================================================== */
.cta { padding: 130px 32px 120px; }
.cta-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr;
  gap: 64px; align-items: center;
}
.cta-icon-wrap { position: relative; }
.cta-icon {
  border-radius: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 40px 80px -24px rgba(59, 130, 246, 0.4);
  animation: icon-float 6s ease-in-out infinite;
}
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.cta-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 14px; }
.cta-copy > p { color: var(--textSec); margin-top: 16px; max-width: 33em; font-size: 16px; }

/* contact buttons — the primary conversion path */
.contact-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 13px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px 24px;
  color: var(--text);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
  will-change: transform;
}
.contact-btn:hover { border-color: var(--accentSoft); background: var(--surfaceUp); }
.contact-btn:active { transform: scale(0.97); }
.contact-btn svg { color: var(--accent); flex-shrink: 0; }
.contact-btn small {
  display: block; font-size: 10px; letter-spacing: 0.12em;
  color: var(--textMuted); text-transform: uppercase; font-weight: 500;
}
.contact-btn span { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.contact-btn-primary {
  background: var(--accentDim);
  border-color: var(--accentSoft);
}
.contact-btn-primary:hover { background: rgba(59, 130, 246, 0.2); border-color: var(--accent); }
.contact-btn-primary svg { color: var(--accent); }

/* app download — secondary */
.cta-sub {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--sep);
}
.cta-sub-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--textMuted); text-transform: uppercase;
  margin-bottom: 14px;
}
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 11px 22px;
  color: var(--text);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
  will-change: transform;
}
.store-btn:hover { border-color: var(--accentSoft); background: var(--surfaceUp); }
.store-btn:active { transform: scale(0.97); }
.store-btn small {
  display: block; font-size: 10px; letter-spacing: 0.1em;
  color: var(--textMuted); text-transform: uppercase; font-weight: 500;
}
.store-btn span { font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.cta-domain {
  margin-top: 26px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  color: var(--textMuted);
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--sep); background: var(--bg-deep); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.wordmark-sm { font-size: 19px; }
.wordmark-sm .wm-door { width: 11px; height: 18px; }
.footer-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.44em;
  color: var(--textMuted); margin-top: 5px;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--textSec); transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  font-size: 12.5px; color: var(--textMuted);
}
.footer-ver { font-family: var(--mono); font-size: 11.5px; }

/* ============================================================================
   ÇÖZÜM PAGE
   ========================================================================== */
.nav-links a.is-active { color: var(--text); }

/* system stack — Kutu ↔ Telefon ↔ Merkez */
.sys-stack {
  margin-left: auto;
  width: 100%; max-width: 420px;
  background:
    radial-gradient(115% 92% at 50% 20%, #0e141d 0%, #0a0e15 55%, var(--bg-deep) 100%);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 44px 90px -30px rgba(2, 6, 14, 0.9);
  padding: 30px 28px 24px;
  display: flex; flex-direction: column;
}
.sys-node {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px 16px;
}
.sys-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accentDim);
  color: var(--accent);
}
.sys-node strong { display: block; font-size: 14.5px; letter-spacing: -0.01em; }
.sys-node small { display: block; color: var(--textMuted); font-size: 12px; margin-top: 2px; }
.sys-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--success);
}
.sys-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  animation: breathe 2.6s ease-in-out infinite;
}
.vlink {
  position: relative;
  width: 1.5px; height: 44px;
  margin: 4px auto;
  background: linear-gradient(180deg, transparent, var(--sep) 20%, var(--sep) 80%, transparent);
}
.vpk {
  position: absolute; left: 50%; top: 0;
  width: 7px; height: 7px; border-radius: 50%;
  transform: translate(-50%, 0);
  will-change: transform, opacity;
}
.vpk-down {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
  animation: vpk-down 2.6s cubic-bezier(0.4, 0, 0.4, 1) infinite;
}
.vpk-up {
  background: var(--success);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: vpk-up 2.6s cubic-bezier(0.4, 0, 0.4, 1) infinite 1.3s;
}
.vpk-down.v2 { animation-delay: 0.4s; }
.vpk-up.v2 { animation-delay: 1.7s; }
@keyframes vpk-down {
  0% { transform: translate(-50%, 0); opacity: 0; }
  12% { opacity: 1; }
  40% { opacity: 1; }
  46%, 100% { transform: translate(-50%, 37px); opacity: 0; }
}
@keyframes vpk-up {
  0% { transform: translate(-50%, 37px); opacity: 0; }
  12% { opacity: 1; }
  40% { opacity: 1; }
  46%, 100% { transform: translate(-50%, 0); opacity: 0; }
}
.vlab {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--textMuted); white-space: nowrap;
}
.sys-note {
  margin-top: 20px; text-align: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--textSec);
}

/* solution rows — alternating split */
.solution { max-width: 1200px; margin: 0 auto; padding: 110px 32px 30px; }
.sol-row {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--sep);
}
.sol-row:first-of-type { border-top: 0; padding-top: 20px; }
.sol-rev { grid-template-columns: 1fr 1.15fr; }
.sol-rev .sol-copy { order: 2; }
.sol-rev .sol-visual { order: 1; }
.sol-copy h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 14px 0 12px; }
.sol-copy > p { color: var(--textSec); font-size: 15.5px; line-height: 1.7; max-width: 36em; }
.sol-list { list-style: none; margin-top: 22px; }
.sol-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  color: var(--textSec); font-size: 14.5px; line-height: 1.55;
}
.sol-list li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accentDim);
}
.sol-list li::after {
  content: "";
  position: absolute; left: 4.5px; top: 17.5px;
  width: 7px; height: 4px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.sol-visual {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  min-height: 300px;
  padding: 36px;
  overflow: hidden;
  position: relative;
}

/* box scene */
.box-scene { position: relative; display: flex; flex-direction: column; align-items: center; }
.radar-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -74%); width: 210px; height: 210px; }
.box-device {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 20px;
  background: linear-gradient(160deg, #202836 0%, #11161f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; place-items: center;
  color: var(--accent);
  box-shadow: 0 24px 50px -16px rgba(2, 6, 14, 0.8);
}
.box-led {
  position: absolute; top: 9px; right: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: breathe 2.6s ease-in-out infinite;
}
.box-name {
  margin-top: 20px;
  font-family: var(--mono); font-weight: 800; font-size: 14px;
  letter-spacing: 0.08em; color: var(--text);
}
.box-tag {
  margin-top: 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--textMuted);
}

/* panel demo */
.panel-demo { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.kpi {
  background: var(--surfaceUp);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
}
.kpi-n { display: block; font-family: var(--mono); font-weight: 800; font-size: 22px; color: var(--text); }
.kpi:first-child .kpi-n { color: var(--warn); }
.kpi-l { display: block; font-size: 10.5px; color: var(--textMuted); margin-top: 4px; letter-spacing: 0.02em; }
.approve-line {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surfaceUp);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 14px;
}
.approve-name { font-size: 13px; color: var(--textSec); }
.approve-btn {
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--accent);
  padding: 6px 14px; border-radius: 9px;
  animation: mini-cycle 5.2s var(--ease) infinite;
}
.sol-flow { margin-top: 90px; }
.sol-hero .hero-inner { padding-bottom: 60px; }
.sol-hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.3rem); }
.sol-hero .about-title { font-size: clamp(2rem, 3.4vw, 2.85rem); }

/* ============================================================================
   HAKKIMIZDA PAGE
   ========================================================================== */
.about-panel {
  margin-left: auto;
  width: 100%; max-width: 420px;
  background:
    radial-gradient(115% 92% at 50% 20%, #0e141d 0%, #0a0e15 55%, var(--bg-deep) 100%);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 44px 90px -30px rgba(2, 6, 14, 0.9);
  padding: 56px 40px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.about-door {
  width: 88px; height: 145px;
  color: var(--accent);
  filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.25));
  animation: icon-float 6s ease-in-out infinite;
}
.about-place {
  margin-top: 34px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.34em;
  color: var(--textMuted);
}
.about-motto {
  margin-top: 14px;
  font-size: 19px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.4; color: var(--text);
}

.story { border-top: 1px solid var(--sep); }
.story-inner { padding-top: 96px; padding-bottom: 60px; }
.story-body p {
  color: var(--textSec); font-size: 16.5px; line-height: 1.8;
  max-width: 36em;
}
.story-body p + p { margin-top: 22px; }
.story-body p:first-child::first-letter {
  font-family: var(--mono); font-weight: 800;
  font-size: 2.6em; line-height: 0.9;
  float: left; padding: 6px 12px 0 0;
  color: var(--accent);
}

.mv { max-width: 1200px; margin: 0 auto; padding: 30px 32px 40px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.mv-grid .card h3 { margin-top: 14px; }
.mv-vision { border-color: var(--accentSoft); background: linear-gradient(150deg, rgba(59, 130, 246, 0.08) 0%, var(--surface) 55%); }

.values { max-width: 1200px; margin: 0 auto; padding: 80px 32px 20px; }
.values-list { max-width: 860px; }

@media (max-width: 1020px) {
  .about-panel { margin: 0 auto; }
  .mv-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 124px; gap: 60px; }
  .stage { margin: 0 auto; }
  .sys-stack { margin: 0 auto; }
  .sol-row, .sol-rev { grid-template-columns: 1fr; gap: 30px; }
  .sol-rev .sol-copy { order: 1; }
  .sol-rev .sol-visual { order: 2; }
  .bento { grid-template-areas: "a" "b" "c" "d" "e" !important; grid-template-columns: 1fr !important; }
  .security-inner { grid-template-columns: 1fr; gap: 52px; }
  .security-sticky { position: static; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; justify-items: start; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner, .hero-inner, .features, .how, .security-inner, .cta { padding-left: 20px; padding-right: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .hero-stats > div { border-right: 0; margin-right: 0; padding-right: 22px; }
  .strip { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sec-list li { gap: 16px; }
  .diagram { padding: 20px 12px; align-items: flex-start; }
  .dg-lab { display: none; }
  .dg-link { margin: 12px 8px 0; }
  .dg-node { min-width: 0; }
  .dg-node span { letter-spacing: 0.08em; }
  .dg-node-box span { white-space: normal; max-width: 9ch; text-align: center; line-height: 1.25; }
  .footer-meta { align-items: flex-start; }
}

/* ============================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hand { display: none; }
  .stage.door-open .door-panel { transform: rotateY(-76deg); }
}
