@font-face {
  font-family: "Sora";
  src: url("./fonts/sora-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}
@font-face {
  font-family: "Tajawal";
  src: url("./fonts/tajawal-arabic-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Tajawal";
  src: url("./fonts/tajawal-arabic-500.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Tajawal";
  src: url("./fonts/tajawal-arabic-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Tajawal";
  src: url("./fonts/tajawal-arabic-800.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root,
[data-theme="light"] {
  --primary-rgb: 0 108 78;
  --primary: rgb(0 108 78);
  --on-primary: rgb(255 255 255);
  --primary-container: rgb(206 233 216);
  --on-primary-container: rgb(0 45 31);
  --canvas: rgb(239 241 236);
  --pane: rgb(251 253 248);
  --surface: rgb(255 255 255);
  --surface-raised: rgb(245 247 242);
  --recessed: rgb(228 230 225);
  --text: rgb(25 28 26);
  --text-secondary: rgb(64 73 68);
  --muted: rgb(96 105 99);
  --border: rgb(168 178 168 / 0.72);
  --border-soft: rgb(168 178 168 / 0.42);
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.04), 0 6px 18px rgb(15 23 42 / 0.035);
  --shadow-lg: 0 18px 55px rgb(15 23 42 / 0.09), 0 2px 8px rgb(15 23 42 / 0.04);
}

[data-theme="dark"] {
  --primary-rgb: 105 220 172;
  --primary: rgb(105 220 172);
  --on-primary: rgb(0 56 38);
  --primary-container: rgb(0 81 58);
  --on-primary-container: rgb(174 244 211);
  --canvas: rgb(17 20 18);
  --pane: rgb(25 28 26);
  --surface: rgb(29 33 30);
  --surface-raised: rgb(40 43 40);
  --recessed: rgb(12 15 13);
  --text: rgb(225 227 222);
  --text-secondary: rgb(192 201 192);
  --muted: rgb(150 160 152);
  --border: rgb(64 73 68);
  --border-soft: rgb(64 73 68 / 0.62);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.28), 0 8px 20px rgb(0 0 0 / 0.18);
  --shadow-lg: 0 24px 64px rgb(0 0 0 / 0.42), 0 3px 12px rgb(0 0 0 / 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: "Tajawal", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: "Sora", system-ui, sans-serif;
}

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

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

[data-en] {
  display: none;
}

html[lang="en"] [data-ar] {
  display: none;
}

html[lang="en"] [data-en] {
  display: inline;
}

.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: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 14px;
  font-weight: 700;
}

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

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(76px, 9vw, 128px);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--pane) 92%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.brand-icon svg {
  width: 27px;
  height: 27px;
  stroke: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  direction: ltr;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 9px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease;
}

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

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

.icon-button,
.language-button,
.menu-button {
  display: inline-grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.icon-button:hover,
.language-button:hover,
.menu-button:hover {
  border-color: var(--border);
  background: var(--surface-raised);
  color: var(--text);
}

.icon-button svg,
.menu-button svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .moon-icon,
[data-theme="dark"] .sun-icon {
  display: none;
}

.language-button {
  padding-inline: 10px;
  font-size: 11px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding-inline: 18px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

html[dir="rtl"] .button svg {
  transform: rotate(180deg);
}

.button-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 8px 22px rgb(var(--primary-rgb) / 0.16);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgb(var(--primary-rgb) / 0.23);
}

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

.button-secondary:hover,
.button-quiet:hover {
  border-color: var(--primary);
  background: var(--surface-raised);
}

.button-large {
  min-height: 50px;
  padding-inline: 22px;
  font-size: 14px;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(54px, 6vw, 82px) clamp(60px, 7vw, 94px);
}

.hero::before {
  position: absolute;
  inset-block-start: 4%;
  inset-inline-start: 48%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgb(var(--primary-rgb) / 0.065);
  filter: blur(80px);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgb(var(--primary-rgb) / 0.10);
}

.hero h1 {
  max-width: 13.8ch;
  margin: 0;
  color: var(--text);
  font-family: "Tajawal", sans-serif;
  font-size: clamp(2.75rem, 4.8vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  text-wrap: balance;
}

html[lang="en"] .hero h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.15rem);
}

.hero-description {
  max-width: 57ch;
  margin: 22px 0 0;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 19px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-proof svg {
  width: 14px;
  color: var(--primary);
}

.hero-product {
  position: relative;
  min-width: 0;
  direction: ltr;
}

.product-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.window-bar {
  display: grid;
  min-height: 46px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  padding-inline: 15px;
  background: var(--surface-raised);
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 9px;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.window-title {
  direction: ltr;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
  color: var(--primary);
  font-weight: 700;
}

.live-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.workspace-preview {
  display: grid;
  min-height: 410px;
  grid-template-columns: 48px 195px 1fr;
}

.preview-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border-right: 1px solid var(--border-soft);
  padding-block: 13px;
  background: var(--pane);
}

.mini-brand,
.rail-item {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--muted);
}

.mini-brand {
  margin-bottom: 12px;
  background: #0a0e1a;
  color: #e2e8f0;
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.rail-item svg {
  width: 15px;
  height: 15px;
}

.rail-item.active {
  background: var(--primary);
  color: var(--on-primary);
}

.preview-list {
  border-right: 1px solid var(--border-soft);
  background: var(--surface);
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px 9px;
}

.preview-heading strong,
.preview-heading small {
  display: block;
}

.preview-heading strong {
  font-size: 12px;
}

.preview-heading small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
}

.preview-heading b {
  border-radius: 10px;
  background: var(--recessed);
  padding: 3px 6px;
  color: var(--text-secondary);
  font-size: 8px;
}

.preview-search {
  display: flex;
  height: 30px;
  align-items: center;
  gap: 7px;
  margin: 4px 12px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  padding-inline: 9px;
  color: var(--muted);
  font-size: 8px;
}

.conversation {
  position: relative;
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 75px;
  border-top: 1px solid var(--border-soft);
  padding: 10px 11px;
}

.conversation.selected {
  background: rgb(var(--primary-rgb) / 0.07);
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--recessed);
  color: var(--text-secondary);
  font-family: "Sora", sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.conversation strong,
.conversation small,
.conversation em {
  display: block;
}

.conversation strong {
  font-size: 9px;
}

.conversation small {
  overflow: hidden;
  max-width: 115px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation em {
  width: fit-content;
  margin-top: 5px;
  border-radius: 8px;
  background: var(--recessed);
  padding: 2px 5px;
  color: var(--text-secondary);
  font-family: "Sora", sans-serif;
  font-size: 6px;
  font-style: normal;
}

.conversation em i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 3px;
  border-radius: 50%;
  background: var(--primary);
}

.conversation > b {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 7px;
}

.preview-chat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--canvas);
}

.chat-top {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--border-soft);
  padding-inline: 14px;
  background: var(--surface);
}

.chat-top .avatar {
  width: 30px;
  height: 30px;
}

.chat-top strong,
.chat-top small {
  display: block;
}

.chat-top strong {
  font-size: 9px;
}

.chat-top small {
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 7px;
}

.priority {
  margin-left: auto;
  border-radius: 8px;
  background: var(--primary-container);
  padding: 3px 7px;
  color: var(--on-primary-container);
  font-size: 7px;
  font-weight: 700;
}

.chat-body {
  flex: 1;
  padding: 30px 18px 18px;
}

.message {
  width: fit-content;
  max-width: 82%;
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 8px;
  line-height: 1.55;
}

.message.outbound {
  margin: 12px 0 0 auto;
  border-color: transparent;
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--surface);
  padding: 4px 7px;
  color: var(--text-secondary);
  font-size: 7px;
}

