:root,
:root[data-theme="light"] {
  --bg: #FAFAFB;
  --surface: #FFFFFF;
  --ink: #0F0F13;
  --secondary: #63636E;
  --accent: #E11D48;
  --soft: #F1F2F6;
  --soft-alt: #F1F2F6;
  --dark: #09090B;
  --line: #dedee3;
  --panel-border: transparent;
  --section-border: transparent;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  --report-border: rgba(255, 255, 255, 0.08);
  --report-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  --green: #248A3D;
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09090B;
    --surface: #141418;
    --ink: #FFFFFF;
    --secondary: #9A9AA6;
    --accent: #FF3366;
    --soft: #141418;
    --soft-alt: #0D0D11;
    --dark: #09090B;
    --line: #262630;
    --panel-border: #262630;
    --section-border: #262630;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --report-border: #2A2A36;
    --report-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    --green: #34C759;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #09090B;
  --surface: #141418;
  --ink: #FFFFFF;
  --secondary: #9A9AA6;
  --accent: #FF3366;
  --soft: #141418;
  --soft-alt: #0D0D11;
  --dark: #09090B;
  --line: #262630;
  --panel-border: #262630;
  --section-border: #262630;
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --report-border: #2A2A36;
  --report-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  --green: #34C759;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s ease, color 0.2s ease;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

a, button, summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

/* Site Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.brand {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.7px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.brand svg.brand-app-icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border-radius: 7px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  display: inline-block;
}

.brand-dot {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
  transition: color 0.15s ease;
}

nav a:hover, .text-link:hover, footer a:hover {
  color: var(--accent);
}

.nav-cta {
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
  color: var(--ink) !important;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-block: 80px 88px;
  align-items: center;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.6;
}

.status-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 2px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(58px, 6.3vw, 88px);
  letter-spacing: -5px;
  line-height: 1.02;
  font-weight: 750;
  margin-bottom: 28px;
}

h1 span, .privacy-section h2 span {
  color: var(--accent);
}

.intro {
  color: var(--secondary);
  max-width: 430px;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--ink);
  color: var(--bg);
}

.text-link {
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.fine-print {
  font-size: 11px;
  color: var(--secondary);
  margin: 20px 0 0;
  line-height: 1.7;
}

.hero-visual {
  background: var(--soft);
  border: 1px solid var(--panel-border);
  padding: 24px 32px;
  border-radius: 20px;
  position: relative;
  transition: all 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.visual-topline, .visual-bottomline {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--secondary);
  gap: 16px;
}

.report {
  margin: 28px 0;
  background: var(--dark);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius);
  transform: rotate(-3deg);
  border: 1px solid var(--report-border);
  box-shadow: var(--report-shadow);
  transition: all 0.2s ease;
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.small-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.sample-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--secondary);
  border: 1px solid currentColor;
  padding: 4px 7px;
  white-space: nowrap;
}

.report .sample-label {
  color: #9A9AA6;
}

.report-kicker {
  font-size: 12px;
  color: #9A9AA6;
  margin-bottom: 8px;
}

.hero-number {
  font-size: 64px;
  letter-spacing: -3px;
  line-height: 1.1;
  font-weight: 700;
}

.hero-number > span {
  display: block;
  font-size: 11px;
  color: #9A9AA6;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 8px;
}

.bar-chart {
  height: 120px;
  display: flex;
  gap: 8px;
  align-items: end;
  margin-top: 32px;
}

.bar-chart i {
  height: var(--height);
  background: #1F1F26;
  flex: 1;
  min-width: 0;
  border-radius: 3px 3px 0 0;
}

.bar-chart .current {
  background: #FF3366;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #9A9AA6;
  letter-spacing: 1px;
  margin-top: 10px;
}

.report-bottom {
  border-top: 1px solid #1F1F26;
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.metric-label {
  font-size: 10px;
  color: #9A9AA6;
  display: block;
}

.report-bottom strong {
  font-size: 24px;
  letter-spacing: -1px;
}

.report-note {
  font-size: 9px;
  color: #9A9AA6;
  line-height: 1.7;
  text-align: right;
}

/* Trust Strip */
.trust-strip {
  border-block: 1px solid var(--line);
}

.trust-strip > .wrap {
  display: flex;
  justify-content: space-between;
  padding-block: 24px;
  font-size: 12px;
  font-weight: 600;
}

.trust-strip span:before {
  content: '✓';
  color: var(--accent);
  margin-right: 12px;
}

/* Sections */
.section {
  padding-block: 104px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 96px;
  align-items: end;
}

.section-heading > .eyebrow {
  grid-column: 1 / -1;
}

.section-heading > p:last-child {
  max-width: 400px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.section-heading h2 {
  margin-bottom: 0;
}

h2 {
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.02em;
  font-feature-settings: "kern" 1;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.steps article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.step-number {
  font-size: 12px;
  color: var(--accent);
}

h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 20px 0 12px;
}

.steps p, .privacy-copy p {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* Explore Section */
.explore-section {
  background: var(--soft-alt);
  border-block: 1px solid var(--section-border);
  padding-block: 88px;
  transition: all 0.2s ease;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.explore-copy > p:not(.eyebrow):not(.fine-print) {
  color: var(--secondary);
  max-width: 370px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.feature-list li {
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li:before {
  content: '↗';
  color: var(--accent);
  margin-right: 12px;
}

.interactive-report {
  background: var(--surface);
  border: 1px solid var(--panel-border);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: all 0.2s ease;
}

.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 0;
}

.report-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
  gap: 24px;
}

.report-tabs button {
  min-height: 48px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  font-size: 12px;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.15s ease;
}

.report-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.demo-caption {
  color: var(--secondary);
  font-size: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.demo-metric span {
  display: block;
  font-size: 12px;
}

.demo-metric strong {
  display: block;
  font-size: 54px;
  letter-spacing: -2px;
  line-height: 1.3;
  margin-top: 8px;
}

.ratio-bar {
  height: 6px;
  background: var(--soft);
  margin-top: 20px;
}

.ratio-bar span {
  display: block;
  height: 100%;
  width: 74%;
  background: var(--accent);
}

.ratio-label {
  display: flex;
  justify-content: space-between;
  color: var(--secondary);
  font-size: 10px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 12px;
  align-items: center;
}

.data-row strong {
  font-size: 18px;
}

.demo-footnote {
  color: var(--secondary);
  font-size: 10px;
  line-height: 1.7;
  margin: 20px 0 0;
}

/* Privacy Section */
.privacy-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}

.privacy-copy .large-copy {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 400px;
}

.privacy-row {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 24px;
}

.privacy-row > span {
  color: var(--accent);
  font-size: 11px;
  padding-top: 4px;
}

.privacy-row h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

/* FAQ Section */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding-block: 24px 104px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 60px;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 20px;
  top: 14px;
  font-weight: 400;
}

details[open] summary:after {
  content: '−';
}

.faq-list details p {
  font-size: 13px;
  color: var(--secondary);
  padding: 0 24px 20px 0;
  margin: 0;
  line-height: 1.8;
}

/* Download / Platforms Section */
.download-section {
  background: var(--dark);
  border-top: 1px solid var(--section-border);
  color: #fff;
  padding-block: 80px;
}

.download-content {
  text-align: center;
}

.download-content .eyebrow {
  color: #9A9AA6;
}

.download-content h2 {
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -0.025em;
}

.download-content > p:not(.eyebrow) {
  color: #9A9AA6;
  font-size: 15px;
}

.platforms {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px auto 20px;
}

.platforms > div, .platform-card {
  border: 1px solid #37373e;
  border-radius: 12px;
  min-width: 260px;
  text-align: left;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.platform-icon-android {
  background: #16161C;
  border: 1px solid #2C2C36;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A9AA6;
}

.platform-meta {
  flex: 1;
}

.platform-name {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.platforms > div > span:last-child, .platform-meta > span:last-child {
  font-size: 11px;
  color: #9A9AA6;
}

.download-content .download-note {
  font-size: 10px !important;
}

/* Footer & Theme Picker */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

footer .brand {
  font-size: 26px;
}

footer .brand svg.brand-app-icon {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 6px;
}

footer p {
  font-size: 11px;
  color: var(--secondary);
  margin: 0;
  flex: 1;
}

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

.footer-lang-wrapper {
  position: relative;
  display: inline-flex;
}

.footer-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 28px;
}

.footer-lang-btn:hover,
.footer-lang-btn[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--surface);
}

.footer-lang-btn .lang-globe-icon {
  width: 12px;
  height: 12px;
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-lang-btn .lang-chevron-icon {
  width: 10px;
  height: 10px;
  color: var(--secondary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.footer-lang-btn[aria-expanded="true"] .lang-chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 195px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: langDropdownIn 0.15s ease-out;
}

[data-theme="dark"] .lang-dropdown {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.lang-dropdown[hidden] {
  display: none !important;
}

@keyframes langDropdownIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: var(--soft);
  outline: none;
}

.lang-option.active {
  background: var(--soft);
  font-weight: 700;
  color: var(--accent);
}

.lang-check-icon {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  opacity: 0;
  flex-shrink: 0;
  margin-left: 8px;
}

.lang-option.active .lang-check-icon {
  opacity: 1;
}

.footer-theme {
  display: inline-flex;
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  border-radius: 16px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-chip:hover {
  color: var(--ink);
}

.theme-chip.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.theme-chip svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}

footer > span, footer > a:last-child {
  font-size: 10px;
  color: var(--secondary);
}

footer > a:last-child {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  padding: 12px;
}

.skip-link:focus {
  top: 12px;
}

/* Footer legal links */
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
}

/* Legal & support pages (privacy.html, support.html, 404.html) */
.legal {
  max-width: 720px;
  padding-block: 72px 96px;
}

.legal h1 {
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -2.5px;
  margin-bottom: 16px;
}

.legal .updated {
  color: var(--secondary);
  font-size: 13px;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 48px 0 12px;
}

.legal p,
.legal li {
  color: var(--secondary);
}

.legal ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--ink);
}

.legal a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .button {
  margin-top: 8px;
}

/* ==========================================================================
   Executive Cockpit Card (Hero Section)
   ========================================================================== */
.cockpit-card {
  margin: 20px 0;
  background: var(--surface);
  color: var(--ink);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

[data-theme="light"] .cockpit-card {
  background: #FFFFFF;
  border-color: #E2E2E8;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .cockpit-card {
  background: #101014;
  border-color: #24242E;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.cockpit-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cockpit-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #FF5280, #FF3366, #C71038);
  padding: 2px;
  flex-shrink: 0;
}

.avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #FF3366;
  opacity: 0.5;
}

.avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

[data-theme="dark"] .avatar-initials {
  background: #181820;
  color: #FFFFFF;
}

.cockpit-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cockpit-handle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cockpit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cockpit-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.7);
  display: inline-block;
}

