/* ============================================================
   Stacking Turtles — Homepage
   Built on the Design System tokens from /styleguide
   ============================================================ */

/* --------------------------------------------------------------------------
   DESIGN TOKENS (mirrored from styleguide/style.css)
   -------------------------------------------------------------------------- */
:root {
  /* --- Primary Green Palette --- */
  --primary-50:  #EAFBF4;
  --primary-100: #C4F4DF;
  --primary-200: #8AE9C2;
  --primary-300: #4EDDA5;
  --primary-400: #1AD48F;
  --primary-500: #00C07B;
  --primary-600: #009D65;
  --primary-700: #007A4F;
  --primary-800: #005C3B;
  --primary-900: #004029;
  --primary-950: #00261A;

  /* --- Neutral (green-tinted grays) --- */
  --neutral-50:  #F2F6F4;
  --neutral-100: #DFE6E2;
  --neutral-200: #BFD0C8;
  --neutral-300: #96B0A5;
  --neutral-400: #728C80;
  --neutral-500: #5A7168;
  --neutral-600: #475A52;
  --neutral-700: #38463F;
  --neutral-800: #29332E;
  --neutral-900: #1C2421;
  --neutral-950: #111816;

  /* --- Semantic --- */
  --success:     #22C55E;
  --warning:     #F59E0B;
  --error:       #EF4444;
  --info:        #3B82F6;

  /* --- Surfaces (dark theme) --- */
  --surface-0:   #090E0B;
  --surface-1:   #0E1712;
  --surface-2:   #141F1A;
  --surface-3:   #1B2923;
  --surface-4:   #23342C;
  --border:      #2B3D34;
  --border-hover:#3A5747;

  /* --- Text --- */
  --text-1:      #E8F0EC;
  --text-2:      #8EA99A;
  --text-3:      #536B60;
  --text-on-primary: #00261A;

  /* --- Typography --- */
  --font-display: 'Bricolage Grotesque', serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --leading-tight:  1.15;
  --leading-snug:   1.3;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.04em;
  --tracking-wider:   0.08em;

  /* --- Spacing --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* --- Border Radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.3);
  --shadow-sm:   0 2px 6px rgba(0,0,0,0.35);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl:   0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 24px rgba(0,192,123,0.15);

  /* --- Transitions --- */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:  150ms;
  --duration-base:  250ms;
  --duration-slow:  400ms;

  /* --- Z-Index --- */
  --z-base:     1;
  --z-dropdown: 10;
  --z-sticky:   20;
  --z-overlay:  30;
  --z-modal:    40;
  --z-toast:    50;

  /* --- Page-specific layout --- */
  --nav-height:   72px;
  --max-width:    1200px;
  --section-pad:  var(--space-32);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-2);
  background: var(--surface-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

::selection {
  background: var(--primary-700);
  color: var(--primary-50);
}

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   NOISE OVERLAY
   -------------------------------------------------------------------------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   PARTICLE CANVAS
   -------------------------------------------------------------------------- */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  transition: background var(--duration-slow) ease,
              border-color var(--duration-slow) ease,
              backdrop-filter var(--duration-slow) ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(9, 14, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

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

.logo {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: var(--tracking-tight);
}

.cursor {
  color: var(--primary-400);
  animation: blink 1s step-end infinite;
}

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

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

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--duration-base) ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-400);
  transition: width var(--duration-base) ease;
}

.nav-link:hover {
  color: var(--text-1);
}

.nav-link:hover::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  text-decoration: none;
}

.btn-sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  background: var(--primary-500);
  color: var(--text-on-primary);
}

.btn-sm:hover {
  background: var(--primary-400);
  box-shadow: var(--shadow-glow);
}

.btn-primary {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-md);
  background: var(--primary-500);
  color: var(--text-on-primary);
  position: relative;
  font-weight: 600;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  background: var(--primary-300);
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--duration-slow) ease;
}

