/* ============================================================
   TradeTechInx — Dark fintech theme
   Single stylesheet. No frameworks. ~15KB unminified.
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-raise: #0c1220;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: #101a2c;
  --line: rgba(148, 178, 215, 0.14);
  --text: #e9eef7;
  --muted: #97a5ba;
  --green: #34d399;
  --green-deep: #0ea371;
  --gold: #e8b45a;
  --red: #f87171;
  --grad: linear-gradient(135deg, #34d399 0%, #14b8a6 100%);
  --shadow: 0 24px 70px rgba(2, 6, 16, 0.55);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(52, 211, 153, 0.35); }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

/* ---------- Typography helpers ---------- */

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(52, 211, 153, 0.09);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--accent {
  color: var(--gold);
  background: rgba(232, 180, 90, 0.08);
  border-color: rgba(232, 180, 90, 0.28);
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

.section { padding: 96px 0; position: relative; }
.section--tint {
  background:
    radial-gradient(60% 80% at 15% 10%, rgba(20, 184, 166, 0.06), transparent 60%),
    radial-gradient(50% 70% at 90% 90%, rgba(232, 180, 90, 0.05), transparent 60%),
    var(--bg-raise);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split__copy p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.split__copy .button { margin-top: 28px; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.button--primary {
  background: var(--grad);
  color: #05221a;
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.28);
}
.button--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(20, 184, 166, 0.4); }
.button--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}
.button--ghost:hover { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.07); }
.button--lg { padding: 16px 32px; font-size: 1rem; }
.button--small { padding: 9px 20px; font-size: 0.88rem; }
.button--full { width: 100%; }
.button[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.legal-hero {
  margin-top: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; }
.brand__text small { font-size: 0.68rem; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.topbar__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 168px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 75% 8%, rgba(20, 184, 166, 0.12), transparent 65%),
    radial-gradient(45% 40% at 12% 85%, rgba(52, 211, 153, 0.07), transparent 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.orb--1 { width: 480px; height: 480px; top: -160px; right: -120px; background: rgba(20, 184, 166, 0.16); animation: drift 14s ease-in-out infinite alternate; }
.orb--2 { width: 380px; height: 380px; bottom: -140px; left: -140px; background: rgba(232, 180, 90, 0.1); animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb--3 { width: 420px; height: 420px; top: 30%; right: -160px; background: rgba(20, 184, 166, 0.12); }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, 24px, 0); } }

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero__title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0 0 20px; }
.hero__title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__text { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.02);
}
.hero__chips li::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* hero visual */

.hero__visual { position: relative; }