.cockpit-os-tag {
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--soft-alt);
  border: 1px solid var(--line);
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* Gauge Centerpiece */
.cockpit-gauge-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.cockpit-radial-gauge {
  position: relative;
  width: 104px;
  height: 104px;
  flex-shrink: 0;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: var(--soft-alt);
  stroke-width: 9;
}

[data-theme="dark"] .gauge-bg {
  stroke: #1D1D26;
}

.gauge-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.gauge-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.gauge-score {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.gauge-max {
  font-size: 10px;
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, monospace;
  margin-top: 2px;
}

.cockpit-gauge-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.gauge-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--secondary);
  text-transform: uppercase;
}

.gauge-grade {
  font-size: 15px;
  font-weight: 700;
  color: #34C759;
  letter-spacing: -0.3px;
}

.gauge-sub {
  font-size: 11px;
  line-height: 1.4;
  color: var(--secondary);
}

/* Core Metrics Grid */
.cockpit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
  min-width: 0;
}

.cockpit-metric-cell {
  background: var(--soft-alt);
  border: 1px solid var(--line);
  padding: 12px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.metric-cell-label {
  font-size: 10px;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-cell-val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.metric-cell-sub {
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.status-positive {
  color: #34C759;
}

.status-negative {
  color: #FF3366;
}

.status-blue {
  color: #0095F6;
}

.status-amber {
  color: #FFB800;
}

/* Interactive Box & Pills */
.cockpit-interactive-box {
  background: var(--soft-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.cockpit-pills-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
  max-width: 100%;
}

.cockpit-pills-bar::-webkit-scrollbar {
  display: none;
}

.cockpit-pill {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.cockpit-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cockpit-pill.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

[data-theme="dark"] .cockpit-pill.active {
  background: #FFFFFF;
  color: #09090B;
  border-color: #FFFFFF;
}

.cockpit-detail-panel {
  margin-top: 10px;
  padding: 6px 4px 2px;
}

.cockpit-detail-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.detail-lead {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.detail-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}

.cockpit-detail-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--secondary);
  margin-top: 6px;
}

.cockpit-footer-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: var(--secondary);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Follower Archaeology & Cohorts (Explore Section Tab 1)
   ========================================================================== */
.archaeology-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.archaeology-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.archaeology-hint {
  font-size: 10px;
  color: var(--secondary);
}

.cohort-histogram {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 16px;
}

.cohort-column {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cohort-bar-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.cohort-bar-btn {
  width: 100%;
  height: var(--bar-height);
  min-height: 8px;
  background: var(--soft-alt);
  border: 1px solid var(--line);
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.cohort-bar-btn:hover,
.cohort-bar-btn:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.cohort-bar-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.4);
  transform: scaleY(1.05);
  transform-origin: bottom;
}

.cohort-bar-btn.peak {
  border-top: 2px solid #FF3366;
}

.cohort-label {
  font-size: 9px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--secondary);
  margin-top: 6px;
  white-space: nowrap;
}

.cohort-callout {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--soft-alt);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink);
  transition: all 0.2s ease;
}

