/* AMT Chat — landing (GitHub Pages).
   High-end "Ethereal Glass" direction, themed to docs/BRAND.md (ocean palette).
   OLED black base, radial mesh gradient, glass cards w/ heavy blur + white/10 hairlines,
   double-bezel nested cards, button-in-button, fluid cubic-bezier motion, scroll reveals.
   Premium type: Space Grotesk (display) + Manrope (body) via Google Fonts.

   NOTE: asset paths are RELATIVE so this works on a GitHub Pages PROJECT site
   (clashssd.github.io/AMT/): css/site.css, assets/…, js/site.js. */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* AMT ocean palette (docs/BRAND.md) */
  --bg: #05050a;            /* deepest OLED base */
  --bg-2: #0a0c14;         /* elevated */
  --ink: #e8e9f0;          /* primary text */
  --ink-soft: #9a9cb0;     /* secondary text */
  --ink-dim: #6f7188;      /* tertiary / footnotes */
  --accent: #8b86c9;       /* AMT accent (violet) */
  --accent-hi: #b6b1e6;    /* hover accent */
  --accent-ink: #f0eefc;
  --hair: rgba(255,255,255,0.09);
  --hair-soft: rgba(255,255,255,0.05);
  --glass: rgba(255,255,255,0.035);
  --glass-2: rgba(255,255,255,0.02);
  --good: #7ee0a1;

  --font-d: 'Space Grotesk', system-ui, sans-serif;
  --font-b: 'Manrope', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;

  --r-lg: 2rem;
  --r-md: 1.25rem;
  --r-sm: 0.75rem;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Mesh gradient background (fixed, GPU-safe, pointer-events none) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(620px 420px at 18% 6%,  rgba(139,134,201,0.20), transparent 60%),
    radial-gradient(560px 420px at 84% 12%, rgba(86,140,201,0.16),  transparent 62%),
    radial-gradient(700px 520px at 72% 96%, rgba(139,134,201,0.10), transparent 60%);
  filter: blur(8px);
}

/* ---------- Film grain overlay (fixed, very subtle) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-hi); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--ink); }

/* ---------- Fluid nav (floating glass pill) ---------- */
.site-header {
  position: sticky; top: 16px; z-index: 40;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.nav-pill {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: 0 auto;
  padding: 12px 14px 12px 20px;
  background: var(--glass);
  border: 1px solid var(--hair);
  border-radius: 999px;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 18px 50px -22px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .5s var(--ease);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-d); font-weight: 600; font-size: 17px; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--hair); }
.brand .sub { font-family: var(--font-b); font-weight: 500; color: var(--ink-dim); font-size: 12.5px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--ink-soft); font-size: 13.5px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color .35s var(--ease), background .35s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: var(--glass); text-decoration: none; }
.site-nav a.gh {
  color: var(--ink); border: 1px solid var(--hair); background: var(--glass-2);
}
.site-nav a.dl {
  color: #0a0f1a; font-weight: 700;
  background: linear-gradient(120deg, var(--accent), #b6a8e8);
  border: 1px solid rgba(139,134,201,0.4);
  box-shadow: 0 4px 18px -6px rgba(139,134,201,0.55), inset 0 1px 0 rgba(255,255,255,0.35);
}
.site-nav a.dl:hover {
  color: #0a0f1a;
  background: linear-gradient(120deg, #9a95d4, #c3b7f0);
  text-decoration: none;
}

/* lang toggle — button-in-button style */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-b); font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--glass); border: 1px solid var(--hair);
  border-radius: 999px; padding: 8px 15px; cursor: pointer;
  transition: all .35s var(--ease);
}
.lang-toggle:hover { border-color: var(--accent); background: rgba(139,134,201,0.12); }
.lang-toggle .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- Shared section scaffolding ---------- */
main > section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
main > section + section { border-top: 1px solid var(--hair-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-b); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  padding: 7px 14px; margin-bottom: 22px;
  border: 1px solid var(--hair); border-radius: 999px; background: var(--glass-2);
}
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.section-title h2 {
  font-family: var(--font-d); font-weight: 600; color: var(--ink);
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -0.02em;
  margin: 0 0 14px; max-width: 22ch;
}
.section-title > p { color: var(--ink-soft); max-width: 56ch; margin: 0; font-size: 17px; }
.section-title p a { color: var(--accent-hi); }

