/* ==========================================================================
   Flix_GE Landing Page — Concept B+ (AI-Verified Game Engine Showcase)
   Moderately dim charcoal aesthetic + Electric Cyan & Muted Violet accents
   ========================================================================== */

:root {
  --bg-base: #121318;
  --bg-elevated: #181a22;
  --bg-card: rgba(26, 29, 39, 0.8);
  --bg-card-solid: #1b1e28;
  --bg-glass: rgba(20, 22, 30, 0.78);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.45);

  --text-primary: #f1f5f9;
  --text-secondary: #a8b2c5;
  --text-muted: #768096;

  --cyan: #38bdf8;
  --cyan-bright: #22d3ee;
  --teal: #34d399;
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.36);

  --font-sans: "Space Grotesk", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-base);
  overflow-x: hidden;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

img.is-pixel,
video.is-pixel {
  image-rendering: pixelated;
}

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

:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  color: #cbd5e1;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* Ambient Background */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}

.glow-cyan {
  width: 540px;
  height: 540px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}

.glow-violet {
  width: 620px;
  height: 620px;
  top: 28%;
  right: -180px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
}

/* Floating Navbar */
.navbar-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
}

.navbar {
  width: min(1160px, 100%);
  margin: 0 auto;
  height: 62px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-icon.small {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.version-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #0b0d12;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.github-btn > svg {
  flex: 0 0 auto;
  margin-left: 11px;
}

.github-label {
  padding: 0 11px 0 7px;
}

.star-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  padding: 1px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.github-btn .star-count {
  align-self: stretch;
  border-left: 1px solid var(--border-subtle);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
}

.github-btn .star-count::before {
  display: none;
}

.star-count::before {
  content: "★";
  color: #f5c84c;
}

.star-count[hidden] {
  display: none;
}

.btn.star-cta {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

.star-cta > svg {
  align-self: center;
  flex: 0 0 auto;
  margin-left: 20px;
}

.star-cta > [data-i18n="qs.star"] {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px 13px 9px;
}

.star-cta .star-count {
  align-self: stretch;
  border-left: 1px solid rgba(8, 16, 24, 0.2);
  border-radius: 0;
  background: rgba(8, 16, 24, 0.13);
}

.star-cta .star-count::before {
  color: inherit;
}

.github-btn:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

/* Split Game Showcase Hero */
.hero {
  position: relative;
  padding: 112px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 4.7fr) minmax(520px, 6.3fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 60px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(18, 22, 32, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.36);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.hero-star.star-cta {
  display: inline-flex;
  align-items: stretch;
  min-height: 31px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-star.star-cta:hover {
  border-color: rgba(245, 200, 76, 0.4);
  background: rgba(255, 255, 255, 0.085);
  color: var(--text-primary);
}

.hero-star-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
}

.hero-star-label::before {
  content: "★";
  color: #f5c84c;
}

.hero-star.star-cta .star-count {
  align-self: stretch;
  min-width: 36px;
  padding: 1px 8px;
  border-left: 1px solid var(--border-subtle);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.7rem;
}

.hero-star.star-cta .star-count::before {
  display: none;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 12px var(--cyan-bright);
}

.pulse-dot.green {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.05vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  background: linear-gradient(180deg, #ffffff 25%, #cfdbe9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 1.02rem;
  color: #b7c2d6;
  line-height: 1.78;
}

/* AI-app prompt composer */
.prompt-card {
  width: 100%;
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.13), transparent 42%),
    rgba(19, 22, 31, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.prompt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.prompt-support {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.prompt-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.prompt-badge {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.38);
  background: rgba(139, 92, 246, 0.12);
  color: #d8ccff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.prompt-badge.is-codex {
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan-bright);
}

.prompt-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 15px;
  border-radius: var(--radius-md);
  background: rgba(9, 11, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.prompt-text {
  min-width: 0;
  margin: 0;
  color: #dbe5f2;
  font-size: 0.88rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prompt-send {
  justify-self: end;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #071018;
  background: linear-gradient(135deg, var(--cyan-bright), #60a5fa);
  box-shadow: 0 7px 18px rgba(34, 211, 238, 0.24);
}

.prompt-copy-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border-color: rgba(56, 189, 248, 0.38);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.18));
  color: var(--cyan-bright);
  font-size: 0.9rem;
}

.prompt-note {
  margin: 10px 2px 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.55;
}

.prompt-card-compact {
  margin: -8px 0 18px;
  padding: 12px;
  border-radius: var(--radius-md);
}

.prompt-card-compact .prompt-card-head {
  margin-bottom: 8px;
}

.prompt-card-compact .prompt-support {
  font-size: 0.75rem;
}

.prompt-card-compact .prompt-composer {
  gap: 2px;
  padding: 10px 11px;
  border-radius: 12px;
}

.prompt-card-compact .prompt-text {
  font-size: 0.67rem;
  line-height: 1.42;
}

.prompt-card-compact .prompt-send {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.prompt-card-compact .prompt-copy-btn {
  margin-top: 7px;
  padding: 7px 12px;
  font-size: 0.78rem;
}

.prompt-card-compact .prompt-note {
  margin-top: 7px;
  font-size: 0.67rem;
  line-height: 1.4;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright), #3b82f6);
  color: #081018;
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.48);
}

.btn-glass {
  background: rgba(24, 27, 37, 0.85);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  border-color: var(--border-hover);
  background: rgba(34, 38, 52, 0.95);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(24, 27, 37, 0.8);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Right Column: Bright Game Showcase Console */
.hero-showcase {
  min-width: 0;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.showcase-tab {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.showcase-tab.active {
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
}

.showcase-main {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 54px rgba(56, 189, 248, 0.12);
}

.showcase-main [hidden] {
  display: none !important;
}

/* 元の img と同じ並べ方: 絵の大きさのまま・枠より広ければ枠の幅に縮める（上を合わせて下を切る） */
.showcase-main video {
  display: block;
  max-width: 100%;
  height: auto;
}

.showcase-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.03);
  transition: opacity 0.25s ease;
}

.showcase-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #e2e8f0;
}

.validation-card {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 214px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(12, 15, 22, 0.84);
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.validation-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-bright);
  margin-bottom: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.validation-card dl {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.validation-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.validation-card dt {
  color: var(--text-secondary);
}

.validation-card dd {
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.showcase-thumb {
  position: relative;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-subtle);
  background: #141720;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.showcase-thumb:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.showcase-thumb.active {
  opacity: 1;
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-thumb span {
  position: absolute;
  left: 6px;
  bottom: 5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(10, 12, 18, 0.8);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #f1f5f9;
}

/* Sections */
.section {
  padding: 84px 0;
  scroll-margin-top: 90px;
}

#ai-loop.section {
  padding-top: 56px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(22, 25, 34, 0.46), rgba(18, 19, 24, 0.18));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-desc {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 0.99rem;
}

/* AI Loop Flow Diagram */
.loop-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr auto 1fr;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 24px;
}

.loop-step {
  display: block;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 18px 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.loop-step:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
}

.loop-step.active {
  border-color: rgba(52, 211, 153, 0.6);
  background: linear-gradient(180deg, rgba(16, 42, 36, 0.65), rgba(26, 29, 39, 0.88));
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.14);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.step-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.loop-step.active .step-icon {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.42);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan);
}

