/* ============================================================
   Callent — Landing page styles
   Brand: indigo #6366f1 → purple #a855f7 (matches the app)
   ============================================================ */

:root {
  --primary: #6366f1;
  --primary-rgb: 99, 102, 241;
  --accent: #a855f7;
  --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);

  --radius: 16px;

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", var(--font-body);
}

/* Dark theme (default) */
:root,
:root[data-theme="dark"] {
  --bg: #0b0b14;
  --bg-alt: #11111d;
  --surface: #171726;
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);

  --text: #f4f4f8;
  --text-muted: #9b9bb0;

  --nav-bg: rgba(11, 11, 20, 0.85);
  --menu-bg: rgba(11, 11, 20, 0.97);
  --trust-logo: rgba(255, 255, 255, 0.35);
  --trust-logo-hover: rgba(255, 255, 255, 0.7);
  --chip-indigo-text: #a5b4fc;
  --chip-green-text: #4ade80;
  --error: #fca5a5;
  --glow-opacity: 1;

  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Light theme */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --surface: #ffffff;
  --surface-2: rgba(17, 17, 29, 0.06);
  --border: rgba(17, 17, 29, 0.1);

  --text: #17172a;
  --text-muted: #5b5b72;

  --nav-bg: rgba(255, 255, 255, 0.85);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --trust-logo: rgba(23, 23, 42, 0.35);
  --trust-logo-hover: rgba(23, 23, 42, 0.7);
  --chip-indigo-text: #4f46e5;
  --chip-green-text: #16a34a;
  --error: #dc2626;
  --glow-opacity: 0.55;

  --shadow: 0 20px 50px rgba(23, 23, 42, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

img,
svg {
  display: block;
}

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

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, 92%);
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(var(--primary-rgb), 0.5);
}

.btn-outline {
  border-color: var(--border);
  background: var(--surface-2);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

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

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

.btn-light {
  background: #fff;
  color: #1c1c2e;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  transform: rotate(15deg);
}

/* Show the icon for the theme you'd switch TO */
:root[data-theme="dark"] .icon-moon,
:root[data-theme="light"] .icon-sun {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 5%;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  padding: 0.7rem 0;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  color: #fff;
}

.mobile-menu.open {
  display: flex;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--primary-rgb), 0.28) 0%,
    rgba(168, 85, 247, 0.12) 45%,
    transparent 70%
  );
  opacity: var(--glow-opacity);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.4rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  70% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
  }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 1.4rem 0 2.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin-top: 3rem;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-unit {
  font-size: 1.2rem;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Hero visual / call card ---------- */
.hero-visual {
  position: relative;
}

.call-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.call-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.caller-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient);
  flex-shrink: 0;
}

.call-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.call-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 1.8s infinite;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.waveform span {
  width: 4px;
  border-radius: 4px;
  background: var(--gradient);
  animation: wave 1.1s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 10px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 20px; animation-delay: 0.15s; }
.waveform span:nth-child(3) { height: 28px; animation-delay: 0.3s; }
.waveform span:nth-child(4) { height: 18px; animation-delay: 0.45s; }
.waveform span:nth-child(5) { height: 9px; animation-delay: 0.6s; }

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }

  50% {
    transform: scaleY(1.25);
  }
}

.call-transcript {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem 0;
}

.bubble {
  max-width: 85%;
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  opacity: 0;
  animation: bubble-in 0.5s ease forwards;
}

.bubble-caller {
  align-self: flex-start;
  background: var(--surface-2);
  border-bottom-left-radius: 4px;
}

.bubble-ai {
  align-self: flex-end;
  background: rgba(var(--primary-rgb), 0.22);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-bottom-right-radius: 4px;
}