.btn-primary:hover {
  background: var(--primary-400);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 0.4;
}

.btn-lg {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-12);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}

/* --------------------------------------------------------------------------
   MOBILE NAV
   -------------------------------------------------------------------------- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-1);
  transition: all var(--duration-base) ease;
  display: block;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(9, 14, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) var(--space-8);
  flex-direction: column;
  gap: var(--space-5);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--duration-base) ease;
}

.mobile-nav-link:hover {
  color: var(--text-1);
}

.mobile-cta {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   SECTIONS (shared)
   -------------------------------------------------------------------------- */
section {
  position: relative;
  z-index: var(--z-base);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--primary-500);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  line-height: var(--leading-tight);
  color: var(--text-1);
  margin-bottom: var(--space-6);
}

.section-sub {
  font-size: var(--text-lg);
  max-width: 560px;
  margin-bottom: var(--space-16);
}

.gradient-text {
  background: radial-gradient(ellipse at 30% 50%, var(--primary-400) 0%, var(--primary-300) 40%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-8);
  position: relative;
}

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

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(var(--text-5xl), 7vw, var(--text-6xl));
  line-height: 1.05;
  color: var(--text-1);
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-tight);
}

.hero-sub {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-normal);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--primary-500);
  border: 1px solid var(--border-hover);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(0,192,123,0.04);
  letter-spacing: var(--tracking-wide);
}

.hero-cta {
  display: flex;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: var(--space-12);
  background: var(--primary-500);
  opacity: 0.6;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 0.15; transform: scaleY(0.6); }
}

/* --- Hero Animations --- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(var(--space-6));
  animation: fadeInUp 0.9s var(--ease-out) forwards;
}

.hero-eyebrow.anim-fade-up  { animation-delay: 0.15s; }
.hero-headline.anim-fade-up { animation-delay: 0.3s; }
.hero-sub.anim-fade-up      { animation-delay: 0.5s; }
.hero-tags.anim-fade-up     { animation-delay: 0.65s; }
.hero-cta.anim-fade-up      { animation-delay: 0.8s; }
.scroll-indicator.anim-fade-up { animation-delay: 1.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   APPROACH
   -------------------------------------------------------------------------- */
#approach {
  padding: var(--section-pad) 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,23,18,0.6) 0%, transparent 70%);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: start;
}

.approach-intro {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-12);
  color: var(--text-2);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
}

.step:last-child {
  border-bottom: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--primary-500);
  flex-shrink: 0;
  padding-top: 2px;
  opacity: 0.7;
}

.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-1);
  margin-bottom: var(--space-2);
}

.step-content p {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-2);
}

.step-content em {
  color: var(--primary-500);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   TERMINAL
   -------------------------------------------------------------------------- */
.approach-visual {
  position: sticky;
  top: 120px;
}

.terminal {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-3);
  margin-left: var(--space-2);
}

.terminal-body {
  padding: var(--space-6);
  overflow-x: auto;
}

.terminal-body pre {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--text-3);
  white-space: pre;
}

.t-prompt  { color: var(--text-3); }
.t-cmd     { color: var(--text-1); }
.t-arrow   { color: var(--primary-400); }
.t-keyword { color: var(--primary-600); }
.t-check   { color: var(--primary-400); }
.t-success { color: var(--primary-400); font-weight: 500; }

.t-cursor {
  color: var(--primary-400);
  animation: blink 1s step-end infinite;
}

/* --------------------------------------------------------------------------
   PRODUCTS
   -------------------------------------------------------------------------- */
