/* ------------------------------------------------------------------ */
/*  Scout Design System — Linear-inspired theme                        */
/* ------------------------------------------------------------------ */

:root {
  --bg: #18191b;
  --bg-translucent: rgba(24, 25, 27, 0.8);
  --surface: #1f2123;
  --surface-raised: #242628;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #f7f8f8;
  --text-secondary: #8a8f98;
  --text-tertiary: #62666d;
  --accent: #ff5f31;
  --accent-soft: rgba(255, 95, 49, 0.16);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --font-sans:
    'Inter', 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------------------------------------------ */
/*  Layout primitives                                                  */
/* ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

.container--wide {
  max-width: 1320px;
}

/* ------------------------------------------------------------------ */
/*  Navigation                                                         */
/* ------------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: var(--bg-translucent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav__logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff5f31 0%, #8a8f98 130%);
  box-shadow: 0 0 16px rgba(255, 95, 49, 0.45);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav__cta {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 880px) {
  .nav__links {
    display: none;
  }
}

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

.hero {
  position: relative;
  padding: 200px 0 140px;
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -360px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 760px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 95, 49, 0.18) 0%,
    rgba(255, 95, 49, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero__title {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  background: linear-gradient(180deg, #f7f8f8 0%, rgba(247, 248, 248, 0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 21px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.button--primary {
  background: #e6e6e6;
  color: #18191b;
}

.button--primary:hover {
  background: #ffffff;
}

.button--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}

.button--ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ------------------------------------------------------------------ */
/*  Sections                                                           */
/* ------------------------------------------------------------------ */

.section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__eyebrow-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--accent-soft);
  font-size: 12px;
}

.section__title {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 640px;
  background: linear-gradient(180deg, #f7f8f8 0%, rgba(247, 248, 248, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section__description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.65;
}

.section__description code,
.step-card__body code {
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--text-primary);
}

.section__description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.section__description--footnote {
  margin-top: 56px;
  margin-bottom: 0;
  font-size: 15px;
  color: var(--text-tertiary);
}

/* ------------------------------------------------------------------ */
/*  Hex wall (Exhibit B)                                               */
/* ------------------------------------------------------------------ */

.hex-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 24px;
}

