/* ============================================================
   Netseline Design System — Tokens
   ============================================================
   Pure white, deep teal accent, cold and precise.
   Sora for display, Geist for body.
   ============================================================ */

:root {
  /* COLOR — Brand */
  --teal-50:  #E6F2F0;
  --teal-100: #C7E0DC;
  --teal-200: #94C3BB;
  --teal-300: #5FA59A;
  --teal-400: #2E8779;
  --teal-500: #0D6B5E;
  --teal-600: #0A5A4F;
  --teal-700: #084840;
  --teal-800: #053730;
  --teal-900: #032520;

  --brand: var(--teal-500);
  --brand-hover: var(--teal-600);
  --brand-press: var(--teal-700);

  /* COLOR — Neutral */
  --white: #FFFFFF;
  --gray-25:  #FAFAFA;
  --gray-50:  #F5F5F6;
  --gray-100: #EDEDEE;
  --gray-200: #E1E1E3;
  --gray-300: #C8C8CC;
  --gray-400: #9A9AA1;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;
  --gray-800: #27272A;
  --gray-900: #18181B;
  --black: #0A0A0B;

  /* Semantic */
  --bg:         var(--white);
  --bg-subtle:  var(--gray-25);
  --bg-muted:   var(--gray-50);
  --bg-inverse: var(--gray-900);

  --fg:        var(--gray-900);
  --fg-muted:  var(--gray-600);
  --fg-subtle: var(--gray-500);
  --fg-faint:  var(--gray-400);
  --fg-inverse: var(--white);
  --fg-brand:  var(--brand);

  --border:        var(--gray-200);
  --border-subtle: var(--gray-100);
  --border-strong: var(--gray-300);
  --border-brand:  var(--brand);

  --success: #0E7F5A;
  --warning: #B7791F;
  --danger:  #C2412B;
  --info:    var(--brand);

  /* TYPE — Families */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* TYPE — Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  3.75rem;
  --text-6xl:  4.5rem;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    800;

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --tracking-tight:  -0.02em;
  --tracking-snug:   -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.04em;
  --tracking-eyebrow: 0.12em;

  /* SPACING */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* RADII */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-2xl:  16px;
  --radius-full: 9999px;

  /* SHADOWS */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.10), 0 8px 16px rgba(15, 23, 42, 0.04);

  --ring: 0 0 0 3px rgba(13, 107, 94, 0.18);

  /* MOTION */
  --ease-standard: cubic-bezier(0.2, 0.0, 0, 1);
  --ease-emphasis: cubic-bezier(0.2, 0.0, 0, 1.05);
  --duration-fast:   120ms;
  --duration-base:   180ms;
  --duration-slow:   240ms;

  /* LAYOUT */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-2xl: 1280px;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--white); color: var(--fg); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }
.section--subtle { background: var(--bg-subtle); }
.section--dark { background: var(--gray-900); color: #fff; }
.divider { height: 1px; background: var(--border-subtle); }

/* ============================================================
   Headings & body type
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow--brand { color: var(--brand); }

.h-hero {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
}
/* Homepage hero is paired with a sidecar dashboard panel, so the headline
   lives in a ~565px column at 1200px viewport. Shrink so "You drive revenue."
   fits on one line; line-height tightened to keep the two-line block compact. */
.h-hero--home {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.05;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.h-card {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.lead {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0;
}

p { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--fg); margin: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 0 18px;
  height: 42px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 140ms var(--ease-standard);
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:active { background: var(--brand-press); }
.btn--secondary {
  background: #fff;
  color: var(--fg);
  border-color: var(--border);
}
.btn--secondary:hover { border-color: var(--border-strong); background: var(--bg-subtle); }
.btn--ghost { background: transparent; color: var(--fg); padding: 0 12px; }
.btn--ghost:hover { background: var(--bg-muted); }
.btn--sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 6px; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 8px; }
.btn--dark { background: var(--gray-900); color: #fff; }
.btn--dark:hover { background: var(--gray-800); }

/* ============================================================
   Logo
   ============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}
.logo img { display: block; height: 28px; width: auto; }
.logo--lg img { height: 40px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav-links { display: flex; align-items: center; gap: 28px; justify-self: center; }
.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 120ms;
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 1px;
  background: var(--brand);
}
.nav-right { justify-self: end; display: flex; align-items: center; gap: 12px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg-subtle); color: var(--fg-muted); padding: 80px 0 36px; border-top: 1px solid var(--border-subtle); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-col-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--fg); margin: 0 0 16px; letter-spacing: -0.005em; }
.footer-link { display: block; font-size: 14px; color: var(--fg-muted); padding: 6px 0; cursor: pointer; transition: color 120ms; }
.footer-link:hover { color: var(--fg); }
.footer-link--static { cursor: default; }
.footer-link--static:hover { color: var(--fg-muted); }
.footer-tagline { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--fg-muted); max-width: 340px; }
.footer-email { font-family: var(--font-mono); font-size: 13px; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}
.footer-meta-links { display: inline-flex; gap: 24px; }
.footer-meta a, .footer-meta .link { cursor: pointer; transition: color 120ms; }
.footer-meta a:hover, .footer-meta .link:hover { color: var(--fg); }

/* ============================================================
   Cards
   ============================================================ */
.card-flat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 140ms, transform 140ms;
}
.card-flat:hover { border-color: var(--border-strong); }

.feature-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.05em;
}

/* ============================================================
   Decorative
   ============================================================ */
.dotgrid {
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-dotgrid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 90% 20%, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 90% 20%, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-dotgrid--sm {
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 90% 25%, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 60% at 90% 25%, black 30%, transparent 70%);
}
.hero-dotgrid--legal {
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 90% 25%, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 60% at 90% 25%, black 30%, transparent 70%);
}
.hairline-top { border-top: 1px solid var(--border-subtle); }
.hairline-bot { border-bottom: 1px solid var(--border-subtle); }

