:root {
  --bg: #0c1220;
  --bg-alt: #131d31;
  --surface: rgba(20, 29, 49, 0.7);
  --surface-strong: rgba(24, 35, 58, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef4ff;
  --muted: #9cb1d3;
  --primary: #84f0cf;
  --secondary: #8ca8ff;
  --accent: #ffc978;
  --shadow: 0 32px 80px rgba(4, 8, 20, 0.38);
  --container: 1240px;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --header-height: 92px;
}

body[data-theme="light"] {
  --bg: #eef4fb;
  --bg-alt: #f8fbff;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(246, 251, 255, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.52);
  --border: rgba(72, 102, 156, 0.16);
  --text: #172033;
  --muted: #5e6a82;
  --primary: #047857;
  --secondary: #3058d5;
  --accent: #3b82f6;
  --shadow: 0 28px 90px rgba(46, 76, 126, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Sora", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.landing-body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(132, 240, 207, 0.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(140, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(132, 240, 207, 0.12), transparent 30%),
    radial-gradient(circle at 78% 68%, rgba(140, 168, 255, 0.12), transparent 32%),
    radial-gradient(circle at 50% 115%, rgba(255, 201, 120, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  transition: background 220ms ease, color 220ms ease;
}

body[data-theme="light"].landing-body {
  background:
    radial-gradient(circle at 10% 12%, rgba(132, 240, 207, 0.20), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(48, 88, 213, 0.18), transparent 26%),
    radial-gradient(circle at 18% 72%, rgba(132, 240, 207, 0.10), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(48, 88, 213, 0.10), transparent 30%),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.76), transparent 34%),
    radial-gradient(circle at 50% 120%, rgba(4, 120, 87, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 32%, var(--bg-alt) 100%);
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 75%);
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(132, 240, 207, 0.16), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(140, 168, 255, 0.16), transparent 32%),
    radial-gradient(circle at 18% 72%, rgba(132, 240, 207, 0.12), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(140, 168, 255, 0.1), transparent 30%);
}

body[data-theme="light"] .page-shell::before {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.08) 1px, transparent 1px);
}

body[data-theme="light"] .page-shell::after {
  background:
    radial-gradient(circle at 12% 22%, rgba(132, 240, 207, 0.14), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(48, 88, 213, 0.14), transparent 32%),
    radial-gradient(circle at 18% 72%, rgba(132, 240, 207, 0.1), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(48, 88, 213, 0.08), transparent 30%);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

body[data-theme="light"] .site-header {
  background: color-mix(in srgb, #f8fbff 84%, transparent);
  box-shadow: 0 16px 40px rgba(77, 108, 156, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

body[data-theme="light"] .brand-mark {
  background:
    radial-gradient(circle at 28% 22%, rgba(132, 240, 207, 0.32), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 242, 255, 0.84));
  box-shadow: 0 18px 34px rgba(84, 118, 178, 0.16);
}

.brand-logo {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand-copy { display: grid; gap: 4px; }
.brand-text { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.05em; }
.brand-subtitle { font-size: 0.76rem; color: var(--muted); }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.site-nav a,
.footer-nav a,
.footer-link {
  position: relative;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.footer-nav a:hover,
.footer-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.82rem;
}

body[data-theme="light"] .language-picker,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .button-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 245, 255, 0.68));
  box-shadow: 0 16px 34px rgba(92, 120, 168, 0.08);
}

.language-trigger {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}

.language-trigger::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.72;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 100%;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  display: grid;
  gap: 6px;
  z-index: 60;
}

.language-menu[hidden] {
  display: none !important;
}

