/* Nexis marketing site — design tokens */
:root {
  --bg: #ffffff;
  --bg-subtle: #f5f8fa;
  --bg-muted: #eaf0f6;
  --text: #33475b;
  --text-secondary: #516f8f;
  --text-muted: #7c98b6;
  --border: #dfe3eb;
  --border-strong: #cbd6e2;
  --navy: #1a2634;
  --navy-deep: #141d27;
  --navy-hover: #243444;
  --orange: #e84220;
  --orange-hover: #c73718;
  --orange-light: #ff7a59;
  --accent: var(--orange);
  --accent-hover: var(--orange-hover);
  --gradient: linear-gradient(155deg, #ff7a59 0%, #e84220 48%, #c73718 100%);
  --gradient-soft: linear-gradient(135deg, rgba(232, 66, 32, 0.1) 0%, rgba(255, 122, 89, 0.06) 100%);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-btn: 6px;
  --shadow-sm: 0 1px 2px rgba(45, 62, 80, 0.06);
  --shadow: 0 4px 24px rgba(45, 62, 80, 0.08);
  --shadow-lg: 0 12px 48px rgba(45, 62, 80, 0.12);
  --max-width: 1200px;
  --header-h: 72px;
  --compare-banner-h: 44px;
  --nexis-brand-lockup-gap: 7px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* —— Utilities —— */
.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.text-center {
  text-align: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
}

.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 2px 8px rgba(232, 66, 32, 0.28);
}

.btn-outline {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-subtle);
}

.btn-link {
  color: var(--text-secondary);
  padding: 10px 14px;
  font-weight: 500;
}

.btn-link:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 10px 14px;
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-muted);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* —— Logo —— */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  --nexis-brand-lockup-gap: 7px;
}

.logo-brand .logo-mark-img {
  flex: 0 0 32px;
}

.logo-brand .logo-wordmark.nexis-wordmark {
  flex: 0 0 auto;
  margin-left: var(--nexis-brand-lockup-gap);
  font-family: inherit;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-mark-img,
.logo-lockup-img {
  display: block;
  flex-shrink: 0;
}

.logo-mark-img {
  width: 32px;
  height: 32px;
}

.logo-lockup-img {
  height: 34px;
  width: auto;
}

.logo-wordmark.nexis-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
  font-size: 1.3125rem;
  line-height: 1;
}

.nexis-wordmark__word-group {
  display: inline-flex;
  align-items: baseline;
}

.nexis-wordmark__inbox-glyph {
  display: block;
  flex-shrink: 0;
  width: 1.02em;
  height: 1.02em;
  overflow: visible;
}

.nexis-wordmark__inbox-glyph-body {
  fill: #e84220;
  stroke: #fff;
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.nexis-wordmark__inbox-glyph-line {
  fill: none;
  stroke: #fff;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nexis-wordmark__w1,
.nexis-wordmark__w2,
.nexis-wordmark__x-letter {
  color: var(--navy);
}

.logo--on-dark .nexis-wordmark__w1,
.logo--on-dark .nexis-wordmark__w2,
.logo--on-dark .nexis-wordmark__x-letter {
  color: #fff;
}

.nexis-wordmark__x-wrap {
  position: relative;
  display: inline-block;
  margin: 0 0.02em;
  font-size: 0.78em;
  vertical-align: baseline;
}

.nexis-wordmark__x-slash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 0.95em;
  margin-left: -0.75px;
  margin-top: -0.48em;
  background: linear-gradient(180deg, #ff7a59 0%, #e84220 55%, #c73718 100%);
  transform: rotate(-32deg);
  border-radius: 1px;
  pointer-events: none;
  box-shadow: 0 0 5px rgba(232, 66, 32, 0.45);
}

/* Legacy logo classes — kept for old mockup pages only */
.logo-wordmark:not(.nexis-wordmark) {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--navy);
}

.logo-text {
  color: var(--navy);
}

.logo-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 -0.04em;
  vertical-align: baseline;
}