/* ==========================================================================
   Diff Engine & Departed Teaser (Explore Section Tab 2)
   ========================================================================== */
.diff-delta-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.diff-range-tag {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--soft-alt);
  border: 1px solid var(--line);
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, monospace;
  white-space: nowrap;
}

.diff-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.diff-card {
  background: var(--soft-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.diff-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diff-card-label {
  font-size: 11px;
  color: var(--secondary);
  font-weight: 600;
}

.diff-card-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.diff-card-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.2;
}

.diff-card-sub {
  font-size: 10px;
  color: var(--secondary);
}

.departed-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.departed-filter-group {
  display: flex;
  gap: 4px;
}

.departed-chip {
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.departed-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.departed-chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

[data-theme="dark"] .departed-chip.active {
  background: #FFFFFF;
  color: #09090B;
  border-color: #FFFFFF;
}

.departed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.departed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--soft-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.departed-row[hidden] {
  display: none !important;
}

.departed-row-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.departed-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.departed-handle {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.departed-meta {
  font-size: 10px;
  color: var(--secondary);
  display: block;
}

.departed-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid currentColor;
}

.paywall-teaser-card {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: rgba(255, 51, 102, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.paywall-teaser-copy strong {
  display: block;
  font-size: 11px;
  color: var(--ink);
}

.paywall-teaser-copy p {
  font-size: 10px;
  color: var(--secondary);
  margin-top: 2px;
  line-height: 1.4;
}

/* ==========================================================================
   Story Share Cards Showcase (Section 03)
   ========================================================================== */
.story-showcase-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  padding-block: 104px;
}

.story-controls {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-template-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.story-template-btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-template-btn:hover {
  border-color: var(--accent);
}

.story-template-btn.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(255, 51, 102, 0.3);
}

.story-feature-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
}

/* 9:16 Vertical Story Frame */
.story-card-wrapper {
  display: flex;
  justify-content: center;
}

.story-card-frame {
  width: 310px;
  aspect-ratio: 9 / 16;
  background: #09090B;
  color: #FFFFFF;
  border-radius: 36px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.story-card-frame::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.story-card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.story-brand-dot {
  color: #FF3366;
}

.story-card-template {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 0 12px;
  animation: storyFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card-template[hidden] {
  display: none !important;
}

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

.story-card-badge-top {
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #FF3366;
  text-transform: uppercase;
  border: 1px solid rgba(255, 51, 102, 0.4);
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

/* Template 1 Triad */
.story-triad-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}

.story-radial-gauge {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.4));
}

.story-gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 6;
}

.story-gauge-fill {
  fill: none;
  stroke: #FF3366;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.story-gauge-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}

.story-radial-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, monospace;
  line-height: 1;
}

.story-radial-sub {
  font-size: 13px;
  font-weight: 600;
  color: #9A9AA6;
  font-family: ui-monospace, SFMono-Regular, monospace;
  margin-top: 10px;
}

.story-radial-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #9A9AA6;
  text-transform: uppercase;
}

