/* =====================================================================
   NELOTRA LABS — Design System
   Security Beyond the Human
   Palette: near-black infrastructure + controlled teal illumination
   ===================================================================== */

:root {
  /* Core palette */
  --obsidian: #05080A;   /* primary background */
  --carbon:   #0A1114;   /* secondary dark surface */
  --abyss:    #003C3A;   /* deep supporting teal */
  --teal:     #159B8A;   /* primary brand accent */
  --mint:     #58D0B0;   /* brightest signal */
  --frost:    #EAF7F4;   /* primary light text */
  --steel:    #8D9CA0;   /* secondary text */
  --graphite: #172125;   /* borders / structural */

  /* Derived tones */
  --graphite-2: #101a1d;
  --edge:      #1c2a2e;
  --border-teal: #29403F;
  --frost-dim: rgba(234, 247, 244, 0.72);

  /* Functional (used sparingly) */
  --warn: #E0A24A;
  --danger: #D8695E;

  /* Type */
  --font-head: "Inter Tight", "Geist", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 11px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--frost);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--teal); color: var(--obsidian); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 8vw, 92px); }
h2 { font-size: clamp(34px, 5.2vw, 60px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.01em; }
p  { color: var(--frost-dim); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.eyebrow.center::before { content: none; }

.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--frost-dim); max-width: 62ch; }

.text-teal { color: var(--teal); }
.text-mint { color: var(--mint); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--carbon { background: var(--carbon); }
.section--obsidian { background: var(--obsidian); }
.section--teal {
  background:
    radial-gradient(120% 120% at 15% -10%, rgba(21,155,138,0.28), transparent 55%),
    linear-gradient(180deg, #04211f 0%, #03191a 100%);
}
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--graphite), transparent); }

.grid { display: grid; gap: 24px; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split--reverse .split-visual { order: -1; }

.section-head { max-width: 720px; }
.section-head--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--teal);
  color: var(--obsidian);
  box-shadow: 0 0 0 rgba(21,155,138,0);
}
.btn--primary:hover {
  background: var(--mint);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(88,208,176,0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--frost);
  border-color: var(--border-teal);
}
.btn--ghost:hover {
  background: rgba(21,155,138,0.1);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Inline CTA row used mid-page */
.inline-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.inline-cta__note { color: var(--steel); font-size: 14.5px; max-width: 34ch; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--graphite);
}
.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 34px; height: 34px; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name span { color: var(--steel); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--steel);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--frost); }
.nav a.active { color: var(--frost); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1.5px; background: var(--teal);
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--graphite);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span { position: relative; width: 18px; height: 2px; background: var(--frost); border-radius: 2px; transition: 0.25s var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--frost); border-radius: 2px; transition: 0.25s var(--ease); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding-top: clamp(130px, 20vh, 210px);
  padding-bottom: clamp(80px, 12vw, 150px);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 78% 8%, rgba(21,155,138,0.18), transparent 60%),
    radial-gradient(60% 50% at 8% 90%, rgba(0,60,58,0.5), transparent 60%),
    var(--obsidian);
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--graphite) 1px, transparent 1px),
    linear-gradient(90deg, var(--graphite) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 70% at 60% 20%, #000 20%, transparent 75%);
  opacity: 0.4;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero h1 { margin-top: 24px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--teal), var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-top: 26px; }
.hero .cta-band { margin-top: 38px; }
.hero__meta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 30px; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-head); font-size: 30px; color: var(--frost); font-weight: 600; }
.hero__meta span { font-size: 13px; color: var(--steel); letter-spacing: 0.02em; }

.hero__visual { position: relative; }

/* =====================================================================
   Identity Graph visual (SVG animated)
   ===================================================================== */
.identity-graph { width: 100%; height: auto; }
.ig-path { stroke: var(--graphite); stroke-width: 1.5; fill: none; }
.ig-path.live {
  stroke: var(--teal);
  stroke-dasharray: 6 8;
  animation: dashmove 3s linear infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -140; } }
.ig-node circle { fill: var(--carbon); stroke: var(--graphite); stroke-width: 1.5; }
.ig-node.on circle { stroke: var(--teal); }
.ig-node.alert circle { stroke: var(--mint); }
.ig-node .pulse { fill: none; stroke: var(--mint); opacity: 0; transform-origin: center; animation: pulse 3.2s ease-out infinite; }
@keyframes pulse { 0% { r: 8; opacity: 0.7; } 70% { r: 26; opacity: 0; } 100% { opacity: 0; } }
.ig-label { font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.12em; fill: var(--steel); text-transform: uppercase; }
.ig-dot { fill: var(--mint); }

