/* ============================================================
   SmartSwan — style.css
   Palette: white · #0F172A · #2563EB · #60A5FA · #F8FAFC
   Type: Inter (display + body), JetBrains Mono (data)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --white:   #ffffff;
  --ink:     #0F172A;
  --ink-2:   #1e293b;
  --ink-3:   #334155;
  --muted:   #64748b;
  --line:    #e2e8f0;
  --line-2:  #eef2f7;
  --tint:    #F8FAFC;
  --blue:    #2563EB;
  --blue-2:  #1d4ed8;
  --blue-3:  #60A5FA;
  --blue-50: #EFF6FF;
  --blue-100:#DBEAFE;

  --grad: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
  --grad-soft: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);

  --radius:   14px;
  --radius-lg:22px;
  --radius-sm:10px;
  --maxw:     1200px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow:    0 12px 32px -12px rgba(15,23,42,.14);
  --shadow-lg: 0 30px 60px -25px rgba(37,99,235,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 14px;
  border-radius: 8px; font-weight: 600; font-size: .9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.35); border-radius: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 780px; }

.section { padding: 128px 0; position: relative; }
.section-tinted { background: var(--tint); }
.section-dark  { background: var(--ink); color: #fff; }
.section-stats { padding: 96px 0; background: var(--ink); color: #fff; }
.section-contact { background: var(--tint); }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-head-left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
  padding: 6px 12px; background: var(--blue-50); border-radius: 999px;
}
.eyebrow-dark { color: var(--blue-3); background: rgba(96,165,250,.12); }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: inherit;
}
.section-lead {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}
.section-head-left .section-lead { margin-left: 0; margin-right: 0; }
.section-lead-dark { color: #94a3b8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: .95rem;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-full { width: 100%; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--tint); border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.9);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 1.05rem; }
.brand-mark { flex-shrink: 0; }
.brand-dark { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .93rem; color: var(--ink-3); font-weight: 500;
  position: relative; transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.hamburger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  padding: 96px 0 120px;
  overflow: hidden;
  background: var(--grad-soft);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: float 18s ease-in-out infinite;
}
.hero-orb-a {
  width: 480px; height: 480px; top: -140px; right: -120px;
  background: radial-gradient(circle, #DBEAFE 0%, transparent 70%);
}
.hero-orb-b {
  width: 380px; height: 380px; bottom: -160px; left: -100px;
  background: radial-gradient(circle, #EFF6FF 0%, transparent 70%);
  animation-delay: -9s;
}
@keyframes float {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(30px, -20px); }
}

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: .84rem; font-weight: 500;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
}
.underline-word {
  color: var(--blue);
  white-space: nowrap;
}
.underline-inner { position: relative; display: inline-block; }
.underline-inner svg {
  position: absolute; left: 0; right: 0; bottom: -4px;
  width: 100%; height: 10px;
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: drawline 1.4s var(--ease) .8s forwards;
}
@keyframes drawline { to { stroke-dashoffset: 0; } }

.hero-lead {
  margin-top: 28px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  margin-top: 40px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-meta {
  margin-top: 56px;
  display: flex; gap: 48px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.hero-meta dd {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); margin-top: 2px;
}

/* Hero art */
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-swan { width: 100%; max-width: 520px; }
.swan-rings { animation: swanspin 40s linear infinite; transform-origin: 250px 250px; }
@keyframes swanspin { to { transform: rotate(360deg); } }
.swan-nodes circle { animation: nodePulse 3s ease-in-out infinite; }
.swan-nodes circle:nth-child(2) { animation-delay: -.6s; }
.swan-nodes circle:nth-child(3) { animation-delay: -1.2s; }
.swan-nodes circle:nth-child(4) { animation-delay: -1.8s; }
.swan-nodes circle:nth-child(5) { animation-delay: -2.4s; }
@keyframes nodePulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.swan-tag { animation: tagFloat 6s ease-in-out infinite; filter: drop-shadow(0 6px 12px rgba(15,23,42,.08)); }
.swan-tag-b { animation-delay: -2s; }
.swan-tag-c { animation-delay: -4s; }
@keyframes tagFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 32px; background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service {
  padding: 32px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.service:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
  margin-bottom: 22px;
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 {
  font-size: 1.18rem; font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 10px;
}
.service p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-link {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 600; color: var(--blue);
  transition: gap .2s var(--ease);
}
.service-link:hover { gap: 10px; }
.service-link svg { transition: transform .2s var(--ease); }

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.solution {
  padding: 34px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; gap: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.solution:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.solution-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem; font-weight: 500;
  color: var(--blue); letter-spacing: .06em;
  padding-top: 4px; flex-shrink: 0;
}
.solution h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.solution p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   WHY US
   ============================================================ */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature {
  padding: 32px 28px;
  border-top: 1px solid var(--line);
  position: relative;
  transition: transform .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); }
.feature-mark {
  width: 32px; height: 3px; border-radius: 2px;
  background: var(--grad);
  margin-bottom: 24px;
}
.feature h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.tech-groups {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  max-width: 900px; margin: 0 auto;
}
.tech-group h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.tech-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-badge {
  padding: 10px 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.tech-badge:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-50);
}

