/* ========================================================================
   nullTier — Elegant Light-Mode Landing Page
   Design System: Apple meets Linear
   ======================================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Palette */
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --surface: #F4F5F7;
  --border: #E8EAED;
  --border-subtle: #F0F1F3;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5F6B;
  --text-tertiary: #8B9099;
  --cobalt: #BD5E43;
  --cobalt-deep: #9A4530;
  --cobalt-light: #FBEEE9;
  --cobalt-glow: rgba(189, 94, 67, 0.15);
  --cobalt-glow-strong: rgba(189, 94, 67, 0.25);

  /* Typography */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-operator: 'Fira Code', 'SF Mono', monospace;
  --font-scribe: 'Playfair Display', 'Georgia', serif;
  --font-blueprint: 'Chakra Petch', 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Soft Elevation System */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-lg:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-xl:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.10),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  --shadow-float:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 32px 80px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.03);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1200px;
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--white);
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(189, 94, 67, 0.10) 0%, transparent 70%),
    var(--white);
  overflow-x: hidden;
  position: relative;
}

/* Ensure all content sits above fixed orbs */
.site-header,
.hero,
.metrics-strip,
.features,
.how-it-works,
.cta-section,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

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

ul,
ol {
  list-style: none;
}


/* --- Ambient Terracotta Orbs --- */
.ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(189, 94, 67, 0.06) 0%, transparent 60%);
  top: 20%;
  left: -300px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(189, 94, 67, 0.08) 0%, rgba(189, 94, 67, 0.02) 50%, transparent 70%);
  top: 900px;
  left: -120px;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(189, 94, 67, 0.07) 0%, rgba(189, 94, 67, 0.02) 50%, transparent 70%);
  top: 2000px;
  right: -100px;
}

.orb-4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(189, 94, 67, 0.09) 0%, rgba(189, 94, 67, 0.03) 50%, transparent 70%);
  top: 3200px;
  left: 10%;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ========================================================================
   Header — Glassmorphism Navigation
   ======================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--cobalt);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out-expo);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--cobalt);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow:
    0 1px 3px rgba(189, 94, 67, 0.25),
    0 4px 12px rgba(189, 94, 67, 0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent);
  border-radius: inherit;
}

.btn-primary:hover {
  background: var(--cobalt-deep);
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 2px 8px rgba(189, 94, 67, 0.30),
    0 8px 24px rgba(189, 94, 67, 0.20),
    0 0 0 4px var(--cobalt-glow);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

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

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ========================================================================
   Hero Section
   ======================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}



/* Gradient orb */
.hero::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cobalt-glow) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.375rem 0.875rem;
  background: var(--cobalt-light);
  color: var(--cobalt);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  opacity: 0;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
  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.8);
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.hero-headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.2em;
}

.hero-headline .word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero-subhead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 440px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
}

/* --- Floating Console Card --- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.console-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--duration-slow) var(--ease-out-expo),
    box-shadow var(--duration-slow) var(--ease-out-expo);
  opacity: 0;
  border: 1px solid var(--border-subtle);
}

.console-card:hover {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.10),
    0 40px 100px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.03);
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.console-dots span:first-child {
  background: #FF6058;
}

.console-dots span:nth-child(2) {
  background: #FFBE30;
}

.console-dots span:last-child {
  background: #27CA40;
}

.console-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.console-actions {
  display: flex;
  gap: 8px;
}

.console-action-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--surface);
}

.console-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.console-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--border-subtle);
  transition: background var(--duration-fast) ease;
}

.console-row:hover {
  background: var(--cobalt-light);
}

.console-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.console-status.green {
  background: #27CA40;
  box-shadow: 0 0 6px rgba(39, 202, 64, 0.4);
}

.console-status.amber {
  background: #FFBE30;
  box-shadow: 0 0 6px rgba(255, 190, 48, 0.4);
}

.console-status.red {
  background: #FF6058;
  box-shadow: 0 0 6px rgba(255, 96, 88, 0.4);
}

.console-row-text {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  flex: 1;
}

.console-row-badge {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-synced {
  background: rgba(39, 202, 64, 0.1);
  color: #1a8a30;
}

.badge-pending {
  background: rgba(255, 190, 48, 0.1);
  color: #b8860b;
}

.badge-alert {
  background: rgba(255, 96, 88, 0.1);
  color: #cc3b33;
}

.console-footer {
  padding: 0.875rem 1.25rem;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.console-metric-label {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.console-metric-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.console-metric-value.accent {
  color: var(--cobalt);
}

/* ========================================================================
   Social Proof / Metrics Strip
   ======================================================================== */
.metrics-strip {
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* ========================================================================
   Feature Cards Section
   ======================================================================== */
.features {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cobalt);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--cobalt-light);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cobalt-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--cobalt);
  transition: background var(--duration-normal) var(--ease-out-expo),
    transform var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
  background: var(--cobalt);
  color: var(--white);
  transform: scale(1.05);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cobalt);
  transition: gap var(--duration-fast) var(--ease-out-expo);
}

.feature-link:hover {
  gap: var(--space-sm);
}

.feature-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.feature-link:hover svg {
  transform: translateX(2px);
}

/* ========================================================================
   How It Works — Horizontal Flow
   ======================================================================== */
.how-it-works {
  padding: var(--space-5xl) 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works .section-label,
.how-it-works .section-title,
.how-it-works .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: var(--border);
}

.step-card {
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.step-card:hover .step-number {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--cobalt-light);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================================================
   CTA Section
   ======================================================================== */
.cta-section {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cobalt-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.4;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.cta-note {
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-tertiary);
}

.footer-logo-icon {
  height: 24px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color var(--duration-fast) ease;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}



/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1024px) {

  body::before,
  body::after {
    width: 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subhead {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .console-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid::before {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  body::before,
  body::after {
    width: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 1.25rem;
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-3xl));
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .console-card {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  body::before,
  body::after {
    display: none;
  }

  /* Hide GPU-heavy blurred orbs on mobile to prevent scroll repaint jank */
  .ambient-orbs {
    display: none;
  }
}