:root {
  color-scheme: light dark;
  --background: #f3f6fa;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --primary: #155eef;
  --primary-pressed: #0f49be;
  --primary-soft: #eaf1ff;
  --card-accent-start: #155eef;
  --card-accent-end: #15803d;
  --success: #15803d;
  --success-soft: #e9f8ef;
  --warning: #b45309;
  --warning-soft: #fff2d8;
  --danger: #dc2626;
  --text-primary: #101828;
  --text-secondary: #5d6677;
  --border: #d7e0ea;
  --shadow: 0 12px 22px rgba(49, 68, 94, 0.08);
  --nav-link-state-bg: #eaf1ff;
  --nav-link-state-color: #0f49be;
  --max-width: 1160px;
  --radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b1015;
    --surface: #151b22;
    --surface-alt: #202833;
    --primary: #74a7ff;
    --primary-pressed: #9fc2ff;
    --primary-soft: #182d4b;
    --card-accent-start: #2f6fd8;
    --card-accent-end: #15803d;
    --success: #4ade80;
    --success-soft: #133323;
    --warning: #f59e0b;
    --warning-soft: #33230d;
    --danger: #f87171;
    --text-primary: #f4f7fb;
    --text-secondary: #b3becc;
    --border: #2a3542;
    --shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
    --nav-link-state-bg: #182d4b;
    --nav-link-state-color: #9fc2ff;
  }
}

html[data-theme="light"] {
  color-scheme: light;
  --background: #f3f6fa;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --primary: #155eef;
  --primary-pressed: #0f49be;
  --primary-soft: #eaf1ff;
  --card-accent-start: #155eef;
  --card-accent-end: #15803d;
  --success: #15803d;
  --success-soft: #e9f8ef;
  --warning: #b45309;
  --warning-soft: #fff2d8;
  --danger: #dc2626;
  --text-primary: #101828;
  --text-secondary: #5d6677;
  --border: #d7e0ea;
  --shadow: 0 12px 22px rgba(49, 68, 94, 0.08);
  --nav-link-state-bg: #eaf1ff;
  --nav-link-state-color: #0f49be;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --background: #0b1015;
  --surface: #151b22;
  --surface-alt: #202833;
  --primary: #74a7ff;
  --primary-pressed: #9fc2ff;
  --primary-soft: #182d4b;
  --card-accent-start: #2f6fd8;
  --card-accent-end: #15803d;
  --success: #4ade80;
  --success-soft: #133323;
  --warning: #f59e0b;
  --warning-soft: #33230d;
  --danger: #f87171;
  --text-primary: #f4f7fb;
  --text-secondary: #b3becc;
  --border: #2a3542;
  --shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
  --nav-link-state-bg: #182d4b;
  --nav-link-state-color: #9fc2ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

.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: 20;
  background: color-mix(in srgb, var(--background) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header[data-scrolled] {
  border-bottom-color: var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-menu {
  position: relative;
  display: flex;
}

.nav-menu::after {
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  display: none;
  height: 12px;
  content: "";
}

.nav-links a {
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current],
.nav-links a[data-active="true"] {
  background: var(--nav-link-state-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--nav-link-state-color);
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-menu-trigger i {
  font-size: 10px;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.nav-submenu-wide {
  min-width: 470px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-menu:hover::after,
.nav-menu:focus-within::after,
.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu {
  display: grid;
  gap: 4px;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-icon {
  width: 1em;
  line-height: 1;
  flex: 0 0 auto;
  font-size: 15px;
  text-align: center;
}

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

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 20%, transparent);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-pressed);
  border-color: var(--primary-pressed);
}

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

.button-ghost {
  min-height: 42px;
  padding: 10px 14px;
}

.button-header {
  min-height: 42px;
  padding: 10px 14px;
}

.back-button {
  width: fit-content;
  min-height: 42px;
  margin-bottom: 22px;
  padding: 10px 14px;
}

.theme-toggle {
  cursor: pointer;
}

.theme-toggle .button-icon {
  color: var(--primary);
}

.button-large {
  min-height: 54px;
  padding-inline: 20px;
  font-size: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.menu-icon {
  font-size: 19px;
  line-height: 1;
}

.menu-icon-close,
.nav-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-icon-close {
  display: inline-block;
}

.section-band,
.section-pad,
.site-footer {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section-pad {
  padding: 72px 0;
}

.hero {
  padding: 58px 0 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.02;
}

.hero h1,
.page-hero h1 {
  font-size: 58px;
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.18;
}

.hero-intro,
.section-heading p,
.proof-stack p,
.security-shell li,
.price-card p,
.feature-card p,
.workflow-steps p,
.faq-list p {
  color: var(--text-secondary);
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.hero-metrics dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dt span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 13px;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.hero-workflow {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workflow-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.workflow-brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.workflow-brand span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-brand strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.workflow-track article {
  min-height: 166px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.workflow-track i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
}

.workflow-track span {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
}

.workflow-track p {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

.chip,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.chip.warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.chip.success {
  background: var(--success-soft);
  color: var(--success);
}

.status {
  align-self: start;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

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

.section-heading p {
  max-width: 820px;
  font-size: 17px;
}

.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-steps-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-steps li,
.feature-card,
.price-card,
.proof-stack article,
.security-shell,
.faq-list details,
.insight-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workflow-steps li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 18px;
}

.workflow-steps li::before,
.feature-card::before,
.price-card::before,
.detail-card::before,
.faq-list details::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent-start), var(--card-accent-end));
  content: "";
}

.workflow-steps li::after,
.feature-card::after,
.price-card::after,
.detail-card::after,
.faq-list details::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 36%, transparent), transparent 42%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.workflow-steps span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.workflow-steps span i {
  font-size: 18px;
  line-height: 1;
}

.workflow-steps p,
.feature-card p,
.price-card p,
.proof-stack p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.feature-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max-width)) / 2));
  background: color-mix(in srgb, var(--surface-alt) 72%, transparent);
}

