/* Blinkin Sales Coach — marketing site
   Palette extracted from blinkin.io (Aug 2026):
   --purple #7b3eab · --gradi-violet #f0e9f9 · --grad2 #eff2ff · --grad3 #e2ecfd
   --litewhite #f7f8f8 · --black #1a1a1a · --black-222 #222 · ink #12141d
   --yellow #fffac0 · --footer-link-blue #0057b7 · --white-herobody #aeafb4
   extras used on blinkin.io: #a154d0 #9882bd #3da7fc #356cd6 #3ccf91 #352161
*/

:root {
  --ink: #12141d;
  --ink-2: #16191e;
  --ink-3: #1a1b1f;
  --black: #1a1a1a;
  --black-222: #222;
  --paper: #f7f8f8;
  --paper-2: #f0e9f9;
  --wash-blue: #eff2ff;
  --wash-sky: #e2ecfd;
  --purple: #7b3eab;
  --purple-deep: #352161;
  --purple-mid: #5b4785;
  --purple-bright: #a154d0;
  --lilac: #9882bd;
  --blue: #3da7fc;
  --blue-deep: #356cd6;
  --link-blue: #0057b7;
  --mint: #3ccf91;
  --yellow: #fffac0;
  --coral: #ff715b;
  --text: #f7f8f8;
  --text-dim: #aeafb4;
  --text-mute: #747a89;
  --text-ink: #1a1a1a;
  --text-ink-dim: #5d5959;
  --line: rgba(255, 255, 255, 0.1);
  --line-ink: rgba(18, 20, 29, 0.1);
  --shadow: 0 24px 64px rgba(18, 20, 29, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --nav-h: 72px;
  --max: 1180px;
  --font: system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--purple);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--purple-bright);
}

h1, h2, h3, h4 {
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.15rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 38rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 8px 28px rgba(123, 62, 171, 0.35);
}
.btn-primary:hover { background: #8a4bbb; }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); }
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: #1c1f2c; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(18, 20, 29, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  letter-spacing: -0.03em;
}
.brand img { width: 32px; height: 32px; }
.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-top: 1px;
}
.brand-name { font-size: 15.5px; line-height: 1.1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-dim);
}
.nav-links a:hover,
.nav-links a.is-active { color: #fff; }
.nav-cta { margin-left: 8px; min-height: 40px; padding: 0 16px; font-size: 14px; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% -5% auto auto;
  width: min(720px, 80vw);
  pointer-events: none;
  opacity: 0.85;
  filter: blur(8px);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background: url("../assets/grain.svg");
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 16px 0 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-mute);
}
.hero-card {
  background: linear-gradient(180deg, #1c1f2a, #16191e);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(60, 207, 145, 0.12); }
.hero-card-body { padding: 18px 18px 20px; display: grid; gap: 12px; }
.bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
}
.bubble-in {
  background: #232733;
  color: var(--text);
}
.bubble-out {
  margin-left: auto;
  background: var(--purple);
  color: #fff;
}
.bubble-coach {
  width: 100%;
  max-width: none;
  background: rgba(61, 167, 252, 0.08);
  border: 1px solid rgba(61, 167, 252, 0.22);
  color: #ceedfb;
}
.bubble strong { font-weight: 650; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
  border: 1px solid var(--line);
}
.chip-warn { color: var(--yellow); border-color: rgba(255, 250, 192, 0.25); }

/* Sections */
section { padding: 96px 0; position: relative; }
.section-head {
  max-width: 40rem;
  margin-bottom: 48px;
}
.section-head h2 { margin: 12px 0 16px; }
.section-head p { margin: 0; color: var(--text-dim); font-size: 1.08rem; }

/* Problem — light band, echoes blinkin pastel washes */
.problem {
  background:
    linear-gradient(180deg, #f0e9f9 0%, #eff2ff 58%, #e2ecfd 100%);
  color: var(--text-ink);
}
.problem .eyebrow { color: var(--purple); }
.problem .eyebrow::before { background: var(--purple); }
.problem .section-head p { color: var(--text-ink-dim); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.problem-card {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(18, 20, 29, 0.06);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  min-height: 260px;
}
.problem-card .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 28px;
}
.problem-card h3 { margin-bottom: 10px; font-size: 1.28rem; }
.problem-card p { margin: 0; color: var(--text-ink-dim); }

/* Product */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
}
.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(123, 62, 171, 0.18);
  color: var(--yellow);
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 13px;
}
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: var(--text-dim); }

