/* ==========================================================
   Elite Security Systems - Premium Design System v4
   ========================================================== */

/* --- Self-hosted Fonts --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/jetbrains-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/fonts/jetbrains-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #060b18;
  --bg-alt: #0a1128;
  --surface: #0d1729;
  --surface-hover: #152240;
  --border: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.20);
  --border-accent: rgba(59,130,246,0.3);
  --text: #e2e8f0;
  --text-sec: #94a3b8;
  --text-dim: #7e8fa3;
  --accent: #3b82f6;
  --accent-lt: #60a5fa;
  --accent-dk: #2563eb;
  --cyan: #06b6d4;
  --grad: linear-gradient(135deg, #3b82f6, #06b6d4);
  --grad-text: linear-gradient(135deg, #60a5fa, #22d3ee);
  --grad-sub: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(6,182,212,0.04));
  --mw: 1200px;
  --r: 12px;
  --r-sm: 8px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.18s;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Skip Nav --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 16px;
}

/* --- Layout --- */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 24px; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.section { padding: 100px 0; position: relative; }
.section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(59,130,246,0.07) 0px, rgba(59,130,246,0.03) 1px, transparent 2px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.07) 0px, rgba(59,130,246,0.03) 1px, transparent 2px, transparent 40px);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }
.section-alt {
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(10, 18, 48, 0.3) 0%,
    rgba(10, 18, 44, 0.08) 50%,
    transparent 80%
  );
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
h4 { font-size: clamp(0.95rem, 1.2vw, 1.05rem); }
p { color: var(--text-sec); line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* gradient-shift animation removed — background-position is not compositor-accelerated */
.gradient-text .char,
.gradient-text .word {
  background: linear-gradient(135deg, #60a5fa, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  padding-top: max(20px, env(safe-area-inset-top));
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(6, 11, 24, 0.97);
  border-bottom: none;
}
.nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand img { height: 28px; width: auto; object-fit: contain; }
.nav-brand { flex-shrink: 1; min-width: 0; overflow: hidden; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.88rem;
  color: var(--text-sec);
  font-weight: 500;
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 12px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 29px; }
.nav.open .hamburger span:nth-child(1) { transform: rotate(45deg); top: 21px; }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: rotate(-45deg); top: 21px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,11,24,0.98);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.overlay.open { opacity: 1; visibility: visible; }
.overlay-menu { text-align: center; }
.overlay-menu a {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 14px;
  color: var(--text-sec);
  transition: color var(--dur) var(--ease);
}
.overlay-menu a:hover, .overlay-menu a.active { color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent-dk);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(37,99,235,0.2);
  background: #1d4ed8;
}
.btn-ghost {
  background: transparent;
  color: var(--text-sec);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(0);
  background: rgba(255,255,255,0.08);
}
.btn-lg { padding: 14px 32px; font-size: 0.92rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 55%, rgba(59, 130, 246, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(139, 92, 246, 0.035) 0%, transparent 100%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(59,130,246,0.08) 0px, rgba(59,130,246,0.03) 1px, transparent 2px, transparent 32px),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.08) 0px, rgba(59,130,246,0.03) 1px, transparent 2px, transparent 32px),
    repeating-linear-gradient(45deg, rgba(139,92,246,0.04) 0px, transparent 1px, transparent 56px);
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 50%, black 20%, transparent 75%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-title { margin-bottom: 8px; }
.hero-rotate {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
  height: 1.15em;
  overflow: hidden;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-sec);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Compact Services Row --- */
.services-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  text-align: center;
  color: var(--accent-lt);
}
.svc:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  background: var(--surface-hover);
}
.svc span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Deliverables --- */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.deliver {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--dur) var(--ease);
}
.deliver:hover { border-color: var(--border-accent); }
.deliver-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.deliver h3 { margin-bottom: 8px; font-size: 1.05rem; }
.deliver p { font-size: 0.88rem; margin: 0; }

/* --- Social Proof --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--dur) var(--ease);
}
.proof:hover { border-color: var(--border-accent); }
.proof-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-lt);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 16px;
}
.proof p { font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.proof-result {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-lt);
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text-sec); }

/* --- Grid & Cards --- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 32px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
}
a.card { display: block; }
.card:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(59,130,246,0.3), rgba(6,182,212,0.08)) border-box;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(59,130,246,0.06);
}
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sub);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: var(--r-sm);
  color: var(--accent-lt);
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; line-height: 1.65; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-lt);
  margin-top: 16px;
  transition: gap var(--dur) var(--ease);
}
.card:hover .card-link { gap: 10px; }
.card-link svg { width: 16px; height: 16px; }

/* --- Process Steps (Scroll-Scrub) --- */
.process { position: relative; }
.process-track {
  position: absolute;
  top: 6px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 0;
}
.process-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.process-step { text-align: center; position: relative; }
.process-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(255,255,255,0.12);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}
.process-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { font-size: 0.88rem; }