.compact-section {
  padding-top: 46px;
  padding-bottom: 46px;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 18px;
  color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-card h2,
.feature-card h3,
.price-card h2,
.detail-card h2,
.workflow-steps h2 {
  position: relative;
  z-index: 1;
}

.feature-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.linked-card:hover,
.linked-card:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
  box-shadow: 0 18px 36px color-mix(in srgb, var(--primary) 12%, transparent);
  transform: translateY(-2px);
}

.linked-card:hover::after,
.linked-card:focus-visible::after,
.workflow-steps li:hover::after,
.price-card:hover::after,
.detail-card:hover::after,
.faq-list details[open]::after {
  opacity: 1;
}

.feature-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.feature-icon i {
  font-size: 18px;
  line-height: 1;
}

.section-actions {
  display: flex;
  margin-top: 24px;
}

.page-hero {
  padding: 58px 0 42px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.76fr);
  gap: 44px;
  align-items: center;
}

.hero-side-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.hero-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.hero-panel-header span:not(.hero-panel-icon) {
  display: block;
  margin-bottom: 5px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel-header strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.14;
}

.hero-panel-list {
  display: grid;
  gap: 10px;
}

.hero-panel-list div,
.hero-feature-grid span,
.hero-pill-grid span,
.hero-pill-grid a,
.hero-plan-list div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.hero-panel-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-weight: 800;
}

.hero-panel-list i,
.hero-feature-grid i,
.hero-pill-grid i {
  color: var(--primary);
}

.hero-feature-grid,
.hero-pill-grid,
.hero-plan-list {
  display: grid;
  gap: 10px;
}

.hero-feature-grid,
.hero-pill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-feature-grid span,
.hero-pill-grid span,
.hero-pill-grid a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 12px;
  font-weight: 800;
}

.hero-pill-grid a {
  color: var(--text-primary);
  transition: border-color 160ms ease, transform 160ms ease;
}

.hero-pill-grid a:hover,
.hero-pill-grid a:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
  transform: translateY(-1px);
}

.hero-plan-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  align-items: baseline;
  padding: 14px;
}

.hero-plan-list span {
  font-weight: 800;
}

.hero-plan-list strong {
  color: var(--primary);
  font-size: 23px;
  line-height: 1;
}

.hero-plan-list small {
  grid-column: 1 / -1;
  color: var(--text-secondary);
  font-weight: 800;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb::before {
  content: "<";
  margin-right: 8px;
  color: var(--primary);
}

.feature-directory {
  padding-top: 34px;
}

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

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

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
  padding-top: 34px;
}

.detail-main {
  display: grid;
  gap: 18px;
}

.detail-card,
.proof-note {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}

.detail-card p,
.proof-note p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
}

.large-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 600;
}

.detail-card p:last-child,
.proof-note p:last-child {
  margin-bottom: 0;
}

