/* =========================================================================
   shadow-planner landing page
   Design language inherited from the app: cyan/purple/orange accents on a
   deep navy background, soft glassmorphism, and a Gantt-grid texture.
   ========================================================================= */

:root {
  /* core palette */
  --bg: #0a0d14;
  --bg-2: #0f1320;
  --surface: #141826;
  --surface-2: #1a1f30;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #e7ecf3;
  --text-muted: #9aa3b2;
  --text-dim: #6b7387;

  /* brand accents (drawn from the app icon) */
  --cyan: #5eead4;
  --cyan-bright: #22d3ee;
  --purple: #a78bfa;
  --orange: #fb923c;

  /* effect tokens */
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 12px 30px -10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px -10px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 6px 16px -6px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
  --pad: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
  --bg: #f7f8fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --border: rgba(15, 19, 32, 0.08);
  --border-strong: rgba(15, 19, 32, 0.16);
  --text: #15192a;
  --text-muted: #4b5567;
  --text-dim: #6b7387;
  --cyan: #0891b2;
  --cyan-bright: #0e7490;
  --shadow-lg: 0 30px 60px -25px rgba(15, 19, 32, 0.18), 0 12px 30px -10px rgba(15, 19, 32, 0.08);
  --shadow-md: 0 12px 32px -12px rgba(15, 19, 32, 0.14);
  --shadow-sm: 0 6px 16px -8px rgba(15, 19, 32, 0.12);
}

/* =========================================================================
   Reset + base
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code,
pre {
  font-family: var(--mono);
}

.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;
}

/* =========================================================================
   Background — grid + colored glows + floating gantt bars
   ========================================================================= */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(to right, rgba(15, 19, 32, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 19, 32, 0.06) 1px, transparent 1px);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--cyan {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.35), transparent 70%);
  top: -120px;
  left: -120px;
}

.bg-glow--purple {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent 70%);
  top: 40vh;
  right: -160px;
}

.bg-glow--orange {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.18), transparent 70%);
  top: 110vh;
  left: 10vw;
}

[data-theme="light"] .bg-glow {
  opacity: 0.35;
}

.floating-gantt {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-gantt .bar {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: var(--w);
  height: 14px;
  border-radius: 7px;
  opacity: 0.18;
  filter: blur(0.5px);
  animation: drift 16s var(--ease) infinite;
  animation-delay: var(--d);
}

.floating-gantt .bar--cyan {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
}
.floating-gantt .bar--purple {
  background: linear-gradient(90deg, var(--purple), #c4b5fd);
}
.floating-gantt .bar--orange {
  background: linear-gradient(90deg, var(--orange), #fdba74);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(40px, -20px, 0) scale(1.04);
  }
}

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px var(--pad);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.brand__name {
  font-size: 0.95rem;
}

.nav__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav__links a {
  position: relative;
  transition: color 0.18s var(--ease);
}

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

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--sun {
  display: block;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.16s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn--lg {
  padding: 14px 22px;
  font-size: 0.95rem;
  border-radius: 14px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-bright));
  color: #06121a;
  box-shadow: 0 8px 24px -8px rgba(94, 234, 212, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(94, 234, 212, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

/* =========================================================================
   Layout helpers
   ========================================================================= */
main {
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(72px, 10vw, 120px) var(--pad);
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 12px 0 14px;
}

.section-head .lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 18%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 18%, transparent);
  }
  50% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--cyan) 0%, transparent);
  }
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot--cyan { background: var(--cyan); }
.dot--purple { background: var(--purple); }
.dot--orange { background: var(--orange); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  margin: 22px 0 18px;
  letter-spacing: -0.03em;
}

.grad-text {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--purple) 60%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Hero media */
.hero__media {
  position: relative;
  perspective: 1600px;
}

.media-frame {
  position: relative;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate3d(1, -0.4, 0, 6deg);
  transition: transform 0.5s var(--ease);
}

.hero__media:hover .media-frame {
  transform: rotate3d(1, -0.4, 0, 2deg);
}

