@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #ffffff;
  --surface: #f7f7f8;
  --surface-raised: #ffffff;
  --surface-strong: #efeff0;
  --text: #111111;
  --text-secondary: #666666;
  --text-muted: #8a8a8a;
  --border: #e5e5e5;
  --border-strong: #d1d1d3;
  --brand: #0a0a0a;
  --on-brand: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.88);
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.11);
  --success: #1f8f5f;
  --danger: #bf3d3d;
  --container: 1180px;
  --reading: 760px;
  --header-height: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0f0f10;
  --surface: #171718;
  --surface-raised: #1e1e20;
  --surface-strong: #252527;
  --text: #f5f5f5;
  --text-secondary: #b7b7b7;
  --text-muted: #888888;
  --border: #2a2a2d;
  --border-strong: #3b3b3f;
  --brand: #f5f5f5;
  --on-brand: #0a0a0a;
  --header-bg: rgba(15, 15, 16, 0.88);
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.34);
  --success: #63c997;
  --danger: #ed8585;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

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

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

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

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.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;
}

.skip-link {
  position: fixed;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  z-index: 1000;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--on-brand);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-logo-dark,
.hero-wordmark-dark,
.theme-logo-dark {
  display: none;
}

:root[data-theme="dark"] .brand-logo-light,
:root[data-theme="dark"] .hero-wordmark-light,
:root[data-theme="dark"] .theme-logo-light {
  display: none;
}

:root[data-theme="dark"] .brand-logo-dark,
:root[data-theme="dark"] .hero-wordmark-dark,
:root[data-theme="dark"] .theme-logo-dark {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-color: var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: 112px;
  justify-self: start;
}

.brand-logo {
  width: 112px;
  height: 34px;
  object-fit: contain;
  object-position: right center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-nav a,
.footer-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 150ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--border-strong);
  background: var(--surface);
  transform: translateY(-1px);
}

.button {
  min-height: 48px;
  padding: 11px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  opacity: 0.88;
}

