/* ============================================================
   Locus — landing page
   Palette + type per production app: #0c0c0f / #e8c26e,
   Manrope (UI) + JetBrains Mono (data). Blue = lease, green = sale.
   Motion: fast, restrained, cubic-bezier(0.16, 1, 0.3, 1).
   ============================================================ */

:root {
  --bg: #0c0c0f;
  --bg-raised: #121217;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f0eeeb;
  --muted: #9d9a92;
  --faint: #6b6963;
  --gold: #e8c26e;
  --gold-deep: #d4a843;
  --lease: #5b9dff;
  --sale: #3ecf8e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

::selection { background: rgba(232, 194, 110, 0.25); color: var(--text); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262c; border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34343c; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

kbd {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border);
  border-bottom-width: 2px; border-radius: 4px; padding: 2px 5px;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- global chrome ---------- */
.noise {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); } 60% { transform: translate(-2%, -3%); } 80% { transform: translate(4%, 2%); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; background: transparent; }
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 12px rgba(232, 194, 110, 0.55);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(12, 12, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
}
.nav.scrolled { background: rgba(12, 12, 15, 0.82); border-bottom-color: var(--border); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a:not(.btn) {
  color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: color 0.25s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--text); }

.kbd-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 7px;
  color: var(--muted); font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  padding: 6px 10px; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.kbd-chip:hover { border-color: var(--border-strong); color: var(--text); }

.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-word { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; color: var(--text); }

@media (max-width: 820px) { .hide-m { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  padding: 12px 24px; border-radius: 9px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { text-decoration: none; }
.btn .arr { font-family: var(--mono); font-size: 13px; opacity: 0.7; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #17130a;
  box-shadow: 0 0 0 rgba(232, 194, 110, 0);
}
.btn-gold::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); transition: left 0.7s var(--ease);
}
.btn-gold:hover { box-shadow: 0 6px 32px rgba(232, 194, 110, 0.28); }
.btn-gold:hover::after { left: 130%; }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.25); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 15.5px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 0; overflow: hidden;
}
#hero-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero-video video.on { opacity: 1; }
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 42%, rgba(12, 12, 15, 0.18) 0%, rgba(12, 12, 15, 0.62) 62%, rgba(12, 12, 15, 0.9) 100%),
    linear-gradient(180deg, rgba(12, 12, 15, 0.7) 0%, transparent 18%, transparent 70%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em;
  color: var(--gold); margin-bottom: 26px;
  border: 1px solid rgba(232, 194, 110, 0.22); border-radius: 100px;
  padding: 7px 16px; background: rgba(232, 194, 110, 0.05);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 194, 110, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(232, 194, 110, 0); }
}

h1 {
  font-size: clamp(42px, 7.2vw, 86px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  max-width: 900px; margin: 0 auto 26px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.6);
}
h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
h1 .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); }
h1.played .w > span { transform: translateY(0); }
h1 .w-accent > span {
  background: linear-gradient(180deg, var(--gold) 20%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2.1vw, 19px); color: var(--muted);
  max-width: 660px; margin: 0 auto 36px; line-height: 1.65;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.hero-note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--faint); }

/* hero screenshot panel — flattens as you scroll */
.hero-panel-wrap { position: relative; z-index: 2; margin-top: 64px; perspective: 1400px; width: 100%; }
.hero-panel {
  transform: rotateX(var(--flat, 16deg)) scale(calc(1 - var(--shrink, 0.045)));
  transform-origin: 50% 0%;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 120px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(232, 194, 110, 0.06);
  will-change: transform;
}
.panel-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}
.pdot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.panel-url, .term-title { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-left: 10px; letter-spacing: 0.06em; }

/* ---------- screenshot slots ---------- */
.shot { position: relative; width: 100%; overflow: hidden; background: var(--bg-raised); }
.shot img { display: block; width: 100%; height: auto; opacity: 0; transition: opacity 0.7s var(--ease); }
.shot.loaded img { opacity: 1; }
.shot-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(232, 194, 110, 0.05), transparent 70%),
    var(--bg-raised);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}
