/* Butler - design system
   Monochrome ink canvas, one warm accent, hairline structure. */

:root {
  --bg: #08090b;
  --bg-soft: #0b0c0f;
  --surface: #101216;
  --surface-2: #15181d;
  --surface-3: #1b1f25;

  --line: rgba(255, 255, 255, 0.07);
  --line-mid: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text: #f3f4f6;
  --text-2: #b8bec8;
  --muted: #8b919c;
  --faint: #6a7079;

  --gold: #e3c08a;
  --gold-soft: rgba(227, 192, 138, 0.14);
  --green: #5cd6a0;
  --green-soft: rgba(92, 214, 160, 0.13);

  --shell: 1120px;
  --radius: 16px;
  --phone-w: 324px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

/* Fine film grain for depth */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.76);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { display: block; width: 28px; height: 28px; flex: none; }
.brand-word { font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 6px; }

.nav .nav-link,
.nav .nav-link:link,
.nav .nav-link:visited {
  color: var(--text-2);
  font-size: 13.5px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav .nav-link:hover,
.nav .nav-link:focus-visible { color: #ffffff; background: rgba(255, 255, 255, 0.06); }

.nav .nav-pill,
.nav .nav-pill:link,
.nav .nav-pill:visited {
  color: var(--text);
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav .nav-pill:hover,
.nav .nav-pill:focus-visible {
  color: #06070a;
  background: #f3f4f6;
  border-color: #f3f4f6;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: 86px 0 40px; overflow: hidden; }

.hero-glow {
  position: absolute;
  top: -340px;
  left: 50%;
  width: 1180px;
  height: 760px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(48% 52% at 50% 50%, rgba(227, 192, 138, 0.1), transparent 68%),
    radial-gradient(64% 60% at 50% 46%, rgba(120, 150, 210, 0.08), transparent 72%);
  filter: blur(6px);
}

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 6px 14px;
}
.eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

h1 {
  margin: 26px 0 0;
  font-size: clamp(38px, 6.4vw, 70px);
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 24%, #b9bfca 128%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Scene pills ---------- */

.scenes {
  display: inline-flex;
  gap: 4px;
  margin: 40px 0 34px;
  padding: 4px;
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.scene-pill {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: -0.005em;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.scene-pill:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.scene-pill.is-active,
.scene-pill.is-active:hover {
  color: #06070a;
  background: #f2f3f5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* ---------- Stage ---------- */

.stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}

.stage-rail {
  position: absolute;
  top: 46px;
  width: 210px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-mid));
}
.stage-rail-left { left: 0; }
.stage-rail-right { right: 0; background: linear-gradient(270deg, transparent, var(--line-mid)); }

.chip {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  background: rgba(16, 18, 22, 0.82);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 30px -22px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}
.chip.is-active { display: inline-flex; animation: chipIn 0.5s var(--ease) both; }
.chip-key {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.chip-left { left: 4px; top: 128px; }
.chip-right { right: 4px; top: 232px; }

@keyframes chipIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Phone ---------- */

.phone { position: relative; }

.phone-shell {
  position: relative;
  width: var(--phone-w);
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(170deg, #2b2f36, #101216 32%, #0c0e11 72%, #23272d);
  box-shadow:
    0 2px 1px rgba(255, 255, 255, 0.12) inset,
    0 -2px 1px rgba(0, 0, 0, 0.6) inset,
    0 50px 90px -40px rgba(0, 0, 0, 0.95),
    0 10px 30px -14px rgba(0, 0, 0, 0.8);
}

.phone-screen {
  position: relative;
  height: 624px;
  border-radius: 36px;
  overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #15181d, #0a0b0e 72%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.phone-reflection {
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: 300px;
  height: 90px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(227, 192, 138, 0.1), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.statusbar {
  flex: none;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--text-2);
}
.statusbar-time { font-size: 11px; font-weight: 600; letter-spacing: 0.01em; }
.statusbar-icons { display: inline-flex; align-items: center; gap: 6px; opacity: 0.8; }

/* ---------- Scenes inside the phone ---------- */

.scene {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  animation: sceneIn 0.44s var(--ease) both;
}
.scene[hidden] { display: none; }

@keyframes sceneIn {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.app-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--line);
}
.app-avatar {
  width: 26px; height: 26px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  font-size: 11px; font-weight: 600;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(227, 192, 138, 0.22);
}
.app-avatar-alt { color: var(--text-2); background: rgba(255, 255, 255, 0.05); border-color: var(--line-mid); }
.app-title {
  display: flex; flex-direction: column;
  font-size: 12.5px; font-weight: 600; color: var(--text);
  line-height: 1.25;
}
.app-title em { font-style: normal; font-size: 9.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.app-chip {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
}

.live-dot {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--green-soft); }
  50% { box-shadow: 0 0 0 6px rgba(92, 214, 160, 0.05); }
}

/* Groceries */

.thread { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 14px 14px 4px; }
.msg {
  max-width: 85%;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 9px 12px;
  border: 1px solid var(--line);
}
.msg-out {
  align-self: flex-end;
  color: #06070a;
  background: #e9eaee;
  border-color: #e9eaee;
  border-radius: 14px 14px 4px 14px;
}
.msg-in {
  align-self: flex-start;
  color: var(--text-2);
  background: var(--surface-2);
  border-radius: 14px 14px 14px 4px;
}

.sheet {
  flex: none;
  margin: 0 7px 7px;
  padding: 10px 14px 14px;
  border-radius: 28px 28px 30px 30px;
  background: linear-gradient(180deg, #16191e, #101216);
  border: 1px solid var(--line-mid);
  box-shadow: 0 -18px 34px -26px rgba(0, 0, 0, 0.9);
}
.sheet-grip {
  display: block;
  width: 34px; height: 3px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--line-strong);
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 600; color: var(--text);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.sheet-src { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 500; }

.bill { padding: 8px 0 0; }
.bill li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 10.5px;
  color: var(--muted);
  padding: 4px 0;
}
.bill li span:last-child { color: var(--text-2); font-variant-numeric: tabular-nums; }

.bill-total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px; font-weight: 600; color: var(--text);
}
.bill-amt { font-size: 17px; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }

.verified {
  display: flex; align-items: center; gap: 6px;
  margin-top: 8px;
  font-size: 9.5px;
  color: var(--green);
}

.sheet-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-approve {
  flex: 1;
  text-align: center;
  font-size: 11.5px; font-weight: 600;
  color: #06070a;
  background: linear-gradient(180deg, #ffffff, #dcdfe4);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 18px -10px rgba(255, 255, 255, 0.45);
}
.btn-ghost {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-2);
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  padding: 10px 14px;
}

.otp-lock {
  display: flex; align-items: center; gap: 6px;
  margin-top: 11px;
  font-size: 9.5px;
  color: var(--faint);
}

/* Voice call */

.call { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 20px 16px 16px; }

.orb { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.orb-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(92, 214, 160, 0.3);
  animation: ripple 2.6s var(--ease) infinite;
}
.orb-ring-2 { animation-delay: 1.3s; }
@keyframes ripple {
  0% { transform: scale(0.72); opacity: 0.9; }
  100% { transform: scale(1.12); opacity: 0; }
}
.orb-core {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: radial-gradient(70% 70% at 50% 30%, rgba(92, 214, 160, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(92, 214, 160, 0.26);
}

.wave {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  height: 54px;
  margin-top: 16px;
  width: 100%;
}
.wave span {
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), rgba(92, 214, 160, 0.4));
  animation: bar 1.25s ease-in-out infinite;
  animation-delay: calc(var(--i) * -85ms);
}
@keyframes bar {
  0%, 100% { height: 8px; opacity: 0.45; }
  50% { height: 34px; opacity: 1; }
}

.transcript {
  width: 100%;
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.transcript p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-2);
  padding-left: 12px;
  border-left: 1px solid var(--line-mid);
}
.transcript span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 3px;
}

.call-foot {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.latency { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.end-call {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #0c0d10;
  background: #ef6a63;
  transform: rotate(134deg);
}

/* Gate approval */

.gate { flex: 1; display: flex; flex-direction: column; padding: 16px 14px 14px; }

.visitor {
  display: flex; align-items: center; gap: 11px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.visitor-photo {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-mid);
}
.visitor-meta { display: flex; flex-direction: column; font-size: 10px; color: var(--muted); line-height: 1.45; }
.visitor-meta strong { font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }

.gate-state {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 11.5px; font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(92, 214, 160, 0.22);
}

.gate-why { margin-top: 12px; font-size: 11px; line-height: 1.55; color: var(--text-2); }

.trail { flex: 1; margin-top: 16px; padding-left: 14px; border-left: 1px solid var(--line-mid); }
.trail li {
  position: relative;
  font-size: 10.5px;
  color: var(--muted);
  padding: 0 0 14px;
  line-height: 1.45;
}
.trail li::before {
  content: "";
  position: absolute;
  left: -18px; top: 5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.trail li:last-child::before { background: var(--green); border-color: var(--green); }
.trail .t {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

/* ---------- Stage notes ---------- */

.stage-notes { margin-top: 34px; min-height: 24px; }
.stage-note { display: none; font-size: 13.5px; color: var(--muted); }
.stage-note.is-active { display: block; animation: chipIn 0.5s var(--ease) both; }

/* ---------- Showcase ---------- */

.showcase { padding: 104px 0 96px; border-top: 1px solid var(--line); margin-top: 72px; }

.section-head { margin-bottom: 44px; }
.kicker {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.showcase h2 { font-size: clamp(26px, 3.4vw, 36px); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.panel {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.panel:hover { border-color: var(--line-mid); transform: translateY(-2px); }

.panel-art {
  position: relative;
  height: 212px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 12px;
  background: radial-gradient(110% 80% at 50% 0%, #14171c, #0b0d10 76%);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
}

.panel h3 { font-size: 16px; letter-spacing: -0.025em; }
.panel p { margin-top: 9px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.wave-static { height: 46px; margin-top: 0; }

.art-chip {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: center;
  font-size: 10.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 6px 12px;
}
.art-chip-gold { color: var(--gold); border-color: rgba(227, 192, 138, 0.26); background: var(--gold-soft); }

.prefs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.prefs span {
  font-size: 10.5px;
  color: var(--text-2);
  border: 1px solid var(--line-mid);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
}

.device {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.device-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.apps { display: inline-flex; gap: 6px; }
.app {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 10px; font-style: normal; font-weight: 600;
  color: var(--text);
  border: 1px solid var(--line-mid);
}
.app-a { background: rgba(227, 192, 138, 0.16); color: var(--gold); }
.app-b { background: rgba(255, 255, 255, 0.07); }
.app-c { background: rgba(92, 214, 160, 0.14); color: var(--green); }

.flow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.flow-step {
  width: 100%;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--text-2);
  border: 1px solid var(--line-mid);
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.025);
}
.flow-step-code { color: var(--text); border-color: var(--line-strong); }
.flow-step-you { color: var(--green); border-color: rgba(92, 214, 160, 0.26); background: var(--green-soft); }
.flow-arrow { display: block; color: var(--faint); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--faint);
}
.footer-right { display: flex; gap: 20px; }
.footer-right a,
.footer-right a:link,
.footer-right a:visited { color: var(--text-2); transition: color 0.18s var(--ease); }
.footer-right a:hover, .footer-right a:focus-visible { color: #ffffff; }

/* ---------- Privacy page ---------- */

.doc { padding: 76px 0 90px; }
.doc-inner { max-width: 660px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); margin-top: 12px; }
.doc-meta { margin-top: 16px; font-size: 13px; color: var(--faint); }
.doc-intro { margin-top: 22px; font-size: 16px; line-height: 1.65; color: var(--text-2); }

.doc section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.doc p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.doc ul { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.doc li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.doc li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}
.doc li strong { color: var(--text-2); font-weight: 600; }
.doc a,
.doc a:link,
.doc a:visited { color: var(--gold); border-bottom: 1px solid rgba(227, 192, 138, 0.3); }
.doc a:hover, .doc a:focus-visible { color: #ffffff; border-bottom-color: rgba(255, 255, 255, 0.5); }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .chip, .stage-rail { display: none !important; }
}

@media (max-width: 760px) {
  .shell { padding: 0 20px; }
  .hero { padding: 58px 0 24px; }
  .brand-tag { display: none; }
  .nav .nav-link { padding: 7px 8px; font-size: 13px; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .lede { font-size: 15px; }
  .scenes { margin: 32px 0 26px; width: 100%; justify-content: center; }
  .scene-pill { padding: 8px 12px; font-size: 12.5px; }
  .showcase { padding: 72px 0 64px; margin-top: 52px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 400px) {
  :root { --phone-w: 300px; }
  .scene-pill { padding: 8px 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .wave span { height: 20px; opacity: 0.8; }
}