/* ============================================================
   Form
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--fg); }
.field .opt { color: var(--fg-faint); font-weight: 400; }
.field .req { color: var(--brand); }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 14px;
  height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--fg);
  outline: none;
  transition: all 120ms;
  width: 100%;
}
.field textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.field .help { font-size: 12px; color: var(--fg-muted); }

/* ============================================================
   Pills, arrow link
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 9999px;
  background: var(--bg-subtle);
  color: var(--fg-muted);
  border: 1px solid var(--border-subtle);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.alink {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--brand);
  cursor: pointer;
}
.alink .arr { transition: transform 180ms var(--ease-standard); }
.alink:hover .arr { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 28px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 8px; }
.brand { color: var(--brand); }

/* Hero dashboard panel */
.hero-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hp-head { display: flex; justify-content: space-between; align-items: center; }
.hp-host { display: flex; align-items: center; gap: 10px; }
.hp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hp-url { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); }
.hp-controls { display: flex; gap: 6px; }
.hp-controls span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-200); }
.hp-label { font-size: 12px; color: var(--fg-muted); font-weight: 500; margin-bottom: 10px; }
.hp-metric { display: flex; align-items: baseline; gap: 12px; }
.hp-value-skel {
  display: inline-block;
  width: 190px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
}
.hp-delta {
  display: inline-block;
  width: 52px;
  height: 14px;
  border-radius: 4px;
  background: rgba(13, 107, 94, 0.12);
}
.hp-sub {
  margin-top: 10px;
  width: 220px;
  height: 10px;
  border-radius: 4px;
  background: var(--gray-100);
}
.hp-chart {
  position: relative;
  height: 120px;
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.hp-ticks { position: absolute; top: 12px; left: 0; display: flex; flex-direction: column; gap: 22px; }
.hp-ticks span { display: inline-block; width: 18px; height: 6px; border-radius: 3px; background: var(--gray-100); }
.hp-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.hp-col { padding: 0 16px; }
.hp-col + .hp-col { border-left: 1px solid var(--border-subtle); }
.hp-col-label { font-size: 11px; color: var(--fg-muted); font-weight: 500; margin-bottom: 10px; }
.hp-col-val { display: inline-block; height: 16px; border-radius: 4px; background: var(--gray-100); }

/* ============================================================
   Two-column section (sticky title left, content right)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.two-col-head { position: sticky; top: 96px; }
.section-intro { max-width: 720px; margin-bottom: 56px; }
.section-intro .lead { margin-top: 20px; }
.h-section--40 { font-size: 40px; }
.lead--17 { font-size: 17px; margin-top: 20px; }

/* ============================================================
   Steps grid
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { display: flex; flex-direction: column; gap: 16px; }
.step-card h3 { margin-top: 4px; }
.step-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

/* Industries list */
.industries-list { display: flex; flex-direction: column; }
.ind-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left 180ms var(--ease-standard);
  cursor: default;
}
.ind-row:first-child { border-top: 1px solid var(--border); }
.ind-row:hover { padding-left: 12px; }
.ind-num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-faint); }
.ind-name { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }

/* Why work with us grid */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.why-card-head { display: flex; align-items: center; justify-content: space-between; }
.why-card h3 { margin-top: 12px; }
.why-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-muted); }