.label-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.composer {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface);
  padding-inline: 12px;
  color: var(--muted);
  font-size: 8px;
}

.composer b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
}

.floating-insight {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 165px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 10px 12px;
  box-shadow: var(--shadow-lg);
}

.insight-one {
  inset-block-start: -25px;
  inset-inline-end: -32px;
}

.insight-two {
  inset-block-end: -28px;
  inset-inline-start: -32px;
}

.insight-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 800;
}

.floating-insight small,
.floating-insight strong {
  display: block;
}

.floating-insight small {
  color: var(--muted);
  font-size: 8px;
}

.floating-insight strong {
  margin-top: 1px;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 10px;
}

.confidence-strip {
  border-block: 1px solid var(--border-soft);
  background: var(--pane);
}

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

.confidence-grid > div {
  padding: 25px 24px;
}

.confidence-grid > div + div {
  border-inline-start: 1px solid var(--border-soft);
}

.confidence-grid strong,
.confidence-grid small {
  display: block;
}

.confidence-grid strong {
  font-size: 13px;
}

.confidence-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.section-heading {
  max-width: 710px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

html[lang="en"] .section-heading h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
}

.section-heading > p:not(.kicker) {
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

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

.feature-card {
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-card.feature-wide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(190px, 0.72fr);
  align-items: center;
  gap: 22px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature-tag {
  margin: 16px 0 7px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
}

.feature-wide .feature-tag {
  margin-top: 0;
}

.feature-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.feature-card > p:last-child,
.feature-card > div > p:last-child {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.75;
}

.mini-inbox {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  background: var(--pane);
}

.mini-inbox > span {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding-inline: 10px;
}

.mini-inbox > span + span {
  border-top: 1px solid var(--border-soft);
}

.mini-inbox i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--recessed);
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.mini-inbox b {
  overflow: hidden;
  font-family: "Sora", sans-serif;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-inbox em {
  border-radius: 7px;
  background: var(--primary-container);
  padding: 2px 5px;
  color: var(--on-primary-container);
  font-family: "Sora", sans-serif;
  font-size: 6px;
  font-style: normal;
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-stack span {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
}

.metric-stack small {
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 7px;
}

.metric-stack strong {
  font-family: "Sora", sans-serif;
  font-size: 9px;
}

.metric-stack i {
  position: relative;
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--recessed);
}

.metric-stack i::after {
  position: absolute;
  inset: 0;
  width: var(--value);
  border-radius: inherit;
  background: var(--primary);
  content: "";
}

.analytics-section {
  border-block: 1px solid var(--border-soft);
  background: var(--pane);
}

.analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: clamp(50px, 7vw, 90px);
}

.sticky-copy {
  position: sticky;
  inset-block-start: 120px;
}

.check-list,
.price-features {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13px;
}

.check-list svg,
.price-features svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--primary);
}

