/* ==========================================================================
   AURON SYSTEMS — Webshop landing
   Implemented from "Auron Systems Webshop Landing.dc.html" (Claude Design)
   Tokens: auron-systems-design-system c15a0379
   ========================================================================== */

:root {
  /* ---- Gold (brand) ---- */
  --gold-50:  #FBF6EA;
  --gold-100: #F3E7C9;
  --gold-200: #E6D19E;
  --gold-300: #D6B876;
  --gold-400: #C7A25C;
  --gold-500: #B98F49;
  --gold-600: #9C7638;
  --gold-700: #7D5D2C;
  --gold-800: #5F4620;
  --gold-900: #423016;

  /* ---- Neutrals (warm charcoal) ---- */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #F7F4EF;
  --neutral-100: #EDE8E0;
  --neutral-200: #DDD5CB;
  --neutral-300: #BDB3A8;
  --neutral-400: #948A80;
  --neutral-500: #6B6058;
  --neutral-600: #433C36;
  --neutral-700: #2B2724;
  --neutral-800: #1D1A18;
  --neutral-900: #131110;
  --neutral-950: #0A0908;

  /* ---- Semantic aliases (dark is default) ---- */
  --surface-app: var(--neutral-950);
  --surface-sunken: #060605;
  --surface-card: var(--neutral-900);
  --surface-card-hover: var(--neutral-800);
  --surface-inset: var(--neutral-800);

  --border-subtle: var(--neutral-700);
  --border-default: var(--neutral-600);
  --border-strong: var(--neutral-500);
  --border-gold: var(--gold-500);

  --text-primary: var(--neutral-50);
  --text-secondary: var(--neutral-300);
  --text-tertiary: var(--neutral-400);
  --text-disabled: var(--neutral-600);
  --text-on-gold: var(--neutral-950);

  --brand-primary: var(--gold-400);
  --brand-primary-hover: var(--gold-300);
  --brand-primary-active: var(--gold-500);
  --brand-primary-muted: rgba(199, 162, 92, 0.12);
  --brand-primary-border: rgba(199, 162, 92, 0.35);

  --focus-ring: var(--gold-400);

  /* ---- Typography ---- */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --leading-snug: 1.3;
  --tracking-wide: 0.04em;
  --tracking-widest: 0.14em;

  /* ---- Spacing / container ---- */
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --container-max: 1200px;

  /* ---- Radius ---- */
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-gold-glow: 0 0 0 1px rgba(199, 162, 92, 0.4), 0 0 24px rgba(199, 162, 92, 0.16);
  --shadow-focus-ring: 0 0 0 3px rgba(199, 162, 92, 0.35);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--surface-app);
}

body {
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--gold-300); }

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes edge-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(199,162,92,0.35), 0 0 18px rgba(199,162,92,0.10); }
  50%      { box-shadow: 0 0 0 1px rgba(214,184,118,0.6), 0 0 30px rgba(214,184,118,0.22); }
}

/* ==========================================================================
   Design-system components (Button, Badge)
   ========================================================================== */

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease-standard), color 0.2s var(--ease-standard),
              border-color 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}
.ds-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus-ring); }

.ds-btn--primary {
  background: var(--brand-primary);
  color: var(--text-on-gold);
}
.ds-btn--primary:hover { background: var(--brand-primary-hover); color: var(--text-on-gold); }
.ds-btn--primary:active { background: var(--brand-primary-active); }

.ds-btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.ds-btn--secondary:hover { border-color: var(--border-gold); color: var(--gold-200); background: var(--brand-primary-muted); }

.ds-btn--lg { height: 48px; padding: 0 32px; font-size: 15px; }
.ds-btn--block { width: 100%; }

.ds-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.ds-badge--gold {
  background: var(--brand-primary-muted);
  border: 1px solid var(--brand-primary-border);
  color: var(--gold-300);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh; /* mobile: exclude the collapsing URL bar */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(64px, 9vh, 96px) 24px 0;
  text-align: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: var(--surface-app);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 38%,
    rgba(6,5,4,0.8) 0%, rgba(6,5,4,0.68) 55%, rgba(6,5,4,0.4) 80%, rgba(6,5,4,0.15) 100%);
}

