:root {
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #151515;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --muted-strong: #c9c9c9;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --red: #e02020;
  --red-dark: #9f1111;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(circle at 80% 8%, rgba(224, 32, 32, 0.18), transparent 30%),
    radial-gradient(circle at 10% 72%, rgba(224, 32, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 52px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #050505;
  box-shadow: 0 10px 30px rgba(224, 32, 32, 0.16);
}

.badge {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.lede {
  margin: 22px 0 0;
  color: var(--muted-strong);
  max-width: 720px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.support-copy {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.7;
}

.flow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.flow-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(224, 32, 32, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(224, 32, 32, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.hero-actions,
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border: 1px solid rgba(224, 32, 32, 0.7);
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(224, 32, 32, 0.22);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.visual-panel {
  min-height: 430px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 32, 32, 0.26), transparent 34%),
    radial-gradient(circle at 20% 86%, rgba(224, 32, 32, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(224, 32, 32, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-panel::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -84px;
  top: -70px;
  border-radius: 999px;
  background: rgba(224, 32, 32, 0.28);
  filter: blur(16px);
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: auto -28px -72px auto;
  width: 280px;
  height: 210px;
  background: radial-gradient(circle, rgba(224, 32, 32, 0.2), transparent 70%);
}

.preview-wrap {
  position: relative;
  z-index: 1;
  width: min(245px, 78%);
  margin-left: auto;
  margin-right: auto;
  transform: rotate(3deg);
  transition: transform 180ms ease;
}

.visual-panel:hover .preview-wrap {
  transform: rotate(0deg) translateY(-4px);
}

.preview-wrap::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 40px;
  background: rgba(224, 32, 32, 0.3);
  filter: blur(32px);
  z-index: -1;
}

.hero-preview-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
}

.play-chip {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(5, 5, 5, 0.78);
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  z-index: 2;
}

.play-chip strong {
  display: block;
}

.play-chip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.summary-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 42px;
}

.summary-panel > div {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.summary-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.summary-panel span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.demo-card {
  min-height: 218px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, var(--panel-soft), var(--panel));
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 32, 32, 0.6);
  background: linear-gradient(180deg, #1a1111, #101010);
}

.demo-number {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-card h3 {
  margin: 16px 0 8px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.demo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card-cta {
  color: white;
  font-weight: 800;
  margin-top: 24px;
}


.experiments-panel {
  border: 1px solid rgba(224, 32, 32, 0.22);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin: 12px 0 32px;
  background:
    radial-gradient(circle at 94% 6%, rgba(224, 32, 32, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(224, 32, 32, 0.055)),
    var(--panel);
}

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

.experiment-card {
  min-height: 260px;
  border-color: rgba(224, 32, 32, 0.2);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(224, 32, 32, 0.32);
  border-radius: 999px;
  background: rgba(224, 32, 32, 0.08);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.case-study-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(224, 32, 32, 0.28);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin-bottom: 32px;
  background:
    linear-gradient(145deg, rgba(224, 32, 32, 0.12), rgba(255, 255, 255, 0.035)),
    var(--panel);
}

.case-copy h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.case-copy p {
  margin: 14px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.case-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.note {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.note strong {
  display: block;
  margin-bottom: 6px;
}

.note span {
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer p {
  margin: 0;
}

.footer p + p {
  margin-top: 10px;
}

.footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration-color: rgba(224, 32, 32, 0.7);
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    min-height: 390px;
  }

  .preview-wrap {
    width: min(230px, 72%);
  }

  .demo-grid,
  .experiment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
.experiments-panel {
  border: 1px solid rgba(224, 32, 32, 0.22);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin: 12px 0 32px;
  background:
    radial-gradient(circle at 94% 6%, rgba(224, 32, 32, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(224, 32, 32, 0.055)),
    var(--panel);
}

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

.experiment-card {
  min-height: 260px;
  border-color: rgba(224, 32, 32, 0.2);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(224, 32, 32, 0.32);
  border-radius: 999px;
  background: rgba(224, 32, 32, 0.08);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.case-study-panel {
    grid-template-columns: 1fr;
  }

  .case-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .summary-panel,
  .notes {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    margin-bottom: 34px;
  }

  .flow-strip span {
    font-size: 12.5px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 1120px);
    padding-top: 24px;
  }

  .topbar {
    margin-bottom: 36px;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .badge {
    max-width: 100%;
    white-space: normal;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .lede {
    font-size: 16.5px;
  }

  .support-copy {
    font-size: 14.5px;
  }

  .hero-actions,
  .case-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .visual-panel {
    min-height: 360px;
    padding: 20px;
    border-radius: 24px;
  }

  .preview-wrap {
    width: min(215px, 78%);
    transform: none;
  }

  .visual-panel:hover .preview-wrap {
    transform: none;
  }

  .hero-preview-image {
    border-radius: 30px;
  }

  .play-chip {
    left: 18px;
    bottom: 18px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .play-chip span {
    font-size: 12px;
  }

  .demo-grid,
  .experiment-grid {
    grid-template-columns: 1fr;
  }

  .experiments-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .demo-card {
    min-height: 170px;
  }

  
.experiments-panel {
  border: 1px solid rgba(224, 32, 32, 0.22);
  border-radius: var(--radius-xl);
  padding: 26px;
  margin: 12px 0 32px;
  background:
    radial-gradient(circle at 94% 6%, rgba(224, 32, 32, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(224, 32, 32, 0.055)),
    var(--panel);
}

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

.experiment-card {
  min-height: 260px;
  border-color: rgba(224, 32, 32, 0.2);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(224, 32, 32, 0.32);
  border-radius: 999px;
  background: rgba(224, 32, 32, 0.08);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.case-study-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .case-copy h2 {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .visual-panel {
    min-height: 340px;
  }

  .preview-wrap {
    width: min(195px, 82%);
  }
}

@media (max-width: 380px) {
  .page {
    width: min(100% - 22px, 1120px);
  }

  .flow-strip {
    gap: 8px;
  }

  .flow-strip span {
    width: 100%;
    justify-content: center;
  }

  .visual-panel {
    min-height: 320px;
  }

  .preview-wrap {
    width: min(180px, 84%);
  }
}