/* ============================================================
   SPLIT (cloud + AI)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.split.reversed { grid-template-columns: 1fr 1fr; }
.split.reversed .split-copy { order: 2; }
.split.reversed .split-visual { order: 1; }

.split-copy .section-title { margin-top: 20px; }
.split-copy .section-lead { max-width: 480px; margin-left: 0; margin-right: 0; margin-top: 20px; }
.check-list { margin: 32px 0 40px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative; padding-left: 32px;
  color: var(--ink-2); font-size: 1rem;
}
.check-list-dark li { color: #cbd5e1; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-50);
  mask-image: none;
}
.check-list-dark li::before { background: rgba(96,165,250,.18); }
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 11px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.check-list-dark li::after { border-color: var(--blue-3); }

/* ---------- Architecture diagram ---------- */
.arch {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.arch-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: var(--tint);
}
.arch-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1;
}
.arch-file {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem; color: var(--muted);
}
.arch-body { padding: 26px 22px; display: grid; gap: 12px; }
.arch-layer {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  position: relative;
}
.arch-layer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  position: absolute; top: -9px; left: 14px;
  background: #fff; padding: 0 8px;
}
.arch-chip {
  padding: 6px 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 500;
  color: var(--ink-2);
}
.arch-chip.filled {
  background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-2);
}
.arch-body { position: relative; }
.arch-connector {
  height: 20px; width: 2px; margin: 0 auto;
  background: linear-gradient(to bottom, var(--blue), transparent);
}
.arch-foot {
  display: flex; gap: 16px; padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: var(--tint);
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem; color: var(--muted);
}
.foot-metric em { font-style: normal; color: var(--ink-3); margin-right: 4px; }
.foot-metric.ok { margin-left: auto; color: #16a34a; display: inline-flex; align-items: center; gap: 6px; }
.live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---------- AI Console ---------- */
.console {
  background: #0b1120;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.console-title {
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem; color: #94a3b8;
}
.console-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 20px; }
.msg { color: #e2e8f0; font-size: .94rem; line-height: 1.6; }
.msg-role {
  display: inline-block; margin-right: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px;
}
.msg-user { color: #94a3b8; }
.msg-user .msg-role { background: rgba(148,163,184,.12); color: #cbd5e1; }
.msg-ai .msg-role { background: rgba(96,165,250,.16); color: var(--blue-3); }
.msg-caret {
  display: inline-block; width: 2px; height: 1em;
  background: var(--blue-3); vertical-align: text-bottom;
  animation: caretBlink 1s steps(2) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.msg-sources { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.src-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem; padding: 4px 10px;
  border-radius: 6px;
  background: rgba(96,165,250,.08); border: 1px solid rgba(96,165,250,.2);
  color: var(--blue-3);
}
.console-foot {
  display: flex; gap: 16px; padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem; color: #64748b;
}
.console-foot .foot-metric em { color: #94a3b8; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { padding: 16px 0; }
.stat-num {
  display: block;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #60A5FA 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  display: block; margin-top: 14px;
  font-size: .9rem; color: #94a3b8;
  max-width: 220px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 1.02rem; font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative; width: 14px; height: 14px; flex-shrink: 0;
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
  transition: transform .3s var(--ease);
}
.faq-plus::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-plus::after  { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-body { padding: 0 26px 22px; color: var(--muted); font-size: .96rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 64px; align-items: start;
}
.contact-copy .section-title { margin-top: 20px; }
.contact-copy .section-lead { max-width: 460px; margin-left: 0; margin-right: 0; }

.contact-facts {
  margin-top: 40px; display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
}
.contact-facts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-facts span { color: var(--muted); font-size: .9rem; }
.contact-facts strong { color: var(--ink); font-weight: 600; font-size: .95rem; }

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field .invalid { border-color: #ef4444; }
.contact-form .btn { grid-column: 1 / -1; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: .88rem; min-height: 20px; }
.form-note.ok  { color: #16a34a; }
.form-note.err { color: #ef4444; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #cbd5e1; padding: 80px 0 32px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin-top: 16px; color: #94a3b8; max-width: 320px; font-size: .95rem; }
.footer-domain {
  margin-top: 20px !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: .84rem; color: var(--blue-3) !important;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.footer-cols h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #94a3b8; margin-bottom: 18px;
}
.footer-cols a {
  display: block; margin-bottom: 12px;
  color: #cbd5e1; font-size: .93rem;
  transition: color .2s var(--ease);
}
.footer-cols a:hover { color: var(--blue-3); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
  font-size: .84rem; color: #64748b;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: left; }
  .hero-art { order: -1; }
  .hero-swan { max-width: 380px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reversed { grid-template-columns: 1fr; gap: 48px; }
  .split.reversed .split-copy { order: 1; }
  .split.reversed .split-visual { order: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .section { padding: 88px 0; }

  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px;
    flex-direction: column; align-items: stretch; gap: 0;
    transform: translateY(-140%); transition: transform .32s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 60px 0 100px; min-height: auto; }
  .hero-title { font-size: 2.4rem; }
  .hero-meta { gap: 28px; padding-top: 20px; margin-top: 40px; }
  .hero-meta dd { font-size: 1.15rem; }
  .scroll-hint { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }

  .contact-form { padding: 26px; grid-template-columns: 1fr; }

  .section-head { margin-bottom: 56px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