.hero__logo {
  position: absolute;
  top: clamp(24px, 4vh, 40px);
  left: clamp(24px, 4vw, 48px);
  width: 88px;
  height: 87px;
  object-fit: contain;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
}

.hero__wordmark { margin-bottom: 36px; animation: fade-rise 0.8s ease-out both; }
.hero__wordmark-main {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.4em;
  color: #ffffff;
}
.hero__wordmark-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

.hero__title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 1.1rem + 2.3vw, 3.5rem);
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
  animation: fade-rise 0.8s ease-out both;
}

.hero__lead {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
  max-width: 520px;
  margin: 20px auto 32px;
  line-height: 1.6;
  animation: fade-rise 0.8s ease-out 0.2s both;
}

/* Luxe CTA — shared by the hero and audit buttons.
   Layers: static gold rim (button bg) → spinning conic highlight (__ring)
   → dark glass core (__bg) → hover shine + click ripple → content.
   Hover only transitions transform/box-shadow — it must NEVER touch the
   `animation` property, or leaving hover replays the entrance fade. */
.cta-lux {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(120deg, rgba(214,184,118,0.55), rgba(199,162,92,0.18) 45%, rgba(214,184,118,0.45));
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 0 30px rgba(214,184,118,0.22), 0 14px 34px rgba(0,0,0,0.35);
  transition: transform 0.28s var(--ease-standard), box-shadow 0.28s var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
}
.cta-lux__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(246,231,201,0.95) 40deg,
    rgba(214,184,118,0.25) 95deg,
    transparent 150deg,
    transparent 205deg,
    rgba(230,209,158,0.8) 255deg,
    transparent 320deg);
  animation: cta-spin 5.5s linear infinite;
  z-index: 0;
}
@keyframes cta-spin { to { rotate: 360deg; } }
.cta-lux__bg {
  position: absolute;
  inset: 1.5px;
  border-radius: inherit;
  background: rgba(10,8,6,0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 1;
}
.cta-lux__shine {
  position: absolute;
  inset: 1.5px;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.cta-lux__shine::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
}
.cta-lux:hover .cta-lux__shine::before { animation: cta-shine 0.9s ease; }
@keyframes cta-shine { to { left: 145%; } }
.cta-lux__ripple {
  position: absolute;
  inset: 1.5px;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.cta-lux__content {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 42px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.cta-lux__arrow { transition: transform 0.28s var(--ease-standard); }
.cta-lux:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 46px rgba(214,184,118,0.42), 0 18px 44px rgba(0,0,0,0.45);
}
.cta-lux:hover .cta-lux__arrow { transform: translateX(4px); }
.cta-lux:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s;
}
.cta-lux:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(199,162,92,0.5), 0 0 34px rgba(214,184,118,0.35);
}
/* entrance animation only on the hero instance */
.hero__cta { animation: fade-rise 0.8s ease-out 0.4s both; }

@media (prefers-reduced-motion: reduce) {
  .cta-lux__ring { animation: none; }
  .cta-lux:hover { transform: none; }
  .cta-lux:hover .cta-lux__shine::before { animation: none; }
}

.hero__micro {
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-top: 16px;
  animation: fade-rise 0.8s ease-out 0.4s both;
}

/* ==========================================================================
   Starfield wrapper (bridge → footer)
   ========================================================================== */

.starfield {
  position: relative;
  background-color: var(--surface-app);
  background-repeat: repeat;
  background-size: 900px 900px;
  /* background-image set in webshop.js from inline SVG tile */
}

/* ==========================================================================
   BRIDGE (hero → problem scroll connector)
   ========================================================================== */

