/* At Labs AI — company website
   Dark purple brand by default. Add class "light" to a section/main for the
   green SyncFlow360 product look. All colours and spacing come from the
   variables below; do not hardcode values in pages. */

:root {
  --bg: #08060f;
  --bg-soft: #0c0916;
  --surface: #120d1f;
  --surface-2: #1a1330;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f1fb;
  --muted: #aaa3bf;
  --accent: #b83dff;
  --accent-2: #6f3dff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(184, 61, 255, 0.12);
  --good: #16c964;

  --sf-green: #00b94f;
  --sf-green-deep: #003d2b;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 104px;

  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1160px;
}

.light {
  --bg: #f6f8f7;
  --bg-soft: #eef3f0;
  --surface: #ffffff;
  --surface-2: #f1f6f3;
  --line: rgba(9, 45, 30, 0.1);
  --line-strong: rgba(9, 45, 30, 0.18);
  --text: #15211d;
  --muted: #5d6d65;
  --accent: #008a3e;
  --accent-2: #00b94f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(0, 185, 79, 0.1);
  --shadow: 0 24px 60px -32px rgba(0, 61, 43, 0.35);
  background: var(--bg);
  color: var(--text);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--space-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-6) 0; }
.section-tight { padding: var(--space-5) 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--space-2);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }

.section-head { max-width: 760px; margin-bottom: var(--space-5); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: var(--space-2); }

.grad-text {
  background: linear-gradient(100deg, #e9c8ff 0%, #c44bff 45%, #7b4dff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.light .grad-text { background-image: linear-gradient(100deg, #00a548 0%, #007a37 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: var(--radius-pill);
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 30px -12px var(--accent);
}
.btn-primary:hover { box-shadow: 0 16px 36px -12px var(--accent); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.center .btn-row, .cta .btn-row { justify-content: center; }
.arrow { transition: transform 0.18s ease; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 6, 15, 0.78);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; color: #fff; }
.brand svg { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(190, 60, 255, 0.55)); }
.nav-links { display: flex; align-items: center; gap: var(--space-4); }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 0.98rem; transition: color 0.15s ease; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--space-6) 0 var(--space-5); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.hero::before { width: 620px; height: 620px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(140, 60, 255, 0.5), transparent 68%); }
.hero::after { width: 520px; height: 520px; left: -220px; bottom: -320px; background: radial-gradient(circle, rgba(200, 40, 255, 0.28), transparent 68%); }
.light .hero::before { background: radial-gradient(circle, rgba(0, 200, 90, 0.22), transparent 68%); }
.light .hero::after { background: radial-gradient(circle, rgba(0, 185, 79, 0.14), transparent 68%); }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; margin-bottom: var(--space-3); }
.hero .lead { margin-bottom: var(--space-4); }
.hero-center h1, .hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center h1 { max-width: 18ch; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  font-size: 0.88rem; color: var(--muted); background: var(--accent-soft); margin-bottom: var(--space-3);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-4) var(--space-3) var(--space-3); transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: var(--space-3);
  border: 1px solid var(--line);
}
.icon svg { width: 22px; height: 22px; }

