/* ============================================================
   SwitchTasker — marketing site
   Tokens → base → layout → components → responsive
   ============================================================ */

:root {
  color-scheme: light;

  /* Ink is the wordmark's own navy, so type on the page and type in the logo are the
     same colour rather than two near-blacks that almost match. 19.6:1 on white. */
  --ink: #000A28;
  --muted: rgba(0, 10, 40, 0.68);
  --faint: rgba(0, 10, 40, 0.46);

  --paper: #ffffff;
  --band: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --line: rgba(0, 10, 40, 0.1);
  --line-strong: rgba(0, 10, 40, 0.2);

  /* The logo's own colours. Fills and gradients only: at 3.3:1 on --paper they are
     legible as large shapes with white on top, and unreadable as body text. */
  --brand-blue: #0A50FA;
  --brand-violet: #6E32FA;

  /* On white the brand colours are readable as text in their own right — 5.93:1 and
     6.00:1 — so the accent *is* the brand, with none of the lifting the dark ground
     needed. That is the main reason this theme suits the logo as supplied. */
  --accent: var(--brand-blue);
  --accent-2: var(--brand-violet);
  --accent-soft: rgba(110, 50, 250, 0.09);
  --danger: #dc2626;
  --warn: #b45309;

  --btn-ink: #ffffff;
  /* On white a shadow is a hint, not a void. Tinted with the ink navy rather than
     black, so it reads as depth instead of grime. */
  --shadow: 0 1px 2px rgba(0, 10, 40, 0.05), 0 12px 32px -12px rgba(0, 10, 40, 0.14);
  --shadow-lg: 0 2px 4px rgba(0, 10, 40, 0.05), 0 28px 56px -20px rgba(0, 10, 40, 0.2);

  --radius: 16px;
  --radius-lg: 22px;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 128px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter,
    "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(36px, 5.6vw, 66px);
}
h2 {
  font-size: clamp(28px, 3.9vw, 46px);
}
h3 {
  font-size: clamp(18px, 1.9vw, 21px);
}

p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--btn-ink);
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

.text-gradient {
  background: linear-gradient(100deg, var(--brand-blue), var(--brand-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease;
  text-align: center;
}

.primary-btn {
  background: linear-gradient(100deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink);
  box-shadow: 0 12px 30px rgba(110, 50, 250, 0.22);
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(110, 50, 250, 0.32);
}

.secondary-btn {
  background: rgba(0, 10, 40, 0.04);
  border-color: var(--line-strong);
  color: var(--ink);
}
.secondary-btn:hover {
  background: rgba(0, 10, 40, 0.09);
  transform: translateY(-2px);
}

.primary-btn.full,
.secondary-btn.full {
  width: 100%;
}
.primary-btn.compact {
  padding: 11px 22px;
}
.center-btn {
  display: flex;
  margin: 0 auto;
}

.primary-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}
.brand-mark svg,
.brand-mark img {
  /* Height-driven, width auto: the supplied mark is taller than it is wide, and the old
     fixed 30x27 was sized for a monogram that no longer exists. */
  height: 30px;
  width: auto;
  display: block;
}
.brand-word {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand-accent {
  color: var(--accent);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 15px;
}
.top-nav a {
  color: var(--muted);
  transition: color 0.15s ease;
}
.top-nav a:hover {
  color: var(--ink);
}

.header-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink) !important;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: rgba(0, 10, 40, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Layout ---------- */

.section,
.split-section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-heading p:last-child {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 64px);
  max-width: var(--wrap);
  margin: 0 auto;
  overflow: hidden;
}

.hero-glow,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  background: radial-gradient(
      620px 420px at 18% 12%,
      rgba(110, 50, 250, 0.2),
      transparent 68%
    ),
    radial-gradient(560px 400px at 88% 8%, rgba(167, 139, 250, 0.16), transparent 66%);
}
.hero-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.16;
  mask-image: radial-gradient(circle at 50% 20%, #000 20%, transparent 78%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  margin-bottom: 22px;
  border: 1px solid rgba(110, 50, 250, 0.4);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(110, 50, 250, 0.7);
  animation: pulse 2.1s infinite;
  flex: none;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(110, 50, 250, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 50, 250, 0);
  }
}