.shot.loaded .shot-ph { display: none; }
.shot-ph-name { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.shot-ph-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--gold); opacity: 0.65;
  border: 1px solid rgba(232, 194, 110, 0.28); border-radius: 4px; padding: 3px 9px;
}

/* framed screenshots with tilt + sheen */
.frame {
  position: relative; border-radius: 13px; overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  will-change: transform;
}
.frame[data-glow="gold"]:hover { box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(232, 194, 110, 0.14); border-color: rgba(232, 194, 110, 0.35); }
.frame[data-glow="blue"]:hover { box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(91, 157, 255, 0.14); border-color: rgba(91, 157, 255, 0.35); }
.frame[data-glow="green"]:hover { box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(62, 207, 142, 0.14); border-color: rgba(62, 207, 142, 0.35); }
.frame .shot { border-radius: 12px; }

.sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.08), transparent 45%);
  transition: opacity 0.4s var(--ease);
}
.tilt:hover .sheen { opacity: 1; }

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
  animation: marquee 46s linear infinite; will-change: transform;
}
.marquee-track span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--faint); }
.marquee-track i { color: rgba(232, 194, 110, 0.5); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections / typography ---------- */
section { position: relative; z-index: 2; padding: 110px 0; }

.kicker {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--gold); margin-bottom: 16px;
}
.sec-num {
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  border: 1px solid var(--border); border-radius: 6px;
  display: inline-block; padding: 3px 9px; margin-bottom: 18px;
  background: var(--surface);
}
h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 18px; }
.lede { font-size: 17px; color: var(--muted); max-width: 700px; line-height: 1.7; }
.mono-accent { font-family: var(--mono); font-size: 0.86em; color: var(--gold); }

/* core idea */
.idea { padding: 130px 0; }
.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .idea-grid { grid-template-columns: 1fr; gap: 30px; } }
.idea-h { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 0; }
.idea .lede em { color: var(--text); font-style: italic; }

.legend { display: flex; gap: 20px; margin-top: 24px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-lease { background: var(--lease); box-shadow: 0 0 10px rgba(91, 157, 255, 0.6); }
.dot-sale { background: var(--sale); box-shadow: 0 0 10px rgba(62, 207, 142, 0.6); }

/* feature rows */
.feature-sec { border-top: 1px solid var(--border); }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature.flip .feature-media { order: 1; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-copy { order: 1; }
  .feature.flip .feature-media { order: 2; }
}
.feature-copy h2 { font-size: clamp(25px, 3.1vw, 33px); }
.feature-copy > p { color: var(--muted); margin-bottom: 18px; }

.spec-list { list-style: none; margin-top: 8px; }
.spec-list li { position: relative; padding: 8px 0 8px 24px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.spec-list li::before {
  content: ''; position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--gold); opacity: 0.75;
  box-shadow: 0 0 8px rgba(232, 194, 110, 0.4);
}
.spec-list li strong { color: var(--text); font-weight: 700; }

.sec-head { max-width: 760px; margin-bottom: 56px; }

/* ---------- data-in / extraction ---------- */
.extract {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 30px 34px; margin-bottom: 20px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (max-width: 820px) { .extract { grid-template-columns: 1fr; } .extract-mid { transform: rotate(90deg); justify-self: center; } }
.extract-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); margin-bottom: 14px; }
.redact-lines { display: flex; flex-direction: column; gap: 9px; }
.redact-lines span {
  height: 9px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.07) 25%, rgba(255,255,255,0.14) 45%, rgba(255,255,255,0.07) 65%);
  background-size: 220% 100%;
  animation: shimmer 2.6s linear infinite;
}
.redact-lines span:nth-child(2) { animation-delay: 0.2s; }
.redact-lines span:nth-child(3) { animation-delay: 0.4s; }
.redact-lines span:nth-child(4) { animation-delay: 0.6s; }
.redact-lines span:nth-child(5) { animation-delay: 0.8s; }
.redact-lines span:nth-child(6) { animation-delay: 1s; }
@keyframes shimmer { to { background-position: -220% 0; } }

.extract-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.extract-ai {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; color: var(--gold);
  border: 1px solid rgba(232, 194, 110, 0.3); border-radius: 100px; padding: 5px 13px;
  background: rgba(232, 194, 110, 0.06);
}
.extract-arrow { color: var(--gold); font-size: 19px; }
.extract-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s var(--ease) infinite; }

