/* ==========================================================
   VectorCraft — shared styles
   ========================================================== */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --ink: #0e1726;
  --ink-soft: #4a5568;
  --ink-mute: #718096;
  --line: #e3e8f0;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --brand-ink: #ffffff;
  --dark: #0b1020;
  --dark-2: #121a33;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.28);
  --grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: #e6ebf5; }
.section.dark p { color: #a9b4cc; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section.dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--brand-2); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: var(--brand-ink); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(79, 70, 229, .8); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.logo img { display: block; height: 34px; width: auto; }
.site-footer .logo img { height: 32px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: #c9d2e6;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-links .btn { margin-left: 8px; padding: 10px 20px; color: #fff; }
.nav-links .btn:hover { background: var(--grad); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after  { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero { padding: 170px 0 110px; }
.page-hero { padding: 160px 0 90px; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(79,70,229,.45), transparent 62%);
  pointer-events: none;
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -40% -15%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(6,182,212,.28), transparent 62%);
  pointer-events: none;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container, .page-hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead, .page-hero p.lead {
  font-size: 1.18rem;
  color: #b4bfd6;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-size: 0.85rem;
  color: #c9d2e6;
  margin-bottom: 24px;
}
.badge-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.2);
  margin-left: 6px;
}

.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: .12em; color: #8a96b3; margin-bottom: 18px; }
.task-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
  font-size: 0.95rem;
}
.task-row:last-child { border-bottom: 0; }
.task-row .label { display: flex; align-items: center; gap: 10px; color: #dfe5f2; }
.task-row .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(79,70,229,.25); font-size: .9rem; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag.ok { background: rgba(34,197,94,.15); color: #4ade80; }
.tag.run { background: rgba(6,182,212,.15); color: #22d3ee; }
.tag.q { background: rgba(250,204,21,.15); color: #facc15; }

.breadcrumb { font-size: .9rem; color: #8a96b3; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Platform strip ---------- */
.platforms {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 34px 0;
}
.platforms p {
  text-align: center;
  color: #7f8bab;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.platform-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #c3cbe0;
  opacity: .85;
  transition: opacity .2s;
}
.platform-list li:hover { opacity: 1; }
/* Uniform logo tile: every mark sits at the same size on white */
.logo-tile {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.logo-tile img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.logo-tile.tight { padding: 3px; }
.logo-tile.sm { width: 36px; height: 36px; padding: 6px; border-radius: 10px; border-color: transparent; }
.logo-tile.sm img { border-radius: 4px; }
.logo-tile.sm.tight { padding: 2px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--ink-mute); font-size: .95rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(6,182,212,.12));
  color: var(--brand);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card ul { padding-left: 0; list-style: none; margin: 16px 0 0; }
.card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.card ul li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.card .link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  font-weight: 600; color: var(--brand);
}
.card .link:hover { gap: 10px; }
.card.featured {
  background: var(--dark);
  color: #fff;
  border-color: transparent;
}
.card.featured p, .card.featured ul li { color: #a9b4cc; }
.card.featured .icon { background: var(--grad); color: #fff; }
.card.featured .link { color: var(--brand-2); }
.card.featured::after {
  content: "Core focus";
  position: absolute; top: 22px; right: 22px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(6,182,212,.15); color: #22d3ee;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.visual-panel {
  border-radius: var(--radius-lg);
  background: var(--dark);
  padding: 36px;
  color: #dfe5f2;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visual-panel::before {
  content: "";
  position: absolute; inset: -30% -30% auto auto;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(79,70,229,.5), transparent 65%);
}
.visual-panel > * { position: relative; }
.code {
  font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-size: .88rem;
  line-height: 1.8;
  white-space: pre-wrap;
  margin: 0;
  color: #c9d2e6;
}
.code .k { color: #a78bfa; }
.code .s { color: #34d399; }
.code .c { color: #64748b; }
.code .n { color: #22d3ee; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li {
  display: flex; gap: 14px;
  margin-bottom: 18px;
}
.check-list .ck {
  flex: 0 0 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-size: .8rem; font-weight: 700;
  margin-top: 2px;
}
.check-list strong { display: block; color: var(--ink); }
.section.dark .check-list strong { color: #fff; }
.check-list span { color: var(--ink-soft); font-size: .96rem; }
.section.dark .check-list span { color: #a9b4cc; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.section:not(.dark) .step { background: var(--surface); border-color: var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* ---------- Platform cards (AI training page) ---------- */
.platform-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform-card .pc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.platform-card .mono {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  color: #fff; background: var(--grad);
}
.platform-card h3 { margin: 0; }
.platform-card .chips { margin-top: auto; padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .8rem; font-weight: 500;
  padding: 5px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ---------- Tabs / Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  font-family: inherit; font-size: .92rem; font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Jobs ---------- */
.job-list { display: grid; gap: 16px; }
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.job:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.job h3 { margin-bottom: 6px; }
.job p { margin: 0 0 12px; font-size: .96rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta .chip.dept { background: rgba(79,70,229,.08); color: var(--brand); border-color: rgba(79,70,229,.2); }
.job.hidden { display: none; }

/* ---------- Values / Team ---------- */
.value { padding: 28px; border-left: 3px solid; border-image: var(--grad) 1; background: #fff; }
.value h3 { margin-bottom: 8px; }

.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem; font-weight: 700; color: #fff;
  background: var(--grad);
}
img.avatar {
  width: 112px; height: 112px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px rgba(79,70,229,.35), 0 12px 24px -10px rgba(15,23,42,.35);
}
.team-card .role { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--grad);
}
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.tl-item .yr { font-weight: 700; color: var(--brand); font-size: .9rem; letter-spacing: .06em; }
.tl-item h3 { margin: 4px 0 6px; }

/* ---------- Founders story ---------- */
.story {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
  align-items: start;
}
.story-text { max-width: 680px; }
.story-text .story-lead { font-size: 1.2rem; color: var(--ink); line-height: 1.6; }
.story-text h3 { margin: 36px 0 10px; font-size: 1.2rem; }
.pull-quote {
  margin: 36px 0;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border-left: 4px solid var(--brand);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
}
.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-family: "Inter", sans-serif;
  font-size: .9rem;
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
}
.founders {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 40px;
}
.founder { margin: 0; }
.founder.offset { margin-top: 56px; }
.founder img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.founder figcaption { margin-top: 12px; }
.founder figcaption strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.founder figcaption span { font-size: .85rem; color: var(--ink-mute); line-height: 1.4; display: block; }
.founded-badge {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #a9b4cc;
  font-size: .9rem;
}
.founded-badge strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story-stats { margin-top: 72px; }

/* ---------- Map ---------- */
.contact-info address { font-style: normal; }
.map-card {
  margin-top: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  height: 240px;
}
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem; font-weight: 400;
  color: var(--brand);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: 28px;
  padding: 64px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: auto -10% -60% auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(79,70,229,.55), transparent 65%);
}
.cta > * { position: relative; }
.cta p { color: #a9b4cc; margin: 0; font-size: 1.08rem; }
.cta h2 { margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info .item {
  display: flex; gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 14px;
}
.contact-info .item .icon {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(6,182,212,.12));
  color: var(--brand);
}
.contact-info .item .icon svg { width: 22px; height: 22px; }
.contact-info .item strong { display: block; }
.contact-info .item span, .contact-info .item a { color: var(--ink-soft); font-size: .96rem; }
.contact-info .item a:hover { color: var(--brand); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.field.error input,
.field.error select,
.field.error textarea { border-color: #ef4444; }
.field .err { display: none; color: #ef4444; font-size: .82rem; margin-top: 6px; }
.field.error .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: .92rem;
  line-height: 1.5;
}
.form-error[hidden] { display: none; }
.form-error strong { display: block; }
.form-error a { color: #991b1b; font-weight: 600; text-decoration: underline; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
#contact-form { position: relative; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success .big-check {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-size: 2rem;
}
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #a9b4cc;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer p { color: #8a96b3; font-size: .95rem; max-width: 320px; margin-top: 16px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: "Inter", sans-serif; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .88rem; color: #7f8bab;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .story { grid-template-columns: 1fr; gap: 48px; }
  .founders { position: static; max-width: 520px; padding-bottom: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 44px 32px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 28px;
    background: rgba(11,16,32,.98);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(calc(-100% - 90px));
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    z-index: -1;
  }
  .nav-open .nav-links { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-open .site-header { background: rgba(11,16,32,.98); }
  .nav-links { background: var(--dark); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
  .nav-links a { display: block; padding: 12px 14px; }
  .nav-links .btn { display: flex; margin: 8px 0 0; justify-content: center; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 80px; }
  .page-hero { padding: 130px 0 70px; }
  .grid-2, .grid-3, .grid-4, .steps, .stats, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .cta { padding: 36px 22px; }
}
