:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-alt: #07111f;
  --surface: #0f172a;
  --surface-raised: #111c33;
  --surface-muted: #111827;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-strong: #e2e8f0;
  --soft: #1e293b;
  --line: rgba(148, 163, 184, 0.22);
  --primary: #2dd4bf;
  --primary-dark: #14b8a6;
  --primary-soft: rgba(45, 212, 191, 0.14);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #22c55e;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.26);
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-alt: #eef6ff;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --muted-strong: #334155;
  --soft: #e2e8f0;
  --line: rgba(15, 23, 42, 0.14);
  --primary: #0f766e;
  --primary-dark: #0f766e;
  --primary-soft: rgba(15, 118, 110, 0.12);
  --accent: #0284c7;
  --accent-soft: rgba(2, 132, 199, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a:hover,
a:focus-visible {
  color: var(--primary);
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

.section {
  padding: 96px 0;
}

.section-muted {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.section-dark {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 32%), linear-gradient(135deg, #0f172a, #111827);
  color: #f8fafc;
}

.section-dark .section-heading p,
.section-dark .portfolio-card p,
.section-dark li,
.section-dark .two-column > div > p,
.section-dark .trust-item span {
  color: #cbd5e1;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 999;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(2, 6, 23, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

:root[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.86);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #020617;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a:not(.button) {
  position: relative;
}

.nav-links a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--primary);
  transition: transform 180ms ease;
}

.nav-links a:not(.button):hover::after,
.nav-links a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--primary);
  background: var(--primary-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #020617;
  font-weight: 750;
  border: 1px solid var(--primary);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  color: #020617;
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 118, 110, 0.25);
}

.button-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--primary-dark);
  color: #020617;
}

.button-small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.button-light {
  background: #f8fafc;
  color: #0f172a;
  border-color: transparent;
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--accent);
  color: #020617;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.22), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(45, 212, 191, 0.16), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero h1,
.section-heading h2,
.two-column h2,
.cta-card h2,
.prose h1 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.9rem);
  max-width: 960px;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 760px;
  font-size: clamp(1.12rem, 2.1vw, 1.35rem);
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.fine-print {
  max-width: 650px;
  margin-top: 18px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
}

.hero-console,
.hero-card {
  position: relative;
  padding: 0;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.6);
  color: #cbd5e1;
}

.console-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ef4444;
}

.console-topbar span:nth-child(2) {
  background: #f59e0b;
}

.console-topbar span:nth-child(3) {
  background: #22c55e;
}

.console-topbar strong {
  margin-left: 8px;
  font-size: 0.9rem;
}

.hero-console pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: #dbeafe;
  font-size: clamp(0.86rem, 1.5vw, 1rem);
}

.console-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 26px 26px;
}

.console-badges span,
.status-pill,
.confidence-pill,
.muted-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: #bae6fd;
  border: 1px solid rgba(186, 230, 253, 0.22);
  font-size: 0.8rem;
  font-weight: 750;
}

:root[data-theme="light"] .hero-console,
:root[data-theme="light"] .hero-card {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
}

.stats {
  padding: 28px 0 0;
  background: linear-gradient(180deg, #0f172a, var(--bg));
}

:root[data-theme="light"] .stats {
  background: linear-gradient(180deg, #e0f2fe, var(--bg));
}

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

.stat-card,
.card,
.deliverable-item,
.experience-item,
.faq-list details,
.timeline li,
.recommendation-panel,
.report-demo,
.message-card,
.trust-item,
.finding-card,
.report-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 22px;
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.two-column h2,
.cta-card h2 {
  font-size: clamp(2.25rem, 5vw, 4.35rem);
}

.section-heading p,
.two-column > div > p,
.cta-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.35rem;
}

.card h3,
.deliverable-item h3,
.portfolio-card h3,
.experience-item h3,
.finding-card h3,
.report-card h3,
.recommendation-panel h3,
.report-panel h3,
.trust-item strong {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.card p,
.deliverable-item p,
.experience-item p,
.portfolio-card p,
.faq-list p,
.report-panel p,
.recommendation-panel p,
.trust-item span,
.report-card p {
  margin: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.align-start {
  align-items: start;
}

.deliverable-list,
.experience-list,
.trust-grid {
  display: grid;
  gap: 16px;
}

.deliverable-item,
.experience-item,
.trust-item {
  padding: 24px;
}

.trust-item strong {
  display: block;
  color: #f8fafc;
}

.selector-buttons,
.filter-bar,
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selector-buttons {
  margin-top: 24px;
}

.selector-button,
.filter-button,
.report-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.selector-button:hover,
.selector-button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.report-tab:hover,
.report-tab:focus-visible {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.selector-button.active,
.filter-button.active,
.report-tab.active {
  background: var(--primary);
  color: #020617;
  border-color: var(--primary);
  font-weight: 800;
}

.recommendation-panel,
.message-card,
.report-demo {
  padding: 28px;
}

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

.panel-header .eyebrow {
  margin-bottom: 0;
}

.confidence-pill {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(45, 212, 191, 0.24);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.mini-grid strong {
  display: block;
  margin-bottom: 8px;
}

.mini-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.report-demo {
  overflow: hidden;
}

.report-tabs {
  margin-bottom: 18px;
}

.report-panel {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--surface-muted), var(--surface));
}

.report-panel h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.finding-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.finding-metrics div {
  padding: 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.finding-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1.1;
}

.finding-metrics span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.92rem;
}

.severity-chip,
.severity {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  font-weight: 850;
  font-size: 0.82rem;
}

.severity-chip.high,
.severity.high {
  background: var(--danger);
}

.severity-chip.medium,
.severity.medium {
  background: var(--warning);
  color: #111827;
}

.severity-chip.low,
.severity.low {
  background: var(--success);
  color: #052e16;
}

.report-footer-actions {
  margin-top: 18px;
}

.portfolio-grid {
  margin-top: 22px;
}

.portfolio-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.portfolio-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.sample-report-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sample-report-callout h3,
.sample-report-callout p {
  margin: 0;
}

.sample-report-callout p {
  margin-top: 6px;
  color: #cbd5e1;
}

.sample-report-callout code {
  color: #e0f2fe;
}

.intake-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.intake-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-weight: 750;
}

.intake-form input,
.intake-form select,
.intake-form textarea,
.generated-message {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus,
.generated-message:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.generated-message {
  min-height: 310px;
  resize: vertical;
  line-height: 1.55;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--primary);
  font-weight: 750;
}

.timeline {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
}

.timeline-step {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--primary);
  color: #020617;
  font-weight: 900;
}

