/* ============================================================
   CC TECHNOLOGIES — STYLES
   Deep-space dark + electric lime accent.
   Editorial-meets-engineering aesthetic.
   ============================================================ */

:root {
  --bg: #08090c;
  --bg-2: #0d0e12;
  --surface: #11131a;
  --surface-hi: #161922;
  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.14);

  --text: #ededee;
  --text-muted: #8a8a93;
  --text-dim: #555560;

  --accent: #c4ff47;       /* electric chartreuse */
  --accent-dim: #8aae33;
  --accent-glow: rgba(196, 255, 71, 0.25);

  --secondary: #5ce1e6;    /* subtle cool cyan */

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --max-w: 1280px;
  --pad: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.accent { color: var(--accent); }

/* ============================================================
   BACKGROUND TEXTURES
   ============================================================ */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.logo svg { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  transition: color 0.2s var(--ease);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

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

.menu-toggle { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease);
  position: relative;
  white-space: nowrap;
}

.btn-lg { padding: 14px 26px; font-size: 0.95rem; }

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #d6ff67;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.25);
}

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

.hero {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 78vh;
  padding-bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}

.hero-title span {
  display: block;
}

.hero-title em {
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-meta > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-meta .mono { color: var(--accent); }
.hero-meta span:last-child {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ============================================================
   HERO VISUAL — NETWORK
   ============================================================ */

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 480px;
  justify-self: center;
}

.visual-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at center, rgba(196,255,71,0.04), transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.visual-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--accent);
}
.visual-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.visual-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.visual-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.visual-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.visual-label {
  position: absolute;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.visual-label.top { top: 14px; left: 16px; }
.visual-label.bottom { bottom: 14px; right: 16px; color: var(--accent); }

.network-svg {
  width: 100%;
  height: 100%;
  color: var(--text-muted);
}

.ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.5;
  opacity: 0.2;
  transform-origin: 200px 200px;
  animation: rotate 60s linear infinite;
}
.ring-2 {
  opacity: 0.15;
  animation: rotate-rev 80s linear infinite;
  stroke-dasharray: 3 5;
}
.ring-3 {
  opacity: 0.1;
  stroke-dasharray: 1 8;
  animation: rotate 120s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotate-rev { to { transform: rotate(-360deg); } }

.node {
  fill: var(--text);
  filter: drop-shadow(0 0 4px var(--accent-glow));
  animation: node-pulse 3s infinite;
}
.node.n2 { animation-delay: 0.3s; }
.node.n3 { animation-delay: 0.6s; }
.node.n4 { animation-delay: 0.9s; }
.node.n5 { animation-delay: 1.2s; }
.node.n6 { animation-delay: 1.5s; }
.node.n7 { animation-delay: 0.4s; }
.node.n8 { animation-delay: 0.7s; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.5; r: 2.5; }
  50% { opacity: 1; r: 4; }
}

.core {
  fill: var(--accent);
  filter: drop-shadow(0 0 12px var(--accent));
}

.core-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.6;
  transform-origin: 200px 200px;
  animation: core-expand 2.5s ease-out infinite;
}

@keyframes core-expand {
  0% { r: 6; opacity: 0.8; }
  100% { r: 30; opacity: 0; }
}

.packet {
  filter: drop-shadow(0 0 4px var(--accent));
}

.readout {
  position: absolute;
  bottom: -64px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: rgba(13, 14, 18, 0.6);
  backdrop-filter: blur(10px);
}

.readout-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
}
.readout-row span:first-child { color: var(--text-dim); }

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg-2);
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-track span:nth-child(even) { color: var(--accent); }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */

.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin: 0 0 64px;
}

.section-label {
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.section-lede {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto;
}

.section-head.left .section-lede { margin: 0; }

/* ============================================================
   SERVICES
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 36px 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}

.service-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  background: var(--surface-hi);
}

.service-card:hover::before { width: 100%; }

.service-card.featured {
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border-color: rgba(196, 255, 71, 0.18);
}

.service-card.featured::before { width: 100%; }

.service-num {
  color: var(--text-dim);
  margin-bottom: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 28px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.service-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 28px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}

.service-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.65rem;
}

/* ============================================================
   APPROACH / STEPS
   ============================================================ */

.approach { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease);
}

.step:last-child { border-right: none; }
.step:not(:first-child) { padding-left: 32px; }
.step:first-child { padding-left: 0; padding-right: 32px; }

.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.step:hover::before { width: 100%; }

.step-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num {
  color: var(--accent);
}

.step h4 {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.step-tag {
  color: var(--text-dim);
  border: 1px solid var(--border);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
}

/* ============================================================
   STATS
   ============================================================ */

.stats-section { padding: 80px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat {
  padding: 48px 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
}

.stat-num .plus {
  color: var(--accent);
  font-size: 0.55em;
  margin-left: 2px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */

.cap-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.cap {
  padding: 22px 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 28px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
  cursor: default;
}

.cap:nth-child(odd) { padding-right: 24px; }
.cap:nth-child(even) { padding-left: 52px; }

.cap::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.4;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cap:nth-child(even)::before { left: 24px; }

.cap:hover {
  color: var(--accent);
  padding-left: 36px;
}
.cap:nth-child(even):hover { padding-left: 60px; }

.cap:hover::before {
  opacity: 1;
  transform: translateX(4px);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact { padding: 120px 0; }

.contact-card {
  position: relative;
  padding: 80px clamp(24px, 5vw, 80px);
  background:
    radial-gradient(ellipse at top right, rgba(196,255,71,0.06), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
}

.contact-frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--accent);
}
.contact-frame-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.contact-frame-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.contact-frame-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.contact-frame-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.contact-card .section-label { margin-bottom: 28px; }

.contact-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 720px;
}

.contact-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 40px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.contact-meta .section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-dim);
}

.contact-meta p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  padding: 96px 0 120px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
  align-items: start;
}

.legal-header {
  position: sticky;
  top: 112px;
}

.legal-title {
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.legal-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 28px;
}

.legal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 56px);
}

.legal-card section + section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.legal-card h2 {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.legal-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card strong {
  color: var(--text);
  font-weight: 500;
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 80px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.55;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-heading {
  color: var(--text-dim);
  margin-bottom: 6px;
}

.footer-cols a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
}

.footer-bottom .mono { font-size: 0.7rem; }

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 6px var(--accent-glow);
  animation: pulse 2s infinite;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

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

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.scroll-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: left;
    padding-bottom: 100px;
  }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--border); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3), .step:nth-child(4) { border-bottom: none; padding-top: 40px; }
  .cap-container { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .legal-layout { grid-template-columns: 1fr; gap: 48px; }
  .legal-header { position: static; }
  .legal-title { font-size: 3.4rem; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
  }
  .hero { padding-top: 40px; }
  .hero-meta { gap: 16px; }
  .hero-meta > div { width: 100%; }
  .contact-meta { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 0; }
  .step:last-child { border-bottom: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap:nth-child(even) { padding-left: 28px; }
  .cap:nth-child(even)::before { left: 0; }
  .cap:nth-child(even):hover { padding-left: 36px; }
  .contact-card { padding: 48px 24px; }
  .legal-page { padding: 72px 0 80px; }
  .legal-card { padding: 24px; }
  .legal-title { font-size: 2.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .scroll-reveal { opacity: 1; transform: none; }
}