/* Flow diagram (WORKLOAD -> CREDENTIAL -> SERVICE -> DATABASE) */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--carbon);
  overflow: hidden;
}
.flow__node {
  flex: 1 1 140px;
  padding: 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.flow__node + .flow__node { border-left: 1px solid var(--graphite); }
.flow__node .tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); }
.flow__node .name { font-family: var(--font-head); font-size: 17px; color: var(--frost); }
.flow__node .desc { font-size: 13px; color: var(--steel); }
.flow__node::after {
  content: "";
  position: absolute; right: -1px; top: 50%; width: 8px; height: 8px;
  border-top: 1.5px solid var(--teal); border-right: 1.5px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
  background: var(--carbon);
  z-index: 2;
}
.flow__node:last-child::after { display: none; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
  background: var(--carbon);
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(21,155,138,0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover { border-color: var(--border-teal); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  border: 1px solid var(--graphite);
  background: linear-gradient(160deg, rgba(21,155,138,0.14), rgba(5,8,10,0.2));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--mint);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15.5px; }
.card__index {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--font-head); font-size: 14px; color: var(--steel);
  letter-spacing: 0.08em;
}

/* Grids that must be square-ish (2x2 / 3x3) */
.grid-2x2 { grid-template-columns: repeat(2, 1fr); }
.grid-3x3 { grid-template-columns: repeat(3, 1fr); }
.grid-2   { grid-template-columns: repeat(2, 1fr); }

/* Capability blocks (two large split cards) */
.capability {
  background: var(--carbon);
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.capability .badge {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mint); border: 1px solid var(--border-teal);
  padding: 5px 11px; border-radius: 100px;
}
.capability h3 { font-size: clamp(24px, 2.6vw, 32px); }
.capability ul.checks { display: grid; gap: 12px; margin-top: 6px; }
.capability ul.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--frost-dim); }
.capability ul.checks svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--teal); margin-top: 3px; }

/* Stat / marquee strip */
.logostrip {
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center;
  opacity: 0.85;
}
.logostrip span { color: var(--steel); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

/* List feature (numbered problems) */
.problem-list { display: grid; gap: 2px; border: 1px solid var(--graphite); border-radius: var(--radius); overflow: hidden; background: var(--carbon); }
.problem-list li {
  padding: 22px 26px;
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  border-bottom: 1px solid var(--graphite);
}
.problem-list li:last-child { border-bottom: none; }
.problem-list .num { font-family: var(--font-head); color: var(--teal); font-size: 15px; letter-spacing: 0.1em; }
.problem-list h4 { font-family: var(--font-head); font-size: 17px; margin-bottom: 4px; color: var(--frost); }
.problem-list p { font-size: 14.5px; }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.contact-side h2 { margin-top: 18px; }
.contact-side p { margin-top: 18px; }
.contact-points { margin-top: 34px; display: grid; gap: 18px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point .cp-ic { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--graphite); background: var(--carbon); display: flex; align-items: center; justify-content: center; color: var(--mint); flex: 0 0 auto; }
.contact-point .cp-ic svg { width: 19px; height: 19px; }
.contact-point strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--frost); font-weight: 500; }
.contact-point span { font-size: 14px; color: var(--steel); }

.form-card {
  background: var(--carbon);
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 42px);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  background: var(--obsidian);
  border: 1px solid var(--graphite);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--frost);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238D9CA0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(21,155,138,0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #556065; }
.field .error-msg { font-size: 12px; color: var(--danger); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }

.form-consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 4px; }
.form-consent input { width: 18px; height: 18px; accent-color: var(--teal); margin-top: 3px; flex: 0 0 auto; }
.form-consent label { font-size: 13px; color: var(--steel); text-transform: none; letter-spacing: 0; line-height: 1.5; }
.form-consent a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: 13px; color: var(--steel); }

.form-success {
  display: none;
  padding: 18px 20px;
  border: 1px solid var(--border-teal);
  background: rgba(21,155,138,0.1);
  border-radius: 12px;
  color: var(--frost);
  font-size: 15px;
  align-items: center;
  gap: 12px;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--mint); flex: 0 0 auto; }

/* =====================================================================
   PAGE HEADER (subpages)
   ===================================================================== */