.hero-copy {
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-reassure {
  font-size: 14px;
  color: var(--faint);
  margin: 0;
}

/* Hero call card */

.hero-visual {
  position: relative;
}

.call-card {
  background: linear-gradient(170deg, var(--surface), var(--band));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.call-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.call-timer {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--faint);
}

.call-lines,
.transcript-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.call-lines li,
.transcript-lines li {
  display: grid;
  gap: 3px;
}
.call-lines span,
.transcript-lines span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.call-lines p,
.transcript-lines p {
  margin: 0;
  padding: 11px 14px;
  border-radius: 13px;
  font-size: 14.5px;
  line-height: 1.5;
}
.from-caller p {
  background: rgba(0, 10, 40, 0.06);
  border: 1px solid var(--line);
  border-top-left-radius: 4px;
}
.from-ai p,
.from-agent p {
  background: var(--accent-soft);
  border: 1px solid rgba(110, 50, 250, 0.3);
  border-top-left-radius: 4px;
}

.call-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 10, 40, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip-done {
  color: var(--accent);
  border-color: rgba(110, 50, 250, 0.35);
  background: var(--accent-soft);
}

/* Trust strip */

.trust-strip {
  position: relative;
  list-style: none;
  margin: clamp(40px, 6vw, 68px) 0 0;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 10, 40, 0.025);
}
.trust-strip li {
  display: grid;
  gap: 4px;
  text-align: center;
}
.trust-strip strong {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.trust-strip span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Problem ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(0, 10, 40, 0.05), transparent);
}
.problem-index {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.problem-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15.5px;
}

/* ---------- ROI calculator ---------- */

.calculator-section {
  position: relative;
}

.calculator {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.calc-inputs {
  display: grid;
  gap: 26px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0, 10, 40, 0.03);
}
.calc-inputs label {
  display: grid;
  gap: 12px;
}
.calc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.calc-label output {
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 10, 40, 0.14);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-blue), var(--brand-violet));
  border: 3px solid var(--paper);
  box-shadow: 0 2px 6px rgba(0, 10, 40, 0.18);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-blue), var(--brand-violet));
  border: 3px solid var(--paper);
}

.calc-result {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(110, 50, 250, 0.32);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.12), rgba(255, 255, 255, 0.4));
  text-align: center;
  box-shadow: var(--shadow);
}
.calc-result-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.calc-big {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}
.calc-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.calc-compare {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}
.calc-compare strong {
  color: var(--ink);
}
.calc-compare span {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Employees ---------- */

.employee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.employee-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(0, 10, 40, 0.05), transparent);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.employee-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 50, 250, 0.4);
}
.employee-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink);
  font-weight: 800;
  font-size: 18px;
}
.employee-card h3 {
  margin-bottom: 4px;
}
.employee-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.employee-card p strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-list span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--faint);
}

/* ---------- Shared: status chips, ghost button, captions ---------- */

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.05);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.status-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-chip.tone-busy {
  color: var(--accent);
  border-color: rgba(110, 50, 250, 0.38);
  background: var(--accent-soft);
}
.status-chip.tone-busy .dot {
  animation: blink 1.6s ease-in-out infinite;
}
.status-chip.tone-alert {
  color: var(--warn);
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
}
.status-chip.tone-idle {
  color: var(--faint);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.ghost-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 10, 40, 0.04);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ghost-btn:hover:not([disabled]) {
  background: rgba(0, 10, 40, 0.1);
  color: var(--ink);
}
.ghost-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.section-caption {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
}

/* ---------- Hero: role pills + workforce floor card ---------- */

.role-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
}
.role-pills li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.04);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.floor-card {
  background: linear-gradient(170deg, var(--surface), var(--band));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.floor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.floor-count {
  font-size: 13px;
  color: var(--faint);
}
.floor-count strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.floor-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.floor-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 10, 40, 0.06);
}
.floor-list li:last-child {
  border-bottom: 0;
}
.floor-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink);
  font-weight: 800;
  font-size: 14px;
}
.floor-meta {
  display: grid;
  flex: 1;
  min-width: 0;
}
.floor-meta strong {
  font-size: 14.5px;
}
.floor-meta small {
  font-size: 12px;
  color: var(--faint);
}

/* ---------- Live workforce grid ---------- */

