:root {
  --bg: #06080d;
  --bg-elevated: #0d1118;
  --bg-card: rgba(14, 18, 28, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8edf5;
  --muted: #8b95a8;
  --accent: #34d399;
  --accent-2: #22d3ee;
  --accent-3: #a78bfa;
  --danger-soft: #fbbf24;
  --radius: 16px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #041008;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 70%);
  z-index: 0;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
  animation: orb-drift 24s var(--ease-out) infinite alternate;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -120px;
  right: -80px;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: var(--accent-2);
  bottom: 10%;
  left: -100px;
  animation-delay: -8s;
}

.orb-c {
  width: 280px;
  height: 280px;
  background: var(--accent-3);
  top: 40%;
  right: 15%;
  animation-delay: -14s;
}

@keyframes orb-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, -40px) scale(1.08);
  }
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, backdrop-filter 0.3s, background 0.3s;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(16px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(34, 211, 238, 0.15);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.logo:hover img,
.logo:focus-visible img {
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.35);
  transform: scale(1.04);
}

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

.nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a.is-active {
  color: var(--accent);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041008 !important;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(52, 211, 153, 0.25);
}

.nav-cta.nav-cta-shimmer {
  animation: nav-cta-shimmer 0.85s var(--ease-out) 1;
}

@keyframes nav-cta-shimmer {
  0% {
    box-shadow: 0 4px 16px rgba(52, 211, 153, 0.15);
  }
  40% {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.35), 0 12px 36px rgba(34, 211, 238, 0.25);
  }
  100% {
    box-shadow: 0 4px 16px rgba(52, 211, 153, 0.15);
  }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
}

.hero-intro > * {
  opacity: 0;
  animation: hero-in 0.65s var(--ease-out) forwards;
}

.hero-intro .eyebrow {
  animation-delay: 0.04s;
}

.hero-intro h1 {
  animation-delay: 0.1s;
}

.hero-intro .lead {
  animation-delay: 0.18s;
}

.hero-intro .hero-actions {
  animation-delay: 0.26s;
}

.hero-intro .trust-row {
  animation-delay: 0.34s;
}

.page-hero.hero-intro .eyebrow,
.page-hero.hero-intro h1,
.page-hero.hero-intro .lead {
  animation-delay: inherit;
}

.page-hero.hero-intro .eyebrow {
  animation-delay: 0.06s;
}

.page-hero.hero-intro h1 {
  animation-delay: 0.14s;
}

.page-hero.hero-intro .lead {
  animation-delay: 0.22s;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

h1 .gradient {
  background: linear-gradient(120deg, var(--text) 0%, var(--accent-2) 45%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 22s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s, border-color 0.22s;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.08s;
}

.btn-primary:active {
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  color: #041008;
  box-shadow: 0 4px 24px rgba(52, 211, 153, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(52, 211, 153, 0.35);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.trust-row strong {
  display: block;
  color: var(--text);
  font-size: 1.125rem;
  font-family: var(--font-display);
  transition: color 0.25s var(--ease-out), text-shadow 0.25s var(--ease-out);
}

.trust-row > div {
  transition: opacity 0.25s;
}

.trust-row > div:hover strong,
.trust-row > div:focus-within strong {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(52, 211, 153, 0.35);
}

.hero-panel {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  animation: float-panel 6s var(--ease-out) infinite alternate;
}

.hero-panel.hero-panel-enter {
  opacity: 0;
  animation: hero-panel-in 0.75s var(--ease-out) 0.18s forwards, float-panel 6s var(--ease-out) 0.95s infinite alternate;
}

@keyframes hero-panel-in {
  to {
    opacity: 1;
  }
}

.hero-terminal-sync--swap {
  animation: orb-label-in 0.4s var(--ease-out);
}

.hero-orb-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

#hero-orb {
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.15));
}

.hero-orb-meta {
  min-width: 0;
}

.hero-orb-label {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.hero-orb-label--swap {
  animation: orb-label-in 0.45s var(--ease-out);
}

@keyframes orb-label-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-orb-caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes float-panel {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.terminal {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  border-radius: var(--radius);
  background: #050608;
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
  min-height: 280px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  word-break: break-word;
}

.terminal-line {
  opacity: 0;
  animation: term-in 0.5s var(--ease-out) forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.2s; }
.terminal-line:nth-child(2) { animation-delay: 0.55s; }
.terminal-line:nth-child(3) { animation-delay: 0.9s; }
.terminal-line:nth-child(4) { animation-delay: 1.25s; }
.terminal-line:nth-child(5) { animation-delay: 1.6s; }
.terminal-line:nth-child(6) { animation-delay: 1.95s; }
.terminal-line:nth-child(7) { animation-delay: 2.3s; }

@keyframes term-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.t-dim { color: #5c6778; }
.t-accent { color: var(--accent-2); }
.t-user { color: #c4b5fd; }

.cursor-blink::after {
  content: "▋";
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  50% { opacity: 0; }
}

section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.reveal .reveal-head {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

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

.card-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-card);
  transition: border-color 0.28s var(--ease-out), transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.card:hover {
  border-color: rgba(52, 211, 153, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: transform 0.28s var(--ease-out), background 0.28s;
}

.card:hover .card-icon {
  transform: scale(1.06);
  background: rgba(52, 211, 153, 0.18);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.compare-col {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.75rem;
  background: var(--bg-elevated);
  transition: border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), transform 0.28s var(--ease-out), opacity 0.28s var(--ease-out);
}

.compare-col:hover {
  transform: translateY(-3px);
}

.compare-col.highlight {
  border-color: rgba(52, 211, 153, 0.4);
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.08), transparent 55%);
}

.compare-col.highlight:hover {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.22), 0 22px 50px rgba(52, 211, 153, 0.1);
}

.compare-col.highlight.is-spotlight {
  animation: compare-spotlight 1.15s var(--ease-out) 1;
}

@keyframes compare-spotlight {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45);
  }
  100% {
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.15), 0 24px 56px rgba(0, 0, 0, 0.35);
  }
}