/* ---------- HERO ---------- */
.hero {
  min-height: min(94vh, 880px);
  display: grid; align-content: center; text-align: center;
  position: relative; padding: 40px 0 30px;
}
.hero-orb {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(139,134,201,0.35), transparent 65%);
  filter: blur(30px); opacity: 0.7;
}
.hero-logo {
  width: 84px; height: 84px; margin: 0 auto 26px; display: block;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -20px rgba(139,134,201,0.6),
              inset 0 1px 1px rgba(255,255,255,0.25);
  animation: float 7s var(--ease) infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero h1 {
  font-family: var(--font-d); font-weight: 700; color: var(--ink);
  font-size: clamp(46px, 8.4vw, 84px); line-height: 0.98; letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--ink) 30%, var(--accent-hi) 70%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .tagline {
  font-family: var(--font-b); font-size: clamp(18px, 2.4vw, 24px); font-weight: 500;
  color: var(--ink-soft); margin: 0 auto; max-width: 30ch;
}
.hero .one {
  color: var(--ink-dim); max-width: 60ch; margin: 18px auto 0; font-size: 16px;
}
.hero .one b { color: var(--ink); font-weight: 600; }

/* hero badges — pill chips */
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 30px 0 6px; }
.badge {
  font-family: var(--font-b); font-size: 12px; font-weight: 600;
  letter-spacing: 0.01em; padding: 7px 14px; border-radius: 999px;
  color: var(--ink-soft); background: var(--glass-2);
  border: 1px solid var(--hair);
}
.badge.accent { color: var(--accent-ink); border-color: rgba(139,134,201,0.5); background: rgba(139,134,201,0.16); }

/* CTA — button-in-button */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 26px;
  border-radius: 999px;
  font-family: var(--font-b); font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 15px;
  transition: transform .4s var(--ease);
}
.btn:hover .arrow { transform: translate(3px, -1px) scale(1.05); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-hi), var(--accent));
  color: #0a0a12; border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px -14px rgba(139,134,201,0.7), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary .arrow { background: rgba(10,10,18,0.18); color: #0a0a12; }
.btn-primary:hover { box-shadow: 0 24px 52px -14px rgba(139,134,201,0.9); text-decoration: none; }

.btn-ghost {
  background: var(--glass); color: var(--ink);
  border-color: var(--hair);
  backdrop-filter: blur(16px);
}
.btn-ghost .arrow { background: var(--glass-2); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--hair); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* ---------- Scroll-reveal primitives (JS-driven) ---------- */
.rv { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); will-change: transform, opacity; }
.rv.in { opacity: 1; transform: translateY(0); filter: blur(0); }
/* staggered reveal for grids: each .rv-child gets an incremental delay via JS */