/* --- Trust / Values --- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.trust-text p { margin-bottom: 16px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--grad-sub);
  border: 1px solid rgba(59,130,246,0.12);
  color: var(--accent-lt);
}
.values { display: flex; flex-direction: column; gap: 16px; }
.value {
  display: flex;
  gap: 18px;
  padding: 24px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background var(--dur) var(--ease);
}
.value:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(59,130,246,0.25), rgba(6,182,212,0.06)) border-box;
}
.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sub);
  border-radius: var(--r-sm);
  color: var(--accent-lt);
}
.value h3 { margin-bottom: 6px; font-size: 1rem; }
.value p { font-size: 0.88rem; margin: 0; }

/* --- CTA Block --- */
.cta-block {
  text-align: center;
  padding: 72px 48px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.08), rgba(59,130,246,0.05)) border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
}
.cta-block h2 { margin-bottom: 16px; position: relative; }
.cta-block p { margin-bottom: 32px; font-size: 1.05rem; position: relative; }
.cta-block .btn { position: relative; }

/* --- Footer --- */
.footer {
  padding: 80px 0 0;
  border-top: none;
  position: relative;
  background: transparent;
}
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(59,130,246,0.06) 0px, rgba(59,130,246,0.02) 1px, transparent 2px, transparent 44px),
    repeating-linear-gradient(90deg, rgba(59,130,246,0.06) 0px, rgba(59,130,246,0.02) 1px, transparent 2px, transparent 44px);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 10%, transparent 70%);
  z-index: 0;
}
.footer > .container { position: relative; }
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 15%, rgba(255,255,255,0.06) 85%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 16px; }
.footer-logo { height: 24px; width: auto; margin-bottom: 4px; }
.footer-col h4,
.footer-col .footer-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-sec);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 5px 0;
  transition: color var(--dur) var(--ease);
  overflow-wrap: break-word;
  word-break: break-word;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-top: none;
  position: relative;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 15%, rgba(255,255,255,0.06) 85%, transparent);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--text-sec); }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(59,130,246,0.04) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-dim); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--accent-lt); }
.page-header h1 { margin-bottom: 16px; }
.page-header .section-sub { max-width: 640px; margin: 0 auto; }

/* --- 404 --- */
.error-code {
  font-family: var(--mono);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--accent-lt);
}
.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-title { margin-bottom: 16px; }
.contact-text { margin-bottom: 28px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  margin-bottom: 16px;
  transition: background var(--dur) var(--ease);
}
.contact-card:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(59,130,246,0.25), rgba(6,182,212,0.06)) border-box;
}
.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sub);
  border-radius: var(--r-sm);
  color: var(--accent-lt);
}
.contact-card strong { display: block; color: #fff; margin-bottom: 4px; font-size: 0.9rem; }
.contact-card a { color: var(--accent-lt); font-size: 0.88rem; transition: color var(--dur) var(--ease); display: block; overflow-wrap: break-word; word-break: break-word; }
.contact-card a:hover { color: #fff; }
.contact-card .meta { display: block; font-size: 0.82rem; color: var(--text-dim); margin-top: 2px; }
.cal-embed {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  overflow: hidden;
}
.cal-embed iframe { width: 100%; min-height: 660px; border: none; }
.info-box {
  padding: 20px 24px;
  background: var(--grad-sub);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: var(--r);
  margin-top: 24px;
}
.info-box p { font-size: 0.9rem; color: var(--text-sec); margin: 0; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-grid p { margin-bottom: 16px; }
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cert {
  padding: 24px 32px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  text-align: center;
  min-width: 180px;
  transition: background var(--dur) var(--ease);
}
.cert:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(59,130,246,0.25), rgba(6,182,212,0.06)) border-box;
}
.cert-label {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-lt);
  display: block;
  margin-bottom: 8px;
}
.cert .cert-desc { font-size: 0.8rem; color: var(--text-dim); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry {
  padding: 28px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.industry:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(59,130,246,0.3), rgba(6,182,212,0.08)) border-box;
  transform: translateY(-2px);
}
.industry-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sub);
  border-radius: var(--r-sm);
  color: var(--accent-lt);
  margin-bottom: 16px;
}
.industry h3 { font-size: 1.05rem; margin-bottom: 10px; }
.industry p { font-size: 0.88rem; margin: 0; }
/* --- Legal Content --- */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-sec); margin-bottom: 16px; line-height: 1.7; }
.legal-content ul { color: var(--text-sec); margin: 0 0 16px 24px; line-height: 1.7; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--accent-lt); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--accent); }

