/* =========================================================
   Captain Software — design system v3
   Serious software studio, agency-grade polish.
   Ink navy + restrained indigo. Plus Jakarta Sans / Space Grotesk.
   ========================================================= */

:root {
  --c-ink:    #0A1420;   /* primary dark bg */
  --c-ink-2:  #0E1C2C;   /* dark panel */
  --c-ink-3:  #142838;   /* raised panel */
  --c-line:   #1F344C;   /* hairlines on dark */
  --c-cloud:  #F2F4F8;   /* cool light section bg */
  --c-paper:  #FFFFFF;   /* card / paper */
  --c-slate:  #0B1825;   /* heading text on light */
  --c-slate-2:#51647B;   /* body text on light */
  --c-mist:   #9FB2C6;   /* body text on dark */
  --c-mist-2: #697C92;   /* dim text on dark */
  --c-accent: #3A5BE0;   /* indigo — primary accent */
  --c-accent-press: #2C46BC;
  --c-accent-soft: #93A6FF; /* accent on dark bg */
  --c-accent-tint: #EBEFFE; /* accent wash on light */

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.32,.72,0,1);

  /* soft, diffused, layered ambient shadow — never harsh */
  --shadow-sm: 0 1px 2px rgba(8,18,34,.05), 0 6px 16px -10px rgba(8,18,34,.16);
  --shadow: 0 1px 2px rgba(8,18,34,.04), 0 14px 30px -16px rgba(8,18,34,.20), 0 40px 70px -45px rgba(8,18,34,.30);
  --hairline-dark: 1px solid color-mix(in srgb, #fff 9%, transparent);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--c-ink);
  color: var(--c-mist);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--c-accent); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--c-accent-soft); outline-offset: 3px; border-radius: 2px; }

/* ---------- shared type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: #fff; line-height: 1.06; letter-spacing: -0.022em; font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--c-accent-soft); }

.tag, .price, .footer-h, .contact-label, .ui-url {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.72rem;
}
.price { letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }

/* eyebrow pill badge */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem;
  color: var(--c-accent); background: var(--c-accent-tint);
  border: 1px solid color-mix(in srgb, var(--c-accent) 22%, transparent);
  padding: 7px 13px; border-radius: 100px; margin-bottom: 22px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.kicker-light { color: var(--c-accent-soft); background: color-mix(in srgb, var(--c-accent) 16%, transparent); border-color: color-mix(in srgb, var(--c-accent-soft) 28%, transparent); }
.kicker-light::before { background: var(--c-accent-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.97rem;
  padding: 13px 16px 13px 24px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--spring), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:has(.btn-ic) { padding-right: 8px; }
.btn:not(:has(.btn-ic)) { padding-inline: 26px; }
.btn-ic {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: transform .4s var(--spring), background .3s var(--ease);
}
.btn-ic svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--c-accent) 80%, transparent); }
.btn-primary .btn-ic { background: rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--c-accent-press); transform: translateY(-2px); }
.btn-primary:hover .btn-ic { transform: translate(2px,-1px); background: rgba(255,255,255,.28); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-ghost { border-color: var(--c-line); color: #fff; }
.btn-ghost .btn-ic { background: rgba(255,255,255,.07); }
.btn-ghost:hover { border-color: var(--c-accent-soft); color: var(--c-accent-soft); transform: translateY(-2px); }
.btn-ghost:hover .btn-ic { transform: translate(2px,-1px); }
.btn-ghost:active { transform: translateY(0) scale(.985); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--c-ink) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand-soft { color: var(--c-mist); font-weight: 500; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a { font-size: 0.93rem; color: var(--c-mist); transition: color .2s var(--ease); }
.nav a:not(.nav-cta):hover { color: #fff; }
.nav-cta { border: 1px solid var(--c-line); padding: 9px 18px; border-radius: 100px; color: #fff !important; transition: border-color .2s var(--ease), color .2s var(--ease); }
.nav-cta:hover { border-color: var(--c-accent-soft); color: var(--c-accent-soft) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--spring), opacity .25s var(--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); }

.mobile-nav { display: none; flex-direction: column; border-bottom: 1px solid var(--c-line); padding: 8px var(--gutter) 18px; background: var(--c-ink); }
.mobile-nav.show { display: flex; }
.mobile-nav a { padding: 13px 0; color: var(--c-mist); border-bottom: 1px solid color-mix(in srgb, var(--c-line) 50%, transparent); font-size: 1rem; }
.mobile-nav a:last-child { border-bottom: 0; color: var(--c-accent-soft); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(130% 90% at 84% -12%, color-mix(in srgb, var(--c-accent) 24%, transparent), transparent 58%),
    var(--c-ink); }
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding-top: clamp(60px, 8vw, 112px); padding-bottom: clamp(72px, 9vw, 124px);
}

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--c-accent-soft); margin-bottom: 26px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 25%, transparent); }