.media-frame--sm {
  transform: none;
}

.media-frame__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.dot-mac {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-mac--red { background: #ff5f57; }
.dot-mac--yellow { background: #febc2e; }
.dot-mac--green { background: #28c840; }

.media-frame__title {
  margin-left: 14px;
  letter-spacing: 0.01em;
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.media-frame__halo {
  position: absolute;
  inset: -40px;
  border-radius: 30px;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--cyan) 22%, transparent),
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: left;
  }
  .media-frame {
    transform: none;
  }
}

/* =========================================================================
   Pillars
   ========================================================================= */
.pillars {
  padding-top: 0;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.pillar {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
  color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
}

.pillar__icon--cyan {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  border-color: color-mix(in srgb, var(--cyan) 30%, transparent);
}
.pillar__icon--purple {
  background: color-mix(in srgb, var(--purple) 14%, transparent);
  color: var(--purple);
  border-color: color-mix(in srgb, var(--purple) 30%, transparent);
}
.pillar__icon--orange {
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  border-color: color-mix(in srgb, var(--orange) 30%, transparent);
}

.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Scenario switcher
   ========================================================================= */
.scenarios {
  position: relative;
}

.switcher {
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.switcher__tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: fit-content;
  margin: 0 auto 28px;
}

.switcher__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

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

.switcher__tab.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

/* Mock Gantt */
.gantt-mock {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 16px 20px 22px;
  overflow: hidden;
}

.gantt-mock__header {
  display: grid;
  grid-template-columns: 160px repeat(6, 1fr);
  gap: 0;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.gantt-mock__header span:first-child {
  display: none;
}

.gantt-mock__header span {
  text-align: left;
}

.gantt-mock__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.gantt-mock__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 14px;
  position: relative;
  height: 32px;
}

.gantt-mock__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gantt-mock__bar {
  position: relative;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--bar-c, var(--cyan)) 0%, var(--bar-c2, var(--cyan-bright)) 100%);
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--bar-c, var(--cyan)) 50%, transparent);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), margin-left 0.5s var(--ease),
    background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transform-origin: left center;
  width: var(--w, 50%);
  margin-left: var(--ml, 0%);
}

/* default (baseline) widths/positions */
.gantt-mock__row [data-bar="mobile"]   { --bar-c: var(--purple); --bar-c2: #c4b5fd; --w: 64%; --ml: 4%; }
.gantt-mock__row [data-bar="platform"] { --bar-c: var(--cyan);   --bar-c2: var(--cyan-bright); --w: 72%; --ml: 16%; }
.gantt-mock__row [data-bar="ci"]       { --bar-c: var(--orange); --bar-c2: #fdba74; --w: 56%; --ml: 28%; }
.gantt-mock__row [data-bar="pay"]      { --bar-c: var(--cyan);   --bar-c2: var(--cyan-bright); --w: 38%; --ml: 50%; }

[data-active="accelerated"] [data-bar="mobile"]   { --w: 48%; --ml: 4%; }
[data-active="accelerated"] [data-bar="platform"] { --w: 60%; --ml: 12%; }
[data-active="accelerated"] [data-bar="ci"]       { --w: 44%; --ml: 22%; }
[data-active="accelerated"] [data-bar="pay"]      { --w: 32%; --ml: 40%; }

[data-active="reorg"] [data-bar="mobile"]   { --w: 70%; --ml: 0%; }
[data-active="reorg"] [data-bar="platform"] { --w: 58%; --ml: 24%; }
[data-active="reorg"] [data-bar="ci"]       { --w: 38%; --ml: 14%; --bar-c: var(--purple); --bar-c2: #c4b5fd; }
[data-active="reorg"] [data-bar="pay"]      { --w: 50%; --ml: 36%; --bar-c: var(--orange); --bar-c2: #fdba74; }

.gantt-mock__today {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 38%;
  width: 0;
  border-left: 2px dashed color-mix(in srgb, var(--cyan) 50%, transparent);
  pointer-events: none;
}

.switcher__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.meta-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.meta-card__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.meta-card__value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-feature-settings: "tnum" 1;
  transition: color 0.3s var(--ease);
}

@media (max-width: 720px) {
  .gantt-mock__header {
    grid-template-columns: 100px repeat(6, 1fr);
  }
  .gantt-mock__row {
    grid-template-columns: 100px 1fr;
  }
  .switcher__meta {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Showcase rows
   ========================================================================= */
.showcase {
  background:
    radial-gradient(ellipse at top, color-mix(in srgb, var(--purple) 8%, transparent), transparent 60%);
}

.show-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 0;
}

.show-row + .show-row {
  border-top: 1px solid var(--border);
}

.show-row--reverse {
  grid-template-columns: 1.1fr 1fr;
}

.show-row--reverse .show-row__media {
  order: -1;
}

.show-row__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tag-c, var(--cyan));
  margin-bottom: 14px;
}

.show-row__copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.show-row__copy p {
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 520px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .show-row,
  .show-row--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .show-row--reverse .show-row__media {
    order: 0;
  }
}

/* =========================================================================
   Planning agent
   ========================================================================= */
.agent {
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 60%);
}

.agent__panes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: var(--container);
  margin: 0 auto;
}