/* --- Methodology Timeline --- */
.timeline { position: relative; padding-left: 48px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,0.06);
}
.timeline-fill {
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--cyan));
  transform-origin: top;
  transform: scaleY(0);
  z-index: 1;
}
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -39px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 2;
}
.timeline-phase {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent-lt);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.timeline-item h3 { margin-bottom: 12px; font-size: 1.3rem; }
.timeline-item p { margin-bottom: 16px; max-width: 65ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 500;
  background: rgba(59,130,246,0.08);
  color: var(--accent-lt);
  border: 1px solid rgba(59,130,246,0.12);
}

/* --- Service Detail --- */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.service-main h2 { margin-bottom: 16px; }
.service-main > p { margin-bottom: 20px; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.feature {
  padding: 24px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background var(--dur) var(--ease);
}
.feature:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(59,130,246,0.25), rgba(6,182,212,0.06)) border-box;
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sub);
  border-radius: var(--r-sm);
  color: var(--accent-lt);
  margin-bottom: 14px;
}
.feature h3 { font-size: 1rem; margin-bottom: 8px; }
.feature p { font-size: 0.85rem; margin: 0; }
.sidebar-card {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; }
.sidebar-card ul { list-style: none; }
.sidebar-card li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* --- Scroll Reveal: initial hidden state (JS adds transition on demand, removes on end) --- */
.fade-in { opacity: 0; transform: translateY(18px); }
.fade-left { opacity: 0; transform: translateX(-28px); }
.fade-right { opacity: 0; transform: translateX(28px); }
.fade-scale { opacity: 0; transform: scale(0.95); }

/* --- Scroll Progress Bar (disabled — GPU layer on every scroll frame) --- */
.scroll-progress { display: none; }

/* --- Hero Animated Background --- */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
}
.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
  top: 5%;
  left: 15%;
}
.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 70%);
  top: 30%;
  right: 5%;
}
.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.05) 0%, transparent 70%);
  bottom: 10%;
  left: 35%;
}

/* gradient-shift keyframe removed — background-position is paint-heavy */

/* Grid overlays restored as STATIC patterns (no animation).
   The old grid-drift keyframes animated mask-position every frame = full repaint.
   Static repeating-linear-gradient is painted once and cached — zero GPU cost. */

/* --- (Rotating border removed for enterprise tone) --- */

/* --- Trust Bar (static) --- */
.trust-bar {
  padding: 20px 0;
  border: none;
  position: relative;
  background: transparent;
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-bar-sep { display: none; }
.trust-bar-item {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 0 18px;
  border-right: 1px solid var(--border);
}
.trust-bar-item:last-child { border-right: none; }

/* --- Metrics Grid --- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.metric {
  padding: 40px 24px;
  background: var(--surface);
  text-align: center;
}
.metric-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}
.metrics-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* --- FAQ Accordion --- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  gap: 16px;
}
.faq-q:hover { color: var(--accent-lt); }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--dur) var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}
.faq-icon::before {
  width: 14px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}
.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* --- Footer Trust --- */
.footer-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: none;
  position: relative;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.footer-trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
}
.footer-trust span { white-space: nowrap; }

/* --- Company Stats --- */
.company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 64px;
}
.company-stat {
  padding: 32px 24px;
  background: var(--surface);
  text-align: center;
}
.company-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.company-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* --- Security Practices --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.security-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) border-box;
  border: 1px solid transparent;
  border-radius: var(--r);
}
.security-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sub);
  border-radius: var(--r-sm);
  color: var(--accent-lt);
}
.security-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* --- Utility --- */
.btn-block { width: 100%; justify-content: center; }
.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-lt);
  opacity: 0.4;
  margin-bottom: 12px;
  font-family: var(--mono);
}
.text-center { text-align: center; }

/* --- Counter --- */
[data-count] { font-variant-numeric: tabular-nums; }


