/* ==========================================================================
   Virexify — site styles
   ========================================================================== */

:root {
  --ink: #0b1020;
  --ink-2: #131b36;
  --text: #1d2433;
  --muted: #5a6478;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --brand: #6d4aff;
  --brand-ink: #4b2fe0;
  --brand-2: #00c2ff;
  --ok: #22d3a6;
  --grad: linear-gradient(135deg, #6d4aff 0%, #3d7bff 55%, #00c2ff 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 24px 64px rgba(5, 8, 20, .35);
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1160px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #8f7bff; outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(109, 74, 255, .32); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(109, 74, 255, .42); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(11, 16, 32, .2); }
.btn-light:hover { transform: translateY(-1px); }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .22); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em;
  text-decoration: none !important;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: rgba(255, 255, 255, .78); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; width: 24px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 1rem; }
  .nav-links .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #c3cadd;
  padding: 104px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(20px); }
.glow-a { width: 720px; height: 720px; top: -280px; right: -160px; background: radial-gradient(closest-side, rgba(109, 74, 255, .5), transparent); }
.glow-b { width: 560px; height: 560px; bottom: -300px; left: -180px; background: radial-gradient(closest-side, rgba(0, 194, 255, .3), transparent); }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .42rem .95rem; margin-bottom: 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #e1e5f2; font-size: .85rem; font-weight: 500;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 166, .6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 166, 0); }
}
.hero h1 { color: #fff; font-size: clamp(2.35rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .45em; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.16rem; color: #b5bdd4; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.1rem 0; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: #aab3cb; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--ok); }

/* Product mock */
.hero-visual { position: relative; }
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  overflow: hidden;
}
.panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: #e1e5f2; }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.panel-title { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(0, 194, 255, .14); color: #86e3ff; border: 1px solid rgba(0, 194, 255, .3); }
.panel-body { padding: 18px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06);
}
.flow strong { display: block; color: #fff; font-size: .94rem; font-weight: 600; line-height: 1.3; }
.flow small { display: block; color: #98a1bb; font-size: .79rem; line-height: 1.4; }
.flow .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #8b94ad; }
.flow .ico svg { width: 16px; height: 16px; }
.flow .state { font-size: .74rem; font-weight: 600; color: #8b94ad; }
.flow .done .ico { background: rgba(34, 211, 166, .14); color: #3ee3b8; }
.flow .done .state { color: #3ee3b8; }
.flow .active { background: rgba(109, 74, 255, .13); border-color: rgba(139, 115, 255, .5); }
.flow .active .ico { background: var(--grad); }
.flow .active .ico::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .9s linear infinite; }
.flow .active .state { color: #c2b6ff; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: var(--grad); animation: load 3s ease-in-out infinite; }
@keyframes load { 0% { width: 20%; } 60% { width: 82%; } 100% { width: 20%; } }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.metrics div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.metrics span { display: block; font-size: .72rem; color: #98a1bb; }
.metrics strong { font-family: var(--font-head); color: #fff; font-size: 1.3rem; letter-spacing: -.02em; }
.float-card {
  position: absolute; left: -36px; bottom: -46px;
  display: flex; align-items: center; gap: 12px;
  max-width: 300px; padding: 12px 16px;
  background: #fff; color: var(--ink);
  border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  font-size: .84rem; line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}
.float-card .icon-sm { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.float-card .icon-sm svg { width: 18px; height: 18px; }
.float-card strong { display: block; font-family: var(--font-head); }
.float-card span { color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 980px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .float-card { left: 16px; }
}
@media (max-width: 520px) {
  .flow li { grid-template-columns: 30px 1fr; }
  .flow .state { display: none; }
  .flow .ico { width: 30px; height: 30px; }
  .metrics { gap: 8px; }
  .metrics div { padding: 10px; }
  .metrics strong { font-size: 1.05rem; }
  .float-card { left: 8px; right: 8px; max-width: none; bottom: -52px; }
}

/* ---------- Strip ---------- */
.strip { background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .06); color: #aab3cb; }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #b9c1d6; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.kicker {
  display: inline-block; margin-bottom: .8rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink);
}
.section-dark .kicker { color: #9d8bff; }
.title, .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
@media (max-width: 600px) { .section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Cards */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(16, 24, 40, .09); border-color: #d9d2ff; }
.card h3 { font-size: 1.2rem; margin: 20px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(109, 74, 255, .12), rgba(0, 194, 255, .14));
  color: var(--brand-ink);
}
.icon svg { width: 24px; height: 24px; }
.card .chips { margin-top: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: .78rem; font-weight: 600; color: #4a5368;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::after {
  content: ""; position: absolute; top: 46px; right: -24px; width: 24px; height: 2px;
  background: linear-gradient(90deg, #c9bfff, #a9e9ff);
}
.steps li:last-child::after { display: none; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 12px; background: var(--grad); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Cloud */
.section-dark .glow-a { top: -320px; right: auto; left: -200px; opacity: .7; }
.cloud-copy { position: relative; }
.cloud-copy > p { font-size: 1.06rem; }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; color: var(--ok); }
.checklist strong { color: #fff; }
.stack { position: relative; display: grid; gap: 14px; }
.stack-group {
  padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
}
.stack-group h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9aa3bd; margin-bottom: 12px; font-weight: 700; }
.stack-group .chips span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #e6e9f4; font-size: .84rem; padding: 6px 12px; }

/* Industries */
.industry { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.industry h3 { display: flex; align-items: center; gap: 10px; font-size: 1.06rem; margin-bottom: 6px; }
.industry h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); flex: none; }
.industry p { color: var(--muted); margin: 0; font-size: .95rem; }

/* About */
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.mv { display: grid; gap: 18px; }
.mv-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mv-card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.mv-card p { margin: 0; color: var(--muted); }
.mv-card .icon { width: 40px; height: 40px; border-radius: 12px; }
.mv-card .icon svg { width: 20px; height: 20px; }
.values { margin-top: 56px; }
.value { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }

/* CTA */
.cta { padding: 0 0 104px; background: var(--bg-soft); }
.cta-inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: 28px;
  background: var(--grad); color: rgba(255, 255, 255, .9);
  box-shadow: 0 30px 60px rgba(77, 60, 220, .28);
}
.cta-inner::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; max-width: 34em; }
@media (max-width: 600px) { .cta { padding-bottom: 76px; } .cta-inner { padding: 36px 24px; border-radius: 22px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info > p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list .icon { width: 46px; height: 46px; flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--ink); }

.contact-form { padding: 34px; }
.contact-form:hover { transform: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } .contact-form { padding: 24px 20px; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: .98rem; color: var(--text);
  background: #fbfbfe; border: 1px solid #d9dce7; border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109, 74, 255, .15);
}
.field.invalid input, .field.invalid textarea { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.contact-form .field-error { display: none; margin: 6px 0 0; font-size: .82rem; color: #c62a2f; }
.contact-form .field.invalid .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-status { margin: 14px 0 0; font-size: .92rem; font-weight: 500; }
.contact-form .form-status:empty { display: none; }
.form-status.success { color: #0f8a66; }
.form-status.error { color: #c62a2f; }
.contact-form .form-note { margin: 18px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #98a1bb; padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin: 16px 0 0; max-width: 22em; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c3cadd; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal / inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #b5bdd4; padding: 80px 0 72px; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: .3em; }
.page-hero p { margin: 0; }
.prose { max-width: 780px; margin: 0 auto; padding: 72px 24px 104px; }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #3b4357; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose .callout { padding: 18px 20px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
@media (max-width: 600px) { .prose { padding: 56px 16px 80px; } }

.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.not-found .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; letter-spacing: -.05em; }
.not-found h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.not-found p { max-width: 30em; margin: 0 auto 2rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