.pane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.pane__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pane__title {
  font-family: var(--mono);
}

.pane__lang {
  font-family: var(--mono);
  color: var(--text-dim);
}

.pane__badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) 16%, transparent);
  color: var(--orange);
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
}

.pane__body {
  padding: 20px;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  overflow: auto;
}

.pane__body.code {
  font-family: var(--mono);
  white-space: pre-wrap;
}

.tok-h { color: var(--cyan); font-weight: 600; }
.tok-c { color: var(--purple); font-weight: 600; }
.tok-em { color: var(--orange); font-weight: 600; }

.agent__arrow {
  align-self: center;
  color: var(--cyan);
  opacity: 0.6;
  animation: arrowPulse 2.4s var(--ease) infinite;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(6px); opacity: 1; }
}

.draft-tree {
  margin: 0;
  padding: 0;
  list-style: none;
}

.draft-tree__epic {
  position: relative;
  padding: 14px 14px 14px 28px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--c, var(--purple)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--purple)) 25%, transparent);
}

.draft-tree__bullet {
  position: absolute;
  left: 12px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--purple));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--purple)) 14%, transparent);
}

.draft-tree__epic strong {
  color: var(--text);
  font-weight: 600;
}

.draft-tree__meta {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.draft-tree__epic ul {
  margin-top: 12px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.draft-tree__epic li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.draft-tree__epic li em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.task-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.draft-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 880px) {
  .agent__panes {
    grid-template-columns: 1fr;
  }
  .agent__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

/* =========================================================================
   Chat-control section
   ========================================================================= */
.control {
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--purple) 10%, transparent), transparent 60%);
}

.control__panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: var(--container);
  margin: 0 auto;
}

.chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.chat__heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.chat__sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.chat__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.chat__feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 14px;
  overflow: hidden;
}

.msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 86%;
  animation: msgIn 0.6s var(--ease) backwards;
}

.msg:nth-child(1) { animation-delay: 0.05s; }
.msg:nth-child(2) { animation-delay: 0.25s; }
.msg:nth-child(3) { animation-delay: 0.55s; }
.msg:nth-child(4) { animation-delay: 0.75s; }
.msg:nth-child(5) { animation-delay: 1.05s; }
.msg:nth-child(6) { animation-delay: 1.25s; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg--user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.msg--user .msg__bubble {
  background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 24%, var(--bg-2)) 0%, color-mix(in srgb, var(--cyan) 14%, var(--bg-2)) 100%);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--cyan) 28%, transparent);
}