/* --- Hero Canvas --- */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- SplitText --- */
[data-split] { opacity: 0; }
[data-split] .word { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-left, .fade-right, .fade-scale { opacity: 1 !important; transform: none !important; }
  [data-split] { opacity: 1 !important; }
  .hero-orb { animation: none; }
  .hero-canvas { display: none; }
  /* gradient-text no longer animated */
  /* grid overlays no longer animated */
  .process-fill, .timeline-fill { transform: none !important; }
  .process-step { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .trust-bar-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 0; justify-items: center; }
  .trust-bar-item { font-size: 0.76rem; border-right: none; padding: 0; }
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-center { max-width: 100%; }
  .services-row { grid-template-columns: repeat(3, 1fr); }
  .deliver-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .company-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 100px 0 48px; }
  .hero-rotate { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  .hero-actions { margin-bottom: 40px; }
  .services-row { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process { padding-left: 32px; }
  .process-track { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .process-fill { transform-origin: top; transform: scaleY(0); }
  .process-steps { grid-template-columns: 1fr; gap: 36px; }
  .process-step { text-align: left; }
  .process-dot { position: absolute; left: -32px; top: 2px; margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col a, .footer-col span { padding: 10px 0; font-size: 0.95rem; }
  .footer-links a { padding: 8px 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; font-size: 0.85rem; }
  .cta-block { padding: 40px 24px; }
  .section-header { margin-bottom: 32px; }
  .industry-grid { grid-template-columns: 1fr; }
  .company-stats { grid-template-columns: 1fr 1fr; }
  .company-stat { padding: 24px 16px; }
  .company-stat-value { font-size: 1.5rem; }
  .security-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 28px 16px; }
  .metric-value { font-size: 1.75rem; }
  .metric-label { font-size: 0.75rem; line-height: 1.4; }
  .trust-bar { padding: 16px 0; }
  .trust-bar-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 0; justify-items: center; }
  .trust-bar-item { font-size: 0.72rem; letter-spacing: 0.06em; text-align: center; border-right: none; padding: 0; }
  .footer-trust { gap: 8px 16px; font-size: 0.75rem; text-align: center; padding: 16px 0; }
  .footer-trust span:nth-child(even) { display: none; }
  .cal-embed iframe { min-height: 500px; }
  .faq-q { font-size: 0.92rem; padding: 18px 0; }
  .faq-a-inner { font-size: 0.85rem; padding-bottom: 16px; }
  .page-header { padding: 100px 0 40px; }
  .breadcrumb a { padding: 8px 4px; }
  .tag { font-size: 0.8rem; padding: 6px 14px; }
  .section-label { font-size: 0.85rem; }
  .timeline { padding-left: 36px; }
  .timeline-dot { left: -27px; }
  .cert .cert-desc { font-size: 0.85rem; }
  .timeline-phase { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .section { padding: 40px 0; }
  .hero { padding: 96px 0 40px; }
  .hero-rotate { font-size: 1.35rem; }
  .hero-actions { flex-direction: column; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card { padding: 20px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 20px 12px; }
  .metric-value { font-size: 1.5rem; }
  .metric-label { font-size: 0.7rem; }
  .metrics-note { font-size: 0.82rem; }
  .company-stats { grid-template-columns: 1fr 1fr; }
  .company-stat { padding: 20px 12px; }
  .company-stat-value { font-size: 1.35rem; }
  .company-stat-label { font-size: 0.72rem; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 6px 0; }
  .trust-bar-item { font-size: 0.68rem; letter-spacing: 0.05em; }
  .footer-trust span { font-size: 0.7rem; }
  .faq-q { font-size: 0.88rem; gap: 12px; }
  .security-item { padding: 16px; gap: 12px; }
  .security-icon { width: 36px; height: 36px; }
  .security-item span { font-size: 0.85rem; }
  .container { padding: 0 16px; }
  .process { padding-left: 24px; }
  .process-track { left: 5px; }
  .process-dot { left: -24px; width: 12px; height: 12px; }
  .page-header { padding: 96px 0 32px; }
  .cta-block { padding: 32px 16px; }
  .timeline { padding-left: 32px; }
  .timeline-dot { left: -22px; width: 10px; height: 10px; }
  .cal-embed iframe { min-height: 420px; }
  .nav-brand img { height: 20px; }
  .cert { min-width: 0; flex: 1 1 100%; }
}

/* --- PWA Standalone Mode --- */
@media (display-mode: standalone) {
  body { overscroll-behavior-y: none; -webkit-user-select: none; user-select: none; }
  body p, body li, body h1, body h2, body h3, body h4, body td, body th,
  body .faq-a-inner, body .deliver p, body .proof p { -webkit-user-select: text; user-select: text; }
  .nav { padding-top: max(20px, env(safe-area-inset-top)); }
  .hero { padding-top: max(120px, calc(80px + env(safe-area-inset-top))); }
  .page-header { padding-top: max(120px, calc(80px + env(safe-area-inset-top))); }
}