.workforce-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.employee-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.employee-metric {
  font-size: 13.5px;
  color: var(--faint);
}
.employee-metric span {
  color: var(--accent);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.employee-metric span.bump {
  animation: bump 0.5s ease;
}
@keyframes bump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.32);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- AI Studio ---------- */

.studio-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: none;
}
.studio-steps li {
  flex: none;
}
.studio-steps button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.04);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.studio-steps button span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 10, 40, 0.1);
  font-size: 11.5px;
}
.studio-steps button:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}
.studio-steps .is-active button {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.studio-steps .is-active button span {
  background: var(--accent);
  color: var(--btn-ink);
}
.studio-steps .is-done button span {
  background: rgba(110, 50, 250, 0.35);
  color: var(--accent);
}

.studio-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.employee-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0, 10, 40, 0.03);
  min-height: 340px;
  align-content: start;
}
.employee-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 16px;
}
/* An author `display` beats the UA stylesheet's [hidden] rule, so restate it. */
.employee-form fieldset[hidden] {
  display: none;
}
.employee-form legend {
  padding: 0;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.employee-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.employee-form input[type='text'],
.employee-form input:not([type]),
.employee-form select,
.employee-form textarea {
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 10, 40, 0.045);
  font-size: 14.5px;
  font-weight: 400;
  resize: vertical;
}
.field-hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--faint);
  line-height: 1.55;
}

.switch-row {
  display: flex !important;
  align-items: center;
  gap: 11px;
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-size: 14.5px !important;
}
.switch-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
}

.channel-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.channel-choices label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 10, 40, 0.04);
  font-size: 13.5px;
  cursor: pointer;
}
.channel-choices input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}
.channel-choices label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.studio-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  margin-top: auto;
}

.employee-preview {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(110, 50, 250, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.1), transparent);
  text-align: center;
}
.avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink);
  font-size: 26px;
  font-weight: 800;
}
.employee-preview h3 {
  margin-bottom: 2px;
}
.employee-preview > p {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.preview-spec {
  margin: 20px 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  text-align: left;
}
.preview-spec > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.7);
}
.preview-spec dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.preview-spec dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  text-align: right;
}

.trait-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--muted);
}
.trait-row meter {
  width: 60%;
}
.rule-card {
  padding: 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.045);
  text-align: left;
}
.rule-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.rule-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.publish-status {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  min-height: 0;
}
.publish-status:empty {
  display: none;
}

/* ---------- Conversation intelligence ---------- */

.intel-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.intel-panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0, 10, 40, 0.03);
}
.intel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 10, 40, 0.06);
}
.intel-key {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.intel-val {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: right;
}
.sentiment-negative {
  color: var(--warn);
}
.confidence-bar {
  display: block;
  width: 68px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 10, 40, 0.14);
  overflow: hidden;
}
.confidence-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-violet));
}

.intel-divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.intel-actions-label {
  margin-bottom: 12px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.intel-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.intel-actions li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--muted);
}
.intel-actions li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Dashboard + analytics ---------- */

.dash-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.dashboard {
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--surface), var(--band));
  box-shadow: var(--shadow);
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.dashboard-header strong {
  color: var(--accent);
}
.worker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 10, 40, 0.06);
  font-size: 14.5px;
}
.worker-row:last-child {
  border-bottom: 0;
}
.worker-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.worker-row .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.worker-row .dot.alert {
  background: var(--warn);
}
.worker-row strong {
  color: var(--muted);
  font-weight: 600;
  text-align: right;
}
.worker-row.alert strong {
  color: var(--warn);
}

.analytics-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(110, 50, 250, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.1), transparent);
}
.analytics-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}
.analytics-grid div {
  display: grid;
  gap: 3px;
}
.analytics-grid strong {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.analytics-grid span {
  font-size: 13px;
  color: var(--muted);
}
.analytics-insight {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.analytics-insight strong {
  color: var(--ink);
}

/* ---------- Integrations ---------- */

.integration-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.integration-grid li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 10, 40, 0.03);
}
.integration-name {
  font-size: 15px;
  font-weight: 700;
}
.integration-status {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--faint);
}
.integration-status.is-live {
  color: var(--accent);
  border-color: rgba(110, 50, 250, 0.4);
  background: var(--accent-soft);
}
.integration-status.is-build {
  color: var(--accent-2);
  border-color: rgba(167, 139, 250, 0.36);
  background: rgba(167, 139, 250, 0.1);
}