.bubble:nth-child(1) { animation-delay: 0.4s; }
.bubble:nth-child(2) { animation-delay: 1.1s; }
.bubble:nth-child(3) { animation-delay: 1.8s; }
.bubble:nth-child(4) { animation-delay: 2.5s; }

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.call-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.chip-green {
  background: rgba(34, 197, 94, 0.14);
  color: var(--chip-green-text);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.chip-indigo {
  background: rgba(var(--primary-rgb), 0.14);
  color: var(--chip-indigo-text);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.floating-chip {
  position: absolute;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.floating-chip-1 {
  top: -22px;
  left: -28px;
  animation-delay: 1.2s;
}

.floating-chip-2 {
  bottom: -18px;
  right: -16px;
  animation-delay: 2.4s;
}

/* ---------- Live examples demo ---------- */
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}

.demo-tab {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    transform 0.2s ease;
}

.demo-tab:hover {
  color: var(--text);
  border-color: rgba(var(--primary-rgb), 0.5);
  transform: translateY(-1px);
}

.demo-tab.active {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

.demo-stage {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.6rem;
  align-items: stretch;
  max-width: 980px;
  margin-inline: auto;
}

/* Phone mockup */
.phone {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.phone-transcript {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem 0.2rem;
  min-height: 300px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.phone-transcript .bubble {
  animation-delay: 0s;
}

.bubble-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.2rem;
}

/* Typing indicator */
.typing {
  display: inline-flex;
  gap: 4px;
  align-self: flex-end;
  background: rgba(var(--primary-rgb), 0.18);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  padding: 0.7rem 0.9rem;
}

.typing.typing-caller {
  align-self: flex-start;
  background: var(--surface-2);
  border-color: var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.phone-footer {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.phone-key {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}

.phone-key-end {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.phone-key-replay {
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.3s ease;
}

.phone-key-replay:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(-45deg);
}

/* Behind-the-scenes feed */
.demo-side {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.demo-side h3 {
  margin-bottom: 0.2rem;
}

.demo-side-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

.action-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.action-feed li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(14px);
  animation: feed-in 0.45s ease forwards;
}

@keyframes feed-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feed-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
}

.demo-result {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.demo-result .chip {
  opacity: 0;
  animation: feed-in 0.45s ease forwards;
}

/* ---------- Trust bar ---------- */
.trustbar {
  padding: 2.2rem 0;
  border-block: 1px solid var(--border);
  text-align: center;
}

.trustbar p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.6rem;
}

.trust-logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--trust-logo);
  transition: color 0.25s ease;
}

.trust-logos span:hover {
  color: var(--trust-logo-hover);
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
}

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

.usecases-grid,
.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 16px 36px rgba(var(--primary-rgb), 0.12);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.card-row {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.card-row .card-icon {
  margin-bottom: 0;
}

/* ---------- Steps ---------- */
.steps {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.step {
  flex: 1;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
}

.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.step-connector {
  align-self: center;
  width: 56px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(var(--primary-rgb), 0.6),
    rgba(168, 85, 247, 0.6)
  );
  flex-shrink: 0;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card-featured {
  border-color: rgba(var(--primary-rgb), 0.6);
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.12) 0%,
    var(--surface) 45%
  );
  box-shadow: 0 24px 60px rgba(var(--primary-rgb), 0.18);
}

.popular-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gradient);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  white-space: nowrap;
}

.price {
  margin: 0.9rem 0 0.4rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- Testimonials ---------- */
.quote p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.2rem;
}

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

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.4rem;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(var(--primary-rgb), 0.45);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 1.2rem;
}

/* ---------- CTA ---------- */
.cta {
  padding: 6rem 0;
}

.cta-inner {
  text-align: center;
  background: var(--gradient);
  border-radius: 28px;
  padding: 4.5rem 2rem;
  box-shadow: 0 30px 80px rgba(var(--primary-rgb), 0.35);
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin: 0.9rem 0 2.2rem;
}

.cta-inner .hero-cta {
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 18rem;
}