.field-rows { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.field-rows li {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  border: 1px solid var(--border); border-radius: 7px;
  padding: 8px 13px; background: rgba(255, 255, 255, 0.02);
  opacity: 0; transform: translateX(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.in .field-rows li { opacity: 1; transform: none; }
.in .field-rows li:nth-child(1) { transition-delay: 0.30s; }
.in .field-rows li:nth-child(2) { transition-delay: 0.42s; }
.in .field-rows li:nth-child(3) { transition-delay: 0.54s; }
.in .field-rows li:nth-child(4) { transition-delay: 0.66s; }
.in .field-rows li:nth-child(5) { transition-delay: 0.78s; }
.in .field-rows li:nth-child(6) { transition-delay: 0.90s; }
.f-name { color: var(--muted); }
.f-state { color: var(--sale); font-size: 10.5px; }

/* channels */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 880px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .channels { grid-template-columns: 1fr; } }
.channel {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 11px; padding: 24px 20px; overflow: hidden;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.channel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 194, 110, 0.45), transparent);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.channel:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-3px); }
.channel:hover::before { opacity: 1; }
.channel-tag {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--gold); display: block; margin-bottom: 11px;
}
.channel h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; }
.channel p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- KPI redacted tiles ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 22px; }
.kpi {
  border: 1px solid var(--border); border-radius: 9px; padding: 12px 14px;
  background: var(--surface); display: flex; flex-direction: column; gap: 8px;
}
.kpi-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--faint); }
.kpi-redact {
  height: 15px; width: 68%; border-radius: 4px;
  background: linear-gradient(90deg, rgba(232,194,110,0.10) 25%, rgba(232,194,110,0.22) 45%, rgba(232,194,110,0.10) 65%);
  background-size: 220% 100%;
  animation: shimmer 3s linear infinite;
}
.kpi:nth-child(2) .kpi-redact { animation-delay: 0.3s; width: 55%; }
.kpi:nth-child(3) .kpi-redact { animation-delay: 0.6s; width: 48%; }
.kpi:nth-child(4) .kpi-redact { animation-delay: 0.9s; width: 40%; }