.msg--ai .msg__bubble {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.msg__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 30%, var(--bg-2)), color-mix(in srgb, var(--cyan) 20%, var(--bg-2)));
  border: 1px solid var(--border-strong);
  font-size: 0.95rem;
  margin-top: 2px;
}

.msg__bubble {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  font-feature-settings: "tnum" 1;
}

.msg__bubble strong {
  color: var(--text);
  font-weight: 600;
}

.msg__bubble em {
  font-style: normal;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.85em;
}

.msg__list {
  margin: 10px 0 6px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.msg__chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  margin-right: 8px;
  color: var(--c, var(--orange));
  background: color-mix(in srgb, var(--c, var(--orange)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 30%, transparent);
}

.msg__hint {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
}

.msg__op {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 8px 10px 8px 12px;
  background: color-mix(in srgb, var(--orange) 8%, transparent);
  border: 1px dashed color-mix(in srgb, var(--orange) 35%, transparent);
  border-radius: 10px;
}

.msg__op-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.msg__op-actions {
  display: inline-flex;
  gap: 6px;
}

.msg__op-actions .btn {
  padding: 5px 12px;
  font-size: 0.78rem;
  border-radius: 8px;
}

.msg__spark {
  display: block;
  margin-top: 12px;
  width: 100%;
  height: 36px;
}

.msg__spark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chat__compose {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.chat__placeholder {
  font-style: italic;
}

.chat__caret {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-left: 4px;
  background: var(--cyan);
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  to { opacity: 0; }
}

.control__caps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
}

.control__caps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.control__caps li:hover {
  border-color: var(--border-strong);
  transform: translateX(2px);
}

.control__caps-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
}

.control__caps li:nth-child(2) .control__caps-icon {
  background: color-mix(in srgb, var(--purple) 14%, transparent);
  color: var(--purple);
  border-color: color-mix(in srgb, var(--purple) 30%, transparent);
}

.control__caps li:nth-child(3) .control__caps-icon {
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  border-color: color-mix(in srgb, var(--orange) 30%, transparent);
}

@media (max-width: 980px) {
  .control__panel {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Privacy
   ========================================================================= */
.privacy__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.privacy__copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 12px 0 16px;
}

.privacy__copy p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 540px;
}

.privacy__copy a {
  color: var(--cyan);
  border-bottom: 1px dashed color-mix(in srgb, var(--cyan) 50%, transparent);
}

.privacy__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.privacy__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
  margin-top: 2px;
}

.privacy__list strong {
  color: var(--text);
  display: inline-block;
  margin-right: 4px;
}

.privacy__list li > div {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Network diagram */
.privacy__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px;
  overflow: hidden;
}

.net {
  position: relative;
  width: 100%;
  height: 100%;
}

.net__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.net__node img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.net__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.net__node--app {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.net__node--ollama {
  bottom: 14%;
  left: 12%;
}

.net__node--db {
  bottom: 14%;
  right: 12%;
}

.net__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-dasharray: 4 6;
  opacity: 0.5;
  animation: dash 6s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -40; }
}

.net__cloud {
  position: absolute;
  top: 40%;
  right: 14%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.78rem;
  opacity: 0.5;
}

@media (max-width: 880px) {
  .privacy__inner {
    grid-template-columns: 1fr;
  }
  .privacy__visual {
    aspect-ratio: 5 / 4;
  }
}

/* =========================================================================
   Stack
   ========================================================================= */
.stack__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
}