.loop-step.active .step-num {
  color: var(--teal);
}

.loop-panel[hidden] {
  display: none;
}

/* Icon-Based Workflow Diagrams (No GIFs) */
.diagram-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.icon-flow-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.icon-flow-diagram.is-gates,
.icon-flow-diagram.is-fanout {
  grid-template-columns: minmax(220px, 0.72fr) auto 1.45fr;
}

.diag-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 18, 26, 0.78);
  border: 1px solid var(--border-subtle);
}

.diag-node.is-accent {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(20, 34, 48, 0.6), rgba(15, 18, 26, 0.85));
}

.diag-node strong {
  font-size: 0.98rem;
  color: var(--text-primary);
}

.diag-node span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.diag-ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.diag-ico.cyan,
.diag-ico-sm.cyan,
.pillar-ico.cyan {
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.34);
}

.diag-ico.violet,
.diag-ico-sm.violet,
.pillar-ico.violet {
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.34);
}

.diag-ico.teal,
.diag-ico-sm.teal,
.pillar-ico.teal {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.34);
}

.pillar-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.diag-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
}

.conn-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  white-space: nowrap;
}

.conn-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.35), rgba(52, 211, 153, 0.7));
}

.conn-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--teal);
}

.diag-branch-col,
.target-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diag-mini,
.target-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 18, 26, 0.78);
  border: 1px solid var(--border-subtle);
}