#products {
  padding: var(--section-pad) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.product-card:hover {
  border-color: var(--primary-700);
  background: var(--surface-2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-accent {
  position: absolute;
  top: 0;
  left: var(--space-8);
  right: var(--space-8);
  height: 2px;
  border-radius: 0 0 2px 2px;
  opacity: 0.6;
  transition: opacity var(--duration-base) ease;
}

.product-card:hover .product-accent {
  opacity: 1;
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.product-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--text-1);
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}

.product-tagline {
  font-size: var(--text-sm);
  color: var(--primary-500);
  font-weight: 500;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.product-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-2);
  margin-bottom: var(--space-5);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.product-features li {
  font-size: var(--text-xs);
  color: var(--text-3);
  padding-left: var(--space-4);
  position: relative;
}

.product-features li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--primary-700);
}

.product-link {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--primary-500);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  transition: color var(--duration-base) ease;
}

.product-card:hover .product-link {
  color: var(--primary-400);
}

.product-link .arrow {
  transition: transform var(--duration-base) ease;
}

.product-card:hover .product-link .arrow {
  transform: translateX(var(--space-1));
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
#contact {
  padding: var(--section-pad) 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,23,18,0.5) 0%, transparent 70%);
}

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

.cta-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  line-height: var(--leading-tight);
  color: var(--text-1);
  margin-bottom: var(--space-5);
}

.cta-sub {
  font-size: var(--text-lg);
  max-width: 480px;
  margin-bottom: var(--space-10);
  line-height: var(--leading-normal);
}

.cta-actions {
  margin-bottom: var(--space-5);
}

.cta-phone {
  font-size: var(--text-sm);
  color: var(--text-3);
}

.cta-phone a {
  color: var(--text-2);
  transition: color var(--duration-base) ease;
}

.cta-phone a:hover {
  color: var(--primary-400);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
  position: relative;
  z-index: var(--z-base);
  border-top: 1px solid var(--border);
  background: rgba(9, 14, 11, 0.6);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--space-8) var(--space-8);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.logo-footer {
  display: block;
  margin-bottom: var(--space-3);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-3);
  line-height: var(--leading-normal);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-3);
  margin-bottom: var(--space-1);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--primary-400);
}

.footer-detail {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-3);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out);
}

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

.products-grid .product-card:nth-child(1) { transition-delay: 0s; }
.products-grid .product-card:nth-child(2) { transition-delay: 0.12s; }
.products-grid .product-card:nth-child(3) { transition-delay: 0.24s; }
.products-grid .product-card:nth-child(4) { transition-delay: 0.36s; }

.step.reveal:nth-child(1) { transition-delay: 0s; }
.step.reveal:nth-child(2) { transition-delay: 0.1s; }
.step.reveal:nth-child(3) { transition-delay: 0.2s; }
.step.reveal:nth-child(4) { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .anim-fade-up {
    opacity: 1;
    transform: none;
  }

  #particles {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-pad: var(--space-24);
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .approach-visual {
    position: relative;
    top: auto;
  }

}

@media (max-width: 768px) {
  :root {
    --section-pad: var(--space-20);
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-inner {
    padding: 0 var(--space-5);
  }

  .section-inner {
    padding: 0 var(--space-5);
  }

  #hero {
    padding: 0 var(--space-5);
  }

  .hero-headline {
    font-size: clamp(var(--text-4xl), 9vw, var(--text-5xl));
    letter-spacing: -0.03em;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .product-card {
    padding: var(--space-8) var(--space-6) var(--space-6);
  }

  .product-name {
    font-size: var(--text-2xl);
  }

  .footer-main {
    flex-direction: column;
    gap: var(--space-10);
  }

  .footer-links {
    gap: var(--space-10);
  }

  .footer-inner {
    padding: var(--space-10) var(--space-5) var(--space-6);
  }

  .btn-lg {
    font-size: var(--text-sm);
    padding: var(--space-4) var(--space-8);
  }

  .terminal-body {
    padding: var(--space-4);
  }

  .terminal-body pre {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero-tags {
    gap: var(--space-2);
  }

  .tag {
    font-size: 11px;
    padding: var(--space-1) var(--space-3);
  }

  .step {
    flex-direction: column;
    gap: var(--space-2);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-8);
  }
}