.analytics-board {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--canvas);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}

.analytics-tabs {
  display: flex;
  gap: 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  padding: 5px 5px 13px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.analytics-tabs b {
  position: relative;
  color: var(--text);
}

.analytics-tabs b::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -14px;
  height: 2px;
  background: var(--primary);
  content: "";
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.kpi-row article,
.chart-card,
.insight-row article {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--surface);
}

.kpi-row article {
  padding: 14px;
}

.kpi-row small,
.kpi-row strong,
.kpi-row em {
  display: block;
}

.kpi-row small {
  color: var(--muted);
  font-size: 7px;
}

.kpi-row strong {
  margin-top: 5px;
  font-family: "Sora", sans-serif;
  font-size: 19px;
}

.kpi-row em {
  margin-top: 2px;
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.chart-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  margin-top: 10px;
}

.chart-card {
  min-height: 190px;
  padding: 15px;
}

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

.chart-card header strong {
  font-size: 9px;
}

.chart-card header small {
  color: var(--muted);
  font-size: 7px;
}

.bar-chart {
  display: flex;
  height: 125px;
  align-items: end;
  gap: 6px;
  margin-top: 22px;
  border-bottom: 1px solid var(--border-soft);
}

.bar-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: rgb(var(--primary-rgb) / 0.28);
}

.bar-chart i:nth-child(6),
.bar-chart i:nth-child(10) {
  background: var(--primary);
}

.donut {
  display: grid;
  width: 104px;
  height: 104px;
  margin: 22px auto 0;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0 82%, var(--recessed) 82% 100%);
}

.donut::before {
  grid-area: 1 / 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.donut span {
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
}

.donut strong,
.donut small {
  display: block;
}

.donut strong {
  font-family: "Sora", sans-serif;
  font-size: 17px;
}

.donut small {
  color: var(--muted);
  font-size: 7px;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 6px;
}

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

.legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.legend span + span i {
  background: var(--recessed);
}

.insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.insight-row article {
  display: flex;
  gap: 10px;
  padding: 13px;
}

.insight-row article > svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--primary);
}

.insight-row strong {
  display: block;
  font-size: 8px;
}

.insight-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 7px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 48px 0 0;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 0;
  background: var(--border-soft);
  list-style: none;
}

.steps-grid li {
  min-height: 260px;
  background: var(--surface);
  padding: 28px;
}

.step-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-container);
  color: var(--primary);
}

.step-icon svg {
  width: 18px;
  height: 18px;
}

.steps-grid h3 {
  margin: 62px 0 0;
  font-size: 18px;
}

.steps-grid p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.compare-section {
  border-block: 1px solid var(--border-soft);
  background: var(--pane);
}

.comparison-wrap {
  margin-top: 44px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--border-soft);
  padding: 17px 20px;
  text-align: center;
  font-size: 12px;
}

.comparison-table th:first-child {
  width: 40%;
  text-align: start;
}

.comparison-table thead th {
  background: var(--surface-raised);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
}