.logo-x--solid {
  color: var(--orange);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.logo-x--split svg {
  display: block;
  width: 0.82em;
  height: 0.82em;
  transform: translateY(0.06em);
}

.logo-lockup {
  display: inline-flex;
}

.logo--on-dark .logo-text {
  color: #fff;
}

.logo--on-dark .logo-x--solid {
  display: none;
}

.logo--on-dark .logo-x--split {
  display: inline-flex;
}

.logo:not(.logo--on-dark) .logo-x--split {
  display: none;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

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

.nav-desktop a.is-active,
.nav-mobile a.is-active {
  color: var(--accent);
  background: var(--gradient-soft);
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle:hover {
  background: var(--bg-muted);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  z-index: 99;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 16px;
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-mobile a:hover {
  background: var(--bg-muted);
}

/* —— Hero —— */
.hero {
  padding: 0;
  text-align: center;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232, 66, 32, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(232, 66, 32, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 80px 0 88px;
}

.hero-title {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: none;
  margin: 0 auto 24px;
  color: #fff;
}

.hero-title-line {
  display: block;
  color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  white-space: nowrap;
}

.hero-title-accent {
  display: block;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 44ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.hero-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-channel svg {
  width: 16px;
  height: 16px;
  color: var(--orange-light);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

/* —— Features —— */
.features {
  padding: 80px 0;
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

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

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* —— Workflow —— */
.workflow {
  padding: 80px 0;
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 4px;
  margin-top: 40px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 4px;
}

.workflow-pill {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

.workflow-pill.is-active {
  color: var(--accent);
  border-color: rgba(232, 66, 32, 0.35);
  background: var(--gradient-soft);
}

.workflow-arrow {
  color: var(--border-strong);
  font-size: 0.875rem;
  padding: 0 2px;
  user-select: none;
}

/* —— Preview —— */
.preview {
  padding: 80px 0;
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.preview-frame {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.preview-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.preview-dot:nth-child(1) { background: #f87171; }
.preview-dot:nth-child(2) { background: #fbbf24; }
.preview-dot:nth-child(3) { background: #4ade80; }

.preview-screenshot {
  background: var(--bg-subtle);
  line-height: 0;
}

.preview-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.preview-launch {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-launch:hover {
  text-decoration: underline;
}

/* —— Pricing —— */
.pricing {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.pricing-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.pricing-toggle-btn.is-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-save {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--gradient-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

.pricing-pilot {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid rgba(232, 66, 32, 0.18);
  text-align: left;
}

.pricing-pilot p {
  margin: 6px 0 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-pilot a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-pilot a:hover {
  text-decoration: underline;
}

.pricing-pilot-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pricing-pilot-icon svg {
  width: 20px;
  height: 20px;
}

.pricing-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow);
}

.pricing-card.is-featured {
  border-color: rgba(232, 66, 32, 0.35);
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--gradient-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.pricing-seat {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: -4px 0 12px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.pricing-price--label {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
}

.pricing-billed {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.pricing-trial {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin: 10px 0 0;
}

.pricing-features li.is-locked {
  color: var(--text-muted);
  opacity: 0.85;
}

.pricing-features li.is-locked svg {
  color: var(--text-muted);
}

.pricing-packs {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.pricing-packs-heading {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.pricing-packs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-pack {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}

.pricing-pack.is-highlight {
  border-color: rgba(232, 66, 32, 0.28);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.pricing-pack-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.pricing-pack h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.pricing-pack-price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-pack-period {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-pack-note {
  margin: 8px 0 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-pack-note a {
  color: var(--accent);
  font-weight: 600;
}

.pricing-pack-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.pricing-pack-link:hover {
  text-decoration: underline;
}

.pricing-footnote {
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.pricing-footnote a {
  color: var(--accent);
  font-weight: 600;
}

.pricing-footnote a:hover {
  text-decoration: underline;
}

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-price-row .pricing-price {
  margin-bottom: 0;
}

.pricing-save {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 4px;
}

.pricing-save[hidden] {
  display: none;
}

.pricing-features--compact {
  margin-bottom: 24px;
}

.pricing-features--compact li {
  display: list-item;
  list-style: none;
  padding: 5px 0;
  padding-left: 1.1em;
  position: relative;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features--compact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-light);
}

.pricing-features--compact li.is-locked {
  color: var(--text-muted);
  opacity: 0.9;
}

.pricing-features--compact li.is-locked::before {
  background: var(--border-strong);
}

.pricing-team-stack {
  margin: 14px 0 18px;
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-team-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.pricing-team-line span:first-child {
  min-width: 5.5rem;
  font-weight: 500;
  color: var(--text);
}

.pricing-team-line strong {
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.pricing-team-unit {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.pricing-team-tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--gradient-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.pricing-team-tag[hidden] {
  display: none;
}

.pricing-team-line--muted strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-team-line--talk strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 16px 0 24px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 6px 0;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-banner {
  margin-top: 32px;
  padding: 16px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  text-align: center;
}

.pricing-banner a {
  color: #ffc9b8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-banner a:hover {
  color: #ffe4dc;
}

/* —— FAQ —— */
.faq {
  padding: 80px 0;
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 4px 20px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* —— CTA band —— */
.cta-band {
  padding: 80px 0 100px;
}

.cta-card {
  padding: 56px 40px;
  border-radius: var(--radius-xl);
  background: var(--gradient);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.cta-card p {
  margin: 0 auto 28px;
  max-width: 48ch;
  font-size: 1.0625rem;
  opacity: 0.92;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta-btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-btn-light:hover {
  background: #fff;
}

.cta-card .btn-primary {
  background: var(--navy);
}

.cta-card .btn-primary:hover {
  background: #020617;
}

/* —— Footer —— */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: border-color 0.15s, color 0.15s;
}

.footer-social a:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-legal {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* —— Auth pages —— */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: var(--bg-subtle);
}

.auth-card {
  width: min(100%, 420px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.auth-card .auth-sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-field input {
  width: 100%;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg);
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange-light);
  box-shadow: 0 0 0 3px rgba(232, 66, 32, 0.12);
}

.form-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.auth-form .btn-primary {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-switch {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-note {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--gradient-soft);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.auth-legal-callout {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #b8e6ea;
  background: #e8f7f9;
  color: #0f4c5c;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.auth-legal-callout strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-legal-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.auth-legal-links__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.auth-legal-links__row--primary {
  font-size: 0.8125rem;
}

.auth-legal-links__row a {
  color: #0091ae;
  text-decoration: none;
}

.auth-legal-links__row a:hover {
  text-decoration: underline;
}

.legal-page h1 {
  margin: 0 0 8px;
}

.legal-page.auth-card--wide,
.auth-card--wide.legal-page {
  width: min(100%, 760px);
}

.legal-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f8fa;
  border: 1px solid #eaf0f6;
  line-height: 1.55;
  color: var(--text-secondary);
}

.legal-body section {
  margin-top: 8px;
}

.legal-body h3.legal-sub {
  margin: 16px 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.legal-body h2 {
  margin: 24px 0 10px;
  font-size: 1.05rem;
}

.legal-body p,
.legal-body li {
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-body ul {
  padding-left: 1.25rem;
}

.auth-card--wide {
  width: min(100%, 480px);
}

.auth-eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn-auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9375rem;
}

.form-field input {
  border-radius: 6px;
}

/* —— Split auth (sign-up / login style) —— */
.auth-split-page {
  min-height: 100vh;
}

.auth-split-page .site-header {
  display: none;
}

.auth-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
}

.auth-split__promo {
  display: none;
  flex-direction: column;
  min-height: 100vh;
  padding: 48px 56px;
  background: linear-gradient(155deg, #1a2634 0%, #243444 52%, #141d27 100%);
  color: #eaf0f6;
  position: relative;
  overflow: hidden;
}

.auth-split__promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 85% 8%, rgba(232, 66, 32, 0.28), transparent 58%);
  pointer-events: none;
}

.auth-split__promo-logo {
  position: relative;
  color: #fff;
}

.auth-split__promo-body {
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
  max-width: 38ch;
  padding-left: 0;
}

.auth-split__promo-title {
  margin: 0 0 14px;
  max-width: 11em;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.auth-split__promo-copy {
  margin: 0;
  max-width: 22em;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #c5d4e3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.auth-split__promo-features {
  list-style: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 16px;
}

.auth-split__promo-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.auth-split__promo-feature-mark {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a59 0%, #e84220 100%);
  box-shadow: 0 0 10px rgba(232, 66, 32, 0.4);
}

.auth-split__promo-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #e8edf3;
}

.auth-split__promo-feature-text strong {
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.auth-split__promo-feature-rest {
  color: #b8c9d9;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.auth-split__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 20px 24px;
  background: #f5f8fa;
}

.auth-split__card {
  width: min(100%, 420px);
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(45, 62, 80, 0.06), 0 8px 32px rgba(45, 62, 80, 0.08);
}

.auth-split__card-top {
  margin-bottom: 24px;
}

.auth-split__card-logo--mobile {
  display: inline-flex;
  margin-bottom: 20px;
}

.auth-split__card h1 {
  font-size: 1.625rem;
}

.auth-split__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 420px);
  margin-top: 24px;
  font-size: 0.8125rem;
}

.auth-split__footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.auth-split__footer a:hover {
  color: var(--accent);
}

@media (min-width: 960px) {
  .auth-split {
    grid-template-columns: minmax(300px, 40%) 1fr;
  }

  .auth-split__promo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
  }

  .auth-split__card-logo--mobile {
    display: none;
  }

  .auth-split__stage {
    padding: 48px 56px;
    background: #fff;
  }

  .auth-split__card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

.plan-picker {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-picker legend {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.plan-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.plan-option:has(input:checked) {
  border-color: rgba(232, 66, 32, 0.4);
  background: var(--gradient-soft);
}

.plan-option input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.plan-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.plan-option-body strong {
  font-size: 0.9375rem;
  color: var(--text);
}

.promo-field {
  margin-top: 4px;
}

.promo-toggle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo-toggle:hover {
  color: var(--accent);
}

.promo-panel {
  margin-top: 12px;
}

.promo-feedback {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.promo-feedback.is-error {
  color: #b91c1c;
}

.promo-feedback.is-success {
  color: #047857;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .feature-grid,
  .pricing-grid,
  .pricing-packs-row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .pricing-packs-row {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-title-line {
    white-space: normal;
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .hero-title-accent {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }

  .hero-tag::before {
    display: none;
  }

  .hero-tags {
    gap: 8px 12px;
  }

  .workflow-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow-arrow {
    display: none;
  }

  .workflow-step {
    justify-content: center;
  }

  .cta-card {
    padding: 40px 24px;
  }
}

/* —— Landing compare banner —— */
.has-compare-banner .site-header {
  top: var(--compare-banner-h);
}

.compare-banner {
  position: sticky;
  top: 0;
  z-index: 110;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.compare-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--compare-banner-h);
  padding: 8px 0;
  flex-wrap: wrap;
}

.compare-banner-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.compare-banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-banner-link {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.compare-banner-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.compare-banner-link.is-active {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.landing-option-2 .compare-banner-link.is-active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.compare-picker {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  background: var(--bg-subtle);
}

.compare-picker-card {
  width: min(100%, 560px);
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
}

.compare-picker-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.compare-picker-card p {
  margin: 0 0 28px;
  color: var(--text-secondary);
}

.compare-picker-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-picker-actions .btn {
  width: 100%;
}
