/* ============ Anzen Secure — Design Tokens ============ */
:root {
  --navy-950: #050818;
  --navy-900: #0A1230;
  --navy-800: #111a42;
  --navy-700: #1a2558;
  --navy-600: #26336e;
  --ink: #060A1F;

  --orange: #F26522;
  --orange-600: #e55712;
  --orange-300: #ffa977;
  --orange-50: #fff2e9;

  --white: #ffffff;
  --paper: #faf7f2;
  --paper-2: #f2ede4;
  --rule: #e7e1d4;
  --muted: #6b7185;
  --muted-light: #9ba1b4;

  --text-on-dark: #eef0f8;
  --text-on-dark-muted: #a9b0c9;
  --text-on-light: #0f1433;
  --text-on-light-muted: #4a5170;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-soft: 0 10px 30px rgba(8, 14, 40, 0.08), 0 2px 8px rgba(8, 14, 40, 0.04);
  --shadow-card: 0 20px 50px rgba(8, 14, 40, 0.12);
  --shadow-glow: 0 30px 80px rgba(242, 101, 34, 0.22);

  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --pad-x: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text-on-light);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============ Type Scale ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.h-display { font-size: clamp(44px, 5.6vw, 76px); font-weight: 600; letter-spacing: -0.035em; }
.h-xl      { font-size: clamp(36px, 4vw, 56px);  letter-spacing: -0.03em; }
.h-lg      { font-size: clamp(28px, 2.8vw, 40px); }
.h-md      { font-size: clamp(22px, 2vw, 28px); }
.lede      { font-size: clamp(17px, 1.25vw, 20px); color: var(--text-on-light-muted); max-width: 60ch; line-height: 1.55; }
.lede-dark { color: var(--text-on-dark-muted); }

/* ============ Layout ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

.dark { background: var(--navy-900); color: var(--text-on-dark); }
.dark .lede { color: var(--text-on-dark-muted); }
.ink { background: var(--ink); color: var(--text-on-dark); }
.paper { background: var(--paper); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 18, 48, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-on-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.nav-brand .mark { width: 28px; height: 28px; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(242,101,34,0.35);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(15,20,51,0.16);
  color: var(--text-on-light);
}
.btn-ghost-light:hover { background: rgba(15,20,51,0.04); border-color: rgba(15,20,51,0.3); }
.btn-lg { padding: 15px 26px; font-size: 15px; }

.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(242,101,34,0.28), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(90, 70, 220, 0.22), transparent 60%),
    linear-gradient(180deg, #0a1230 0%, #0c1538 55%, #0a1230 100%);
  color: var(--text-on-dark);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
  position: relative;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { max-width: 14ch; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffc9a6 0%, #F26522 50%, #ffd5a0 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-lede {
  margin-top: 24px;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--text-on-dark-muted);
  max-width: 52ch;
  line-height: 1.6;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-meta strong { color: var(--white); font-weight: 500; }

/* hero visual — layered scan card */
.hero-visual {
  position: relative;
  aspect-ratio: 5/6;
  min-height: 480px;
}
.hero-rings {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.hero-rings::before, .hero-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.14);
}
.hero-rings::before { width: 110%; height: 110%; animation: spin 120s linear infinite; }
.hero-rings::after  { width: 78%;  height: 78%;  border-style: solid; border-color: rgba(255,255,255,0.08); }
@keyframes spin { to { transform: rotate(360deg); } }

.scan-card {
  position: absolute;
  top: 8%; left: 6%; right: 6%; bottom: 8%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  padding: 22px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; gap: 18px;
}
.scan-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.12em;
}
.pill-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(80, 220, 140, 0.12); color: #7ee7a7;
  border: 1px solid rgba(80,220,140,0.25);
}
.pill-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #7ee7a7; box-shadow: 0 0 0 3px rgba(126,231,167,0.18);
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: 0.45; } }

.scan-title { font-family: var(--font-display); font-size: 20px; color: var(--white); letter-spacing: -0.01em; margin: 2px 0 4px; }
.scan-sub { font-size: 12.5px; color: var(--text-on-dark-muted); }