.timeline h3 {
  margin: 0 0 6px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.experience-date {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-weight: 850;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
  font-size: 1.05rem;
}

.faq-list p {
  margin-top: 12px;
}

.cta-section {
  padding-top: 72px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 6vw, 54px);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 34%), linear-gradient(135deg, #0b1120, #0f172a);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.cta-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -130px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.36), transparent 70%);
}

.cta-card > * {
  position: relative;
}

.cta-card p {
  color: #cbd5e1;
}

.site-footer {
  padding: 38px 0;
  background: #020617;
  color: #cbd5e1;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid p {
  margin: 8px 0 0;
  color: #94a3b8;
}

.footer-grid div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #67e8f9;
}

.disclaimer {
  padding-top: 18px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.disclaimer p {
  margin: 0;
}

.page-content {
  min-height: 68vh;
  background: var(--bg);
}

.prose {
  max-width: 920px;
}

.prose h1 {
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
}

.prose h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.05rem;
}

.prose .lead {
  color: var(--muted);
  font-size: 1.25rem;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.report-meta {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 28px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.report-table th,
.report-table td {
  padding: 14px;
  border: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.report-table th {
  background: #0b1120;
  color: #f8fafc;
}

.report-table td {
  background: var(--surface);
  color: var(--muted);
}

.finding-card {
  margin: 18px 0;
  padding: 24px;
  background: var(--surface-muted);
}

.report-card {
  padding: 22px;
}

.report-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: var(--bg);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media (max-width: 1120px) {
  .nav-links {
    gap: 12px;
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .card-grid.three,
  .report-card-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .finding-metrics,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 80px;
  }

  .sample-report-callout,
  .cta-card,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 78px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-links.open,
  .nav-links.static-links {
    display: flex;
  }

  .nav-links.static-links {
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a,
  .nav-links button {
    padding: 12px;
  }

  .nav-links .button {
    margin-top: 8px;
  }

  .theme-toggle {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
  }

  .theme-toggle::after {
    content: "Theme";
    margin-left: 8px;
  }

  .static-links a:not(.button) {
    display: none;
  }

  .hero-console,
  .hero-card,
  .card,
  .deliverable-item,
  .experience-item,
  .portfolio-card,
  .faq-list details,
  .timeline li,
  .recommendation-panel,
  .report-demo,
  .message-card,
  .trust-item {
    padding: 22px;
  }

  .hero-console {
    padding: 0;
  }

  .stats-grid,
  .finding-metrics,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .report-table {
    display: block;
    overflow-x: auto;
  }

  .panel-header,
  .report-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.floating-message-builder {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 18px;
  border: 1px solid rgba(45, 212, 191, 0.44);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #020617;
  font-weight: 900;
  letter-spacing: -0.015em;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.38), 0 0 0 8px rgba(45, 212, 191, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.floating-message-builder:hover,
.floating-message-builder:focus-visible {
  color: #020617;
  transform: translateY(-3px);
  filter: saturate(1.1);
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.46), 0 0 0 10px rgba(45, 212, 191, 0.14);
}

.floating-message-builder__icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.16);
  color: #020617;
  font-size: 0.95rem;
}

:root[data-theme="light"] .floating-message-builder {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18), 0 0 0 8px rgba(15, 118, 110, 0.10);
}

@media (max-width: 760px) {
  .floating-message-builder {
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    justify-content: center;
    min-height: 52px;
  }
}