.page-hero {
  padding-top: clamp(130px, 18vh, 190px);
  padding-bottom: clamp(50px, 7vw, 80px);
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(21,155,138,0.14), transparent 60%),
    var(--obsidian);
  border-bottom: 1px solid var(--graphite);
  position: relative;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--steel); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--frost); }
.breadcrumb .sep { color: var(--graphite); }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); }
.page-hero p { margin-top: 18px; max-width: 60ch; }

/* Legal / doc content */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.doc-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.doc-nav a { font-size: 14px; color: var(--steel); padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.doc-nav a:hover { color: var(--frost); background: var(--carbon); }
.doc-body h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 48px; margin-bottom: 14px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 20px; margin-top: 28px; margin-bottom: 8px; }
.doc-body p { margin-bottom: 16px; font-size: 16.5px; }
.doc-body ul.bullets { margin: 0 0 18px; display: grid; gap: 10px; }
.doc-body ul.bullets li { position: relative; padding-left: 22px; font-size: 16px; color: var(--frost-dim); }
.doc-body ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 2px; background: var(--teal); }
.doc-body .updated { font-size: 13.5px; color: var(--steel); margin-bottom: 32px; }
.doc-body strong { color: var(--frost); font-weight: 600; }

/* Pricing */
.price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--border-teal); background: linear-gradient(180deg, rgba(21,155,138,0.08), var(--carbon)); }
.price-card .plan-name { font-family: var(--font-head); font-size: 20px; color: var(--frost); }
.price-card .plan-tag { font-size: 13.5px; color: var(--steel); margin-top: 6px; min-height: 40px; }
.price-card .price { font-family: var(--font-head); font-size: 40px; color: var(--frost); margin: 18px 0 4px; }
.price-card .price small { font-size: 14px; color: var(--steel); font-family: var(--font-body); }
.price-card .plan-feats { display: grid; gap: 11px; margin: 22px 0 26px; }
.price-card .plan-feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--frost-dim); }
.price-card .plan-feats svg { width: 17px; height: 17px; color: var(--teal); flex: 0 0 auto; margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.ribbon { position: absolute; top: 22px; right: 24px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--obsidian); background: var(--mint); padding: 4px 10px; border-radius: 100px; font-weight: 600; }

/* Support cards */
.support-grid { grid-template-columns: repeat(2, 1fr); }
.faq { border: 1px solid var(--graphite); border-radius: var(--radius); overflow: hidden; background: var(--carbon); }
.faq details { border-bottom: 1px solid var(--graphite); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-size: 17px; color: var(--frost); display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 20px; height: 20px; position: relative; flex: 0 0 auto; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--teal); transition: transform 0.25s var(--ease); }
.faq summary .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq summary .plus::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 24px 22px; font-size: 15px; margin: 0; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--carbon); border-top: 1px solid var(--graphite); padding-top: clamp(64px, 8vw, 104px); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(40px, 5vw, 72px); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 38ch; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--graphite); background: var(--obsidian);
  display: flex; align-items: center; justify-content: center; color: var(--steel);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { color: var(--mint); border-color: var(--border-teal); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--frost-dim); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 26px;
  border-top: 1px solid var(--graphite);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13.5px; color: var(--steel); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { font-size: 13.5px; color: var(--steel); }
.footer-bottom .fb-links a:hover { color: var(--frost); }

/* =====================================================================
   Reveal animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-visual { order: 0; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .doc { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .price-grid { grid-template-columns: 1fr; }
  .grid-3x3 { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .site-header.menu-open { background: rgba(5,8,10,0.97); backdrop-filter: blur(14px); border-bottom-color: var(--graphite); }
  .nav.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--obsidian); border-bottom: 1px solid var(--graphite);
    padding: 14px var(--gutter) 22px; gap: 4px;
  }
  .nav.mobile-open a { padding: 13px 6px; font-size: 16px; border-bottom: 1px solid var(--graphite-2); }
  .nav.mobile-open a:last-child { border-bottom: none; }
  .nav.mobile-open .btn { display: inline-flex; margin-top: 12px; justify-content: center; }
  .grid-2x2, .grid-3x3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero__meta { gap: 22px; }
  .flow__node::after { display: none; }
  .flow__node + .flow__node { border-left: none; border-top: 1px solid var(--graphite); }
}

@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero__meta strong { font-size: 26px; }
}