.glass-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(148, 178, 215, 0.2);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.glass-card__head { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--green { background: var(--green); }
.dot--gold { background: var(--gold); }
.dot--red { background: var(--red); }
.glass-card__label { margin-left: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.spark { width: 100%; height: 150px; }
.spark__line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
.spark__area { opacity: 0; animation: fadein 1.2s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}
.kpi strong { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.kpi span { font-size: 0.66rem; color: var(--muted); font-weight: 600; }
.kpi--up strong { color: var(--green); }
.kpi--down strong { color: var(--red); }

.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(12, 18, 32, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.float-badge span svg { width: 16px; height: 16px; stroke: var(--green); }
.float-badge--1 { top: -18px; right: 8%; }
.float-badge--2 { bottom: -16px; left: 4%; animation-delay: 2.5s; }
.float-badge--2 span svg { stroke: var(--gold); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ticker */

.ticker {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 13px 0;
  animation: marquee 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tick { display: inline-flex; align-items: baseline; gap: 9px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.tick__sym { color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.tick--up .tick__chg { color: var(--green); }
.tick--down .tick__chg { color: var(--red); }

.ticker-note { font-size: 0.72rem; color: var(--muted); opacity: 0.75; margin-top: 10px; text-align: center; }

/* ---------- Stats band ---------- */

.stats-band { padding: 34px 0; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 0.83rem; color: var(--muted); font-weight: 600; }

/* ---------- Pillars ---------- */

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.pillar-card:hover { transform: translateY(-6px); border-color: rgba(52, 211, 153, 0.4); box-shadow: var(--shadow); }
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  margin-bottom: 22px;
}
.pillar-icon svg { width: 26px; height: 26px; stroke: var(--green); }
.pillar-card:nth-child(2) .pillar-icon { background: rgba(232, 180, 90, 0.1); border-color: rgba(232, 180, 90, 0.3); }
.pillar-card:nth-child(2) .pillar-icon svg { stroke: var(--gold); }

.pillar-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.pillar-card .lead-line { font-size: 0.86rem; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.pillar-card:nth-child(2) .lead-line { color: var(--gold); }
.pillar-card > p:not(.lead-line) { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; }

.pillar-card ul { display: grid; gap: 10px; }
.pillar-card li {
  position: relative;
  padding-left: 24px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}
.pillar-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.45);
}
.pillar-card li::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 10.5px;
  width: 6px;
  height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Performance / charts ---------- */

.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.chart-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.chart-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.chart-card__head h3 { font-size: 1.15rem; }
.chart-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.chart-tag--green { color: var(--green); background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); }
.chart-tag--gold { color: var(--gold); background: rgba(232, 180, 90, 0.1); border: 1px solid rgba(232, 180, 90, 0.3); }

.chart-card__desc { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; min-height: 2.6em; }
.chart-wrap { position: relative; height: 240px; }
.chart-wrap canvas { width: 100%; height: 100%; cursor: crosshair; }

.chart-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.metric { text-align: center; }
.metric b { display: block; font-size: 1.02rem; font-weight: 800; }
.metric b.pos { color: var(--green); }
.metric b.neg { color: var(--red); }
.metric small { font-size: 0.66rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.chart-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 0.74rem; color: var(--muted); font-weight: 600; }
.legend-key { display: inline-flex; align-items: center; gap: 7px; }
.legend-key i { width: 16px; height: 3px; border-radius: 2px; display: inline-block; }

.chart-disclaimer { margin-top: 22px; font-size: 0.78rem; color: var(--muted); opacity: 0.85; max-width: 860px; }

.chart-tip {
  position: absolute;
  pointer-events: none;
  background: rgba(7, 11, 18, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.5;
  transform: translate(-50%, -110%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s ease;
  z-index: 5;
}
.chart-tip.show { opacity: 1; }
.chart-tip .tip-val { color: var(--green); }
.chart-tip .tip-bench { color: var(--muted); }

/* ---------- Why us ---------- */

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(148, 178, 215, 0.35); }
.why-card [data-icon] { display: inline-flex; margin-bottom: 14px; }
.why-card [data-icon] svg { width: 22px; height: 22px; stroke: var(--green); }
.why-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { font-size: 0.87rem; color: var(--muted); }

/* ---------- Process ---------- */

.steps { counter-reset: step; display: grid; gap: 14px; position: relative; }
.step {
  counter-increment: step;
  display: flex;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover { border-color: rgba(52, 211, 153, 0.4); transform: translateX(4px); }
.step::before {
  content: "0" counter(step);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
  height: fit-content;
  flex-shrink: 0;
}
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.87rem; color: var(--muted); }

/* ---------- Testimonials ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote-mark { font-size: 2.4rem; font-weight: 800; line-height: 0.6; color: var(--green); margin-bottom: 16px; font-family: Georgia, serif; }
.testimonial-card p { font-size: 0.92rem; color: var(--text); flex-grow: 1; margin-bottom: 18px; }
.testimonial-person strong { display: block; font-size: 0.9rem; }
.testimonial-person span { font-size: 0.76rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(52, 211, 153, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.89rem; }

/* ---------- Contact / lead form ---------- */

.contact-section { overflow: hidden; background: radial-gradient(50% 60% at 50% 100%, rgba(20, 184, 166, 0.09), transparent 70%); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 14px; }
.contact-copy > p { color: var(--muted); font-size: 1.02rem; }

.contact-side { margin-top: 34px; display: flex; flex-direction: column; }
.contact-side h3 { font-size: 0.98rem; margin-bottom: 16px; color: var(--muted); font-weight: 700; }

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 18px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  width: fit-content;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.contact-line:hover { border-color: rgba(52, 211, 153, 0.5); transform: translateX(4px); }
.contact-line svg { width: 19px; height: 19px; stroke: var(--green); flex-shrink: 0; }

.form-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
  color: var(--muted);
}
.field label em { font-style: normal; font-weight: 500; opacity: 0.7; }
.field label span { color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2397a5ba' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--surface-strong); color: var(--text); }
.field textarea { resize: vertical; min-height: 84px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}
.field input.invalid, .field select.invalid { border-color: var(--red); }

.field-error { display: block; min-height: 1em; font-size: 0.74rem; color: var(--red); margin-top: 5px; font-weight: 600; }

.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; border-radius: var(--radius-sm); padding: 14px 16px; line-height: 1.5; }
.form-status.show { display: block; }
.form-status.ok { color: var(--green); background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.3); }
.form-status.err { color: var(--red); background: rgba(248, 113, 113, 0.07); border: 1px solid rgba(248, 113, 113, 0.3); }

.form-note { margin-top: 14px; font-size: 0.76rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: #05080e; padding: 72px 0 36px; }
.footer a:hover { color: var(--green); }

.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 44px; margin-bottom: 48px; }
.footer__about p { color: var(--muted); font-size: 0.88rem; margin-top: 16px; max-width: 340px; }

.brand--footer { align-items: center; }
.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--muted); font-size: 0.88rem; transition: color 0.15s ease; }

.footer__compliance {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.footer__compliance h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer__compliance ul { display: grid; gap: 8px; margin-bottom: 14px; }
.footer__compliance li { font-size: 0.76rem; color: var(--muted); line-height: 1.55; padding-left: 14px; position: relative; }
.footer__compliance li::before { content: "·"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.grievance { font-size: 0.76rem; color: var(--muted); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

[data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 270ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 360ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 450ms; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 140px; }
  .hero__visual { max-width: 520px; }
  .pillar-grid, .why-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(7, 11, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px;
    margin-left: 0;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 16px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .topbar__actions .button { display: none; }

  .pillar-grid, .why-grid, .testimonial-grid, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px; }
  .float-badge--1 { right: 2%; }
  .kpi-row { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .kpi strong { font-size: 0.9rem; }
  .kpi span { font-size: 0.58rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { justify-content: center; text-align: center; }
  html { scroll-padding-top: 76px; }
}

/* ---------- legal ---------- */

.legal-block:first-child .legal-body {
  margin-top: 24px;
}

/* ---------- legal ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .spark__line { stroke-dashoffset: 0; }
  .spark__area { opacity: 1; }
  .reveal, [data-stagger] > * { opacity: 1; transform: none; }
}