.language-option {
  border: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle {
  white-space: nowrap;
}

.auth-button {
  min-width: 128px;
  white-space: nowrap;
}

.auth-button-login {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(140, 168, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #314f95 0%, #223d77 46%, #182e5a 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 1px solid rgba(171, 196, 255, 0.62);
  box-shadow:
    0 20px 40px rgba(17, 28, 54, 0.34),
    0 0 36px rgba(106, 145, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 22px rgba(10, 18, 36, 0.14);
  position: relative;
  overflow: hidden;
}

.auth-button-login:hover {
  border-color: color-mix(in srgb, var(--secondary) 72%, var(--border));
  box-shadow:
    0 24px 40px rgba(8, 14, 28, 0.24),
    0 0 26px rgba(140, 168, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.auth-button-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.14) 50%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.auth-button-login:hover::before {
  transform: translateX(120%);
}

body[data-theme="light"] .auth-button-login {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 252, 0.9));
  color: #1d4864;
  font-weight: 800;
  border-color: rgba(117, 155, 189, 0.42);
  box-shadow:
    0 14px 28px rgba(92, 120, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

body[data-theme="light"] .auth-button-login:hover {
  border-color: rgba(84, 136, 176, 0.52);
  box-shadow:
    0 16px 30px rgba(92, 120, 168, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

body[data-theme="light"] .auth-button-login::before {
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.32) 50%, transparent 82%);
}

.language-option:hover,
.language-option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

body[data-theme="light"] .language-menu {
  background: color-mix(in srgb, #f8fbff 94%, transparent);
}

.theme-toggle,
.button,
.nav-cta {
  border: 0;
  cursor: pointer;
}

.theme-toggle {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--border);
  font: inherit;
  transition: transform 180ms ease, background 180ms ease;
}

.theme-toggle:hover,
.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.theme-toggle-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 0 18px rgba(140, 168, 255, 0.6);
}

.nav-cta,
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  color: #081018;
  background: linear-gradient(135deg, var(--primary), #d5fff3 48%, #fff4d8 100%);
  box-shadow: 0 20px 46px rgba(132, 240, 207, 0.22);
}

body[data-theme="light"] .nav-cta,
body[data-theme="light"] .button-primary {
  color: #183c37;
  background: linear-gradient(135deg, #dff7ee 0%, #c9efe2 52%, #eef9d9 120%);
  border: 1px solid rgba(122, 170, 154, 0.34);
  box-shadow:
    0 16px 30px rgba(111, 157, 141, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-theme="light"] .nav-cta:hover,
body[data-theme="light"] .button-primary:hover {
  border-color: rgba(109, 160, 143, 0.46);
  box-shadow:
    0 18px 34px rgba(111, 157, 141, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.button-secondary {
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero-section {
  position: relative;
  padding: 0 0 16px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

body[data-theme="light"] .hero-backdrop::before,
body[data-theme="light"] .hero-backdrop::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-theme="light"] .hero-backdrop::before {
  inset: 3% auto auto 50%;
  width: min(860px, 90vw);
  height: 520px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.9), rgba(220, 236, 255, 0.58) 32%, transparent 72%);
  opacity: 0.95;
}

body[data-theme="light"] .hero-backdrop::after {
  inset: -6% auto auto 12%;
  width: 60%;
  height: 78%;
  background:
    linear-gradient(115deg, rgba(132, 240, 207, 0.16), transparent 48%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
  opacity: 0.55;
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.9;
}

.aurora-a {
  width: 34rem;
  height: 34rem;
  top: -9rem;
  left: -9rem;
  background: radial-gradient(circle, rgba(132, 240, 207, 0.28), transparent 64%);
  animation: drift 18s ease-in-out infinite;
}

.aurora-b {
  width: 38rem;
  height: 38rem;
  top: -8rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(140, 168, 255, 0.28), transparent 64%);
  animation: drift 16s ease-in-out infinite reverse;
}

.aurora-c {
  width: 30rem;
  height: 30rem;
  bottom: -10rem;
  left: 26%;
  background: radial-gradient(circle, rgba(255, 201, 120, 0.18), transparent 64%);
  animation: pulse 16s ease-in-out infinite;
}

body[data-theme="light"] .aurora {
  filter: blur(26px);
  opacity: 1;
}

body[data-theme="light"] .aurora-a {
  background: radial-gradient(circle, rgba(132, 240, 207, 0.30), transparent 66%);
}

body[data-theme="light"] .aurora-b {
  background: radial-gradient(circle, rgba(94, 134, 255, 0.22), transparent 66%);
}

body[data-theme="light"] .aurora-c {
  background: radial-gradient(circle, rgba(4, 120, 87, 0.18), transparent 66%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding-top: 8px;
}

.hero-kicker,
.eyebrow,
.panel-tag,
.card-label,
.price-badge,
.timeline-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--secondary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-theme="light"] .hero-kicker,
body[data-theme="light"] .eyebrow,
body[data-theme="light"] .panel-tag,
body[data-theme="light"] .card-label,
body[data-theme="light"] .price-badge,
body[data-theme="light"] .timeline-label {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 242, 255, 0.72));
  border-color: rgba(88, 124, 184, 0.18);
  box-shadow: 0 12px 24px rgba(92, 120, 168, 0.08);
}

.hero-copy h1,
.section-heading h2,
.story-panel h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5.15vw, 5.15rem);
  max-width: 9.4ch;
  line-height: 0.92;
  text-wrap: balance;
}

.section-heading h2,
.contact-copy h2 {
  max-width: 11ch;
}

.section-heading h2,
.story-panel h2,
.contact-copy h2 {
  max-width: none;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

.hero-lead,
.section-heading p,
.feature-card p,
.step-card p,
.integration-card p,
.price-card p,
.faq-item p,
.story-panel p,
.contact-copy p,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  margin: 14px 0 0;
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-actions {
  justify-content: center;
}

.hero-cta {
  min-height: 64px;
  padding: 0 40px;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow:
    0 24px 44px rgba(132, 240, 207, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.015);
}

body[data-theme="light"] .hero-cta {
  color: #123a34;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(135deg, #dff8ef 0%, #c3efdd 56%, #eef8d7 120%);
  border: 1px solid rgba(126, 178, 159, 0.42);
  box-shadow:
    0 22px 38px rgba(117, 166, 149, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .hero-cta:hover {
  border-color: rgba(108, 162, 143, 0.54);
  box-shadow:
    0 26px 42px rgba(117, 166, 149, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.48) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.proof-group:first-child .proof-icon-card {
  transition: none;
}

.proof-group:first-child .proof-icon-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.stat-card-inline,
.feature-card,
.step-card,
.integration-card,
.price-card,
.faq-item,
.story-panel,
.glass-panel,
.contact-card,
.contact-panel,
.timeline-card,
.signal-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

body[data-theme="light"] .stat-card-inline,
body[data-theme="light"] .feature-card,
body[data-theme="light"] .step-card,
body[data-theme="light"] .integration-card,
body[data-theme="light"] .price-card,
body[data-theme="light"] .faq-item,
body[data-theme="light"] .story-panel,
body[data-theme="light"] .glass-panel,
body[data-theme="light"] .contact-card,
body[data-theme="light"] .contact-panel,
body[data-theme="light"] .timeline-card,
body[data-theme="light"] .signal-card,
body[data-theme="light"] .marquee-track,
body[data-theme="light"] .tier-card {
  box-shadow:
    0 24px 50px rgba(92, 120, 168, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.stat-card-inline { padding: 18px; }
.stat-card-inline strong { display: block; font-size: 1.2rem; }
.stat-card-inline span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

.hero-stage { position: relative; min-height: 490px; }

.orbital-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.45;
}

.orbital-ring-a { inset: 90px 10% auto; height: 460px; }
.orbital-ring-b { inset: 30px 18% auto; height: 580px; }

body[data-theme="light"] .orbital-ring {
  border-color: rgba(101, 139, 201, 0.24);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}

.glass-panel {
  padding: 24px;
}

.hero-stage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-content: start;
  padding-top: 18px;
  perspective: 1400px;
}

.savings-panel,
.proof-panel {
  position: relative;
  transform-style: preserve-3d;
}

.savings-panel {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proof-panel {
  min-height: 250px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.savings-panel,
.proof-panel {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.savings-panel:hover,
.proof-panel:hover {
  transform:
    translate3d(var(--float-x, 0px), calc(var(--float-y, 0px) - 10px), 0)
    rotateX(var(--float-rx, 0deg))
    rotateY(var(--float-ry, 0deg))
    scale(1.01);
  border-color: color-mix(in srgb, var(--secondary) 46%, var(--border));
  box-shadow:
    0 28px 60px rgba(8, 14, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .savings-panel:hover,
body[data-theme="light"] .proof-panel:hover {
  box-shadow:
    0 28px 60px rgba(92, 120, 168, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.spotlight-panel h2,
.price-card h3,
.feature-card h3,
.step-card h3,
.integration-card h3,
.faq-item summary,
.timeline-card h3 {
  margin: 16px 0 0;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.spotlight-panel p,
.savings-panel p { margin: 14px 0 0; }

.panel-caption { color: var(--muted); font-size: 0.82rem; }
.savings-panel strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.proof-group {
  display: grid;
  gap: 14px;
}

.proof-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-icons-delivery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-icon-card {
  padding: 16px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
  transform-style: preserve-3d;
}

.proof-icon-card:hover {
  transform:
    translate3d(0, -10px, 0)
    rotateX(var(--card-tilt-x, 0deg))
    rotateY(var(--card-tilt-y, 0deg))
    scale(1.02);
  border-color: color-mix(in srgb, var(--secondary) 40%, var(--border));
  box-shadow:
    0 20px 34px rgba(8, 14, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.proof-icons-delivery .proof-icon-card {
  transition: none;
}

.proof-icons-delivery .proof-icon-card:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.proof-icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.proof-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.proof-icon-google img {
  transform: scale(1.32);
}

.proof-icon-card small {
  color: var(--text);
  font-size: 0.7rem;
  line-height: 1.35;
  text-align: center;
}

.marquee-section { padding-bottom: 10px; }

.marquee-track {
  display: flex;
  gap: 0;
  overflow: hidden;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px;
  min-height: 92px;
  align-items: center;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}

.marquee-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  min-width: max-content;
  animation: marqueeLoop 20s linear infinite;
}

.marquee-track span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.marquee-track span:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.section { padding: 60px 0; }

.section-alt {
  background: transparent;
}

body[data-theme="light"] .section-alt {
  background: transparent;
}

.section-story { padding-top: 12px; }

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

.section-heading.align-left {
  text-align: left;
  margin-left: 0;
}

.section-heading.narrow { max-width: 700px; }

.feature-grid,
.steps-grid,
.integration-panels,
.pricing-grid,
.tiers-grid {
  display: grid;
  gap: 22px;
}

.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card,
.step-card,
.integration-card,
.price-card {
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.step-card:hover,
.integration-card:hover,
.price-card:hover,
.story-panel:hover,
.faq-item:hover {
  transform:
    translate3d(0, -12px, 0)
    rotateX(var(--card-tilt-x, 0deg))
    rotateY(var(--card-tilt-y, 0deg))
    scale(1.01);
  border-color: color-mix(in srgb, var(--secondary) 45%, var(--border));
}

body[data-theme="light"] .feature-card:hover,
body[data-theme="light"] .step-card:hover,
body[data-theme="light"] .integration-card:hover,
body[data-theme="light"] .price-card:hover,
body[data-theme="light"] .story-panel:hover,
body[data-theme="light"] .faq-item:hover,
body[data-theme="light"] .tier-card:hover {
  box-shadow:
    0 30px 60px rgba(92, 120, 168, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.feature-index,
.step-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(132, 240, 207, 0.18), rgba(140, 168, 255, 0.18));
  color: var(--text);
  font-weight: 700;
}

.feature-card h3,
.step-card h3,
.integration-card h3,
.price-card h3 {
  margin-top: 18px;
}

.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card { background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, transparent), rgba(255, 255, 255, 0.04)); }

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.integration-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.integration-card-accent,
.featured-price {
  background:
    radial-gradient(circle at top right, rgba(255, 201, 120, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(140, 168, 255, 0.12), rgba(132, 240, 207, 0.08));
}

.clean-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.clean-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-badge.highlight { color: var(--accent); }
.block-button { width: 100%; margin-top: 28px; }

.price-card-with-tiers {
  grid-column: span 1;
}

.inline-tiers {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tiers-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}

.tiers-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tier-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tier-card:hover {
  transform:
    translate3d(0, -10px, 0)
    rotateX(var(--card-tilt-x, 0deg))
    rotateY(var(--card-tilt-y, 0deg))
    scale(1.01);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.tier-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--secondary) 72%, white);
  outline-offset: 3px;
}

.tier-card.is-selected {
  border-color: color-mix(in srgb, var(--primary) 52%, var(--border));
  background:
    radial-gradient(circle at top left, rgba(132, 240, 207, 0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(140, 168, 255, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(12, 20, 40, 0.18);
  transform: translateY(-4px);
}

.tier-card span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0.06em;
  word-break: keep-all;
  overflow-wrap: normal;
  text-align: center;
}

.tier-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.tier-button {
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
  font-size: 0.92rem;
}

.tier-button-main {
  width: auto;
  min-width: 260px;
  margin-top: 0;
}

.tier-selection-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.tier-selection-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.tier-selection-copy strong,
#tierSelectionPrice {
  color: var(--text);
  font-size: 1rem;
}

#tierSelectionPrice {
  margin-left: 12px;
  font-weight: 700;
}

body[data-theme="light"] .tier-card.is-selected {
  box-shadow: 0 18px 36px rgba(92, 120, 168, 0.16);
}

body[data-theme="light"] .tier-selection-bar {
  background: rgba(238, 245, 255, 0.7);
  box-shadow: 0 18px 34px rgba(92, 120, 168, 0.08);
}

.price-card-upcoming {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(92, 101, 124, 0.16), rgba(56, 66, 89, 0.18)),
    rgba(34, 45, 68, 0.74);
  border-color: rgba(160, 171, 196, 0.16);
}

.price-card-upcoming::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  pointer-events: none;
}

.price-card-upcoming::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-lg) - 14px);
  border: 1px dashed rgba(165, 176, 198, 0.16);
  pointer-events: none;
}

.price-card-upcoming .price-badge {
  color: #d4dbea;
  background: linear-gradient(180deg, rgba(116, 126, 148, 0.34), rgba(89, 99, 124, 0.28));
  border-color: rgba(177, 188, 209, 0.14);
  box-shadow: none;
}

.price-card-upcoming .price-badge.highlight {
  color: #dce3f1;
}

.upcoming-ribbon {
  position: absolute;
  top: 34px;
  right: -86px;
  z-index: 2;
  width: 280px;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #eef4ff;
  background: linear-gradient(90deg, rgba(122, 136, 161, 0.92), rgba(91, 104, 128, 0.92));
  border-top: 1px solid rgba(214, 222, 238, 0.18);
  border-bottom: 1px solid rgba(214, 222, 238, 0.12);
  transform: rotate(42deg);
  box-shadow: 0 16px 30px rgba(8, 14, 28, 0.24);
  pointer-events: none;
}

.price-card-upcoming h3,
.price-card-upcoming p,
.price-card-upcoming li,
.price-card-upcoming .clean-list li,
.price-card-upcoming .price-badge,
.price-card-upcoming .button-disabled {
  position: relative;
  z-index: 1;
}

.price-card-upcoming h3 {
  color: #e5ebf7;
}

.price-card-upcoming p,
.price-card-upcoming li {
  color: #aeb9cf;
}

.price-card-upcoming .clean-list li::before {
  background: #93a0bb;
}

.upcoming-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(166, 177, 197, 0.14);
  background: rgba(112, 121, 142, 0.14);
  color: #c3cddd;
  font-weight: 600;
  line-height: 1.6;
}

body[data-theme="light"] .upcoming-note {
  border-color: rgba(131, 141, 160, 0.22);
  background: rgba(187, 194, 206, 0.24);
  color: #526071;
}

body[data-theme="light"] .price-card-upcoming {
  background:
    linear-gradient(180deg, rgba(228, 232, 239, 0.9), rgba(211, 217, 228, 0.78)),
    rgba(243, 246, 251, 0.88);
  border-color: rgba(149, 158, 175, 0.2);
}

body[data-theme="light"] .upcoming-ribbon {
  color: #455266;
  background: linear-gradient(90deg, rgba(216, 222, 231, 0.96), rgba(193, 201, 213, 0.96));
  border-top-color: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(144, 156, 174, 0.18);
  box-shadow: 0 14px 26px rgba(106, 118, 136, 0.16);
}

body[data-theme="light"] .price-card-upcoming::after {
  border-color: rgba(149, 158, 175, 0.22);
}

body[data-theme="light"] .price-card-upcoming .price-badge {
  color: #5f6b7f;
  background: linear-gradient(180deg, rgba(225, 229, 236, 0.96), rgba(205, 211, 221, 0.82));
  border-color: rgba(152, 161, 178, 0.2);
}

body[data-theme="light"] .price-card-upcoming h3 {
  color: #2c3546;
}

body[data-theme="light"] .price-card-upcoming p,
body[data-theme="light"] .price-card-upcoming li {
  color: #667388;
}

body[data-theme="light"] .price-card-upcoming .clean-list li::before {
  background: #8b96aa;
}

.button-disabled {
  opacity: 0.82;
  pointer-events: none;
  color: #9eabc2;
  border-style: dashed;
  background: rgba(101, 113, 140, 0.16);
  box-shadow: none;
}

body[data-theme="light"] .button-disabled {
  color: #727e91;
  background: rgba(186, 194, 206, 0.36);
}

.story-panel {
  display: block;
  padding: 34px;
}

.faq-list { display: grid; gap: 14px; }
.faq-item {
  padding: 0;
  overflow: hidden;
  transition:
    border-color 280ms ease,
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
    background 380ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms ease;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 0 24px;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
  transition: color 220ms ease, padding 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(147, 165, 198, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe7fb;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transform: rotate(0deg);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    box-shadow 320ms ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px 24px;
  transform: translateY(-10px);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 280ms ease;
}

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

.faq-item[open] {
  background:
    radial-gradient(circle at top right, rgba(132, 240, 207, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015)),
    var(--surface);
  border-color: rgba(141, 168, 255, 0.18);
  box-shadow: 0 18px 38px rgba(6, 12, 24, 0.22);
}

.faq-item[open] summary {
  padding-bottom: 10px;
  color: #f6f8ff;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: linear-gradient(135deg, rgba(136, 241, 208, 0.2), rgba(131, 166, 255, 0.16));
  border-color: rgba(151, 201, 255, 0.26);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(90, 132, 220, 0.2);
}

.faq-item[open] .faq-answer p {
  transform: translateY(0);
}

.contact-panel {
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: 28px;
  background:
    radial-gradient(circle at top right, rgba(132, 240, 207, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(140, 168, 255, 0.14), transparent 30%),
    var(--surface-strong);
}

.contact-card { padding: 28px; background: rgba(255, 255, 255, 0.06); }
.contact-link { display: inline-block; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.04em; }

.site-footer { padding: 26px 0 40px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.legal-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
}

.legal-modal-layer[hidden] {
  display: none !important;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(132, 240, 207, 0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(140, 168, 255, 0.08), transparent 28%),
    rgba(8, 12, 22, 0.12);
}

.legal-modal {
  position: relative;
  z-index: 1;
  display: block;
  width: min(860px, 100%);
  max-height: min(86vh, 920px);
}

.legal-modal[hidden] {
  display: none !important;
}

.legal-modal-shell {
  overflow: auto;
  max-height: inherit;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(140, 168, 255, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(132, 240, 207, 0.1), transparent 24%),
    var(--surface-strong);
  box-shadow: 0 40px 120px rgba(2, 6, 18, 0.42);
}

.legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-modal-kicker {
  margin: 0;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-modal-close {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.legal-modal h2 {
  margin: 18px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.06em;
}

.legal-modal p,
.legal-modal li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-modal section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.legal-modal h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.legal-modal ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

body[data-theme="light"] .legal-modal-backdrop {
  background:
    radial-gradient(circle at top left, rgba(132, 240, 207, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(140, 168, 255, 0.1), transparent 28%),
    rgba(236, 242, 250, 0.16);
}

body[data-theme="light"] .legal-modal-shell {
  box-shadow: 0 36px 100px rgba(76, 103, 149, 0.18);
}

[data-reveal] {
  opacity: 0;
  transform: perspective(1200px) translate3d(var(--reveal-x, 0), 56px, 0) scale(0.9) rotateX(10deg);
  filter: saturate(0.82);
  transition:
    opacity 1620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: perspective(1200px) translate3d(0, 0, 0) scale(1) rotateX(0deg);
  filter: saturate(1);
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, 18px, 0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes marqueeLoop {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-140%); }
}

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto auto; }
  .site-nav { grid-column: 1 / -1; justify-content: flex-start; order: 3; }

  .hero-layout,
  .split-layout,
  .story-panel,
  .contact-panel,
  .feature-grid,
  .steps-grid,
  .integration-panels,
  .pricing-grid,
  .tiers-grid,
  .tiers-grid-compact {
    grid-template-columns: 1fr;
  }

  .hero-stats { grid-template-columns: 1fr; }
  .hero-stage { min-height: auto; }
  .hero-stage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1440px) {
  .header-inner {
    gap: 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-text {
    font-size: 1.04rem;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.96rem;
  }

  .header-controls {
    gap: 6px;
  }

  .language-picker {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .theme-toggle {
    min-height: 40px;
    padding: 0 12px;
    gap: 7px;
    font-size: 0.96rem;
  }

  .nav-cta,
  .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.96rem;
  }

  .hero-cta {
    min-height: 64px;
    padding: 0 40px;
    font-size: 1.14rem;
  }

  .auth-button {
    min-width: 102px;
  }
}

@media (max-width: 1180px) {
  .tiers-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto auto; }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }
  .nav-toggle { display: inline-block; justify-self: end; }
  .header-controls { grid-column: 1 / -1; flex-wrap: wrap; }
  .nav-cta { flex: 1 1 100%; }
  .hero-copy h1 { max-width: none; }
  .hero-stage { min-height: auto; }

  .orbital-ring { display: none; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 24px)); }
  .brand-mark { width: 48px; height: 48px; }
  .brand-subtitle { display: none; }

  .language-picker,
  .theme-toggle,
  .nav-cta,
  .button {
    width: 100%;
    justify-content: center;
  }

  .hero-section { padding-top: 0; }
  .hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .section { padding: 88px 0; }

  .proof-panel {
    gap: 14px;
  }

  .proof-group {
    gap: 10px;
  }

  .proof-panel .panel-tag {
    width: 100%;
    padding: 12px 18px;
    justify-content: flex-start;
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.07em;
  }

  .proof-icons {
    gap: 8px;
  }

  .proof-icon-card {
    padding: 14px 8px;
    border-radius: 18px;
    gap: 8px;
  }

  .proof-icon {
    width: 44px;
    height: 44px;
  }

  .proof-icon-card small {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .feature-card,
  .step-card,
  .integration-card,
  .price-card,
  .tier-card,
  .story-panel,
  .faq-item,
  .contact-panel,
  .contact-card,
  .timeline-card,
  .signal-card {
    padding: 22px;
  }

  .device-frame { padding: 10px; }
  .device-screen { padding: 16px; min-height: 460px; }
  .signal-grid { grid-template-columns: 1fr; }
}
