/* ==========================================================================
   DK Solutions 999 — Redesign Stylesheet
   Navy + electric-blue design system. Space Grotesk (headings) / IBM Plex Sans (body).
   Vanilla CSS, no framework. Paired with reveal.js (scroll motion) + site.js (nav).
   ========================================================================== */

:root {
  --accent: #2b9bf4;
  --navy-darkest: #081120;
  --navy-1: #0a1628;
  --navy-2: #0c1c34;
  --panel-top: #0f2238;
  --panel-bot: #0b1a2c;
  --text-dark: #1a2433;
  --heading: #0c1c34;
  --muted: #5a6b80;
  --muted-2: #3a4a5e;
  --on-navy: #aebcd0;
  --dim-navy: #7e93ae;
  --nav-idle: #c2cee0;
  --surface-light: #f6f8fb;
  --border-light: #e3e9f0;
  --border-input: #d6deea;
  --footer-text: #6d83a0;
  --danger: #c0392b;
  --warn: #ffc14d;
  --success: #43e08a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; }
a { color: var(--accent); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #06101f; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 16px; top: 12px; }

/* ---- Keyframes ---- */
@keyframes dkFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dkRise  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dkGlow {
  0%, 100% { box-shadow: 0 8px 22px -8px rgba(43,155,244,0.5), 0 0 0 0 rgba(43,155,244,0); }
  50%      { box-shadow: 0 14px 32px -6px rgba(43,155,244,0.6), 0 0 24px 3px rgba(43,155,244,0.45); }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  text-decoration: none; font-weight: 600; border: 0; cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif; white-space: nowrap;
  transition: filter .18s ease, transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: var(--accent); color: #06101f;
  box-shadow: 0 14px 34px -12px var(--accent);
  animation: dkGlow 2.6s ease-in-out infinite;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-lg { height: 52px; padding: 0 28px; border-radius: 10px; font-size: 16px; }
.btn-xl { height: 54px; padding: 0 30px; border-radius: 11px; font-size: 16px; }
.btn-hero:hover { transform: translateY(-1px); filter: brightness(1.08); }
.arrow { font-size: 18px; line-height: 1; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,17,32,0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-header.scrolled { box-shadow: 0 8px 30px -16px rgba(0,0,0,0.6); }
.nav {
  max-width: 1240px; margin: 0 auto; padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  color: var(--nav-idle); text-decoration: none; font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.01em; transition: color .16s ease;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; font-weight: 600; }
.nav-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  border-radius: 8px; background: var(--accent); color: #06101f; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  box-shadow: 0 6px 18px -6px var(--accent); animation: dkGlow 2.6s ease-in-out infinite;
  transition: filter .18s ease;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  cursor: pointer; padding: 9px; border-radius: 8px;
}
.nav-toggle span {
  display: block; height: 2px; background: #e8edf5; border-radius: 2px; margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero (dark) — shared dark section base
   ========================================================================== */
.dark-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -10%, #143a63 0%, rgba(20,58,99,0) 55%),
    linear-gradient(180deg, var(--navy-1) 0%, var(--navy-darkest) 100%);
}
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 600px at 70% 10%, #000 0%, transparent 75%);
  mask-image: radial-gradient(900px 600px at 70% 10%, #000 0%, transparent 75%);
}
.hero-inner {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 92px 32px 104px;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center;
}
.hero-copy { animation: dkRise 0.7s ease both; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 100px;
  background: rgba(43,155,244,0.12); border: 1px solid rgba(43,155,244,0.3);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #7cc4ff; margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-copy h1 {
  font-weight: 600; font-size: 58px; line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 22px;
}
.hero-copy h1 .accent { color: var(--accent); }
.hero-lead { font-size: 18.5px; line-height: 1.6; color: var(--on-navy); max-width: 540px; margin: 0 0 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Floating product mock ---- */
.mock-float { position: relative; animation: dkFloat 7s ease-in-out infinite; }
.mock-glow {
  position: absolute; inset: -30px -30px -30px 10px;
  background: radial-gradient(circle at 50% 40%, rgba(43,155,244,0.28), transparent 68%); filter: blur(8px);
}
.mock {
  position: relative; background: linear-gradient(180deg, var(--panel-top) 0%, var(--panel-bot) 100%);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.65); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02);
}
.mock-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar .d1 { background: #ff5f57; } .mock-bar .d2 { background: #febc2e; } .mock-bar .d3 { background: #28c840; }
.mock-title { margin-left: 10px; font-size: 12px; color: var(--dim-navy); }
.mock-body { padding: 22px; }
.mock-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
  font-family: 'Space Grotesk'; font-size: 15px; font-weight: 600; color: #e7eef8;
}
.status {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 100px;
  font-size: 11.5px; font-weight: 600;
}
.status .d { width: 6px; height: 6px; border-radius: 50%; }
.status-ok { background: rgba(40,200,100,0.14); border: 1px solid rgba(40,200,100,0.35); color: #5fe39a; }
.status-ok .d { background: var(--success); }
.status-warn { background: rgba(255,170,40,0.12); border: 1px solid rgba(255,170,40,0.35); color: var(--warn); }
.status-warn .d { background: var(--warn); }
.mock-rows { display: flex; flex-direction: column; gap: 11px; }
.mrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 9px;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.06);
}
.mrow .k { font-size: 12.5px; color: #8da3bf; }
.mrow .v { font-size: 12.5px; font-weight: 600; color: #dce6f2; }
.mrow.ok      { background: rgba(255,255,255,0.035); border-color: rgba(255,255,255,0.06); }
.mrow.ok .k   { color: #8da3bf; } .mrow.ok .v { color: #dce6f2; }
.mrow.accent  { background: rgba(43,155,244,0.08); border-color: rgba(43,155,244,0.28); }
.mrow.accent .k { color: #9cc8f2; } .mrow.accent .v { color: var(--accent); }
.mrow.warn    { background: rgba(255,170,40,0.08); border-color: rgba(255,170,40,0.3); }
.mrow.warn .k { color: #d9b58a; } .mrow.warn .v { color: var(--warn); }
.mrow.danger  { background: rgba(192,57,43,0.1); border-color: rgba(255,138,138,0.3); }
.mrow.danger .k { color: #d99; } .mrow.danger .v { color: #ff8a8a; }
.mock-action {
  margin-top: 18px; height: 44px; border-radius: 9px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 600; color: #06101f;
}
.mock-action.dashed {
  background: transparent; border: 1.5px dashed rgba(255,255,255,0.25); color: var(--dim-navy);
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar { background: var(--navy-darkest); border-top: 1px solid rgba(255,255,255,0.06); padding: 26px 32px; }
.trust-inner {
  max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 18px 42px;
}
.trust-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--footer-text); }
.trust-item { font-size: 14px; font-weight: 600; color: var(--nav-idle); }
.trust-sep { color: #2a3b54; }

/* ==========================================================================
   Sections (light / dark) + headings
   ========================================================================== */
.section { padding: 96px 32px; }
.section-sm { padding: 80px 32px; }
.section-light { background: var(--surface-light); }
.section-dark { background: var(--navy-1); color: #fff; }
.section-white { background: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; }
.section-head.center { text-align: center; max-width: 660px; }
.section-head.left { margin: 0 0 56px; }
h2.h-section {
  font-weight: 600; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--heading);
}
.section-dark h2.h-section, .dark-hero h2.h-section { color: #fff; }
.section-intro { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.section-dark .section-intro { color: var(--on-navy); }

/* ---- Icon tiles + shapes ---- */
.ico {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(43,155,244,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex: none;
}
.ico-44 { width: 44px; height: 44px; border-radius: 11px; }
.ico-50 { width: 50px; height: 50px; border-radius: 13px; }
.shp-square  { width: 18px; height: 18px; border-radius: 4px; border: 2.5px solid var(--accent); }
.shp-circle  { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--accent); }
.shp-diamond { width: 18px; height: 18px; transform: rotate(45deg); border: 2.5px solid var(--accent); }
.shp-bar     { width: 18px; height: 6px; border-radius: 3px; background: var(--accent); }
.shp-pill    { width: 22px; height: 11px; border-radius: 100px; background: var(--accent); }
.shp-doc     { width: 20px; height: 14px; border-radius: 3px; border: 2.5px solid var(--accent); border-left-width: 6px; }
.shp-corner  { display: block; width: 18px; height: 18px; border: 2.5px solid var(--accent); border-radius: 4px; border-bottom: none; border-right: none; }
.shp-spin    { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--accent); border-top-color: transparent; transform: rotate(45deg); }

/* ---- Real product logos (normalized in white containers) ---- */
.logo-chip {
  width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 6px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex: none;
  box-shadow: 0 5px 14px -8px rgba(0,0,0,0.55);
}
.logo-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd-logo {
  width: 120px; height: 120px; border-radius: 18px; background: #fff; padding: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px; flex: none;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.6);
}
.pd-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---- Problem tiles ---- */
.tiles-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile {
  background: #fff; border: 1px solid var(--border-light); border-radius: 14px; padding: 26px;
  box-shadow: 0 1px 3px rgba(12,28,52,0.04);
}
.tile h3 { font-size: 17px; font-weight: 600; margin: 0 0 9px; color: var(--heading); }
.tile p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ==========================================================================
   Expertise band
   ========================================================================== */
.expertise { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.founder-wrap { position: relative; }
.founder-frame {
  aspect-ratio: 4/5; border-radius: 16px; border: 1px solid var(--border-light); overflow: hidden;
  box-shadow: 0 20px 50px -24px rgba(12,28,52,0.45);
}
.founder-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stat-badge {
  position: absolute; bottom: -22px; right: -18px; background: var(--navy-2); color: #fff;
  border-radius: 14px; padding: 18px 22px; box-shadow: 0 20px 50px -18px rgba(12,28,52,0.5);
}
.stat-badge .num { font-family: 'Space Grotesk'; font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.stat-badge .lbl { font-size: 12px; color: var(--on-navy); margin-top: 4px; }
.expertise h2 { font-weight: 600; font-size: 38px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--heading); }
.expertise p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; }
.expertise p em { color: var(--heading); font-style: normal; font-weight: 600; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.mini-card { border-left: 3px solid var(--accent); padding-left: 16px; }
.mini-card .t { font-family: 'Space Grotesk'; font-size: 15px; font-weight: 600; color: var(--heading); margin-bottom: 4px; }
.mini-card .d { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ==========================================================================
   Product groups / cards
   ========================================================================== */
.cat-group { margin-bottom: 40px; }
.cat-group:last-child { margin-bottom: 0; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cat-label {
  font-family: 'Space Grotesk'; font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim-navy); margin: 0;
}
.cat-rule { flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pcard {
  display: block; text-decoration: none; padding: 24px; border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-top) 0%, #0c1c30 100%);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color .2s ease, transform .2s ease;
}
.pcard:hover { border-color: var(--accent); transform: translateY(-3px); }
.pcard .name { font-family: 'Space Grotesk'; font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.pcard p { font-size: 13.5px; line-height: 1.55; color: #9cabc2; margin: 0 0 16px; }
.pcard .more { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ==========================================================================
   Closing CTA banner (navy rounded)
   ========================================================================== */
.cta-banner {
  max-width: 1100px; margin: 0 auto; position: relative; border-radius: 22px; overflow: hidden;
  padding: 64px 56px; color: #fff;
  background:
    radial-gradient(900px 500px at 80% -20%, #1a4a7d 0%, rgba(26,74,125,0) 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy-darkest) 100%);
}
.cta-banner .grid-overlay {
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(600px 400px at 75% 0%, #000, transparent 70%);
  mask-image: radial-gradient(600px 400px at 75% 0%, #000, transparent 70%);
}
.cta-grid { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.cta-grid h2 { font-weight: 600; font-size: 38px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.cta-grid p { font-size: 17px; line-height: 1.6; color: var(--on-navy); margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }

/* ==========================================================================
   Page hero (centered) + left hero
   ========================================================================== */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 88px 32px; }
.page-hero-inner.center { text-align: center; }
.page-hero-inner.center .hero-head { max-width: 720px; margin: 0 auto; }
.page-hero h1 { font-weight: 600; font-size: 48px; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 18px; }
.page-hero .lead { font-size: 18px; line-height: 1.6; color: var(--on-navy); margin: 0; }
.page-hero-inner.center .lead { max-width: 620px; margin: 0 auto; }
.hero-left { max-width: 740px; }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: var(--surface-light); border: 1px solid var(--border-light); border-radius: 16px; padding: 32px; }
.svc-card h2 { font-size: 22px; font-weight: 600; margin: 0 0 12px; color: var(--heading); }
.svc-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--muted-2); margin-bottom: 10px; }
.svc-list li::before { content: "›"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border-light); border-radius: 16px; padding: 28px 26px; }
.step .num { font-family: 'Space Grotesk'; font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--heading); }
.step p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.back-link {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500;
  color: #8da3bf; text-decoration: none; margin-bottom: 40px; transition: color .16s ease;
}
.back-link:hover { color: #fff; }
.pd-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 40px 32px 88px; }
.pd-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pd-cat-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 100px;
  background: rgba(43,155,244,0.12); border: 1px solid rgba(43,155,244,0.3);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #7cc4ff; margin-bottom: 22px;
}
.pd-hero-grid h1 { font-weight: 600; font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; color: #fff; }
.pd-tagline { font-size: 19px; line-height: 1.55; color: var(--on-navy); margin: 0 0 32px; max-width: 460px; }
.ps-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ps-card { border-radius: 16px; padding: 32px; }
.ps-problem { background: #fff; border: 1px solid var(--border-light); }
.ps-solution { background: var(--navy-2); color: #fff; }
.ps-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.ps-problem .ps-eyebrow { color: var(--danger); }
.ps-solution .ps-eyebrow { color: var(--accent); }
.ps-problem p { font-size: 16px; line-height: 1.62; color: var(--muted-2); margin: 0; }
.ps-solution p { font-size: 16px; line-height: 1.62; color: #c8d4e3; margin: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.feat { padding: 4px; }
.feat h3 { font-size: 18px; font-weight: 600; color: var(--heading); margin: 0 0 9px; }
.feat p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.cta-center { max-width: 900px; margin: 0 auto; text-align: center; color: #fff; }
.cta-center h2 { font-weight: 600; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.cta-center p { font-size: 17px; line-height: 1.6; color: var(--on-navy); margin: 0 0 30px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { position: relative; color: #fff; overflow: hidden; }
.contact-inner {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 88px 32px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; min-height: 60vh;
}
.contact-copy h1 { font-weight: 600; font-size: 44px; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 18px; }
.contact-copy .lead { font-size: 18px; line-height: 1.6; color: var(--on-navy); margin: 0 0 36px; max-width: 460px; }
.info-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.info-row .ico { margin-bottom: 0; }
.info-row .lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim-navy); margin-bottom: 3px; }
.info-row .val { font-size: 16px; color: #e8edf5; font-weight: 500; text-decoration: none; }
a.info-link:hover .val { color: var(--accent); }
.form-card {
  background: #fff; border-radius: 18px; padding: 36px; color: var(--text-dark);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.6);
}
.form-card h2 { font-size: 24px; font-weight: 600; margin: 0 0 6px; color: var(--heading); }
.form-card .sub { font-size: 14.5px; color: var(--muted); margin: 0 0 24px; }
.form-card .btn-primary { width: 100%; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; text-align: center; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-band { background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-darkest) 100%); color: #fff; padding: 64px 32px 48px; }
.legal-band h1 { font-weight: 600; font-size: 42px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 12px; }
.legal-band .updated { font-size: 14px; color: var(--dim-navy); }
.legal-body { background: #fff; padding: 56px 32px 80px; }
.legal-intro { font-size: 16px; line-height: 1.7; color: var(--muted-2); margin: 0 0 40px; }
.legal-sec { margin-bottom: 34px; }
.legal-sec h2 { font-size: 21px; font-weight: 600; color: var(--heading); margin: 0 0 12px; }
.legal-sec h3 { font-size: 16px; font-weight: 600; color: var(--heading); margin: 18px 0 8px; }
.legal-sec p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0 0 12px; }
.legal-sec ul { margin: 0 0 12px; padding-left: 20px; }
.legal-sec li { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin-bottom: 6px; }
.legal-sec dl { margin: 0; }
.legal-sec dt { font-weight: 600; color: var(--heading); font-size: 15px; margin-top: 12px; }
.legal-sec dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal-sec a { color: var(--accent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-darkest); color: var(--on-navy); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-rich { padding: 56px 32px 36px; }
.footer-rich .cols {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--dim-navy); max-width: 320px; margin: 0; }
.footer-col .h { font-family: 'Space Grotesk'; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--on-navy); text-decoration: none; transition: color .16s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { font-size: 13px; color: var(--footer-text); text-decoration: none; transition: color .16s ease; }
.footer-legal a:hover { color: #fff; }
.footer-copy { font-size: 13px; color: var(--footer-text); }

.footer-compact { padding: 48px 32px 36px; }
.footer-compact .top { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-compact .top img { height: 36px; width: auto; display: block; }
.footer-compact .nav-row { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-compact .nav-row a { font-size: 14px; color: var(--on-navy); text-decoration: none; transition: color .16s ease; }
.footer-compact .nav-row a:hover { color: #fff; }
.footer-compact .bottom {
  max-width: 1240px; margin: 22px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}

/* ==========================================================================
   Media — demo video, product deck, screenshots
   ========================================================================== */
.media-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.media-head h2 { font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--heading); }
.section-dark .media-head h2 { color: #fff; }
.media-head p { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.section-dark .media-head p { color: var(--on-navy); }

.frame {
  position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #05080f;
}
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.frame-video { border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.65); }
.frame-deck { border: 1px solid var(--border-light); box-shadow: 0 30px 70px -34px rgba(12,28,52,0.4); background: #fff; }
.media-caption { text-align: center; font-size: 13.5px; color: var(--muted); margin: 16px auto 0; }
.section-dark .media-caption { color: var(--dim-navy); }
.media-caption a { color: var(--accent); text-decoration: none; }

.shots { max-width: 1000px; margin: 0 auto; }
.shot {
  border: 1px solid var(--border-light); border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 20px 50px -30px rgba(12,28,52,0.4);
}
.shot img, .shot object { width: 100%; height: auto; display: block; }
.shot-featured { max-width: 460px; margin: 0 auto 26px; }
.shots-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.shot-cap { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 32px 80px; }
  .hero-copy h1 { font-size: 46px; }
  .expertise { grid-template-columns: 1fr; gap: 48px; }
  .pd-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .tiles-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-grid { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .footer-rich .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: rgba(8,17,32,0.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08); padding: 8px 0;
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 360px; visibility: visible; }
  .nav-link, .nav-cta { padding: 14px 32px; border-radius: 0; height: auto; }
  .nav-cta { margin: 8px 32px 4px; border-radius: 8px; justify-content: center; animation: none; }
  .nav-link { font-size: 16px; }

  .section, .section-dark, .section-white, .section-light { padding: 56px 24px; }
  .section-sm { padding: 48px 24px; }
  .wrap, .wrap-narrow { padding: 0 24px; }
  .hero-inner { padding: 56px 24px 64px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-lead, .page-hero .lead, .contact-copy .lead { font-size: 16.5px; }
  .page-hero h1, .contact-copy h1 { font-size: 34px; }
  .pd-hero-grid h1 { font-size: 38px; }
  .pd-hero-inner { padding: 32px 24px 64px; }
  h2.h-section, .cta-grid h2, .expertise h2, .cta-center h2 { font-size: 30px; }
  .tiles-4, .card-grid-3, .card-grid-2, .steps, .feat-grid { grid-template-columns: 1fr; }
  .shots-2 { grid-template-columns: 1fr; }
  .media-head h2 { font-size: 28px; }
  .footer-rich .cols { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { padding: 40px 28px; }
  .btn-row .btn { flex: 1 1 auto; }
  .legal-band { padding: 48px 24px 36px; }
  .legal-band h1 { font-size: 32px; }
  .legal-body { padding: 40px 24px 64px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .mock-float, .hero-copy { animation: none !important; }
}