.hero h1 { font-size: clamp(2.55rem, 6.2vw, 4.5rem); font-weight: 600; margin-bottom: 24px; letter-spacing: -0.032em; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--c-mist); max-width: 46ch; margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }

.hero-stats { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; border-top: 1px solid var(--c-line); padding-top: 30px; }
.hero-stats dt { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--c-mist-2); margin-bottom: 6px; }
.hero-stats dd { font-family: var(--font-display); font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* ----- UI mock with double-bezel tray ----- */
.hero-visual { perspective: 1500px; }
.ui-shell {
  padding: 9px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: var(--hairline-dark);
  box-shadow: var(--shadow);
  transform: rotateY(-9deg) rotateX(3deg);
  transform-origin: center;
}
.ui-mock {
  background: var(--c-paper); border-radius: calc(var(--r-xl) - 9px); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.ui-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #EDEFF3; border-bottom: 1px solid #E3E6EC; }
.ui-dots { display: inline-flex; gap: 6px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: #CDD2DB; }
.ui-url { color: #8A93A3; background: #fff; border-radius: 7px; padding: 4px 12px; font-size: 0.62rem; letter-spacing: 0.04em; text-transform: none; }
.ui-body { display: grid; grid-template-columns: 64px 1fr; min-height: 282px; }
.ui-side { background: #F6F7FA; border-right: 1px solid #E8EBF0; padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.ui-logo { width: 24px; height: 24px; border-radius: 8px; background: var(--c-accent); margin-bottom: 6px; }
.ui-navitem { height: 9px; border-radius: 5px; background: #DDE2EA; }
.ui-navitem.is-active { background: var(--c-accent); opacity: .85; }
.ui-navitem.short { width: 60%; }
.ui-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.ui-head { display: flex; align-items: center; justify-content: space-between; }
.ui-title { width: 120px; height: 13px; border-radius: 6px; background: #C9D0DB; }
.ui-pill { width: 64px; height: 22px; border-radius: 11px; background: var(--c-accent-tint); border: 1px solid color-mix(in srgb, var(--c-accent) 25%, transparent); }
.ui-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-card { background: #F6F7FA; border: 1px solid #EAEDF2; border-radius: 11px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ui-card .ui-k { width: 50%; height: 7px; border-radius: 4px; background: #D3D9E2; }
.ui-card .ui-v { width: 72%; height: 13px; border-radius: 5px; background: #B7C0CD; }
.ui-card.accent { background: var(--c-accent-tint); border-color: color-mix(in srgb, var(--c-accent) 22%, transparent); }
.ui-card.accent .ui-v { background: var(--c-accent); }
.ui-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding-top: 6px; border-top: 1px solid #EEF0F4; }
.ui-chart span { flex: 1; height: var(--h); background: #DBE0E8; border-radius: 6px 6px 0 0; }
.ui-chart span.hot { background: var(--c-accent); }

/* =========================================================
   Sections (shared)
   ========================================================= */
.section { padding-block: clamp(74px, 10vw, 132px); }
.section-light { background: var(--c-cloud); color: var(--c-slate-2); }
.section-paper { background: var(--c-paper); color: var(--c-slate-2); }
.section-dark  { background: var(--c-ink-2); color: var(--c-mist); }

.section-light h2, .section-paper h2 { color: var(--c-slate); }
.section-light h2 em, .section-paper h2 em { color: var(--c-accent); }
.section-light h3, .section-paper h3 { color: var(--c-slate); }

.section-head { max-width: 56ch; margin-bottom: clamp(48px, 6vw, 74px); }
.section-head h2 { font-size: clamp(1.95rem, 4vw, 3.05rem); margin-bottom: 18px; }
.section-sub { font-size: clamp(1rem, 1.6vw, 1.13rem); color: var(--c-slate-2); }
.section-dark .section-sub { color: var(--c-mist); }

/* =========================================================
   Services — double-bezel cards
   ========================================================= */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card {
  background: var(--c-paper);
  border: 1px solid #E6EAF0;
  border-radius: var(--r-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--spring), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.cap-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c-accent) 40%, #E6EAF0); box-shadow: var(--shadow); }
.cap-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c-accent) 16%, #fff), var(--c-accent-tint));
  border: 1px solid color-mix(in srgb, var(--c-accent) 16%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  margin-bottom: 18px;
}
.cap-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cap-card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.cap-card p { font-size: 0.95rem; color: var(--c-slate-2); margin-bottom: 16px; }
.cap-list { list-style: none; padding: 0; border-top: 1px solid #ECEFF3; padding-top: 14px; }
.cap-list li { font-size: 0.86rem; color: var(--c-slate-2); padding-left: 18px; position: relative; margin-bottom: 7px; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--c-accent); }

/* =========================================================
   Products
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product {
  background: var(--c-paper); border: 1px solid #E6EAF0; border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--spring), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.product:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c-accent) 40%, #E6EAF0); box-shadow: var(--shadow); }
.product-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.product h3 { font-size: 1.22rem; }
.price { color: var(--c-accent); white-space: nowrap; }
.product p { font-size: 0.94rem; color: var(--c-slate-2); margin-bottom: 18px; }
.tag { display: inline-block; color: var(--c-slate-2); border: 1px solid #DCE1E8; border-radius: 100px; padding: 4px 12px; }

.product-note {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  border: 1px solid color-mix(in srgb, var(--c-accent) 20%, #E6EAF0); border-radius: var(--r-lg); padding: 24px 28px;
  background: linear-gradient(120deg, var(--c-accent-tint), color-mix(in srgb, var(--c-accent-tint) 40%, #fff));
  box-shadow: var(--shadow-sm);
}
.product-note svg { color: var(--c-accent); flex: none; }
.product-note p { font-size: 0.98rem; color: var(--c-slate-2); }
.product-note strong { color: var(--c-slate); }

/* =========================================================
   Process / steps
   ========================================================= */
.steps { list-style: none; padding: 0; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: clamp(16px, 3vw, 44px); padding: 32px 0; border-top: 1px solid #E0E5EC; align-items: start; transition: padding-left .4s var(--spring); }
.step:last-child { border-bottom: 1px solid #E0E5EC; }
.step:hover { padding-left: 8px; }
.step-no { font-family: var(--font-mono); font-weight: 700; color: var(--c-accent); font-size: 1.05rem; padding-top: 4px; font-variant-numeric: tabular-nums; }
.step-body h3 { font-size: clamp(1.3rem, 2.5vw, 1.72rem); margin-bottom: 10px; }
.step-body p { font-size: 1rem; color: var(--c-slate-2); max-width: 64ch; }

/* =========================================================
   Company
   ========================================================= */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 130% at 100% 0%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 58%);
  pointer-events: none;
}
.company-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.company-copy h2 { font-size: clamp(1.95rem, 4vw, 2.95rem); margin: 16px 0 22px; }
.company-copy p { color: var(--c-mist); margin-bottom: 18px; max-width: 54ch; }
.company-copy .btn { margin-top: 12px; }
.company-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.figure {
  border: var(--hairline-dark); border-radius: var(--r-lg); padding: 28px 26px;
  background: linear-gradient(165deg, color-mix(in srgb, #fff 6%, transparent), transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.figure-num { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.85rem); font-weight: 600; color: #fff; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.figure-label { font-size: 0.88rem; color: var(--c-mist); }

/* =========================================================
   Contact
   ========================================================= */
.contact-inner { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.contact-copy h2 { font-size: clamp(1.95rem, 4vw, 2.95rem); margin: 16px 0 18px; }
.contact-copy .section-sub { margin-bottom: 30px; max-width: 46ch; }
.mail { font-family: var(--font-display); font-size: clamp(1.18rem, 2.5vw, 1.7rem); font-weight: 600; color: var(--c-slate); border-bottom: 2px solid var(--c-accent); padding-bottom: 5px; transition: color .25s var(--ease); display: inline-block; }
.mail:hover { color: var(--c-accent); }
.contact-fine { font-size: 0.9rem; color: var(--c-slate-2); margin-top: 18px; }

.contact-card {
  position: relative; background: var(--c-ink); color: var(--c-mist);
  border-radius: var(--r-xl); padding: 9px; border: var(--hairline-dark); box-shadow: var(--shadow);
}
.contact-card-inner {
  border-radius: calc(var(--r-xl) - 9px); padding: 30px 28px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c-accent) 12%, transparent), transparent 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.contact-label { color: var(--c-mist-2); margin-bottom: 10px; }
.contact-addr + .contact-label { margin-top: 24px; }
.contact-addr { font-family: var(--font-display); font-size: 1.12rem; color: #fff; line-height: 1.5; font-weight: 500; }
.contact-link { color: var(--c-accent-soft); font-family: var(--font-mono); font-size: 0.86rem; transition: color .2s var(--ease); }
.contact-link:hover { color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--c-ink); border-top: 1px solid var(--c-line); padding-top: clamp(52px, 7vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 46px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag { font-size: 0.92rem; color: var(--c-mist-2); max-width: 34ch; }
.footer-h { color: var(--c-accent-soft); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.93rem; color: var(--c-mist); transition: color .2s var(--ease); width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-addr { font-style: normal; font-size: 0.9rem; color: var(--c-mist-2); line-height: 1.6; margin-top: 4px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--c-line); padding-block: 24px; }
.footer-bottom p { font-size: 0.84rem; color: var(--c-mist-2); }

/* =========================================================
   Legal pages
   ========================================================= */
.legal-hero { background: var(--c-ink); border-bottom: 1px solid var(--c-line); padding-block: clamp(52px, 7vw, 92px); position: relative; overflow: hidden; }
.legal-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 130% at 100% 0%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 58%); }
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 16px 0 12px; }
.legal-hero .updated { font-family: var(--font-mono); font-size: 0.82rem; color: var(--c-mist-2); }
.legal-back { display: inline-block; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-accent-soft); transition: transform .3s var(--spring); }
.legal-back:hover { transform: translateX(-3px); }

.legal-body { background: var(--c-paper); color: var(--c-slate-2); padding-block: clamp(52px, 7vw, 92px); }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 { color: var(--c-slate); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 42px 0 14px; }
.legal-body h3 { color: var(--c-slate); font-size: 1.12rem; margin: 26px 0 10px; }
.legal-body p, .legal-body li { font-size: 0.99rem; color: var(--c-slate-2); margin-bottom: 14px; }
.legal-body ul { padding-left: 22px; margin-bottom: 18px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--c-accent); border-bottom: 1px solid color-mix(in srgb, var(--c-accent) 40%, transparent); }
.legal-body a:hover { color: var(--c-slate); }
.legal-body strong { color: var(--c-slate); }
.legal-body .lead-p { font-size: 1.12rem; color: var(--c-slate); }
.legal-intro { border-left: 3px solid var(--c-accent); padding-left: 22px; margin-bottom: 32px; }

/* =========================================================
   Scroll reveal — heavy fade-up with blur
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .8s var(--spring), transform .8s var(--spring), filter .8s var(--spring); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.cap-grid .cap-card:nth-child(2) { transition-delay: .06s; }
.cap-grid .cap-card:nth-child(3) { transition-delay: .12s; }
.cap-grid .cap-card:nth-child(4) { transition-delay: .18s; }
.product-grid .product:nth-child(3n+2) { transition-delay: .06s; }
.product-grid .product:nth-child(3n+3) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 540px; }
  .ui-shell { transform: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .company-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-grid .product:nth-child(3n+2),
  .product-grid .product:nth-child(3n+3) { transition-delay: 0s; }
  .product-grid .product:nth-child(2n) { transition-delay: .06s; }
}
@media (max-width: 620px) {
  .cap-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .product-note { flex-direction: column; align-items: flex-start; }
  .footer-bottom { justify-content: flex-start; }
  .ui-body { min-height: 232px; }
  .cap-grid .cap-card,
  .product-grid .product { transition-delay: 0s !important; }
}
