/* ===================================================
   KOBIX.DEV — styles.css
   Design system: dark-mode first, minimal, terminal-inspired
   Vercel/Linear aesthetic
   =================================================== */

/* ── 1. CSS Custom Properties ────────────────────── */
:root {
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

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

  /* Container */
  --container-max: 1120px;
  --container-pad: var(--space-5);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Accent */
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-hover: #00ffb3;
}

/* ── 2. Dark Theme (default) ────────────────────── */
[data-theme="dark"] {
  --bg:           #080808;
  --bg-elevated:  #0f0f0f;
  --bg-card:      #111111;
  --bg-card-border: rgba(255,255,255,0.07);
  --bg-featured:  #0c1a14;
  --border:       rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --text-primary:   #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-tertiary:  #606060;

  --nav-bg: rgba(8,8,8,0.85);
  --term-bg: #0d0d0d;
  --term-border: rgba(255,255,255,0.1);
  --term-ps: #888;
  --term-cmd: var(--accent);

  --grid-color: rgba(255,255,255,0.025);
  --step-line: rgba(255,255,255,0.08);
  --placeholder-bg: rgba(255,255,255,0.03);
}

/* ── 3. Light Theme ─────────────────────────────── */
[data-theme="light"] {
  --bg:           #fafafa;
  --bg-elevated:  #ffffff;
  --bg-card:      #ffffff;
  --bg-card-border: rgba(0,0,0,0.07);
  --bg-featured:  #f0fdf8;
  --border:       rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);

  --text-primary:   #0a0a0a;
  --text-secondary: #5a5a5a;
  --text-tertiary:  #9a9a9a;

  --nav-bg: rgba(250,250,250,0.9);
  --term-bg: #1a1a2e;
  --term-border: rgba(0,0,0,0.15);
  --term-ps: #7a8b9e;
  --term-cmd: var(--accent);

  --grid-color: rgba(0,0,0,0.025);
  --step-line: rgba(0,0,0,0.08);
  --placeholder-bg: rgba(0,0,0,0.03);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 5. Layout Utilities ────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── 6. Scroll Reveal Animations ────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── 7. Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #050505;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--accent), 0 4px 24px rgba(0,229,160,0.2);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--accent-hover), 0 8px 32px rgba(0,229,160,0.3);
}
.btn--primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--accent-dim);
}
.btn--ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

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

/* ── 8. Navigation ──────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 60px;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}
.nav__logo:hover { color: var(--accent); }
.logo-bracket { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}
.nav__links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav__links a:hover,
.nav__links a.nav__link--active { color: var(--text-primary); background: var(--accent-dim); }
.nav__links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav__cta { color: var(--accent) !important; border: 1px solid var(--accent) !important; }
.nav__cta:hover,
.nav__cta.nav__link--active { background: var(--accent-dim) !important; }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--space-2);
}
.theme-toggle:hover { color: var(--text-primary); background: var(--accent-dim); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: block; }

/* Hamburger — mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: var(--space-2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── 9. Hero ────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(60px + var(--space-9));
  padding-bottom: var(--space-9);
  overflow: hidden;
}

/* Grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,229,160,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  max-width: 800px;
}

/* Availability badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0,229,160,0.08);
  border: 1px solid rgba(0,229,160,0.2);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(0,229,160,0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0,229,160,0.3); }
  50% { box-shadow: 0 0 0 5px rgba(0,229,160,0.1); }
}

/* Hero headline */
.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hero__headline--accent { color: var(--accent); }

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* Terminal prompt */
.terminal-prompt {
  width: 100%;
  max-width: 480px;
  background: var(--term-bg);
  border: 1px solid var(--term-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,229,160,0.05);
}
.terminal-prompt__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--term-border);
}
.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot--red    { background: #ff5f57; }
.term-dot--yellow { background: #febc2e; }
.term-dot--green  { background: #28c840; }
.terminal-prompt__body {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
}
.term-ps  { color: var(--term-ps); }
.term-sep { color: var(--text-tertiary); margin: 0 4px; }
.term-cmd { color: var(--term-cmd); }
.term-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
  margin-left: 1px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Hero CTA buttons */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ── 10. Section Shared Styles ──────────────────── */
.section {
  padding-block: var(--space-9);
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-7);
}
.section__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-3);
}
.section__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}
.section__desc {
  margin-top: var(--space-4);
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.65;
}