.stack__item {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.stack__item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.stack__name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.stack__role {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .stack__list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Get started
   ========================================================================= */
.start__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.start__inner h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  margin: 12px 0 14px;
}

.start__inner .lede {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.start__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px var(--pad);
  background: linear-gradient(180deg, var(--bg) 0%, #06090f 100%);
}

[data-theme="light"] .footer {
  background: linear-gradient(180deg, var(--bg) 0%, #ebeef5 100%);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer__brand img {
  border-radius: 6px;
}

.footer__tag {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-left: 10px;
}

.footer__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--cyan);
}

@media (max-width: 720px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__links {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

/* =========================================================================
   Reveal-on-scroll animation
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) var(--delay, 0s),
    transform 0.7s var(--ease) var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Hide nav links on small screens */
@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav__inner {
    gap: 12px;
  }
  .brand__name {
    white-space: nowrap;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 420px) {
  .brand__name {
    display: none;
  }
}

/* Make sure deep section headers don't get clipped by sticky header */
section[id] {
  scroll-margin-top: 80px;
}

/* =========================================================================
   Inline code chip
   ========================================================================= */
:not(pre) > code {
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--cyan) 13%, transparent);
  color: var(--cyan);
}

/* =========================================================================
   LLM providers
   ========================================================================= */
.providers {
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--cyan) 9%, transparent),
    transparent 60%
  );
}

.providers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.provider {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.provider:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.provider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.provider__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
}

.provider__mark--cyan {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
}
.provider__mark--purple {
  background: color-mix(in srgb, var(--purple) 14%, transparent);
  color: var(--purple);
  border: 1px solid color-mix(in srgb, var(--purple) 30%, transparent);
}
.provider__mark--orange {
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
}

.provider__pill {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.provider__pill--cyan {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 28%, transparent);
}
.provider__pill--purple {
  background: color-mix(in srgb, var(--purple) 14%, transparent);
  color: var(--purple);
  border: 1px solid color-mix(in srgb, var(--purple) 28%, transparent);
}
.provider__pill--orange {
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  border: 1px solid color-mix(in srgb, var(--orange) 28%, transparent);
}

.provider__name {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.provider__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.provider__list {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.provider__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.provider__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.providers__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 600px;
  margin: 34px auto 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: center;
}

.providers__note svg {
  flex-shrink: 0;
  color: var(--cyan);
}

/* =========================================================================
   Feature grid
   ========================================================================= */
.feature-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.feature-grid__title {
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin-bottom: 34px;
}

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

.fcard {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.fcard:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.fcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 14px;
}

.fcard--cyan .fcard__icon {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  color: var(--cyan);
  border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent);
}
.fcard--purple .fcard__icon {
  background: color-mix(in srgb, var(--purple) 14%, transparent);
  color: var(--purple);
  border: 1px solid color-mix(in srgb, var(--purple) 30%, transparent);
}
.fcard--orange .fcard__icon {
  background: color-mix(in srgb, var(--orange) 14%, transparent);
  color: var(--orange);
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
}

.fcard h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fcard p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* =========================================================================
   Pricing
   ========================================================================= */
.pricing {
  background: radial-gradient(
    ellipse at top,
    color-mix(in srgb, var(--purple) 8%, transparent),
    transparent 58%
  );
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
}

.price-card--featured {
  border-color: color-mix(in srgb, var(--cyan) 45%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cyan) 22%, transparent),
    0 24px 50px -24px color-mix(in srgb, var(--cyan) 45%, transparent);
}

.price-card__ribbon {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-bright));
  color: #06121a;
}

.price-card__head {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.price-card__head h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 12px 0 8px;
}

.price-card__amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.price-card__per {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card__note {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.price-card__list {
  margin-bottom: 26px;
}

.price-card__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* =========================================================================
   Store buttons
   ========================================================================= */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  text-align: left;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cyan) 55%, transparent);
  background: var(--surface-2);
}

.store-btn__logo {
  flex-shrink: 0;
  color: var(--text);
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-btn__sm {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.store-btn__lg {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.store-row__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.store-row__note strong {
  color: var(--text);
  font-weight: 600;
}

/* =========================================================================
   Privacy network diagram — optional cloud
   ========================================================================= */
.net__line--opt {
  stroke: var(--text-dim);
}

.net__cloud {
  opacity: 0.82;
}

/* =========================================================================
   Responsive — new sections
   ========================================================================= */
@media (max-width: 880px) {
  .providers__grid {
    grid-template-columns: 1fr;
  }
  .feature-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .feature-grid__items {
    grid-template-columns: 1fr;
  }
}