.bridge {
  position: relative;
  height: clamp(160px, 20vh, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bridge__track {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(199,162,92,0.16) 12%, rgba(199,162,92,0.16) 88%, transparent);
  transform: translateX(-50%);
}
.bridge__beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-400), var(--gold-200));
  box-shadow: 0 0 14px rgba(214,184,118,0.55);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
}
.bridge__branch-left {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 64px;
  height: 1px;
  background: linear-gradient(to left, rgba(214,184,118,0.5), transparent);
  transform: translate(-100%, -50%);
  opacity: 0;
}
.bridge__branch-right {
  position: absolute;
  top: 64%;
  left: 50%;
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, rgba(214,184,118,0.5), transparent);
  transform: translate(0, -50%);
  opacity: 0;
}
.bridge__dot {
  position: absolute;
  left: 50%;
  top: 0%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-200);
  box-shadow: 0 0 18px 5px rgba(214,184,118,0.6);
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* ==========================================================================
   Section headers
   ========================================================================== */

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}
.section-head__eyebrow {
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  color: var(--text-primary);
  margin: 0;
  line-height: var(--leading-snug);
}
.section-head__sub {
  color: var(--text-secondary);
  font-size: 15px;
  margin: var(--space-3) 0 0;
}

/* Scroll-revealed problem header */
#problema .section-head__eyebrow,
#problema .section-head__title {
  opacity: 0;
  transform: translateY(14px);
}
#problema .section-head__title { transform: translateY(18px); }

/* ==========================================================================
   PROBLEM
   ========================================================================== */

.problem {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 64px) clamp(80px, 10vw, 140px);
}

/* Stacking deck: each card pins below the header, the next slides over it */
.stack {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  --stack-top: clamp(72px, 12vh, 120px);
}
.stack-item {
  position: sticky;
  top: var(--stack-top);
}
.stack-item + .stack-item { margin-top: clamp(180px, 42vh, 440px); }
.stack-item:nth-child(1) { z-index: 1; }
.stack-item:nth-child(2) { z-index: 2; }
.stack-item:nth-child(3) { z-index: 3; }

.stack-card {
  position: relative;
  display: grid;
  grid-template-columns: 44% 1fr;
  height: min(66vh, 600px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(199,162,92,0.35);
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(199,162,92,0.10), transparent 55%),
    linear-gradient(160deg, #191512, var(--surface-card) 60%);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(214,184,118,0.06);
  transform-origin: center 20%;
  will-change: transform;
}

.stack-card__media {
  position: relative;
  min-height: 200px;
}
.stack-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-inset);
}
.stack-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(25,21,18,0.92) 100%);
}
.stack-card--flip .stack-card__media { order: 2; }
.stack-card--flip .stack-card__media::after {
  background: linear-gradient(270deg, transparent 60%, rgba(25,21,18,0.92) 100%);
}

.stack-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}
.stack-card__watermark {
  position: absolute;
  right: 20px;
  top: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(88px, 12vw, 170px);
  line-height: 1;
  color: rgba(214, 184, 118, 0.07);
  user-select: none;
  pointer-events: none;
}
.stack-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.stack-card__eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold-500);
}
.stack-card__eyebrow span {
  font-family: var(--font-mono);
  color: var(--gold-300);
}
.stack-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
}
.stack-card__body {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.0625rem);
  line-height: 1.7;
  max-width: 46ch;
  margin: 0;
}
.stack-card__veil {
  position: absolute;
  inset: 0;
  background: #060504;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 860px) {
  .stack-card {
    grid-template-columns: 1fr;
    grid-template-rows: 42% 1fr;
    height: min(74vh, 640px);
  }
  .stack-card--flip .stack-card__media { order: 0; }
  .stack-card__media::after,
  .stack-card--flip .stack-card__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(25,21,18,0.95) 100%);
  }
  .stack-card__content { justify-content: flex-start; }
  .stack-card__watermark { font-size: 88px; right: 14px; top: auto; bottom: 8px; }
}

/* ==========================================================================
   SOLUTION
   ========================================================================== */

.solution {
  position: relative;
  overflow: hidden;
  background: #060504;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 64px);
}
.solution__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  z-index: 0;
  pointer-events: none;
}
.solution__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6,5,4,0.35) 0%, rgba(6,5,4,0.55) 42%, rgba(6,5,4,0.92) 62%, rgba(6,5,4,0.96) 100%);
}
.solution__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}
.solution__grid {
  display: grid;
  grid-template-columns: minmax(0, 42%) 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.solution__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.solution-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
}
.solution-item + .solution-item {
  border-top: 1px solid var(--border-subtle);
  padding-top: calc(var(--space-6) + 2px);
}
.solution-item__content { flex: 1; }
.solution-item__title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.solution-item__body {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 44ch;
}