.footer-contact {
  margin-top: 0.9rem !important;
  font-size: 0.85rem !important;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

  .call-card,
  .floating-chip,
  .waveform span,
  .badge-dot,
  .live-dot {
    animation: none;
  }

  .bubble {
    opacity: 1;
    animation: none;
  }

  .action-feed li,
  .demo-result .chip {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .typing i {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

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

  .hero-sub {
    margin-inline: auto;
  }

  .hero-cta,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-stage {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .steps {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin-inline: auto;
    background: linear-gradient(
      180deg,
      rgba(var(--primary-rgb), 0.6),
      rgba(168, 85, 247, 0.6)
    );
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .hero {
    padding: 7.5rem 0 4.5rem;
  }

  .hero-stats {
    gap: 1.6rem;
  }

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

  .section {
    padding: 4rem 0;
  }

  .floating-chip-1 {
    left: 0;
  }

  .floating-chip-2 {
    right: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   Sub-pages, forms, modal, legal docs
   ============================================================ */

/* ---------- Shared form fields ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field label .req {
  color: var(--primary);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239b9bb0' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.18);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: left;
}

.form-consent input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-consent a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---------- Inline validation ---------- */
.field-error {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--error);
  margin-top: 0.15rem;
}

.field-error.show {
  display: flex;
}

.field-error::before {
  content: "⚠";
  font-size: 0.8rem;
  line-height: 1;
}

.field.invalid label {
  color: var(--error);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-consent.invalid span {
  color: var(--error);
}

.form-consent.invalid input {
  outline: 2px solid var(--error);
  outline-offset: 2px;
}

/* ---------- Book a demo modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 5, 12, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2.2rem;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.modal-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}

.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-form .btn {
  margin-top: 0.4rem;
}

/* Success state */
.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.modal.is-success .modal-form,
.modal.is-success .modal-eyebrow,
.modal.is-success > h2:not(.success-title),
.modal.is-success > .modal-sub {
  display: none;
}

.modal.is-success .modal-success {
  display: flex;
}

.success-check {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.4);
}

.modal-success h2 {
  margin-bottom: 0.5rem;
}

.modal-success p {
  color: var(--text-muted);
  max-width: 24rem;
}

/* ---------- Sub-page hero ---------- */
.subpage-hero {
  position: relative;
  padding: 9rem 0 3rem;
  text-align: center;
  overflow: hidden;
}

.subpage-hero .hero-glow {
  height: 460px;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.subpage-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 1rem auto 0;
}

.subpage-hero .meta-updated {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 1rem;
}

/* ---------- Legal / doc layout ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 5rem;
}

.doc-toc {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.3rem;
}

.doc-toc h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.doc-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.doc-toc a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.doc-toc a:hover {
  color: var(--primary);
}

.doc-content {
  max-width: 760px;
}

.doc-content .doc-section {
  scroll-margin-top: 100px;
  margin-bottom: 2.6rem;
}

.doc-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.doc-content h2 .num {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.doc-content h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.6rem;
}

.doc-content p,
.doc-content li {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.doc-content p {
  margin-bottom: 1rem;
}

.doc-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
}

.doc-content ul li {
  position: relative;
  padding-left: 1.5rem;
}

.doc-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

.doc-content a {
  color: var(--primary);
  text-decoration: underline;
}

.doc-content strong {
  color: var(--text);
}

.doc-callout {
  display: flex;
  gap: 0.9rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
}

.doc-callout .doc-callout-icon {
  font-size: 1.2rem;
  line-height: 1.4;
}

.doc-callout p {
  margin: 0;
  font-size: 0.9rem;
}

/* ---------- Security highlights ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-bottom: 1rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}

.cert-badge span {
  font-size: 1.1rem;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 5rem;
}

.contact-info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-method:hover {
  border-color: rgba(var(--primary-rgb), 0.45);
  transform: translateY(-2px);
}

.contact-method .card-icon {
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
}

.contact-method h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-method p,
.contact-method a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-method a {
  color: var(--primary);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.contact-form-card > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-status {
  display: none;
  align-items: center;
  gap: 0.6rem;
  grid-column: 1 / -1;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--chip-green-text);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.show {
  display: flex;
}

/* ---------- Sub-page footer offset / misc ---------- */
.subpage main {
  min-height: 60vh;
}

/* ---------- Responsive: sub-pages ---------- */
@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .doc-toc {
    position: static;
    top: auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .modal {
    padding: 1.8rem 1.3rem;
  }

  .modal-form,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    padding: 7.5rem 0 2.5rem;
  }
}

/* ============================================================
   About / Blog / Careers pages
   ============================================================ */

/* ---------- Shared: stat row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}

.stat-box {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-box span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- About: story split ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-split .prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-visual .mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-visual .mini-card:nth-child(odd) {
  transform: translateY(-14px);
}

.about-visual .mini-card .card-icon {
  margin-bottom: 0.8rem;
}

.about-visual .mini-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.about-visual .mini-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.45);
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.35);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.team-card .team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.6rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 16px 36px rgba(var(--primary-rgb), 0.12);
}

.blog-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25), rgba(168, 85, 247, 0.25));
  border-bottom: 1px solid var(--border);
}

.blog-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  flex: 1;
}

.blog-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.blog-body h3 {
  font-size: 1.12rem;
  line-height: 1.3;
}

.blog-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.blog-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
}

.blog-featured .blog-thumb {
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 1px solid var(--border);
  font-size: 4.5rem;
  min-height: 260px;
}

.blog-featured .blog-body {
  padding: 2rem;
  justify-content: center;
}

.blog-featured h3 {
  font-size: 1.6rem;
}

/* Newsletter signup strip */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter input {
  flex: 1;
  min-width: 220px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
}

.newsletter input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.18);
}

/* ---------- Careers ---------- */
.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.45);
}

.role-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role-tags span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
}

.role-card .btn {
  flex-shrink: 0;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured .blog-thumb {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: 180px;
  }
}

@media (max-width: 620px) {
  .role-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .role-card .btn {
    width: 100%;
  }
}

.newsletter input.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