.button-secondary,
.button-compact {
  background: var(--surface-raised);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-compact:hover,
.button-compact:focus-visible {
  background: var(--surface);
  border-color: var(--border-strong);
}

.button-compact {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 14px;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  min-height: calc(100svh - 32px);
  padding: 112px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.hero-copy {
  width: min(100%, 780px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.eyebrow {
  direction: ltr;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero h1 {
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}

.hero-wordmark {
  width: min(320px, 72vw);
  height: 86px;
  object-fit: contain;
}

.hero-statement {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-description {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.product-stage {
  width: min(100%, var(--container));
  height: 430px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

.product-chrome {
  height: 100%;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  direction: ltr;
}

.product-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  direction: rtl;
}

.sidebar-brand,
.mobile-product-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sidebar-brand {
  padding: 0 7px 16px;
}

.sidebar-brand img,
.mobile-product-brand img,
.assistant-label img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.sidebar-brand strong,
.mobile-product-brand strong {
  font-size: 18px;
}

.new-chat,
.sidebar-group button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  text-align: right;
  cursor: pointer;
}

.new-chat {
  padding: 7px 10px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  font-weight: 600;
}

.new-chat:hover,
.sidebar-group button:hover {
  background: var(--surface-strong);
}

.sidebar-group,
.sidebar-history {
  margin-top: 20px;
}

.sidebar-group > span,
.sidebar-history > span {
  display: block;
  margin: 0 8px 7px;
  color: var(--text-muted);
  font-size: 12px;
}

.sidebar-group button {
  padding: 7px 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.sidebar-history p {
  margin: 0;
  padding: 7px 8px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-main {
  position: relative;
  min-width: 0;
  background: var(--background);
  direction: rtl;
}

.product-topbar {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}

.mini-menu,
.mobile-product-brand {
  display: none;
}

.conversation {
  width: min(calc(100% - 36px), var(--reading));
  height: calc(100% - 118px);
  margin: 0 auto;
  padding: 24px 0 70px;
  overflow: hidden;
}

.user-question {
  width: fit-content;
  max-width: 72%;
  margin-inline-start: auto;
  padding: 9px 14px;
  border-radius: 16px;
  background: var(--surface-strong);
  font-size: 14px;
}

.assistant-answer {
  margin-top: 18px;
}

.assistant-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.assistant-label img {
  width: 20px;
  height: 20px;
}

.assistant-answer h2 {
  margin: 12px 0 7px;
  font-size: 20px;
  font-weight: 600;
}

.assistant-answer > p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.answer-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--border);
}

.answer-points span {
  padding: 9px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 12px;
}

.answer-points span + span {
  border-inline-start: 1px solid var(--border);
}

.answer-points i {
  color: var(--text-muted);
  font-style: normal;
  font-size: 10px;
}

.inline-source {
  width: 100%;
  margin-top: 12px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 22px 1fr 20px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-raised);
  text-align: right;
  cursor: pointer;
}

.inline-source span {
  display: grid;
}

.inline-source strong {
  font-size: 12px;
}

.inline-source small {
  color: var(--text-muted);
  font-size: 10px;
}

.source-arrow {
  transition: transform 160ms ease;
}

.inline-source[aria-expanded="true"] .source-arrow {
  transform: rotate(90deg);
}

.inline-source-detail {
  display: none;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background: var(--surface);
}

.inline-source-detail.open {
  display: block;
}

.inline-source-detail strong {
  font-size: 12px;
}

.inline-source-detail p {
  margin: 2px 0 0;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.6;
}

.composer-preview {
  position: absolute;
  inset: auto 18px 14px;
  height: 48px;
  padding: 5px 6px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.composer-preview > span {
  color: var(--text-muted);
  font-size: 13px;
}

.composer-preview button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.composer-preview .send-preview {
  background: var(--brand);
  color: var(--on-brand);
  font-size: 16px;
}

.signal-strip {
  min-height: 118px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.signal-strip > div {
  padding: 25px 32px;
  display: grid;
  align-content: center;
}

.signal-strip > div + div {
  border-inline-start: 1px solid var(--border);
}

.signal-strip strong {
  font-size: 15px;
}

.signal-strip span {
  color: var(--text-secondary);
  font-size: 13px;
}

.section-shell {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 58px;
}

.section-heading h2,
.analyzer-copy h2,
.audience-copy h2,
.security-copy h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: 40px;
  font-weight: 600;
}

.section-heading > p:last-child,
.analyzer-copy > p:last-of-type,
.security-copy > p:last-child,
.final-cta p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.9;
}

.capability-list {
  border-top: 1px solid var(--border);
}

.capability {
  min-height: 190px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 52px 48px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}

.capability-index {
  color: var(--text-muted);
  font-size: 12px;
  direction: ltr;
}

.capability > svg {
  width: 32px;
  height: 32px;
}

.capability > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 42px;
}

.capability h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.capability p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.analyzer-band {
  padding: 112px max(20px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: 78px;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.analyzer-copy h2 {
  max-width: 520px;
}

.plain-checks {
  margin: 28px 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.plain-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.plain-checks svg {
  width: 18px;
  height: 18px;
  color: var(--text);
}

.analyzer-demo {
  min-height: 510px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.demo-topline {
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.demo-topline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.demo-topline small {
  color: var(--text-muted);
}

.analysis-status {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
}

.analysis-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: status-pulse 2s ease-in-out infinite;
}

.analysis-summary {
  padding: 30px 0;
}

.analysis-summary p {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.analysis-summary h3 {
  max-width: 540px;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--border);
}

.analysis-tab {
  min-height: 76px;
  padding: 10px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.analysis-tab + .analysis-tab {
  border-inline-start: 1px solid var(--border);
}

.analysis-tab span {
  color: var(--text-muted);
  font-size: 12px;
}

.analysis-tab.active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.analysis-detail {
  padding-top: 24px;
}

.analysis-detail strong {
  font-size: 18px;
}

.analysis-detail p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.sources-experience {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: 70px;
  align-items: start;
}

.source-context {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.source-context span {
  color: var(--text-muted);
  font-size: 13px;
}

.source-context p {
  margin: 14px 0 0;
  font-size: 22px;
  line-height: 1.85;
}

.source-list {
  border-top: 1px solid var(--border);
}

.source-row {
  width: 100%;
  min-height: 92px;
  padding: 18px 2px;
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: right;
  cursor: pointer;
}

.source-row span {
  display: grid;
  gap: 3px;
}

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

.source-row small {
  color: var(--text-muted);
}

.source-row svg {
  transition: transform 160ms ease;
}

.source-row[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.source-content {
  display: none;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  line-height: 1.9;
}

.source-content.open {
  display: block;
}

.audience-band {
  padding: 105px max(20px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  border-block: 1px solid var(--border);
  background: var(--brand);
  color: var(--on-brand);
}

.audience-copy h2 {
  margin: 0;
}

.audience-copy .section-label {
  color: color-mix(in srgb, var(--on-brand) 62%, transparent);
}

.audience-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.audience-columns article {
  padding: 0 26px;
}

.audience-columns article + article {
  border-inline-start: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent);
}

.audience-columns span {
  color: color-mix(in srgb, var(--on-brand) 55%, transparent);
  font-size: 12px;
  direction: ltr;
}

.audience-columns h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.audience-columns p {
  margin: 0;
  color: color-mix(in srgb, var(--on-brand) 68%, transparent);
  font-size: 14px;
  line-height: 1.8;
}

.security-section {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 52px;
}

.security-mark {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.security-mark svg {
  width: 38px;
  height: 38px;
}

.security-copy h2 {
  font-size: 34px;
}

.security-facts {
  min-width: 220px;
  display: grid;
  border-top: 1px solid var(--border);
}

.security-facts span {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

.faq-section {
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 860px;
}

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

.faq-list summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--text-muted);
  font-size: 24px;
  font-weight: 400;
  transition: transform 150ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;
  margin: -8px 0 28px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.final-cta {
  min-height: 380px;
  padding: 72px max(20px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 50px;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.final-symbol {
  width: 96px;
  height: 96px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
}

.final-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.final-cta h2 {
  margin-bottom: 8px;
}

.site-footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 62px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
}

.footer-lockup {
  width: 124px;
  height: 42px;
  object-fit: contain;
  object-position: right center;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.footer-meta p {
  margin: 0;
}

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

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

@keyframes status-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .nav-actions .button-compact {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .nav-actions {
    grid-column: 2;
  }

  .mobile-nav {
    width: min(calc(100% - 32px), 520px);
    margin: 0 auto 14px;
    padding: 8px;
    display: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-md);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    min-height: 46px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    border-radius: 7px;
    color: var(--text-secondary);
  }

  .mobile-nav a:hover {
    background: var(--surface);
    color: var(--text);
  }

  .capability > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .analyzer-band,
  .sources-experience,
  .audience-band {
    grid-template-columns: 1fr;
  }

  .analyzer-band {
    gap: 48px;
  }

  .sources-experience {
    gap: 34px;
  }

  .source-context {
    position: static;
  }

  .audience-band {
    gap: 44px;
  }

  .security-section {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .security-facts {
    grid-column: 2;
  }

  .final-cta {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .final-cta .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 56px;
  }

  body {
    font-size: 15px;
  }

  .nav-shell {
    width: calc(100% - 28px);
    gap: 10px;
  }

  .brand,
  .brand-logo {
    width: 94px;
  }

  .brand-logo {
    height: 30px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: calc(100svh - 18px);
    padding: 82px 14px 18px;
    justify-content: flex-start;
    gap: 24px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .hero-wordmark {
    width: min(230px, 62vw);
    height: 62px;
  }

  .hero-statement {
    margin-bottom: 5px;
    font-size: 22px;
  }

  .hero-description {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 9px 14px;
    font-size: 13px;
  }

  .product-stage {
    height: 350px;
    border-radius: 10px;
  }

  .product-chrome {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    display: none;
  }

  .product-topbar {
    height: 48px;
    padding: 0 12px;
  }

  .product-topbar > span {
    display: none;
  }

  .mini-menu {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
  }

  .mobile-product-brand {
    display: flex;
  }

  .mobile-product-brand img {
    width: 22px;
    height: 22px;
  }

  .mobile-product-brand strong {
    font-size: 15px;
  }

  .conversation {
    width: calc(100% - 24px);
    height: calc(100% - 102px);
    padding: 14px 0 58px;
  }

  .user-question {
    max-width: 84%;
    padding: 7px 11px;
    font-size: 12px;
  }

  .assistant-answer {
    margin-top: 12px;
  }

  .assistant-answer h2 {
    margin: 8px 0 4px;
    font-size: 16px;
  }

  .assistant-answer > p {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.65;
  }

  .assistant-label {
    font-size: 11px;
  }

  .assistant-label img {
    width: 17px;
    height: 17px;
  }

  .answer-points span {
    padding: 7px 5px;
    font-size: 9px;
  }

  .inline-source {
    margin-top: 8px;
    padding: 6px 8px;
  }

  .inline-source small,
  .inline-source-detail {
    display: none;
  }

  .composer-preview {
    inset: auto 10px 8px;
    height: 42px;
    grid-template-columns: 30px 1fr 30px;
  }

  .composer-preview button {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .composer-preview .send-preview {
    font-size: 14px;
  }

  .composer-preview > span {
    font-size: 11px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip > div {
    min-height: 82px;
    padding: 17px 20px;
  }

  .signal-strip > div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--border);
  }

  .section-shell {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .analyzer-copy h2,
  .audience-copy h2,
  .security-copy h2,
  .final-cta h2 {
    font-size: 28px;
  }

  .section-heading > p:last-child,
  .analyzer-copy > p:last-of-type,
  .security-copy > p:last-child,
  .final-cta p {
    font-size: 15px;
    line-height: 1.8;
  }

  .capability {
    min-height: auto;
    grid-template-columns: 32px 34px minmax(0, 1fr);
    gap: 13px;
  }

  .capability > svg {
    width: 25px;
    height: 25px;
  }

  .capability h3 {
    font-size: 19px;
  }

  .capability p {
    font-size: 14px;
  }

  .analyzer-band,
  .audience-band {
    padding: 76px 16px;
  }

  .analyzer-demo {
    min-height: 440px;
    padding: 18px;
  }

  .analysis-summary {
    padding: 24px 0;
  }

  .analysis-summary h3 {
    font-size: 22px;
  }

  .analysis-tab {
    min-height: 68px;
  }

  .analysis-detail strong {
    font-size: 16px;
  }

  .analysis-detail p {
    font-size: 14px;
  }

  .source-context p {
    font-size: 18px;
  }

  .source-row {
    min-height: 82px;
  }

  .source-row strong {
    font-size: 16px;
  }

  .source-row small {
    font-size: 12px;
  }

  .source-content {
    padding: 16px;
    font-size: 14px;
  }

  .audience-columns {
    grid-template-columns: 1fr;
  }

  .audience-columns article {
    padding: 22px 0;
  }

  .audience-columns article + article {
    border-inline-start: 0;
    border-top: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent);
  }

  .security-section {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
  }

  .security-mark {
    width: 58px;
    height: 58px;
  }

  .security-mark svg {
    width: 26px;
    height: 26px;
  }

  .security-facts {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .faq-list summary {
    min-height: 70px;
    font-size: 16px;
  }

  .faq-list details p {
    font-size: 14px;
  }

  .final-cta {
    min-height: 470px;
    padding: 62px 20px;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 25px;
  }

  .final-symbol {
    width: 72px;
    height: 72px;
  }

  .final-cta .button {
    grid-column: auto;
  }

  .site-footer {
    width: calc(100% - 32px);
    padding-top: 46px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    gap: 16px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    padding-inline: 8px;
    white-space: nowrap;
  }

  .product-stage {
    height: 342px;
  }

  .answer-points span {
    line-height: 1.35;
  }

  .capability {
    grid-template-columns: 24px 28px minmax(0, 1fr);
    gap: 10px;
  }

  .capability-index {
    font-size: 10px;
  }
}

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

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

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