@media (max-width: 860px) {
  .solution__grid { grid-template-columns: 1fr; }
  .solution__spacer { display: none; }
  .solution__scrim {
    background: linear-gradient(180deg, rgba(6,5,4,0.55) 0%, rgba(6,5,4,0.85) 45%, rgba(6,5,4,0.95) 100%);
  }
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 64px);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.tier-outer { perspective: 1200px; height: 100%; }

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
}
.tier-card--highlight {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold-glow);
}

.tier-card__spotlight {
  position: absolute;
  inset: -20%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at 50% 50%, rgba(214,184,118,0.16), transparent 70%);
  z-index: 3;
}
.tier-card__sweep {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.10) 50%, transparent 58%);
  z-index: 4;
  transform: translateX(-120%);
}
.tier-card__noise {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.tier-card__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.tier-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  flex: 1;
  padding: var(--space-6);
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

.tier-card__head { transform: translateZ(36px); }
.tier-card__head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tier-card__name {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 18px;
}
.tier-card__desc {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.5;
}

.tier-card__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: var(--space-4);
  background: var(--surface-inset);
  border-radius: var(--radius-md);
  transform: translateZ(42px);
}
.tier-card__price-label {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tier-card__price-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
}
.tier-card__price-unit {
  color: var(--text-tertiary);
  font-size: 12px;
}

.tier-card__volume {
  color: var(--text-tertiary);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateZ(18px);
}
.tier-card__volume i, .tier-card__volume svg { width: 13px; height: 13px; }

.tier-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  transform: translateZ(18px);
}
.tier-card__features-label {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: -2px;
}
.tier-card__feature {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.tier-card__feature i, .tier-card__feature svg {
  width: 14px;
  height: 14px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-card__action { transform: translateZ(28px); }

.pricing__note {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 12px;
  margin: var(--space-8) 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .tier-card { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   AUDIT CTA
   ========================================================================== */

.audit {
  padding: clamp(24px, 4vw, 40px) clamp(20px, 6vw, 64px) clamp(80px, 10vw, 120px);
}
.audit__card {
  position: relative;
  overflow: hidden;
  max-width: var(--container-max);
  margin: 0 auto;
  text-align: center;
  padding: clamp(56px, 8vw, 88px) clamp(24px, 6vw, 64px);
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-gold-glow);
}
.audit__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
}
.audit__inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.audit__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
  color: var(--text-primary);
  margin: 0 0 var(--space-8);
  line-height: var(--leading-snug);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-10) clamp(20px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__brand img { width: 16px; height: 16px; object-fit: contain; }
.footer__brand span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.footer__mail { font-size: 14px; word-break: break-all; }
.footer__copy { color: var(--text-disabled); font-size: 12px; }

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  color: var(--text-tertiary);
  transition: color 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard),
              background 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
}
.footer__social a:hover {
  color: var(--gold-300);
  border-color: var(--border-gold);
  background: var(--brand-primary-muted);
  transform: translateY(-2px);
}
.footer__social svg { display: block; }

/* ==========================================================================
   LEAD MODAL
   ========================================================================== */

.ds-btn--block { width: 100%; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 5vh, 56px) 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-standard), visibility 0.28s var(--ease-standard);
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 2, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-gold);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(199,162,92,0.10), transparent 55%),
    linear-gradient(165deg, rgba(29,26,24,0.94), rgba(10,9,8,0.96));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), var(--shadow-gold-glow);
  padding: clamp(24px, 4vw, 40px);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.32s var(--ease-standard), opacity 0.32s var(--ease-standard);
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); opacity: 1; }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-standard), color 0.2s var(--ease-standard), background 0.2s var(--ease-standard);
}
.modal__close:hover { border-color: var(--border-gold); color: var(--gold-200); background: var(--brand-primary-muted); }
.modal__close:focus-visible { outline: none; box-shadow: var(--shadow-focus-ring); }