.comparison-table .product-column {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.comparison-table tbody th {
  color: var(--text-secondary);
  font-weight: 500;
}

.comparison-table .yes {
  color: var(--primary);
}

.comparison-table .partial {
  color: #a57800;
}

[data-theme="dark"] .comparison-table .partial {
  color: #f0c048;
}

.comparison-table .no {
  color: var(--muted);
}

.table-note {
  margin: 0;
  padding: 14px 20px;
  color: var(--muted);
  font-size: 10px;
}

.pricing-section {
  background: var(--canvas);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 20px;
  max-width: 990px;
  margin: 48px auto 0;
}

.price-card,
.cost-clarity,
.market-pricing {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.price-card {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.price-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.price-header small,
.price-header strong {
  display: block;
}

.price-header small {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
}

.price-header strong {
  margin-top: 6px;
  font-size: 17px;
}

.recommended {
  border-radius: 9px;
  background: var(--primary-container);
  padding: 5px 8px;
  color: var(--on-primary-container);
  font-size: 9px;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: end;
  gap: 13px;
  margin-top: 28px;
}

.price > strong {
  direction: ltr;
  font-family: "Sora", sans-serif;
  font-size: 58px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price sup {
  position: relative;
  top: -18px;
  margin-right: 3px;
  font-size: 22px;
}

.price > span {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.price-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.price-features {
  margin-top: 27px;
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
}

.price-cta {
  width: 100%;
  margin-top: 27px;
}

.cost-clarity h3,
.market-pricing h3 {
  margin: 0;
  font-size: 18px;
}

.cost-clarity article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-block: 20px;
}

.cost-clarity article:first-of-type {
  margin-top: 16px;
}

.cost-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-container);
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-size: 8px;
  font-weight: 800;
}

.cost-clarity strong {
  display: block;
  font-size: 13px;
}

.cost-clarity p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.market-pricing {
  max-width: 990px;
  margin: 20px auto 0;
}

.market-pricing > div:first-child {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.market-pricing > div:first-child p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.pricing-models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 25px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--border-soft);
}

.pricing-models article {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  background: var(--surface-raised);
  padding: 18px;
}

.pricing-models strong,
.pricing-models span,
.pricing-models small {
  display: block;
}

.pricing-models strong {
  font-family: "Sora", sans-serif;
  font-size: 13px;
}

.pricing-models span {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
}

.pricing-models small,
.pricing-models a {
  margin-top: auto;
  color: var(--muted);
  font-size: 8px;
}

.pricing-models a {
  color: var(--primary);
  font-weight: 700;
}

.source-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 9px;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 8vw, 110px);
}

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

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

.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary i {
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  transition: transform 180ms ease;
}

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

.faq-list details p {
  margin: -5px 0 24px;
  padding-inline-end: 42px;
  color: var(--text-secondary);
  font-size: 13px;
}

.final-cta {
  padding-block: 58px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
  line-height: 1.15;
}

.cta-panel p:not(.kicker) {
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  flex: none;
  gap: 10px;
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--pane);
  padding-block: 44px 24px;
}

.footer-grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid > div > p {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
}

.footer-grid nav a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  color: var(--muted);
  font-size: 10px;
}

.reveal {
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

@media (max-width: 1050px) {
  .hero-grid,
  .analytics-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .hero-product {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .sticky-copy {
    position: static;
  }

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

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

  .confidence-grid > div:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--border-soft);
  }

  .confidence-grid > div:nth-child(4) {
    border-top: 1px solid var(--border-soft);
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .sign-in-link {
    display: none;
  }

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

  .mobile-menu {
    display: none;
    background: var(--pane);
  }

  .mobile-menu.open {
    display: grid;
    border-top: 1px solid var(--border-soft);
  }

  .mobile-menu a {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
    border-bottom: 1px solid var(--border-soft);
    padding-block: 13px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
  }

  .feature-grid,
  .pricing-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .feature-card.feature-wide {
    grid-template-columns: auto 1fr;
  }

  .feature-card.feature-wide > :last-child {
    grid-column: 1 / -1;
  }

  .pricing-models {
    grid-template-columns: 1fr 1fr;
  }

  .market-pricing > div:first-child {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-panel {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding-block: 72px;
  }

  .nav-shell {
    min-height: 64px;
  }

  .hero {
    padding-block-start: 58px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.5rem);
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .workspace-preview {
    min-height: 360px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .preview-chat {
    display: none;
  }

  .preview-list {
    border-right: 0;
  }

  .insight-one {
    inset-block-start: -23px;
    inset-inline-end: 10px;
  }

  .insight-two {
    inset-block-end: -28px;
    inset-inline-start: 10px;
  }

  .floating-insight {
    min-width: 145px;
  }

  .confidence-grid,
  .feature-grid,
  .steps-grid,
  .kpi-row,
  .chart-row,
  .insight-row,
  .pricing-models {
    grid-template-columns: 1fr;
  }

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

  .feature-card.feature-wide {
    grid-template-columns: 1fr;
  }

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

  .analytics-board {
    margin-inline: -5px;
    padding: 12px;
  }

  .steps-grid li {
    min-height: auto;
  }

  .steps-grid h3 {
    margin-top: 34px;
  }

  .comparison-wrap {
    margin-inline: -4px;
  }

  .price-card,
  .cost-clarity,
  .market-pricing {
    padding: 22px;
  }

  .pricing-models article {
    min-height: 122px;
  }

  .footer-grid,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .footer-grid nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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