.diag-ico-sm {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
}

.diag-mini strong,
.target-card strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 3px;
}

.diag-mini span,
.target-card span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Compact Honest Benchmark Card */
.honest-bench-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.verdict {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.v-good {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
}

.v-even {
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.14);
}

.v-weak {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
}

/* Pop Story Workflow Panels */
.pop-chat-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.chat-bubble {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chat-bubble.is-ai {
  flex-direction: row-reverse;
}

.chat-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-avatar.human {
  background: rgba(56, 189, 248, 0.18);
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.chat-avatar.ai {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #091018;
}

.chat-body {
  background: rgba(15, 18, 26, 0.86);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px 18px;
  max-width: 600px;
}

.chat-bubble.is-ai .chat-body {
  border-color: rgba(52, 211, 153, 0.35);
  background: linear-gradient(180deg, rgba(16, 40, 34, 0.45), rgba(15, 18, 26, 0.88));
}

.chat-body p {
  margin: 0 0 8px;
  font-size: 0.96rem;
  color: var(--text-primary);
}

.chat-chip {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
}

.chat-chip.ok {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
}

.pop-tune-stage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.tune-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tune-row {
  display: grid;
  grid-template-columns: 150px 1fr 56px;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tune-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-bright);
  text-align: right;
  font-weight: 700;
}

.tune-result {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 18, 26, 0.78);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.live-pill-big {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--teal);
  margin-bottom: 8px;
}

.tune-result p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pop-checks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pop-check-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 22px 14px;
  border-radius: var(--radius-md);
  background: rgba(15, 18, 26, 0.8);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.pop-check-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.pop-check-ico.ico-cyan {
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.38);
}

.pop-check-ico.ico-teal {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.38);
}

.pop-check-ico.ico-violet {
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.38);
}

.pop-check-ico.ico-amber {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.38);
}

.pop-check-card strong {
  font-size: 0.98rem;
}

.pop-check-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Signature Tools: Tape & Debug Showcase */
.signature-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.sig-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.sig-media {
  position: relative;
  background: #0b0d12;
  border-bottom: 1px solid var(--border-subtle);
}

.tape-pin-box {
  position: absolute;
  top: 33%;
  left: 28%;
  width: 14%;
  height: 24%;
  border: 2px dashed #38bdf8;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.16);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
  pointer-events: none;
}

.tape-pin-box span {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.65);
  color: var(--cyan-bright);
  font-size: 0.68rem;
  font-weight: 700;
}

.compare-table.wide-compare {
  min-width: 780px;
}

.sig-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sig-body {
  padding: 20px 22px 24px;
}

.sig-body h3 {
  margin: 10px 0 8px;
  font-size: 1.12rem;
}

.sig-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Plain-Language Game Scale Guide */
.scale-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.scale-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.scale-card.is-great {
  border-color: rgba(52, 211, 153, 0.35);
}

.scale-card.is-ok {
  border-color: rgba(56, 189, 248, 0.3);
}

.scale-card.is-hard {
  border-color: rgba(251, 191, 36, 0.3);
}

.scale-head {
  margin-bottom: 14px;
}

.scale-card ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.scale-card li strong {
  color: var(--text-primary);
}

.raw-bench-details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.raw-bench-details summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  list-style: none;
}

.raw-bench-details summary::-webkit-details-marker {
  display: none;
}

.raw-bench-details summary::before {
  content: "▸ ";
}

.raw-bench-details[open] summary::before {
  content: "▾ ";
}

.raw-bench-details[open] summary {
  margin-bottom: 14px;
}

/* Visual Workflow Panels */
.visual-stage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 270px;
  box-shadow: var(--shadow-card);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.annotate-box {
  position: absolute;
  top: 24%;
  left: 28%;
  width: 34%;
  height: 38%;
  border: 2px dashed #f43f5e;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.12);
  box-shadow: 0 0 0 999px rgba(8, 10, 14, 0.28);
}