.modal__head { margin-bottom: var(--space-6); padding-right: 40px; }
.modal__eyebrow {
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 1.75rem);
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: var(--leading-snug);
}
.modal__sub {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.modal__form { display: flex; flex-direction: column; gap: var(--space-5); }
/* [hidden] must win over the flex display above so the form fully disappears */
.modal__form[hidden] { display: none; }

.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.field__label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.field__label span { color: var(--brand-primary); }

.field__input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: rgba(0,0,0,0.35);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);
}
.field__input::placeholder { color: var(--text-disabled); }
.field__input:focus {
  outline: none;
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px rgba(199,162,92,0.18);
}
.field__input:user-invalid { border-color: var(--red-500); }

.field--radio { gap: 10px; }
.field--radio .field__label { margin-bottom: 2px; }

.radio {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color 0.18s var(--ease-standard), background 0.18s var(--ease-standard);
}
.radio:hover { border-color: var(--border-default); background: rgba(255,255,255,0.04); }
.radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio__mark {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  position: relative;
  transition: border-color 0.18s var(--ease-standard);
}
.radio__mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-primary);
  transform: scale(0);
  transition: transform 0.18s var(--ease-standard);
}
.radio__text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}
.radio input:checked ~ .radio__mark { border-color: var(--brand-primary); }
.radio input:checked ~ .radio__mark::after { transform: scale(1); }
.radio input:checked ~ .radio__text { color: var(--text-primary); }
.radio:has(input:checked) { border-color: var(--brand-primary-border); background: var(--brand-primary-muted); }
.radio input:focus-visible ~ .radio__mark { box-shadow: var(--shadow-focus-ring); }

.modal__error {
  color: var(--red-400);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(194,68,68,0.4);
  background: var(--accent-error-muted);
}

.modal__submit { margin-top: var(--space-2); }
.modal__submit[disabled] { opacity: 0.6; cursor: progress; }

/* Success view (replaces the form in place) */
.modal__success { animation: fade-rise 0.5s var(--ease-standard) both; }
.modal__success-check {
  width: 64px;
  height: 64px;
  margin: 0 0 var(--space-5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(160deg, #57C98A, #2E8F5B);
  box-shadow: 0 0 0 6px rgba(76,154,106,0.18), 0 0 30px rgba(76,201,138,0.5);
  animation: check-pop 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes check-pop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.modal__success-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 1.75rem);
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin: 4px 40px var(--space-6) 0;
}
.modal__divider {
  border: 0;
  height: 1px;
  margin: 0 0 var(--space-6);
  background: linear-gradient(to right, var(--gold-500), rgba(199,162,92,0.12) 70%, transparent);
}
.modal__highlight {
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-primary-border);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(199,162,92,0.12), transparent 60%),
    rgba(255,255,255,0.02);
  padding: clamp(20px, 3vw, 28px);
}
.modal__highlight-eyebrow {
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.modal__highlight-text {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}
.modal__highlight-btn { text-decoration: none; }
.modal__highlight-note {
  color: var(--text-tertiary);
  font-size: 12.5px;
  text-align: center;
  margin-top: 12px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 1100;
  max-width: min(92vw, 420px);
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  background: linear-gradient(160deg, rgba(29,26,24,0.96), rgba(10,9,8,0.98));
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--shadow-gold-glow);
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-standard), transform 0.3s var(--ease-standard), visibility 0.3s var(--ease-standard);
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--error { border-color: rgba(194,68,68,0.5); }

body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .modal, .modal__dialog, .toast { transition: opacity 0.01s linear; }
  .modal__dialog { transform: none; }
}

/* ==========================================================================
   MOBILE REFINEMENTS
   ========================================================================== */

@media (max-width: 640px) {
  .hero { padding-top: 84px; }
  .hero__logo { width: 56px; height: 55px; top: 16px; left: 16px; }
  .hero__wordmark { margin-bottom: 28px; }
  .cta-lux__content { padding: 15px 30px; font-size: 15px; }

  .stack { --stack-top: 64px; }

  .solution-item { padding: var(--space-5); gap: var(--space-4); }
  .solution-item__hex { width: 44px; height: 44px; }
  .solution-item__title { font-size: 16px; }

  .modal { padding: 12px 10px; }
  .modal__dialog { padding: 22px 18px 26px; }

  .audit__card { border-radius: var(--radius-lg); }
  .audit__title { font-size: 1.5rem; }
}