/* CTA section */
.cta-section { background: var(--bg-subtle); }
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 32px;
}
.cta-inner .h-section { max-width: 820px; }
.cta-inner .lead { max-width: 600px; text-align: center; }
.cta-inner .btn { margin-top: 4px; }

/* ============================================================
   About — story paragraphs, company info table
   ============================================================ */
.story-paragraphs { display: flex; flex-direction: column; gap: 24px; }
.story-paragraphs p { font-size: 18px; line-height: 1.65; color: var(--fg); }

.info-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 28px;
  border-top: 1px solid var(--border-subtle);
}
.info-row:first-child { border-top: none; }
.info-row-key { font-size: 13px; font-weight: 500; color: var(--fg-muted); letter-spacing: -0.005em; }
.info-row-val { font-size: 15px; line-height: 1.55; color: var(--fg); font-weight: 500; }
.info-row-val--mono { font-family: var(--font-mono); font-size: 14px; font-weight: 400; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-card { padding: 36px; }
.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--fg);
}
.contact-form-card .form-lede { margin: 0 0 28px; font-size: 14px; color: var(--fg-muted); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .btn { width: 100%; margin-top: 6px; }
.form-note { margin: 2px 0 0; font-size: 13px; color: var(--fg-muted); text-align: center; }

.form-success {
  padding: 28px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-success[hidden] { display: none; }
.form-success-head { display: flex; align-items: center; gap: 10px; }
.form-success-head .ttl { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--fg); }
.form-success p { margin: 0; font-size: 14px; color: var(--fg-muted); }

.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--fg);
}
.contact-info .info-lead { margin: 0 0 16px; font-size: 15px; color: var(--fg-muted); }
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--fg);
}
.contact-info-list { border-top: 1px solid var(--border-subtle); }
.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-row--social {
  grid-template-columns: 44px 1fr auto;
  align-items: center;
}
.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.contact-row-text { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.contact-row--social .contact-row-text { padding-top: 0; gap: 2px; }
.contact-row-label { font-size: 12px; font-weight: 500; color: var(--fg-muted); letter-spacing: -0.005em; }
.contact-row-val { font-size: 15px; font-weight: 500; color: var(--fg); line-height: 1.5; }
.contact-row-val--mono { font-family: var(--font-mono); font-size: 14px; font-weight: 400; }

.email-line { padding: 56px 0; border-top: 1px solid var(--border-subtle); }
.email-line .container { text-align: center; }
.email-line p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.email-line .email-addr {
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-hero { padding: 96px 0 56px; position: relative; overflow: hidden; }
.legal-hero .container { max-width: 920px; position: relative; }
.legal-meta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.legal-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.legal-body { padding: 16px 0 96px; }
.legal-body .container { max-width: 920px; }
.legal-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}
.legal-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--fg);
}
.legal-content { display: flex; flex-direction: column; gap: 16px; }
.legal-content p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--fg); }
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--fg);
}
.legal-sub { display: flex; flex-direction: column; gap: 8px; }
.legal-content ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { font-size: 16px; line-height: 1.7; color: var(--fg); }
.legal-content .inline-email { font-family: var(--font-mono); color: var(--brand); font-size: 15px; }
.address-block {
  padding: 20px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.address-block span { font-size: 15px; line-height: 1.55; color: var(--fg); }
.address-block .name { font-weight: 600; }
.address-block .email { font-family: var(--font-mono); }

/* About hero variant */
.hero--about { padding: 112px 0 80px; }
.hero--about .container { max-width: 920px; position: relative; }
.hero--about .lead { margin-top: 28px; max-width: 720px; }
.hero--contact { padding: 112px 0 64px; }
.hero--contact .container { max-width: 920px; position: relative; }
.hero--contact .lead { margin-top: 28px; max-width: 720px; }

.contact-body-section { padding-top: 32px; padding-bottom: 96px; }

/* ============================================================
   Scroll animations (respect reduced motion + legal pages)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
body.no-anim .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid, .two-col, .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .two-col-head { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section--lg { padding: 88px 0; }
  .hero { padding: 80px 0; }
  .hero--about, .hero--contact { padding-top: 80px; padding-bottom: 56px; }
  .legal-hero { padding: 72px 0 40px; }
  .h-section--40 { font-size: 32px; }
  .nav-inner { gap: 16px; height: 60px; }
  .nav-links { gap: 18px; }
  .nav-link.active::after { bottom: -20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-meta { flex-direction: column; gap: 14px; align-items: flex-start; }
  .info-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .legal-section { grid-template-columns: 1fr; gap: 12px; }
  .legal-num { padding-top: 0; }
  .why-card, .card-flat { padding: 24px; }
  .contact-form-card { padding: 24px; }
}