/* Demo */
.demo { padding-top: 72px; }
.demo-shell {
  background: linear-gradient(180deg, #1a1c26, #12141d);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.demo-toolbar .title {
  font-weight: 650;
  font-size: 14px;
  margin-right: auto;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 192, 0.1);
  color: var(--yellow);
  border: 1px solid rgba(255, 250, 192, 0.22);
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab,
.mode-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
}
.tab.is-on,
.mode-btn.is-on {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.demo-layout {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  min-height: 620px;
}
.demo-col {
  border-right: 1px solid var(--line);
  padding: 18px;
}
.demo-col:last-child { border-right: 0; }
.demo-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 14px;
}
.sku {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sku:last-child { border-bottom: 0; }
.sku .name { font-weight: 650; font-size: 14px; }
.sku .meta { font-size: 12.5px; color: var(--text-mute); margin-top: 3px; }
.sku .price { font-size: 13px; color: var(--mint); font-weight: 650; margin-top: 4px; }

.transcript {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}
.msg {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: rise 0.45s var(--ease);
}
.msg-customer { background: #232733; }
.msg-seller { margin-left: auto; background: var(--purple); }
.msg-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 4px;
}
.persona {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.choices { display: grid; gap: 8px; }
.choice {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}
.choice:hover,
.choice:focus-visible {
  border-color: var(--lilac);
  background: rgba(123, 62, 171, 0.16);
}
.choice[disabled] { opacity: 0.45; cursor: default; }
.voice-stage {
  display: none;
  place-items: center;
  padding: 28px 0 8px;
  text-align: center;
}
.voice-stage.is-on { display: grid; }
.orb-live {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffac0, #a154d0 45%, #3da7fc 80%);
  box-shadow: 0 0 0 12px rgba(161, 84, 208, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  margin: 14px 0 6px;
}
.wave i {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--lilac);
  border-radius: 2px;
  animation: bar 1s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: 0.1s; }
.wave i:nth-child(3) { animation-delay: 0.2s; }
.wave i:nth-child(4) { animation-delay: 0.15s; }
.wave i:nth-child(5) { animation-delay: 0.25s; }
.wave i:nth-child(6) { animation-delay: 0.05s; }
.wave i:nth-child(7) { animation-delay: 0.3s; }

.coach-note {
  background: rgba(61, 167, 252, 0.08);
  border: 1px solid rgba(61, 167, 252, 0.2);
  border-radius: 14px;
  padding: 14px;
  font-size: 13.5px;
  color: #ceedfb;
  line-height: 1.45;
}
.coach-note h5 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.coach-note p { margin: 0; }
.debrief {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-dim);
}
.demo-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

/* Playbook */
.play-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.editor {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lilac);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #12141d;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--lilac); }
.practices { display: grid; gap: 10px; }
.practice {
  background: #fff;
  color: var(--text-ink);
  border-radius: 16px;
  padding: 16px 16px 14px;
  animation: rise 0.4s var(--ease);
}
.practice .top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--paper-2);
  padding: 3px 8px;
  border-radius: 999px;
}
.live {
  font-size: 11px;
  font-weight: 700;
  color: #17885a;
}
.practice p { margin: 0; font-size: 15px; }

/* Managers */
.managers { background: #0e1016; }
.dash {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.dash-head p { margin: 6px 0 0; color: var(--text-mute); font-size: 13.5px; }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 650;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
tr:last-child td { border-bottom: 0; }
.who { font-weight: 650; }
.sub { color: var(--text-mute); font-size: 12.5px; }
.bar {
  width: 92px;
  height: 6px;
  background: #ffffff14;
  border-radius: 99px;
  overflow: hidden;
}
.bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: inherit;
}
.pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: rgba(255,255,255,0.06);
  color: var(--text-dim);
}
.pill-good { background: rgba(60, 207, 145, 0.12); color: var(--mint); }
.pill-mid { background: rgba(255, 250, 192, 0.1); color: var(--yellow); }


.sku-group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
  margin: 14px 0 4px;
}
.sku-group:first-child { margin-top: 0; }

/* Economics */
.econ { background: #0e1016; }
.econ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.econ-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  min-height: 220px;
}
.econ-card .figure {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  margin: 0 0 16px;
}
.econ-card p { margin: 0; color: var(--text-dim); }
.econ-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-mute);
  max-width: 46rem;
}

/* Platform */
.platform {
  background:
    linear-gradient(180deg, #f7f8f8 0%, #f0e9f9 100%);
  color: var(--text-ink);
}
.platform .eyebrow { color: var(--purple); }
.platform .eyebrow::before { background: var(--purple); }
.platform .section-head p,
.platform .layer p { color: var(--text-ink-dim); }
.platform-art {
  width: 100%;
  margin: 0 0 28px;
  border-radius: 20px;
  background: #12141d;
  border: 1px solid rgba(18,20,29,0.08);
}
.transcript {
  max-height: 380px;
  overflow-y: auto;
}
.layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.layer {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line-ink);
}
.layer .k {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.layer h3 { margin-bottom: 8px; }
.platform-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.platform-note p { margin: 8px 0 0; color: var(--text-dim); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 650;
  font-size: 16px;
}
.faq-item button span {
  color: var(--lilac);
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}
.faq-item .a {
  display: none;
  padding: 0 20px 20px;
  color: var(--text-dim);
}
.faq-item.is-open .a { display: block; }
.faq-item.is-open button span { transform: rotate(45deg); }

/* Close CTA */
.close {
  padding: 120px 0;
  text-align: center;
  background:
    radial-gradient(900px 360px at 50% 0%, rgba(123, 62, 171, 0.35), transparent 70%),
    var(--ink);
}
.close h2 { margin: 12px auto 16px; max-width: 16ch; }
.close .lead { margin: 0 auto 28px; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--text-dim);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.foot a { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: #fff; }
.legal { margin-top: 22px; font-size: 12.5px; color: var(--text-mute); max-width: 62rem; }

/* Modal */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 9, 14, 0.62);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-card {
  width: min(460px, 100%);
  background: #171922;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.modal-card h3 { margin: 0 0 10px; font-size: 1.6rem; }
.modal-card p { color: var(--text-dim); margin: 0 0 22px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal-x {
  float: right;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s var(--ease) forwards;
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.3s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  50% { transform: scale(1.06); filter: saturate(1.15); }
}
@keyframes bar {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .play-grid,
  .demo-layout,
  .econ-grid,
  .problem-grid,
  .product-grid,
  .layers { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .demo-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(18, 20, 29, 0.96);
    padding: 18px 22px 24px;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { margin-left: 0; }
  .platform-note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  section { padding: 72px 0; }
  .hero-actions .btn { width: 100%; }
}