.annotate-tag {
  position: absolute;
  top: -26px;
  left: 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f43f5e;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.annotate-pin {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(14, 17, 24, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.live-badge-float {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 34, 28, 0.88);
  border: 1px solid rgba(52, 211, 153, 0.48);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.visual-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-feature-card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.mini-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.mini-feature-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.mini-feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.mini-code-card,
.slider-mock-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.mini-code-card pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #dbe4f0;
  overflow-x: auto;
}

.mini-code-card code {
  background: none;
  padding: 0;
}

.mock-slider-row {
  display: grid;
  grid-template-columns: 100px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.mock-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mock-thumb {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
}

/* Step 3: Visual Pixel Diff Pair + Gate Grid */
.diff-visual-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.diff-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.diff-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diff-highlight-box {
  position: absolute;
  top: 34%;
  left: 36%;
  width: 30%;
  height: 30%;
  border: 2px solid #f43f5e;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.28);
  display: grid;
  place-items: center;
}

.diff-highlight-box span {
  padding: 2px 7px;
  border-radius: 6px;
  background: #f43f5e;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.diff-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.label-ref {
  background: rgba(14, 17, 24, 0.84);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.label-fail {
  background: rgba(12, 34, 28, 0.88);
  color: var(--teal);
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.gate-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gate-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.gate-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.gate-ico.ok {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.gate-mini-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.gate-mini-card span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Step 4: Multi-Device Export Mock */
.device-showcase {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 14px;
  align-items: end;
}

.device-desktop,
.device-phone {
  border-radius: 14px;
  overflow: hidden;
  background: #0c0e14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-card);
}

.device-bar {
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border-subtle);
}

.device-desktop img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.device-phone {
  position: relative;
  border-radius: 20px;
  padding: 10px 8px 8px;
}

.phone-notch {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 8px;
}

.device-phone img {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
  border-radius: 10px;
}

.phone-pad {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 2px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.pad-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(56, 189, 248, 0.22);
  color: var(--cyan-bright);
  font-weight: 700;
}

.loop-step h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
}

.loop-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.loop-arrow {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Real Code + Doc + Gate Proof */
.code-proof-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.code-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.code-window {
  border-radius: var(--radius-md);
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gate-window {
  border-color: rgba(52, 211, 153, 0.34);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #10b981; }

.term-title {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-right: auto;
}

.code-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

.gate-pass-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
}

.code-window pre,
.cta-terminal pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.81rem;
  line-height: 1.68;
  color: #e2e8f0;
}

.code-window code,
.cta-terminal code {
  background: none;
  padding: 0;
  color: inherit;
}

.c-kw { color: #c084fc; }
.c-fn { color: #38bdf8; }
.c-ty { color: #34d399; font-weight: 700; }
.c-key { color: #7dd3fc; }
.c-ok { color: #34d399; font-weight: 700; }
.c-muted { color: #7e8ba3; }

/* AI-Native Bento */
.ai-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.ai-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.ai-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-bright);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  margin-bottom: 14px;
}

.ai-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.ai-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* Why Flix Note */
.why-flix-note {
  background: rgba(24, 28, 39, 0.72);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.why-flix-note h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--violet-soft);
}

.why-flix-note p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* Comparison Table */
.compare-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  scroll-margin-top: 90px;
}

.table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.89rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table th {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.84rem;
}

.compare-table th.is-flix {
  color: var(--cyan-bright);
}

.compare-table td.is-flix {
  color: var(--teal);
  font-weight: 600;
}

.compare-table td.is-tradeoff {
  color: #fbbf24;
  font-weight: 500;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.22);
}

.filter-btn.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
  color: var(--cyan-bright);
}

/* Bento Game Gallery (Thumbnail-First) */
.bento-gallery {
  display: grid;
  grid-template-columns: 3.7fr 2.3fr 2.3fr 3.7fr;
  gap: 18px;
}

.game-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card.card-wide {
  grid-column: span 2;
}

.game-card.card-portrait {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-gallery.is-filtered {
  grid-template-columns: repeat(3, 1fr);
}

.bento-gallery.is-filtered .game-card,
.bento-gallery.is-filtered .game-card.card-wide,
.bento-gallery.is-filtered .game-card.card-portrait {
  grid-column: span 1;
  grid-row: span 1;
}

.game-card.is-hidden {
  display: none;
}

.card-thumb {
  width: 100%;
  flex: 1;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0c0e14;
}

.card-wide .card-thumb {
  flex: 0 0 auto;
  aspect-ratio: 16 / 9.5;
}

.card-portrait .card-thumb {
  position: relative;
  flex: 1;
  aspect-ratio: auto;
  min-height: 0;
  padding: 0;
  background: #0c0e14;
}

.bento-gallery.is-filtered .card-thumb,
.bento-gallery.is-filtered .card-wide .card-thumb,
.bento-gallery.is-filtered .card-portrait .card-thumb {
  flex: 1;
  aspect-ratio: 16 / 10;
  padding: 0;
}

.card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.card-portrait .card-thumb img.is-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 0;
  box-shadow: none;
}

.bento-gallery.is-filtered .card-portrait .card-thumb img.is-portrait {
  position: static;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.18);
}

.game-card:hover .card-thumb img {
  transform: scale(1.04);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(20, 23, 31, 0.94);
}

.card-meta h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-wide .card-meta h3 {
  font-size: 1.04rem;
}

.meta-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 999px;
}

.meta-tag.tag-live {
  color: var(--teal);
  background: rgba(52, 211, 153, 0.14);
}

.genre-tag,
.card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(15, 18, 26, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
}

.card-badge.badge-live {
  color: var(--teal);
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(12, 34, 28, 0.84);
}

/* Playable Tool Demo Card (Click-to-load iframe) */
.playable-demo-card {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
}

.playable-info h3 {
  margin: 12px 0 10px;
  font-size: 1.32rem;
}

.playable-info p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.playable-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.playable-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b0d12;
  border: 1px solid var(--border-subtle);
}

.playable-stage img,
.playable-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.stage-play-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  background: rgba(10, 12, 18, 0.56);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.stage-play-overlay:hover {
  background: rgba(10, 12, 18, 0.36);
}

.play-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan-bright), #3b82f6);
  color: #081018;
  font-size: 1.25rem;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.5);
}