/* Alternating section backgrounds */
.services     { background: var(--bg-elevated); }
.how-it-works { background: var(--bg); }
.why-kobix    { background: var(--bg-elevated); }
.social-proof,
.deliverables { background: var(--bg); }
.footer-cta   { background: var(--bg-elevated); }

/* ── 11. Service Cards ──────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.card--featured {
  background: var(--bg-featured);
  border-color: rgba(0,229,160,0.2);
  box-shadow: 0 0 0 1px rgba(0,229,160,0.08), 0 8px 32px rgba(0,0,0,0.2);
}
.card--featured:hover {
  border-color: rgba(0,229,160,0.4);
  box-shadow: 0 0 0 1px rgba(0,229,160,0.2), 0 16px 48px rgba(0,229,160,0.08);
}

.card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.card__icon svg { width: 100%; height: 100%; }

.card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.card__badge--accent {
  background: rgba(0,229,160,0.1);
  color: var(--accent);
  border-color: rgba(0,229,160,0.2);
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
[data-theme="light"] .card__features { background: rgba(0,0,0,0.03); }
.card__features li {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  padding-left: 1.2em;
  position: relative;
}
.card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.card__link:hover { color: var(--accent-hover); gap: 8px; }
.card__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ── 12. How It Works — Steps ───────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 680px;
  margin-inline: auto;
}

/* Vertical connector line */
.steps::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--step-line));
}

.step {
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  align-items: flex-start;
}
.step:last-child { padding-bottom: 0; }

.step__number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-elevated);
  border: 1px solid rgba(0,229,160,0.25);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg), 0 0 20px rgba(0,229,160,0.1);
  position: relative;
  z-index: 1;
}

.step__content { padding-top: var(--space-2); }

.step__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-2);
}
.step__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.step__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 13. Why Kobix — Trust Grid ─────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.trust-item {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.trust-item:hover {
  border-color: rgba(0,229,160,0.2);
  transform: translateY(-2px);
}

.trust-item__icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.trust-item__icon svg { width: 100%; height: 100%; }

.trust-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.trust-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 14. Social Proof Placeholder ───────────────── */
.testimonials-placeholder {
  margin-bottom: var(--space-7);
}

.placeholder-card {
  max-width: 520px;
  margin-inline: auto;
  padding: var(--space-6);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--placeholder-bg);
  text-align: center;
}
.placeholder-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: var(--space-3);
  font-family: Georgia, serif;
}
.placeholder-text {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  font-style: italic;
}
.placeholder-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: var(--space-3);
  font-family: var(--font-mono);
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border);
}
.logo-strip__placeholder {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

/* ── 15. Footer CTA + Contact ───────────────────── */
.footer-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}

.footer-cta__text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-cta__text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.founder-note {
  font-family: var(--font-mono);
  font-size: 0.82rem !important;
  color: var(--accent) !important;
  line-height: 1.6 !important;
  border-left: 2px solid var(--accent);
  padding-left: var(--space-4);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.form-group textarea {
  resize: vertical;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-group select option {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,160,0.1);
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-align: center;
}
.form-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-note a:hover { color: var(--accent-hover); }

/* ── 16. Site Footer ────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-block: var(--space-6);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.site-footer__brand p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.site-footer__nav {
  display: flex;
  gap: var(--space-4);
  margin-left: auto;
  flex-wrap: wrap;
}
.site-footer__nav a {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}
.site-footer__nav a:hover { color: var(--text-primary); }
.site-footer__nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-footer__legal {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  width: 100%;
}
.site-footer__legal a { color: var(--accent); }
.site-footer__legal a:hover { color: var(--accent-hover); }

/* ── 17. Responsive ─────────────────────────────── */

/* Tablet / large mobile */
@media (max-width: 768px) {
  :root { --container-pad: var(--space-4); }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
    gap: var(--space-2);
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav__hamburger { display: flex; }

  .hero { padding-block: calc(60px + var(--space-7)) var(--space-7); }
  .hero__headline { font-size: clamp(1.8rem, 8vw, 2.5rem); }

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

  .steps::before { left: 28px; }
  .step__number { width: 56px; height: 56px; }

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

  .footer-cta__inner {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .site-footer__nav { margin-left: 0; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .terminal-prompt { font-size: 0.8rem; }
  .section { padding-block: var(--space-8); }
}

/* ── 18. Reduced Motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .badge-dot { animation: none; }
  .term-cursor { animation: none; }
}

/* ── 19. Focus styles (global) ──────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