.compare-col h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
}

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

.compare-col li {
  padding: 0.45rem 0;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.compare-col li::before {
  content: "→";
  color: var(--accent-2);
  flex-shrink: 0;
}

.compare {
  transition: opacity 0.3s;
}

.compare:has(.compare-col:hover) .compare-col:not(.highlight) {
  opacity: 0.52;
}

.compare:has(.compare-col:hover) .compare-col.highlight {
  border-color: rgba(52, 211, 153, 0.55);
}

#compare.compare-lines-visible .compare-col li {
  opacity: 0;
  transform: translateX(-8px);
  animation: compare-li-in 0.5s var(--ease-out) forwards;
}

#compare.compare-lines-visible .compare-col:first-child li:nth-child(1) {
  animation-delay: 0.06s;
}

#compare.compare-lines-visible .compare-col:first-child li:nth-child(2) {
  animation-delay: 0.11s;
}

#compare.compare-lines-visible .compare-col:first-child li:nth-child(3) {
  animation-delay: 0.16s;
}

#compare.compare-lines-visible .compare-col:first-child li:nth-child(4) {
  animation-delay: 0.21s;
}

#compare.compare-lines-visible .compare-col.highlight li:nth-child(1) {
  animation-delay: 0.14s;
}

#compare.compare-lines-visible .compare-col.highlight li:nth-child(2) {
  animation-delay: 0.19s;
}

#compare.compare-lines-visible .compare-col.highlight li:nth-child(3) {
  animation-delay: 0.24s;
}

#compare.compare-lines-visible .compare-col.highlight li:nth-child(4) {
  animation-delay: 0.29s;
}

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

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

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

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

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.25s;
}

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

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out);
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > div {
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out), padding 0.38s var(--ease-out);
}

.faq-item[open] .faq-body > div {
  padding: 0 1.25rem 1.15rem;
  opacity: 1;
  transform: translateY(0);
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: var(--bg-elevated);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse 55% 70% at 50% 0%, rgba(34, 211, 238, 0.14), transparent 65%);
  animation: cta-glow-shift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

@keyframes cta-glow-shift {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate(2%, 6%) scale(1.08);
    opacity: 1;
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.cta-band p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.plan-strip {
  padding: 0 0 2rem;
}

.plan-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.plan-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.875rem;
  color: var(--muted);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.25s, color 0.25s;
}

.plan-chip span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

.plan-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.06);
  color: var(--text);
}

.plan-chip--featured {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

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

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-grid a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Pricing */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding-bottom: 4rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s var(--ease-out), border-color 0.28s, box-shadow 0.28s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.price-card-orb {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  opacity: 0.85;
  pointer-events: none;
}

.price-card.featured {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.15), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.price-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041008;
  font-weight: 700;
  transition: transform 0.25s var(--ease-out);
}

.price-card.featured:hover .price-badge {
  transform: translateX(-50%) scale(1.04);
}

.price-card.is-selected {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2), 0 24px 56px rgba(52, 211, 153, 0.12);
}

.price-card-orb--subtle {
  opacity: 0.55;
}

.price-card h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}

.price-amount span {
  font-size: 0.9375rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
}

.price-card li {
  padding: 0.35rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

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

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s;
}

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