.proof-note {
  position: sticky;
  top: 100px;
  background:
    linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--primary-soft) 42%, var(--surface)));
}

.proof-note h2 {
  font-size: 27px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.proof-strip span,
.typical-flow span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
}

.proof-strip i,
.typical-flow i {
  color: var(--primary);
}

.typical-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.insight-panel {
  padding: 24px;
  overflow: hidden;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.analytics-grid div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.analytics-grid span {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}

.analytics-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--text-primary);
  font-size: 25px;
  line-height: 1;
}

.heatmap-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  height: 180px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    var(--surface-alt);
  background-size: 100% 36px;
}

.heatmap-preview span {
  height: var(--level);
  min-height: 28px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 68%, var(--success) 32%);
}

.proof-stack {
  display: grid;
  gap: 18px;
}

.proof-stack article {
  padding: 24px;
}

.proof-stack .chip {
  margin-bottom: 18px;
}

.use-case-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-case-strip span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-primary);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
  outline: 3px solid color-mix(in srgb, var(--primary) 14%, transparent);
}

.plan-badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.price-card.featured .plan-badge {
  background: var(--primary);
  color: #fff;
}

.price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price strong {
  font-size: 34px;
  line-height: 1;
}

.price span,
.limit {
  color: var(--text-secondary);
  font-weight: 700;
}

.price-card .button {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.security-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 32px;
  padding: 28px;
}

.check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  content: "\f00c";
  font-family: "Font Awesome 7 Free";
  font-size: 10px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
  width: min(100% - 32px, 860px);
  margin: 0 auto;
}

.faq-list details {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 18px;
}

.faq-list summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 800;
}

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

.faq-list summary::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  content: "\2b";
  font-family: "Font Awesome 7 Free";
  font-size: 12px;
  font-weight: 900;
}

.faq-list details[open] summary::after {
  background: var(--primary);
  color: #fff;
  content: "\f068";
}

.faq-list p {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-owner {
  max-width: 760px;
  font-size: 14px;
}

.footer-owner a,
.footer-links a {
  color: var(--primary);
  font-weight: 800;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
}

.legal-document {
  max-width: 860px;
}

.legal-document a {
  color: var(--primary);
  font-weight: 800;
}

.legal-document h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 26px;
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.legal-document p {
  max-width: 76ch;
  color: var(--text-secondary);
}

.legal-updated {
  margin-top: 0;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links[data-open] {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links[data-open] a {
    padding: 13px 12px;
  }

  .nav-links[data-open] .nav-menu {
    display: grid;
  }

  .nav-links[data-open] .nav-menu-trigger {
    justify-content: space-between;
  }

  .nav-links[data-open] .nav-submenu {
    position: static;
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .nav-links[data-open] .nav-submenu-wide {
    grid-template-columns: 1fr;
  }

  .nav-links[data-open] .nav-submenu a {
    padding: 11px 12px;
    font-size: 13px;
  }

  .hero-grid,
  .page-hero-grid,
  .split-section,
  .security-shell,
  .feature-detail,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .feature-grid,
  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .typical-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-band,
  .section-pad,
  .site-footer {
    width: min(100% - 24px, var(--max-width));
  }

  .section-pad {
    padding: 50px 0;
  }

  .compact-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .hero {
    padding: 34px 0 58px;
  }

  .page-hero {
    padding: 34px 0 24px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-intro {
    font-size: 17px;
  }

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

  .button {
    width: 100%;
  }

  .hero-metrics,
  .hero-feature-grid,
  .hero-pill-grid,
  .feature-grid,
  .workflow-steps,
  .pricing-grid,
  .analytics-grid,
  .proof-strip,
  .typical-flow {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding-inline: 12px;
  }

  .heatmap-preview {
    height: 150px;
  }

  .proof-note {
    position: static;
  }

  .site-footer {
    align-items: center;
  }
}

@media (max-width: 430px) {
  .nav-shell {
    width: min(100% - 20px, var(--max-width));
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-workflow,
  .hero-side-panel,
  .workflow-steps li,
  .feature-card,
  .price-card,
  .detail-card,
  .proof-note,
  .proof-stack article,
  .security-shell,
  .faq-list details,
  .insight-panel,
  .final-cta {
    box-shadow: none;
  }

  .hero-workflow,
  .hero-side-panel,
  .insight-panel,
  .detail-card,
  .proof-note,
  .proof-stack article,
  .security-shell,
  .final-cta {
    padding: 18px;
  }
}