/* Live Demos Strip */
.live-demos-strip {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.live-demos-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.live-demos-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-chip {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.demo-chip:hover {
  background: rgba(56, 189, 248, 0.22);
  transform: translateY(-1px);
}

/* Benchmarks KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.kpi-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.gradient-cyan {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-teal {
  background: linear-gradient(135deg, #22d3ee, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-violet {
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kpi-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 9px;
  border-radius: 999px;
}

.kpi-title {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
}

.kpi-desc {
  margin: 0 0 18px;
  font-size: 0.89rem;
  color: var(--text-secondary);
}

.kpi-mini-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-bar {
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.bar-flix {
  width: var(--w);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.9), rgba(139, 92, 246, 0.85));
  color: #091018;
}

.bar-other {
  width: max(var(--w), 115px);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.kpi-spark svg {
  width: 100%;
  height: 44px;
}

.kpi-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.kpi-stat-row .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kpi-stat-row .stat-lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Detailed Benchmark Panels */
.bench-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bench-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
}

a.panel-badge:hover {
  background: rgba(56, 189, 248, 0.22);
}

.chart-group {
  margin-bottom: 20px;
}

.chart-group:last-child {
  margin-bottom: 0;
}

.chart-group.compact {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.chart-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.chart-unit {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.bar-row {
  display: grid;
  grid-template-columns: 82px 1fr 112px;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.bar-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.bar-name.is-flix {
  color: var(--text-primary);
  font-weight: 700;
}

.bar-track {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fill-flix { background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.fill-teal { background: linear-gradient(90deg, var(--cyan-bright), var(--teal)); }
.fill-violet { background: linear-gradient(90deg, var(--violet), #ec4899); }
.fill-muted { background: rgba(148, 163, 184, 0.42); }

.bar-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: right;
}

.bar-val.is-flix {
  color: var(--cyan-bright);
  font-weight: 700;
}

.bench-footnote {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bench-footnote a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Capabilities Grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.cap-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  color: var(--text-primary);
}

.cap-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Quick Start CTA Box */
.cta-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  padding: 36px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.16), transparent 55%),
    var(--bg-card-solid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.cta-left {
  max-width: 780px;
}

.cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.25;
}

.cta-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-terminal {
  border-radius: var(--radius-md);
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.prompt-card-full {
  padding: 24px;
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(56, 189, 248, 0.07);
}

.prompt-card-full .prompt-composer {
  min-height: 132px;
}

.prompt-card-full .prompt-text {
  font-size: 1rem;
}

.terminal-option {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  gap: 22px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.terminal-option-head {
  padding: 5px 0;
}

.terminal-option-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.terminal-option-head h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.terminal-option-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.cta-terminal pre {
  white-space: pre-wrap;
  word-break: break-all;
}

.copy-btn {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
}

.copy-btn.copied {
  background: rgba(52, 211, 153, 0.2);
  border-color: var(--teal);
  color: var(--teal);
}

/* Footer */
.footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-meta a:hover {
  color: var(--cyan);
}

/* Lightbox Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.84);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #171a23;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 18, 26, 0.86);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-media {
  background: #0c0e13;
}

.modal-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.modal-body {
  padding: 22px 26px 26px;
}

.modal-body h3 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
}

.modal-body p {
  margin: 0 0 18px;
  color: var(--text-secondary);
}

.modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .bar-fill,
  .btn,
  .game-card,
  .game-card img {
    transition: none;
    transform: none;
  }
  .reveal {
    opacity: 1;
  }
}

@media (min-width: 981px) and (max-height: 700px) {
  .hero {
    padding-top: 94px;
    padding-bottom: 34px;
  }
  .hero-eyebrow {
    margin-bottom: 10px;
  }
  .hero-title {
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 2.75vw, 2.55rem);
  }
  .hero-subtitle {
    margin-bottom: 16px;
    font-size: 0.86rem;
    line-height: 1.55;
  }
  .hero-ctas {
    margin-bottom: 0;
  }
  .hero-pills {
    display: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .loop-flow {
    grid-template-columns: 1fr;
  }
  .loop-arrow {
    transform: rotate(90deg);
  }
  .pop-tune-stage,
  .pop-checks-grid,
  .signature-tools,
  .scale-guide-grid,
  .icon-flow-diagram,
  .icon-flow-diagram.is-gates,
  .icon-flow-diagram.is-fanout,
  .visual-stage,
  .diff-visual-pair,
  .device-showcase,
  .code-proof-grid,
  .playable-demo-card,
  .kpi-grid,
  .bench-panels,
  .cap-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .terminal-option {
    grid-template-columns: 1fr;
  }
  .bento-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-card,
  .game-card.card-wide,
  .game-card.card-portrait,
  .bento-gallery.is-filtered .game-card,
  .bento-gallery.is-filtered .game-card.card-wide,
  .bento-gallery.is-filtered .game-card.card-portrait {
    grid-column: span 1;
    grid-row: span 1;
  }
  .card-portrait .card-thumb {
    min-height: 0;
    aspect-ratio: 9 / 14;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 98px 0 44px;
  }
  .hero-eyebrow {
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .validation-card {
    position: static;
    width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(52, 211, 153, 0.3);
  }
  .showcase-caption {
    top: 10px;
    bottom: auto;
  }
  .showcase-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-gallery,
  .ai-bento {
    grid-template-columns: 1fr;
  }
  .br-desktop {
    display: none;
  }
  .github-label {
    display: none;
  }
  .github-btn > svg {
    margin-right: 10px;
  }
  .version-pill,
  .cta-terminal .term-title {
    display: none;
  }
  .cta-box {
    padding: 24px;
  }
  .btn.star-cta {
    grid-template-columns: auto 1fr auto;
    width: 100%;
  }
  .cta-links .btn {
    width: 100%;
  }
  .prompt-card,
  .prompt-card-full {
    padding: 14px;
  }
  .prompt-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .prompt-badges {
    justify-content: flex-start;
  }
  .prompt-composer {
    padding: 12px;
  }
  .prompt-text,
  .prompt-card-full .prompt-text {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }
  .prompt-card-full .prompt-composer {
    min-height: 0;
  }
  .terminal-option {
    gap: 14px;
  }
  .cta-terminal pre {
    font-size: 0.68rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.showcase-link {
  display: contents;
}
.showcase-link[href] > img,
.showcase-link[href] > video {
  cursor: pointer;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(14, 17, 24, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  color: #e1e9f4;
  font-size: 0.85rem;
  line-height: 1.5;
}
.consent-banner p {
  margin: 0;
  flex: 1;
}
.consent-banner a {
  color: #38bdf8;
}
.consent-actions {
  display: flex;
  gap: 8px;
}
.consent-actions button {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.consent-actions .consent-accept {
  border-color: transparent;
  background: linear-gradient(135deg, #22d3ee, #60a5fa);
  color: #071018;
}
@media (max-width: 520px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .github-btn .star-count {
    display: none;
  }
}