.modal {
  width: min(480px, 100%);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1.75rem;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

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

.modal-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

#modal-orb {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.modal-head h2 {
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.modal p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.modal-actions .btn {
  flex: 1;
  min-width: 120px;
}

.modal-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-stagger > .card,
.reveal-stagger > .price-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out), border-color 0.28s, box-shadow 0.28s;
}

.reveal.visible.reveal-stagger > .price-card,
.reveal.visible .reveal-stagger > .card,
.reveal-stagger.visible > .price-card {
  opacity: 1;
  transform: translateY(0);
}

.reveal.visible.reveal-stagger > .price-card:nth-child(1),
.reveal.visible .reveal-stagger > .card:nth-child(1) {
  transition-delay: 0.04s;
}

.reveal.visible.reveal-stagger > .price-card:nth-child(2),
.reveal.visible .reveal-stagger > .card:nth-child(2) {
  transition-delay: 0.09s;
}

.reveal.visible.reveal-stagger > .price-card:nth-child(3),
.reveal.visible .reveal-stagger > .card:nth-child(3) {
  transition-delay: 0.14s;
}

.reveal.visible.reveal-stagger > .price-card:nth-child(4),
.reveal.visible .reveal-stagger > .card:nth-child(4) {
  transition-delay: 0.19s;
}

.reveal.visible .reveal-stagger > .card:nth-child(5) {
  transition-delay: 0.24s;
}

.reveal.visible .reveal-stagger > .card:nth-child(6) {
  transition-delay: 0.29s;
}

.site-footer a {
  transition: color 0.2s var(--ease-out), opacity 0.2s;
}

.site-footer a:hover {
  color: var(--accent-2);
}

@media (max-width: 960px) {
  .hero-grid,
  .compare,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel,
  .hero-panel-enter {
    animation: none;
    opacity: 1;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-row {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1rem 1rem;
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s, visibility 0.35s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: 0.35rem;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .wrap {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .logo {
    font-size: 1rem;
  }

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

  .terminal {
    font-size: 0.6875rem;
    min-height: 240px;
    padding: 0.85rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    padding: 1.25rem;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }
}

@supports (padding: max(0px)) {
  .site-header .wrap {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .site-footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

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

  .hero-intro > * {
    opacity: 1;
    animation: none;
  }

  .reveal-stagger > .card,
  .reveal-stagger > .price-card {
    opacity: 1;
    transform: none;
  }

  .faq-body {
    grid-template-rows: 1fr;
  }

  .faq-body > div {
    opacity: 1;
    transform: none;
  }

  .cta-band::before {
    animation: none;
  }

  h1 .gradient {
    animation: none;
    background-size: 100% 100%;
  }

  .reveal .reveal-head {
    opacity: 1;
    transform: none;
  }

  #compare.compare-lines-visible .compare-col li {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .compare:has(.compare-col:hover) .compare-col:not(.highlight) {
    opacity: 1;
  }

  .hero-panel.hero-panel-enter {
    opacity: 1;
    animation: none;
  }
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin-left: 0.35rem;
}

.lang-switch-link {
  color: var(--muted);
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
}

.lang-switch-link:hover {
  color: var(--text);
}

.lang-switch-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.lang-switch-sep {
  color: var(--line);
  user-select: none;
}

@media (max-width: 900px) {
  .nav .lang-switch {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* GEO guide & comparison */
.page-geo main {
  padding: 2rem 0 4rem;
}

.geo-hero {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.geo-hero .kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.geo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.geo-hero .deck {
  color: var(--muted);
  margin: 0;
}

.geo-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .geo-layout {
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: start;
  }
}

.geo-article h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 2rem 0 0.65rem;
}

.geo-article p,
.geo-article li {
  color: var(--muted);
}

.geo-article a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.geo-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  font-size: 0.88rem;
}

.geo-toc-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.geo-toc a {
  display: block;
  padding: 0.3rem 0;
  color: var(--muted);
}

.geo-toc a:hover {
  color: var(--accent);
}

.geo-cta-bar {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(52, 211, 153, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.geo-cta-bar p {
  margin: 0;
  color: var(--text);
}

.geo-vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1rem;
}

.geo-vs-table th,
.geo-vs-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  text-align: left;
}

.geo-vs-table thead th {
  background: var(--bg-elevated);
  font-weight: 600;
}

.geo-vs-table tbody th {
  font-weight: 500;
  width: 26%;
}

.geo-vs-table-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 52rem;
}

.geo-vs-table a {
  color: var(--accent-2);
}

.geo-more {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.geo-more a {
  color: var(--accent-2);
}
