/* =========================================================
   Future Codes — palette taken from the logo:
   charcoal concrete wall, brushed-silver brackets,
   cyan → violet "F".
   ========================================================= */
:root {
  --bg: #0b0c0f;
  --bg-2: #111318;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1f5;
  --muted: #9aa3ad;
  --soft: #c6cdd5; /* brighter than --muted, for header + footer text */
  --silver: #d9dde3;
  --cyan: #63d5ff;
  --violet: #6b4dff;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet));
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --f-display: "Unbounded", sans-serif;
  --f-body: "Manrope", sans-serif;
  --f-mono: "JetBrains Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--f-mono); }
::selection { background: var(--violet); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }

/* grain + cursor glow */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-5%, 3%); }
  60% { transform: translate(4%, -4%); }
  80% { transform: translate(-3%, -2%); }
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; z-index: 0; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 213, 255, 0.09), rgba(107, 77, 255, 0.05) 40%, transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.btn .arrow { font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(107, 77, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(99, 213, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { border-color: var(--line); background: var(--surface); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: var(--surface-2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  width: min(1200px, 100% - 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  border: 1px solid transparent; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled { background: rgba(14, 15, 19, 0.7); border-color: var(--line); backdrop-filter: blur(16px) saturate(1.4); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { height: 38px; width: auto; }
/* wordmark styled like the logo: Montserrat, bold FUTURE / regular CODES, flat silver (only the {F} mark is 3D) */
.brand-text {
  font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 400; letter-spacing: 0.03em; line-height: 1; white-space: nowrap;
  background: linear-gradient(180deg, #fff 0%, #e3e7ec 50%, #a9b0b9 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text b { font-weight: 700; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--soft); transition: color 0.3s, background 0.3s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lang button {
  position: relative; z-index: 1; background: none; border: 0; padding: 6px 10px;
  font-family: var(--f-mono); font-size: 13px; color: var(--soft); transition: color 0.3s;
}
.lang button.active { color: #fff; }
.lang-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--grad); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
#network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero-glow {
  position: absolute; width: 900px; height: 900px; right: -250px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 77, 255, 0.28), rgba(99, 213, 255, 0.08) 45%, transparent 70%);
  filter: blur(20px); animation: float 14s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-60px, 60px) scale(1.08); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 60px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--silver);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(99, 213, 255, 0.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(99, 213, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(99, 213, 255, 0); } }

.hero-title {
  margin: 0; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(34px, 6.3vw, 96px); line-height: 0.98; letter-spacing: -0.035em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .word { display: inline-block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 540px; margin: 30px 0 0; font-size: 19px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-proof li::before { content: "✓"; margin-right: 8px; color: var(--cyan); }

/* live workflow card */
.flow-card {
  position: relative; border-radius: var(--radius); padding: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line); backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.flow-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--cyan), var(--violet), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.flow-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.flow-head .dots { display: flex; gap: 6px; }
.flow-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.flow-head .live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); color: #5ef0a6; }
.flow-head .live i { width: 7px; height: 7px; border-radius: 50%; background: #5ef0a6; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.flow-svg { width: 100%; height: auto; margin-top: 10px; }
.flow-svg .wires path { fill: none; stroke: url(#wire); stroke-width: 2; stroke-dasharray: 5 6; opacity: 0.55; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.flow-svg .pulses circle { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)); }
.flow-svg .node rect { fill: #15171d; stroke: rgba(255, 255, 255, 0.14); }
.flow-svg .node text { text-anchor: middle; font-size: 16px; fill: var(--text); }
.flow-svg .node .nl { font-family: var(--f-mono); font-size: 9.5px; fill: var(--muted); }
.flow-svg .node-ai rect { fill: url(#wire); stroke: none; filter: drop-shadow(0 0 18px rgba(107, 77, 255, 0.6)); }
.flow-svg .node-ai text, .flow-svg .node-ai .nl { fill: #fff; }
.flow-svg .node-ai text:first-of-type { font-size: 24px; }
.flow-log { height: 120px; -webkit-mask: linear-gradient(transparent, #000 30%); mask: linear-gradient(transparent, #000 30%); overflow: hidden; margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); font-size: 12px; line-height: 1.75; color: var(--muted); }
.flow-log div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn 0.4s var(--ease); }
.flow-log .ok { color: #5ef0a6; }
.flow-log .ai { color: var(--cyan); }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, 0.25); }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee-wrap { padding: 40px 0 30px; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee-label { margin: 0 0 18px; text-align: center; font-size: 12px; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; color: rgba(238, 241, 245, 0.35); transition: color 0.3s; }
.marquee-track span:hover { color: var(--text); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 18px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; color: var(--cyan); letter-spacing: 0.03em; }
.h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; }
.h2 .w { display: inline-block; }
.lead { margin: 22px 0 0; font-size: 18px; color: var(--muted); max-width: 640px; }

/* compare */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.compare-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.compare-card h3 { margin: 0 0 22px; font-family: var(--f-display); font-size: 19px; font-weight: 500; }
.compare-card.auto { background: linear-gradient(160deg, rgba(99, 213, 255, 0.08), rgba(107, 77, 255, 0.08)); border-color: rgba(99, 213, 255, 0.25); }
.tasks { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.tasks li { position: relative; padding-left: 32px; }
.manual .tasks li { color: var(--muted); }
.manual .tasks li::before { content: "✕"; position: absolute; left: 0; color: #ff7a85; font-size: 14px; }
.manual .tasks li::after {
  content: ""; position: absolute; left: 32px; right: 0; top: 50%; height: 1.5px; background: #ff7a85;
  transform: scaleX(var(--strike, 0)); transform-origin: left; opacity: 0.7;
}
.auto .tasks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--grad);
}
.compare-arrow img { width: 110px; height: auto; filter: drop-shadow(0 0 30px rgba(107, 77, 255, 0.45)); }

/* service cards with mouse spotlight */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 213, 255, 0.12), rgba(107, 77, 255, 0.06) 40%, transparent 70%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(99, 213, 255, 0.3); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 14px; font-size: 22px;
  background: linear-gradient(160deg, rgba(99, 213, 255, 0.18), rgba(107, 77, 255, 0.18)); border: 1px solid rgba(255, 255, 255, 0.08);
}
.card h3 { margin: 0 0 10px; font-family: var(--f-display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.card p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.card-tag { font-size: 11.5px; color: var(--silver); opacity: 0.6; }

/* process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps-line { position: absolute; top: 26px; left: 26px; right: 26px; height: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px var(--cyan); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line); font-size: 14px; color: var(--silver); transition: all 0.5s var(--ease);
}
.step.on .step-num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 30px rgba(107, 77, 255, 0.55); }
.step h3 { margin: 0 0 10px; font-family: var(--f-display); font-size: 21px; font-weight: 500; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* stats */
.stats { padding: 70px 0; border-block: 1px solid var(--line); background: radial-gradient(ellipse at center, rgba(107, 77, 255, 0.12), transparent 70%), var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5.5vw, 68px); letter-spacing: -0.03em; line-height: 1; background: linear-gradient(180deg, #fff, #9aa3ad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }

/* use cases */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.tab { padding: 10px 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: all 0.4s var(--ease); }
.tab:hover { color: var(--text); }
.tab.active { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -10px rgba(107, 77, 255, 0.8); }
.tab-panels { position: relative; }
.panel { display: none; padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.panel.active { display: block; }
.panel p { margin: 30px 0 0; max-width: 760px; font-size: 18px; color: var(--muted); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.chain span { position: relative; white-space: nowrap; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); font-family: var(--f-mono); font-size: 13.5px; }
.chain span:not(:last-child)::after { content: "→"; position: absolute; right: -28px; top: 50%; transform: translateY(-50%); color: var(--cyan); }
.chain span:last-child { background: var(--grad); border-color: transparent; color: #fff; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.35); transform-origin: 50% 42%; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: rgba(99, 213, 255, 0.3); background: var(--surface-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font-weight: 400; transition: transform 0.4s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); border-color: transparent; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* contact */
.contact-box {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; padding: clamp(28px, 5vw, 60px);
  border-radius: 32px; overflow: hidden; border: 1px solid rgba(99, 213, 255, 0.2);
  background: radial-gradient(circle at 0% 0%, rgba(99, 213, 255, 0.14), transparent 50%), radial-gradient(circle at 100% 100%, rgba(107, 77, 255, 0.2), transparent 55%), var(--bg-2);
}
.contact-copy .btn { margin-top: 34px; }
.contact .h2 { font-size: clamp(30px, 3.6vw, 48px); }
.contact-list { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--silver); }
.contact-list li { display: flex; gap: 14px; align-items: baseline; }
.contact-list .mono { width: 18px; color: var(--cyan); }
.contact-list a:hover { color: var(--cyan); }
.contact-form { display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.contact-form h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 500; font-size: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  color: var(--text); font: inherit; font-size: 15px; resize: vertical; transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(99, 213, 255, 0.12); }
.contact-form .btn { justify-content: center; margin-top: 6px; border: 0; }

/* footer */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; align-items: start; }
.tagline { margin: 16px 0 0; font-size: 13px; letter-spacing: 0.18em; color: var(--soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--soft); font-size: 15.5px; font-weight: 500; }
.footer-links a:hover { color: var(--text); }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav.open { border-radius: 26px; flex-wrap: wrap; background: rgba(14, 15, 19, 0.95); border-color: var(--line); backdrop-filter: blur(16px); }
  .nav.open .nav-links { display: flex; order: 3; width: 100%; flex-direction: column; padding: 8px 0 10px; }
  .nav.open .nav-links a { font-size: 17px; padding: 12px 8px; }
  .flow-card { max-width: 560px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps-line { display: none; }
  .about-grid, .contact-box { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .nav { top: 10px; padding-left: 14px; }
  .brand-text { display: none; }
  .nav-right .btn-sm { display: none; }
  .hero { padding-top: 110px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { justify-self: center; transform: rotate(90deg); }
  .compare-card, .panel { padding: 26px 22px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .tabs { border-radius: 20px; }
  .chain { flex-direction: column; align-items: stretch; }
  .chain { gap: 26px; }
  .chain span:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* accessibility: honour reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
}

/* word-by-word heading reveal (only when JS animation is active) */
html.anim .split .w {
  opacity: 0; transform: translateY(0.6em) rotate(3deg); filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--i) * 55ms);
}
html.anim .split.revealed .w { opacity: 1; transform: none; filter: none; }