.scan-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.scan-bar { display: grid; grid-template-columns: 86px 1fr 48px; gap: 12px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-on-dark-muted); }
.scan-bar .track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.scan-bar .fill { height: 100%; border-radius: inherit; }
.fill-crit { background: linear-gradient(90deg, #ff6b4a, #ff3860); }
.fill-high { background: linear-gradient(90deg, #ffa14a, #ff6b4a); }
.fill-med  { background: linear-gradient(90deg, #ffd166, #ffa14a); }
.fill-low  { background: linear-gradient(90deg, #6ee7b7, #4ade80); }
.scan-bar .count { text-align: right; color: var(--white); }

.scan-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-on-dark-muted);
}
.score {
  font-family: var(--font-display);
  font-size: 42px; line-height: 1; letter-spacing: -0.02em; color: var(--white);
}
.score small { font-size: 13px; color: var(--text-on-dark-muted); margin-left: 4px; font-family: var(--font-mono); }

.hero-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--orange);
  color: white;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em; text-transform: uppercase;
  transform: rotate(3deg);
  box-shadow: 0 12px 24px rgba(242,101,34,0.35);
}

/* ============ Logo bar ============ */
.logo-bar {
  padding: 40px 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-on-dark-muted);
}
.logo-bar-label {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 22px;
  color: var(--muted-light);
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 800px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
.logo-slot {
  height: 36px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 17px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.55);
  opacity: 0.85;
  font-weight: 600;
}

/* ============ Feature grid ============ */
.section-head { max-width: 820px; margin: 0 0 56px; }
.section-head .lede { margin-top: 16px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 260px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.feature .tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.feature h3 { font-size: 22px; }
.feature p { color: var(--text-on-light-muted); font-size: 15px; margin: 0; }
.feature .arrow-link {
  margin-top: auto;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--orange);
  text-transform: uppercase; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; gap: 8px;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8f5b 100%);
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 10px 24px rgba(242,101,34,0.35);
}

/* ============ Stat strip ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--white);
}
.stat .num em { font-style: normal; color: var(--orange); }
.stat .lbl {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

/* ============ Split / Product callout ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .lede { margin-top: 16px; }

.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list .check {
  flex: none; width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange);
  display: grid; place-items: center;
  margin-top: 2px;
}
.check-list .check svg { width: 12px; height: 12px; }

/* Product visual */
.product-card {
  position: relative;
  background: linear-gradient(180deg, #0c1538 0%, #0a1230 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.product-card::after {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(circle at 80% 20%, rgba(242,101,34,0.25), transparent 50%);
  pointer-events: none;
}
.pc-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; position: relative; z-index: 1;}
.pc-title { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; color: white; margin-bottom: 4px;}

.rows { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1;}
.row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.row .name { color: var(--white); font-weight: 500; }
.row .meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-on-dark-muted); }
.sev {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase;
}
.sev-crit { background: rgba(255,70,70,0.18); color: #ff8a76; border: 1px solid rgba(255,70,70,0.3); }
.sev-high { background: rgba(255,150,80,0.18); color: #ffaf7a; border: 1px solid rgba(255,150,80,0.3); }
.sev-med  { background: rgba(255,205,90,0.18); color: #ffd080; border: 1px solid rgba(255,205,90,0.3); }
.sev-low  { background: rgba(110,231,183,0.18); color: #8ce7bd; border: 1px solid rgba(110,231,183,0.3); }

/* ============ Services list page ============ */
.service-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  transition: padding .2s ease;
}
.service-card:last-child { border-bottom: 1px solid var(--rule); }
.service-card:hover { padding-left: 12px; }
.service-num {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.service-body h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.service-body p { color: var(--text-on-light-muted); max-width: 60ch; margin: 0; }
.service-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--orange);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.service-card:hover .service-arrow { background: var(--orange); color: white; transform: translate(4px, -4px); }

/* ============ Team grid ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.member {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.member .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  position: relative;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  overflow: hidden;
}
.member .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(255,255,255,0.03) 10px 11px);
}
.member .info { padding: 18px; }
.member .name { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; }
.member .role { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }

/* ============ CTA band ============ */
.cta-band {
  background:
    radial-gradient(800px 400px at 20% 50%, rgba(242,101,34,0.35), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(28px, 3.5vw, 44px); }

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
}

/* ============ Page headers (subpages) ============ */
.page-hero {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(242,101,34,0.22), transparent 55%),
    linear-gradient(180deg, #0a1230, #0c1538);
  color: var(--text-on-dark);
  padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 96px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero .crumbs {
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--orange-300);
  margin-bottom: 20px;
}
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); max-width: 18ch; }
.page-hero .lede { margin-top: 20px; max-width: 62ch; color: var(--text-on-dark-muted); }

/* ============ Utilities ============ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.text-orange { color: var(--orange); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  margin: 0;
}

/* Tweaks */
.tweaks-panel {
  position: fixed;
  right: 16px; bottom: 16px;
  width: 280px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  padding: 16px;
  font-size: 13px;
  z-index: 100;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 { font-family: var(--font-display); font-size: 14px; margin-bottom: 10px; }
.tweaks-panel .row-tw { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule); }
.tweaks-panel .row-tw:first-of-type { border-top: none; }
.swatches { display: flex; gap: 6px; }
.swatches button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; padding: 0; }
.swatches button.active { border-color: var(--text-on-light); }