/* ---------- Double-bezel card primitive (Doppelrand) ---------- */
.bezel {
  position: relative;
  background: var(--glass-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 30px 60px -30px rgba(0,0,0,0.8);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.bezel::before {
  /* inner core highlight */
  content: ""; position: absolute; inset: 6px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  z-index: 0; pointer-events: none;
}
.bezel > * { position: relative; z-index: 1; }
.bezel:hover { transform: translateY(-4px); border-color: rgba(139,134,201,0.4); box-shadow: 0 40px 80px -34px rgba(139,134,201,0.5), inset 0 1px 0 rgba(255,255,255,0.1); }

/* ---------- Feature BENTO (asymmetrical) ---------- */
.feature-grid {
  display: grid; gap: 18px; margin-top: 34px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto);
}
.card { padding: 26px; }
.card .ficon {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139,134,201,0.12);
  border: 1px solid rgba(139,134,201,0.3);
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.card .ficon svg { width: 24px; height: 24px; stroke: var(--accent-hi); fill: none; stroke-width: 1.3; }
.card h3 { font-family: var(--font-d); font-size: 19px; font-weight: 600; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.01em; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 18px; margin: 7px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* bento spans */
.card--wide { grid-column: span 4; }
.card--tall { grid-column: span 2; }
.card--sq { grid-column: span 2; }

/* ---------- PROBLEM (editorial split) ---------- */
.problem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; margin-top: 30px; }
.problem-grid .lead h2 { font-family: var(--font-d); font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
.problem-grid .lead p { color: var(--ink-soft); font-size: 16px; }
.problem-side { display: grid; gap: 14px; }
.mini { padding: 20px; }
.mini .k { font-family: var(--font-d); font-size: 14px; font-weight: 600; color: var(--accent-hi); margin-bottom: 6px; }
.mini .v { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- DEMO placeholders ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.shot { overflow: hidden; }
.shot .shot-ph {
  height: 240px; position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim); font-family: var(--font-b); font-size: 13px; font-weight: 500;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(139,134,201,0.14), transparent 55%),
    repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 14px, #0c0e16 14px, #0c0e16 28px);
  border-bottom: 1px solid var(--hair-soft);
}
.shot .shot-ph .ph-tag {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-dim);
  padding: 4px 9px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair);
}
.shot img { width: 100%; display: block; }
.shot figcaption { padding: 14px 18px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- STEPS (quick start) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step { padding: 24px; }
.step .n { font-family: var(--font-d); font-size: 34px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.step h3 { font-family: var(--font-d); font-size: 18px; font-weight: 600; color: var(--ink); margin: 14px 0 8px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.note {
  margin-top: 22px; padding: 16px 20px;
  font-size: 13.5px; color: var(--ink-soft);
  background: var(--glass-2); border: 1px solid var(--hair); border-radius: var(--r-md);
  display: flex; align-items: center; gap: 12px;
}
.note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ---------- ARCHITECTURE ---------- */
.arch { margin-top: 34px; }
.arch .bezel { padding: 14px; }
.arch img { width: 100%; height: auto; border-radius: var(--r-md); display: block; }

/* ---------- COMPARISON / tables ---------- */
.table-wrap { overflow-x: auto; margin-top: 34px; border-radius: var(--r-lg); }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; background: var(--glass-2); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--hair-soft); }
table.cmp thead th { color: var(--ink); font-family: var(--font-d); font-weight: 600; font-size: 13.5px; background: rgba(255,255,255,0.03); }
table.cmp thead th:not(:first-child) { text-align: left; }
table.cmp thead th .hl { color: var(--accent-hi); }
table.cmp tbody th { color: var(--ink-soft); font-weight: 500; font-size: 13.5px; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td.y { color: var(--good); font-weight: 600; }
table.cmp td.n { color: var(--ink-dim); }
table.cmp td.p { color: var(--accent-hi); }
.footnote { font-size: 12.5px; color: var(--ink-dim); margin-top: 14px; }

/* ---------- "Как подключить" connect module ---------- */
.connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.connect-grid .bezel { padding: 26px 28px; }
.connect-grid .bezel h3 { font-size: 17px; font-family: var(--font-d); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.connect-grid .bezel p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.connect-grid .bezel .table-wrap { margin-top: 10px; margin-bottom: 8px; border-radius: var(--r-md); }
table.providers { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13px; background: rgba(255,255,255,0.02); border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; }
table.providers th, table.providers td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--hair-soft); }
table.providers thead th { color: var(--ink); font-family: var(--font-d); font-weight: 600; font-size: 12.5px; background: rgba(255,255,255,0.03); }
table.providers tbody tr:last-child td { border-bottom: none; }
table.providers td code { font-family: var(--mono); font-size: 12px; color: var(--accent-hi); background: rgba(139,134,201,0.1); padding: 2px 6px; border-radius: 6px; }
.connect-grid .bezel .footnote { margin-top: 10px; }
.check-list { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.check-list .check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.check-list .check .ok { flex: 0 0 auto; color: var(--good); font-weight: 700; }
.check-list .check code { font-family: var(--mono); font-size: 12px; color: var(--accent-hi); background: rgba(139,134,201,0.1); padding: 1px 5px; border-radius: 5px; }
.diag-steps { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.diag-steps li { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.diag-steps li::marker { color: var(--accent); font-weight: 700; }

/* ---------- EXTENSIBILITY code ---------- */
pre {
  margin: 34px 0 0;
  background: var(--bg-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.6;
  color: var(--ink-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px -24px rgba(0,0,0,0.7);
}
pre code { color: var(--ink-soft); }
pre .k { color: var(--accent-hi); }
pre .c { color: var(--ink-dim); }
code.inline { font-family: var(--mono); font-size: 13.5px; color: var(--ink); background: var(--glass); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--hair-soft); }

/* ---------- ROADMAP ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.rm { padding: 24px; }
.rm .lbl {
  font-family: var(--font-d); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: 14px;
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  background: rgba(139,134,201,0.14); border: 1px solid rgba(139,134,201,0.3);
}
.rm ul { padding: 0; margin: 0; list-style: none; }
.rm li { position: relative; padding-left: 18px; margin: 9px 0; color: var(--ink-soft); font-size: 14px; }
.rm li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.65; }

/* ---------- FAQ accordion (fluid) ---------- */
.faq { margin-top: 34px; display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: none;
  padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: var(--font-d); font-size: 17px; font-weight: 500; color: var(--ink);
}
.faq-q .pm {
  position: relative; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--hair);
  transition: transform .45s var(--ease), background .45s var(--ease);
}
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; background: var(--accent-hi); border-radius: 2px;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.faq-q .pm::before { width: 12px; height: 1.6px; }
.faq-q .pm::after { width: 1.6px; height: 12px; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.faq-item.open .pm { background: rgba(139,134,201,0.22); border-color: rgba(139,134,201,0.5); transform: rotate(0deg); }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .55s var(--ease), padding .55s var(--ease);
  padding: 0 26px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 26px 24px; }

/* ---------- FOOTER ---------- */
footer { padding: 70px 0 46px; border-top: 1px solid var(--hair-soft); background: linear-gradient(180deg, transparent, rgba(139,134,201,0.04)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .col h4 { font-family: var(--font-d); color: var(--ink); font-size: 15px; font-weight: 600; margin: 0 0 14px; letter-spacing: 0.02em; }
footer .col a { color: var(--ink-dim); font-size: 14px; display: block; margin: 8px 0; }
footer .col a:hover { color: var(--accent-hi); }
.license-note { font-size: 12.5px; color: var(--ink-dim); margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--hair-soft); line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .card--wide, .card--tall, .card--sq { grid-column: span 2; }
  .problem-grid { grid-template-columns: 1fr; gap: 26px; }
  .steps, .roadmap { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-pill { flex-direction: column; align-items: stretch; gap: 10px; border-radius: 26px; }
  .brand { justify-content: center; }
  .site-nav { flex-wrap: wrap; justify-content: center; }
  .site-nav a { padding: 7px 12px; }
  .lang-toggle { margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .card--wide, .card--tall, .card--sq { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .rv, .hero-logo, .btn .arrow, .bezel { transition: none; }
  .hero-logo { animation: none; }
}