.integration-cta {
  margin: 22px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}
.integration-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Security ---------- */

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.security-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(110, 50, 250, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.09), transparent);
}
.security-card.is-roadmap {
  border-color: var(--line);
  background: rgba(0, 10, 40, 0.03);
}
.security-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.tick {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--btn-ink);
  font-size: 14px;
  font-weight: 800;
}
.tick.roadmap {
  background: rgba(0, 10, 40, 0.12);
  color: var(--muted);
}
.security-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.security-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--muted);
}
.security-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.security-card.is-roadmap li::before {
  background: var(--faint);
}
.security-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--faint);
  font-style: italic;
}

/* ---------- Industries ---------- */

.industry-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.industry-chips li {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.04);
  font-size: 14.5px;
  color: var(--muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.industry-chips li:hover {
  border-color: rgba(110, 50, 250, 0.5);
  color: var(--ink);
}

/* ---------- Pricing ---------- */

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding: 6px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 10, 40, 0.04);
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.billing-toggle button.is-active {
  background: linear-gradient(100deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink);
}
.save-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 10, 40, 0.045);
  font-size: 11.5px;
  font-weight: 800;
}
.billing-toggle button:not(.is-active) .save-pill {
  background: var(--accent-soft);
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0, 10, 40, 0.03);
  height: 100%;
}
.pricing-grid .featured {
  border-color: rgba(110, 50, 250, 0.45);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.11), transparent);
  box-shadow: var(--shadow);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--brand-blue), var(--brand-violet));
  color: var(--btn-ink);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-for {
  font-size: 14px;
  color: var(--muted);
  min-height: 42px;
}
.plan-price {
  margin: 6px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price strong {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan-price span {
  color: var(--faint);
  font-size: 15px;
}
.plan-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 25px;
  font-size: 14.5px;
  color: var(--muted);
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 10, 40, 0.03);
  transition: border-color 0.16s ease;
}
.faq-list details[open] {
  border-color: rgba(110, 50, 250, 0.36);
  background: rgba(110, 50, 250, 0.06);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Final CTA + lead form ---------- */

.final-cta {
  max-width: var(--wrap);
  margin: 0 auto clamp(60px, 8vw, 100px);
  padding: clamp(36px, 5vw, 64px) var(--gutter);
  scroll-margin-top: 90px;
}
.cta-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(110, 50, 250, 0.32);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.12), rgba(255, 255, 255, 0.5));
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cta-sub {
  color: var(--muted);
  margin-bottom: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
  text-align: left;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.field input,
.field select {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 10, 40, 0.05);
  font-size: 15px;
  transition: border-color 0.15s ease;
}
.field input::placeholder {
  color: rgba(238, 242, 247, 0.3);
}
.field input:focus,
.field select:focus {
  border-color: var(--accent);
}
.field.has-error input,
.field.has-error select {
  border-color: var(--danger);
}
.field-error {
  margin: 0;
  font-size: 13px;
  color: var(--danger);
  min-height: 0;
}
.field-error:empty {
  display: none;
}

.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}
.form-status {
  margin: 0;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  text-align: center;
  display: none;
}
.form-status.is-success {
  display: block;
  background: var(--accent-soft);
  border: 1px solid rgba(110, 50, 250, 0.4);
  color: var(--accent);
}
.form-status.is-error {
  display: block;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.4);
  color: var(--danger);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.045);
}
.footer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .brand-word {
  font-size: 20px;
  font-weight: 800;
}
.footer-brand p {
  margin: 12px 0 0;
  max-width: 340px;
  font-size: 14.5px;
  color: var(--muted);
}
.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}
.site-footer nav h2 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.site-footer nav a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-footer nav a:hover {
  color: var(--accent);
}
.footer-base {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--faint);
}
.footer-base p {
  margin: 0;
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: none;
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .employee-grid,
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator,
  .split-section,
  .studio-layout,
  .intel-layout,
  .dash-layout,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .studio-steps {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .studio-steps button {
    white-space: nowrap;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid .featured {
    order: -1;
  }

  .nav-toggle {
    display: flex;
  }
  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px rgba(0, 10, 40, 0.25);
    display: none;
  }
  .top-nav.is-open {
    display: flex;
  }
  .top-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .header-cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: 0 !important;
  }
}