.story-radial-status {
  font-size: 13px;
  font-weight: 700;
  color: #34C759;
  margin-top: 4px;
}

.story-triad-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}

.story-stat-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.story-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.story-stat-txt {
  font-size: 9px;
  color: #9A9AA6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.story-card-bottom {
  font-size: 8px;
  letter-spacing: 1px;
  color: #9A9AA6;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

/* Template 2 Archetype */
.story-archetype-center {
  text-align: center;
  margin: 16px 0;
}

.archetype-crown-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.archetype-title {
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.archetype-sub {
  font-size: 11px;
  color: #34C759;
  font-weight: 600;
  display: block;
}

.archetype-quote {
  font-size: 11px;
  line-height: 1.5;
  color: #9A9AA6;
  font-style: italic;
  margin-top: 12px;
  padding: 0 10px;
}

.story-archetype-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

/* Template 3 Capsule */
.story-capsule-center {
  text-align: center;
  margin: 16px 0;
}

.capsule-hourglass-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.capsule-title {
  font-size: 22px;
  letter-spacing: -0.8px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.capsule-vintage-pill {
  font-size: 10px;
  color: #FFB800;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.3);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  font-weight: 600;
}

.story-capsule-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

/* Responsive Queries */
@media (min-width: 1500px) {
  .hero {
    padding-block: 104px;
  }
  .hero-visual {
    padding: 32px 40px;
  }
}

@media (max-width: 1000px) {
  .wrap {
    width: min(calc(100% - 48px), 840px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
    padding: 20px;
  }
  nav > a:not(.nav-cta) {
    display: none;
  }
  h1 {
    letter-spacing: -3px;
  }
  .report {
    padding: 24px;
  }
  .hero-actions {
    gap: 12px;
  }
  .button {
    gap: 16px;
  }
  .section-heading, .explore-grid, .privacy-section, .faq-section {
    gap: 48px;
  }
  .steps {
    gap: 24px;
  }
  .hero-number {
    font-size: 54px;
  }
  .visual-bottomline {
    font-size: 7px;
  }
  .demo-heading {
    flex-wrap: wrap;
  }
  .interactive-report {
    padding: 24px;
  }
  .report-tabs {
    gap: 16px;
  }
  .story-showcase-section {
    gap: 48px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 32px), 640px);
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-header {
    height: 84px;
  }
  nav {
    gap: 20px;
  }
  nav > a:not(.nav-cta) {
    display: none;
  }
  .brand {
    font-size: 26px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 40px;
    max-width: 100%;
  }
  .hero-copy {
    max-width: 100%;
  }
  h1 {
    font-size: clamp(36px, 9.5vw, 48px);
    letter-spacing: -1.8px;
    line-height: 1.08;
    word-break: break-word;
  }
  .intro {
    font-size: 16px;
    max-width: 100%;
  }
  .hero-visual {
    max-width: 100%;
    width: 100%;
    margin: auto;
    padding: 14px 10px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .report {
    margin-block: 24px;
  }
  .hero-number {
    font-size: 60px;
  }
  .trust-strip > .wrap {
    flex-direction: column;
    gap: 8px;
    padding-block: 20px;
    font-size: 11px;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading, .explore-grid, .privacy-section, .faq-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-heading > .eyebrow {
    margin-bottom: 0;
  }
  .section-heading h2 {
    margin-bottom: 0;
  }
  .section-heading > p:last-child {
    margin: 0;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0 16px;
    padding-top: 20px;
  }
  .step-number {
    padding-top: 4px;
  }
  .steps h3 {
    margin: 0 0 8px;
  }
  .steps p {
    grid-column: 2;
  }
  .explore-section {
    padding-block: 64px;
  }
  .interactive-report {
    margin-top: 12px;
    padding: 24px;
  }
  .privacy-section {
    gap: 16px;
  }
  .privacy-copy .large-copy {
    font-size: 20px;
  }
  .faq-section {
    padding-block: 0 64px;
    gap: 12px;
  }
  h2 {
    font-size: 40px;
    letter-spacing: -0.02em;
  }
  .download-section {
    padding-block: 64px;
  }
  .platforms {
    flex-direction: column;
    max-width: 360px;
  }
  .platforms > div, .platform-card {
    min-width: 0;
  }
  .download-content h2 {
    font-size: 48px;
  }
  .download-content > p:not(.eyebrow) {
    font-size: 14px;
  }
  footer {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 24px;
  }
  footer p {
    flex-basis: 100%;
  }
  .footer-controls {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    margin-block: 4px;
  }
  footer .brand {
    font-size: 25px;
  }
  .report-note {
    font-size: 9px;
  }
  .visual-topline,
  .visual-bottomline {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .story-showcase-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 64px;
  }
  .story-controls {
    align-items: flex-start;
  }
  .cockpit-card {
    padding: 16px 12px;
    margin: 14px 0;
  }
  .cockpit-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .cockpit-user {
    gap: 8px;
  }
  .cockpit-handle {
    font-size: 13px;
  }
  .cockpit-badge {
    font-size: 10px;
  }
  .cockpit-os-tag {
    display: none;
  }
  .cockpit-gauge-container {
    gap: 14px;
  }
  .cockpit-radial-gauge {
    width: 88px;
    height: 88px;
  }
  .gauge-score {
    font-size: 26px;
  }
  .cockpit-metrics-grid {
    gap: 6px;
  }
  .cockpit-metric-cell {
    padding: 10px 6px;
  }
  .metric-cell-label {
    font-size: 9px;
  }
  .metric-cell-val {
    font-size: 16px;
  }
  .metric-cell-sub {
    font-size: 9px;
  }
  .diff-matrix-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cohort-histogram {
    height: 100px;
    gap: 4px;
  }
  .cohort-label {
    font-size: 8px;
  }
  .cohort-callout {
    font-size: 11px;
  }
  .story-card-frame {
    width: 290px;
    padding: 24px 20px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 56px;
  }
  .hero-visual {
    padding: 16px;
  }
  .cockpit-metrics-grid {
    grid-template-columns: 1fr;
  }
  .diff-matrix-grid {
    grid-template-columns: 1fr;
  }
  .story-card-frame {
    width: 100%;
    max-width: 280px;
    padding: 20px 16px;
  }
  .hero-number {
    font-size: 52px;
  }
  .report {
    padding: 20px;
  }
  .demo-heading {
    gap: 8px;
  }
  .report-tabs button {
    font-size: 11px;
  }
  .visual-topline, .visual-bottomline {
    letter-spacing: 0.6px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