.hex-chip {
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 10.5px;
  line-height: 1;
  color: #ff5f31;
  background: rgba(255, 95, 49, 0.08);
  border: 1px solid rgba(255, 95, 49, 0.25);
  border-radius: 4px;
  padding: 4px 7px;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.hex-chip:hover {
  background: rgba(255, 95, 49, 0.22);
  transform: scale(1.12);
}

/* ------------------------------------------------------------------ */
/*  Step cards                                                         */
/* ------------------------------------------------------------------ */

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

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

.steps > .reveal {
  height: 100%;
}

.step-card {
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.step-card:hover {
  border-color: var(--border-strong);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
}

.step-card__title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-card__body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section__subtitle {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 64px 0 14px;
}

.section__subtitle--first {
  margin-top: 0;
}

/* ------------------------------------------------------------------ */
/*  Split layout (benefits / principles)                               */
/* ------------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.split__label {
  display: block;
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.benefit {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  transform: translateY(3px);
}

.benefit__text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.benefit__text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.principle {
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 18px;
  margin-bottom: 12px;
}

.principle__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.principle__line {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.callout {
  margin-top: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 95, 49, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 60%
  );
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.callout strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/*  Tabs inconsistency showcase                                        */
/* ------------------------------------------------------------------ */

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

@media (max-width: 880px) {
  .tabs-compare {
    grid-template-columns: 1fr;
  }
}

.tabs-demo {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tabs-demo__header {
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 11.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tabs-demo__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: #fbfbfa;
}

.tabs-demo__note {
  padding: 13px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Demo A — @shadcn tabs.tsx default variant */
.dta {
  display: inline-flex;
  gap: 8px;
}

.dta__tab {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.dta__tab:hover {
  background: rgba(229, 231, 235, 0.6);
}

.dta__tab.is-active {
  background: #f3f4f6;
  color: #1f2937;
}

/* Demo B — TabsV2 underline variant */
.dtb {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #e7e5e4;
}

.dtb__tab {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #78716c;
  padding: 0 16px 10px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.dtb__tab:hover {
  color: #252f33;
}

.dtb__tab.is-active {
  color: #ff5f31;
  border-color: #ff5f31;
  font-weight: 600;
}

/* Demo C — tabs-new.tsx animated indicator */
.dtc {
  position: relative;
  display: inline-flex;
  gap: 4px;
  background: #e5e7eb;
  padding: 4px;
  border-radius: 8px;
}

.dtc__indicator {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition:
    left 0.35s cubic-bezier(0.3, 1.35, 0.5, 1),
    width 0.35s cubic-bezier(0.3, 1.35, 0.5, 1);
}

.dtc__tab {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  height: 32px;
  padding: 0 14px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dtc__tab:hover:not(.is-active) {
  outline: 2px dashed #9ca3af;
  outline-offset: -2px;
}

.dtc__tab.is-active {
  color: #111827;
}

/* ------------------------------------------------------------------ */
/*  Workflow timeline (changelog style)                                */
/* ------------------------------------------------------------------ */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
}

.timeline__item {
  position: relative;
  display: block;
  padding-top: 44px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  right: -32px;
  height: 1px;
  background: var(--border);
}

.timeline__item:last-child::before {
  right: 0;
}

.timeline__dot {
  position: absolute;
  top: 2px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #26282a;
  border: 1px solid var(--border-strong);
}

.timeline__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
  transition: background-color 0.2s ease;
}

.timeline__dot--active::after {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.timeline__item:hover .timeline__dot::after {
  background: var(--accent);
}

.timeline__title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline__body {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.timeline__step {
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

@media (max-width: 880px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline__item {
    padding-top: 0;
    padding-left: 36px;
    padding-bottom: 28px;
  }

  .timeline__item::before {
    top: 6px;
    left: 6px;
    right: auto;
    bottom: 0;
    width: 1px;
    height: auto;
  }

  .timeline__item:last-child::before {
    display: none;
  }

  .timeline__dot {
    top: 0;
  }
}

/* ------------------------------------------------------------------ */
/*  Feature grid (Linear-style plus list)                              */
/* ------------------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  margin-bottom: 56px;
}

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

.feature {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}

.feature__title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.feature__body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/*  Checklist                                                          */
/* ------------------------------------------------------------------ */

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

.checklist__item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  transform: translateY(4px);
}

.checklist__text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.checklist__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/*  Rule list (spec-sheet style)                                       */
/* ------------------------------------------------------------------ */

.rules {
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.rule {
  position: relative;
  display: grid;
  grid-template-columns: 72px 280px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 16px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.rule:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rule:hover::before {
  opacity: 1;
}

.rule__index {
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.rule__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.rule__body {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}

@media (max-width: 880px) {
  .rule {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }

  .rule__body {
    grid-column: 2;
  }
}

/* ------------------------------------------------------------------ */
/*  Code snippet                                                       */
/* ------------------------------------------------------------------ */

.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #c9cdd3;
  overflow-x: auto;
  margin-bottom: 56px;
  white-space: pre;
}

.code-block .tok-key {
  color: #94a0f0;
}

.code-block .tok-str {
  color: #9ece9e;
}

/* ------------------------------------------------------------------ */
/*  Video player                                                       */
/* ------------------------------------------------------------------ */

.video-player {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  overflow: hidden;
}

/* Height follows the video's natural aspect ratio, so the frame hugs the
   recording with no letterbox bars while keeping the same width. */
.video-player video {
  display: block;
  width: 100%;
  height: auto;
  cursor: default;
}

.video-player:not(.is-started) video {
  cursor: pointer;
}

.video-player__start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  background: linear-gradient(
    180deg,
    rgba(24, 25, 27, 0.15) 0%,
    rgba(24, 25, 27, 0.5) 100%
  );
  transition: background-color 0.2s ease;
}

.video-player__start:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}

.video-player__start-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(24, 25, 27, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.video-player__start:hover .video-player__start-icon {
  background: rgba(24, 25, 27, 0.75);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.video-player__start-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--text-primary);
  margin-left: 4px;
}

.video-player__label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------------------ */
/*  Media frame (screenshots)                                          */
/* ------------------------------------------------------------------ */

.media-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  overflow: hidden;
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.media-frame__caption {
  display: block;
  font-size: 13.5px;
  color: var(--text-tertiary);
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__text {
  font-size: 13.5px;
  color: var(--text-tertiary);
}

/* ------------------------------------------------------------------ */
/*  Scroll-reveal animation (Linear-style)                             */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out-quart),
    transform 0.8s var(--ease-out-quart);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