/* ---------- platform ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 880px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.platform-card:hover { border-color: var(--border-strong); }
.platform-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.platform-card h3 .k { font-size: 11px; padding: 2px 6px; color: var(--gold); border-color: rgba(232, 194, 110, 0.3); background: rgba(232, 194, 110, 0.06); }
.platform-card > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; line-height: 1.65; }
.platform-card .frame { box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45); }

.try-link {
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 0;
}
.try-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.mobile-card { display: grid; grid-template-columns: 1fr 160px; gap: 24px; align-items: center; }
@media (max-width: 520px) { .mobile-card { grid-template-columns: 1fr; } }
.phone-frame {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

.sec-list { list-style: none; margin-top: 4px; }
.sec-list li {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--muted);
  padding: 7px 0; border-bottom: 1px solid var(--border);
}
.sec-list li:last-child { border-bottom: none; }
.sec-list .ok { color: var(--sale); flex-shrink: 0; }

/* terminal / audit log */
.terminal { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 18px; background: rgba(0, 0, 0, 0.35); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 9px 13px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); }
.term-body { padding: 13px 15px; display: flex; flex-direction: column; gap: 7px; }
.term-line { font-family: var(--mono); font-size: 10.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-time { color: rgba(255, 255, 255, 0.28); }
.t-op { font-weight: 600; }
.op-u { color: var(--lease); } .op-c { color: var(--sale); } .op-l { color: var(--gold); } .op-e { color: #c88be8; }
.caret { color: var(--gold); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ambient bars */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 22px; opacity: 0.85; }
.bars span {
  flex: 1; border-radius: 3px 3px 0 0; min-height: 8%;
  background: linear-gradient(180deg, rgba(232, 194, 110, 0.5), rgba(232, 194, 110, 0.08));
  animation: bar 3.6s var(--ease) infinite alternate;
  transform-origin: bottom;
}
.bars span:nth-child(3n) { background: linear-gradient(180deg, rgba(91, 157, 255, 0.5), rgba(91, 157, 255, 0.08)); }
.bars span:nth-child(4n) { background: linear-gradient(180deg, rgba(62, 207, 142, 0.5), rgba(62, 207, 142, 0.08)); }
.bars span:nth-child(1) { height: 42%; animation-delay: 0s; }
.bars span:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.bars span:nth-child(3) { height: 34%; animation-delay: 0.4s; }
.bars span:nth-child(4) { height: 84%; animation-delay: 0.6s; }
.bars span:nth-child(5) { height: 52%; animation-delay: 0.8s; }
.bars span:nth-child(6) { height: 64%; animation-delay: 1.0s; }
.bars span:nth-child(7) { height: 30%; animation-delay: 1.2s; }
.bars span:nth-child(8) { height: 76%; animation-delay: 1.4s; }
.bars span:nth-child(9) { height: 48%; animation-delay: 1.6s; }
.bars span:nth-child(10) { height: 60%; animation-delay: 1.8s; }
.bars span:nth-child(11) { height: 38%; animation-delay: 2.0s; }
.bars span:nth-child(12) { height: 88%; animation-delay: 2.2s; }
.bars span:nth-child(13) { height: 55%; animation-delay: 2.4s; }
.bars span:nth-child(14) { height: 68%; animation-delay: 2.6s; }
@keyframes bar { to { transform: scaleY(0.55); } }

/* ---------- access ---------- */
.access { text-align: center; border-top: 1px solid var(--border); overflow: hidden; }
.access-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 50% 30%, rgba(232, 194, 110, 0.07), transparent 70%);
}
.access-box {
  position: relative; max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 60px 44px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.access-box::before {
  content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 194, 110, 0.5), transparent);
}
.access-box .lede { margin: 0 auto 32px; }
.access-note { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 20px; }
.access-note a { color: var(--muted); }
.access-shot { max-width: 760px; margin: 48px auto 0; }

/* ---------- footer ---------- */
footer { position: relative; z-index: 2; border-top: 1px solid var(--border); padding: 38px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--faint); }
.footer-meta a { color: var(--muted); }
.kbd-hint kbd { font-size: 9px; }
@media (max-width: 820px) { .kbd-hint { display: none; } }

/* ---------- cmd+k palette ---------- */
.cmdk { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-start; justify-content: center; padding: 15vh 20px 0; }
.cmdk[hidden] { display: none; }
.cmdk-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 8, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmdk-panel {
  position: relative; width: 100%; max-width: 560px;
  background: rgba(18, 18, 23, 0.92); border: 1px solid var(--border-strong); border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 60px rgba(232, 194, 110, 0.05);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  animation: cmdk-in 0.3s var(--ease);
}
@keyframes cmdk-in { from { opacity: 0; transform: translateY(-10px) scale(0.985); } }
.cmdk-input-row { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid var(--border); color: var(--faint); }
#cmdk-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 500;
}
#cmdk-input::placeholder { color: var(--faint); }
.cmdk-list { list-style: none; max-height: 320px; overflow-y: auto; padding: 7px; }
.cmdk-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 8px; cursor: pointer;
  color: var(--muted); font-size: 14px; font-weight: 500;
}
.cmdk-item .ci-tag { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--faint); }
.cmdk-item.active { background: rgba(232, 194, 110, 0.09); color: var(--text); }
.cmdk-item.active .ci-tag { color: var(--gold); }
.cmdk-item .ci-ico { width: 17px; text-align: center; color: var(--gold); font-family: var(--mono); font-size: 12px; }
.cmdk-empty { padding: 22px; text-align: center; color: var(--faint); font-size: 13.5px; }
.cmdk-foot {
  display: flex; gap: 16px; align-items: center;
  padding: 10px 15px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.05em;
}
.cmdk-brand { margin-left: auto; color: rgba(232, 194, 110, 0.55); }
@media (max-width: 600px) { .cmdk-foot .cmdk-brand { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  h1 .w > span { transform: none; }
  .hero-panel { transform: none; }
  .field-rows li { opacity: 1; transform: none; }
}