@media (max-width: 560px) {
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .trust-strip li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    text-align: left;
  }
  .employee-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
  }
  .integration-grid {
    grid-template-columns: 1fr;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .workforce-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .intel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .intel-val {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Language section ---------- */

.language-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: start;
}

.language-demo {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(110, 50, 250, 0.3);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, rgba(110, 50, 250, 0.1), transparent);
}
.demo-label {
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.demo-turns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.demo-turns li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.045);
}
.demo-flag {
  flex: none;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--accent-soft);
  border: 1px solid rgba(110, 50, 250, 0.32);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.demo-turns p {
  margin: 0;
  font-size: 14.5px;
}
.demo-note {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.language-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.language-list li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 10, 40, 0.04);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Pricing: badges + everything-included ---------- */

.plan-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}
.plan-badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(110, 50, 250, 0.34);
  background: var(--accent-soft);
  font-size: 14px;
  font-weight: 700;
}

.everything-included {
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 22px clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(0, 10, 40, 0.03);
  text-align: center;
}
.ei-title {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.everything-included ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.everything-included li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--muted);
}
.everything-included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Pricing cards: the four questions ---------- */

.plan-headline {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.plan-custom {
  font-size: clamp(30px, 4vw, 40px);
}

.plan-answers {
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 13px;
  background: rgba(0, 10, 40, 0.045);
  border: 1px solid var(--line);
}
.plan-answers div {
  display: grid;
  gap: 3px;
}
.plan-answers dt {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.plan-answers dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.plan-upgrade {
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-style: italic;
  color: var(--faint);
}
.plan-scoped {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--faint);
  line-height: 1.6;
}
.plan-scoped a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-note {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--faint);
  line-height: 1.7;
}
.pricing-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Comparison table ---------- */

.comparison-wrap {
  margin-top: clamp(48px, 6vw, 76px);
}
.comparison-title {
  text-align: center;
  margin-bottom: 22px;
}
.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.comparison {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.comparison thead th {
  position: sticky;
  top: 0;
  padding: 15px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--band);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.comparison tbody th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}
.comparison td {
  padding: 14px 18px;
  color: var(--muted);
}
.comparison tbody tr {
  border-bottom: 1px solid rgba(0, 10, 40, 0.06);
}
.comparison tbody tr:last-child {
  border-bottom: 0;
}
.comparison tbody tr:hover {
  background: rgba(0, 10, 40, 0.03);
}
.comparison-note {
  margin: 18px auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 13.5px;
  color: var(--faint);
}

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

@media (max-width: 960px) {
  .language-showcase {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .everything-included ul {
    justify-content: flex-start;
    text-align: left;
  }
  .plan-badges li {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Motion control (WCAG 2.2.2) ---------- */

/*
 * Quiet by design: this exists so auto-updating content can be stopped, not as
 * a product feature. It should be findable, not attention-grabbing.
 */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--faint);
  font-size: 12.5px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.motion-toggle:hover {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(0, 10, 40, 0.04);
}
.motion-toggle span[aria-hidden] {
  font-size: 9px;
  letter-spacing: 1px;
}

/* ---------- Studio design carried into the lead form ---------- */

.carried-spec {
  position: relative;
  max-width: 520px;
  margin: 0 auto 22px;
  padding: 16px 18px;
  border: 1px solid rgba(110, 50, 250, 0.34);
  border-radius: var(--radius);
  background: var(--accent-soft);
  text-align: left;
}
.carried-spec[hidden] {
  display: none;
}
.cs-title {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-summary {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}
.carried-spec .ghost-btn {
  padding: 5px 12px;
  font-size: 12px;
}

/* ---------- Language catalogue disclosure ---------- */

.language-catalogue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/*
 * Extras are display:none rather than visually hidden so they're also absent
 * from the accessibility tree until revealed — the button's aria-expanded is
 * then telling the truth.
 */
.language-list .is-extra {
  display: none;
}
.language-list.is-expanded .is-extra {
  display: block;
}

.language-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(110, 50, 250, 0.36);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.language-more:hover {
  background: rgba(110, 50, 250, 0.2);
  border-color: var(--accent);
}
.language-more .chev {
  transition: transform 0.2s ease;
  font-size: 11px;
}
.language-more[aria-expanded='true'] .chev {
  transform: rotate(180deg);
}