/* Product showcase on the dark home page */
.showcase {
  position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, #0f2a20 0%, #0a1712 46%, #110c1f 100%);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: var(--space-4);
  padding: var(--space-5);
}
.showcase::before { content: ""; position: absolute; width: 460px; height: 460px; left: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 90, 0.3), transparent 68%); filter: blur(60px); }
.showcase > * { position: relative; }
.showcase h2 { margin-bottom: var(--space-2); }
.product-mark { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; margin-bottom: var(--space-3); color: #fff; }
.product-mark img { width: 52px; height: 52px; }
.product-mark b { color: #2be07a; font-weight: 700; }
.showcase .text-link, .showcase .eyebrow { color: #35e283; }

/* Inbox illustration (decorative, built in HTML so it stays sharp) */
.mock { background: #fff; color: #15211d; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.1fr; font-size: 0.84rem; line-height: 1.35; border: 1px solid rgba(9, 45, 30, 0.1); }
.mock-list { border-right: 1px solid #e6ece8; padding: 16px 14px; background: #f8faf9; }
.mock-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.mock-count { background: #00b94f; color: #fff; border-radius: 999px; font-size: 0.72rem; padding: 2px 9px; font-weight: 600; }
.mock-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; }
.mock-row + .mock-row { margin-top: 2px; }
.mock-row.active { background: #fff; box-shadow: 0 6px 18px -10px rgba(0, 61, 43, 0.35); }
.avatar { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; color: #fff; }
.mock-row strong { display: block; font-size: 0.86rem; }
.mock-row span { color: #5d6d65; }
.ch { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 1px 7px; border-radius: 999px; margin-top: 4px; }
.ch-wa { background: #e3f8ec; color: #067a3a; }
.ch-ig { background: #fde8f3; color: #b0246f; }
.ch-fb { background: #e5eeff; color: #1b55c4; }
.ch-web { background: #e8f1f4; color: #24586b; }
.mock-chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 14px; }
.bubble.in { background: #f1f4f2; border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.out { background: #00a548; color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-chip { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; border: 1px dashed #9bd9b6; background: #f1fbf5; color: #0a6b35; border-radius: 12px; padding: 8px 12px; font-weight: 600; }
.lead-tag { align-self: flex-start; margin-top: auto; font-size: 0.74rem; font-weight: 700; color: #7a4b00; background: #fff3d6; padding: 4px 10px; border-radius: 999px; }
.mock-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: right; }

/* Channel strip */
.channels { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.97rem; }
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Alternating feature rows */
.feature-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: center; }
.feature-row + .feature-row { margin-top: var(--space-6); }
.feature-row.flip > :first-child { order: 2; }
.feature-row h2 { margin-bottom: var(--space-2); }
.checks { margin-top: var(--space-3); display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23c77bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.light .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23008a3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: var(--space-3); box-shadow: var(--shadow); }
.panel-title { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--space-2); }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stage { background: var(--surface-2); border-radius: 14px; padding: 12px; min-height: 150px; }
.stage h4 { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.deal { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 0.82rem; font-weight: 600; }
.deal + .deal { margin-top: 8px; }
.deal small { display: block; font-weight: 500; color: var(--muted); }

.tree { display: grid; gap: 10px; }
.node { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; font-weight: 600; font-size: 0.95rem; }
.node small { font-weight: 500; color: var(--muted); }
.node.child { margin-left: 26px; }
.tag { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }

.modes { display: grid; gap: 10px; }
.mode { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.mode strong { display: block; margin-bottom: 2px; }
.mode span { color: var(--muted); font-size: 0.95rem; }

.log { display: grid; gap: 0; }
.log li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.log li:last-child { border-bottom: 0; }
.log time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Plans */
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: var(--space-4) var(--space-3) var(--space-3); }
.plan.featured { border-color: var(--accent); box-shadow: 0 30px 70px -40px var(--accent); }
.plan h3 { font-size: 1.5rem; margin-bottom: 6px; }
.plan .for { color: var(--muted); font-size: 0.97rem; min-height: 3.2em; }
.plan ul { margin: var(--space-3) 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.97rem; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.plan li b { font-weight: 650; }
.plan li span { color: var(--muted); }
.plan .btn { width: 100%; }
.badge { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

.note { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: var(--space-3); color: var(--muted); font-size: 0.97rem; }
.note strong { color: var(--text); }

/* CTA band */
.cta { border-radius: 28px; padding: var(--space-5) var(--space-4); text-align: center; border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 50% 0%, rgba(130, 60, 255, 0.34) 0%, rgba(18, 13, 31, 0.9) 60%); }
.light .cta { background: linear-gradient(140deg, #003d2b 0%, #005c3a 100%); color: #fff; border-color: transparent; }
.light .cta .lead { color: rgba(255, 255, 255, 0.78); }
.light .cta .btn-primary { background: #fff; color: #003d2b; box-shadow: none; }
.light .cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta h2 { margin-bottom: var(--space-2); }
.cta .lead { margin: 0 auto var(--space-4); }

/* About / facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.fact { border-top: 1px solid var(--line-strong); padding-top: var(--space-2); }
.fact dt { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-weight: 600; font-size: 1.08rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-5); align-items: start; }
.details { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.details dt { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.details dd { margin: 0; font-size: 1.05rem; }
.details a { border-bottom: 1px solid var(--line-strong); }
.details a:hover { border-color: var(--accent); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: var(--space-4); display: grid; gap: var(--space-3); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
label { font-size: 0.92rem; font-weight: 600; }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 13px 15px; min-height: 50px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23aaa3bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: #736c88; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b81; }
.error { color: #ff8fa0; font-size: 0.86rem; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.97rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(22, 201, 100, 0.12); border: 1px solid rgba(22, 201, 100, 0.4); color: #7ff0b1; }
.form-status.bad { background: rgba(255, 107, 129, 0.1); border: 1px solid rgba(255, 107, 129, 0.4); color: #ffb3bf; }
.form-status a { text-decoration: underline; }
.fineprint { font-size: 0.86rem; color: var(--muted); margin: 0; }
.fineprint a { text-decoration: underline; }

/* Legal pages */
.page-head { padding: var(--space-5) 0 var(--space-4); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: var(--space-2); }
.prose { max-width: 760px; padding: var(--space-5) 0 var(--space-6); }
.prose h2 { font-size: 1.45rem; margin: var(--space-4) 0 var(--space-2); letter-spacing: -0.02em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #cdc7de; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 var(--space-2); display: grid; gap: 8px; }
.prose a { color: #d39bff; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose address { font-style: normal; color: #cdc7de; border-left: 2px solid var(--accent); padding-left: var(--space-2); margin: var(--space-2) 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #06040b; padding: var(--space-5) 0 var(--space-3); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1.1fr; gap: var(--space-5); }
.site-footer .brand { margin-bottom: var(--space-2); }
.site-footer p, .site-footer address { color: var(--muted); font-style: normal; margin: 0 0 10px; }
.site-footer h4 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: var(--space-2); }
.site-footer li + li { margin-top: 10px; }
.site-footer li a, .site-footer address a { color: #dcd6ec; }
.site-footer li a:hover, .site-footer address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal-line { color: #dcd6ec !important; }
.footer-bottom { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px var(--space-3); justify-content: space-between; color: var(--muted); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* Scroll reveal (only when JS is on and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase { grid-template-columns: 1fr; padding: var(--space-4); }
  .feature-row { grid-template-columns: 1fr; gap: var(--space-4); }
  .feature-row.flip > :first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --space-5: 48px; --space-6: 72px; }
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch;
    gap: 4px; padding: var(--space-2) var(--space-3) var(--space-3); background: #0b0814; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: var(--space-2); }
  .grid-2, .grid-3, .grid-4, .facts, .field-row, .stages { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .mock { grid-template-columns: 1fr; }
  .mock-list { border-right: 0; border-bottom: 1px solid #e6ece8; }
  .form { padding: var(--space-3); }
  .cta { padding: var(--space-4) var(--space-3); }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .node.child { margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Skip link for keyboard users */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #08060f; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top 0.15s ease; }
.skip:focus { top: 12px; }
