:root {
  color-scheme: dark;

  /* Core palette */
  --bg: #070A12;
  --bg-deep: #050711;
  --section: #0B1020;
  --card: #111827;
  --card-2: #0F172A;
  --surface: rgba(17, 24, 39, 0.82);
  --surface-strong: rgba(17, 24, 39, 0.96);
  --border: #1F2937;
  --border-soft: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(196, 181, 253, 0.22);

  --text: #F9FAFB;
  --text-soft: #E5E7EB;
  --secondary: #A7B0C0;
  --muted: #748094;

  --purple: #8B5CF6;
  --purple-hover: #7C3AED;
  --soft-purple: #C4B5FD;
  --purple-weak: rgba(139, 92, 246, 0.10);
  --amber: #F59E0B;
  --green: #10B981;
  --red: #EF4444;

  /* Layout */
  --max: 1180px;
  --container-pad: 32px;
  --header-h: 80px;

  /* Spacing scale: 4px/8px rhythm */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-7: 1.75rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-14: 3.5rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-28: 7rem;

  /* Geometry */
  --radius-xs: 10px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-soft: 0 12px 32px rgba(2, 6, 23, 0.24);
  --shadow-card: 0 20px 56px rgba(2, 6, 23, 0.34);
  --shadow-glow: 0 0 0 1px rgba(196, 181, 253, 0.06), 0 22px 64px rgba(28, 13, 75, 0.22);
  --transition: 180ms ease;

  /* v3.4 local quant typography */
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -8%, rgba(139, 92, 246, 0.24), transparent 26rem),
    radial-gradient(circle at 92% 4%, rgba(76, 29, 149, 0.20), transparent 23rem),
    linear-gradient(180deg, #090E18 0%, #070A12 38%, #050711 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

.container {
  width: min(var(--max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--purple);
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px) saturate(135%);
}
.site-header.is-scrolled {
  box-shadow: 0 14px 38px rgba(2, 6, 23, 0.35);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-width: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 12px 22px rgba(76, 29, 149, 0.34));
}
.brand-text {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.brand-text strong {
  font-size: 15.5px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}
.brand-text span {
  font-size: 12px;
  line-height: 1.2;
  color: var(--secondary);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.nav a,
.footer-links a {
  color: var(--secondary);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color var(--transition), opacity var(--transition);
}
.nav a:hover,
.footer-links a:hover { color: var(--text); }
.nav a[aria-current="page"] {
  color: var(--text);
  position: relative;
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--purple), var(--soft-purple));
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.menu-button {
  display: none;
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  color: var(--text);
  background: rgba(17,24,39,0.76);
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  margin-bottom: var(--s-4);
  padding: var(--s-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(17,24,39,0.95);
  box-shadow: var(--shadow-soft);
  flex-direction: column;
  gap: 2px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--secondary);
  font-weight: 700;
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(196,181,253,0.07);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.012em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:focus-visible,
a:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid rgba(196,181,253,0.9);
  outline-offset: 3px;
}
.button-primary {
  color: white;
  background: linear-gradient(180deg, #9A72F8 0%, var(--purple-hover) 100%);
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.32), 0 0 0 1px rgba(196, 181, 253, 0.10) inset;
}
.button-primary:hover {
  background: linear-gradient(180deg, #A582FA 0%, var(--purple-hover) 100%);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.42), 0 0 0 1px rgba(196, 181, 253, 0.18) inset;
}
.button-secondary,
.button-ghost {
  color: var(--text-soft);
  background: rgba(255,255,255,0.035);
  border-color: var(--border-soft);
}
.button-secondary:hover,
.button-ghost:hover {
  color: var(--text);
  border-color: rgba(196,181,253,0.34);
  background: rgba(196,181,253,0.07);
}

/* Typography */
main { overflow: clip; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 {
  max-width: 12.4ch;
  margin-bottom: var(--s-6);
  font-size: clamp(44px, 5.5vw, 68px);
  line-height: 0.98;
  font-weight: 900;
}
h2 {
  margin-bottom: var(--s-7);
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.06;
  font-weight: 880;
}
h3 {
  margin-bottom: var(--s-4);
  font-size: 20px;
  line-height: 1.22;
  font-weight: 830;
  letter-spacing: -0.032em;
}
h4 {
  margin-bottom: var(--s-2);
  font-size: 19px;
  line-height: 1.28;
  font-weight: 820;
}
p {
  margin: 0 0 var(--s-4);
  color: var(--secondary);
}
p:last-child { margin-bottom: 0; }
li { color: var(--secondary); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 32px;
  padding: 0 13px;
  margin-bottom: var(--s-6);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-pill);
  color: var(--soft-purple);
  background: rgba(139,92,246,0.08);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 112px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: var(--s-12);
  align-items: start;
}
.hero-lead {
  max-width: 750px;
  margin-bottom: var(--s-4);
  color: var(--text-soft);
  font-size: clamp(20px, 1.85vw, 23px);
  line-height: 1.52;
  letter-spacing: -0.015em;
}
.hero-support,
.large-text {
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.78;
}
.hero-support {
  max-width: 690px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-8);
}
.trust-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  max-width: 760px;
  margin-top: var(--s-10);
}
.mini-stat {
  min-height: 94px;
  padding: var(--s-5);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(17,24,39,0.70), rgba(15,23,42,0.48));
}
.mini-stat strong {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.mini-stat span {
  display: block;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.45;
}

/* Surfaces */
.audit-card,
.certificate-page-card,
.price-box,
.cta-strip,
.card,
.badge,
.table-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)),
    linear-gradient(180deg, rgba(17,24,39,0.90), rgba(11,16,32,0.92));
  box-shadow: var(--shadow-card);
}
.audit-card::before,
.certificate-page-card::before,
.price-box::before,
.cta-strip::before,
.card::before,
.badge::before,
.table-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(139,92,246,0.15), transparent 21rem),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 42%);
}
.audit-card > *,
.certificate-page-card > *,
.price-box > *,
.cta-strip > *,
.card > *,
.badge > *,
.table-wrap > * { position: relative; z-index: 1; }
.audit-card,
.certificate-page-card,
.price-box,
.badge,
.card { border-radius: var(--radius-lg); }
.card {
  min-height: 100%;
  padding: var(--s-8);
}
.card:hover {
  border-color: rgba(196,181,253,0.24);
  box-shadow: var(--shadow-glow);
}
.audit-card { padding: var(--s-8); }
.certificate-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}
.certificate-top p {
  margin: var(--s-2) 0 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.5;
}
.verified-pill,
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 7px 11px;
  border: 1px solid rgba(16,185,129,0.30);
  border-radius: var(--radius-pill);
  color: #D1FAE5;
  background: rgba(16,185,129,0.10);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}
.score-ring {
  min-height: 218px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: var(--radius-md);
  background: rgba(7,10,18,0.70);
}
.score-ring-inner {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #111827 57%, transparent 58%),
    conic-gradient(var(--purple) 0 82%, rgba(255,255,255,0.08) 82% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 16px 36px rgba(2,6,23,0.34);
}
.score-ring-inner strong {
  display: block;
  color: var(--text);
  font-size: 40px;
  line-height: 1;
  font-weight: 920;
  letter-spacing: -0.065em;
}
.score-ring-inner span {
  display: block;
  margin-top: var(--s-2);
  color: var(--secondary);
  font-size: 12.5px;
  line-height: 1;
}
.metric-list {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(148,163,184,0.10);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  background: rgba(255,255,255,0.032);
  font-size: 13px;
  line-height: 1.35;
}
.metric-row strong {
  color: var(--text-soft);
  text-align: right;
  font-weight: 800;
}
.visual-card {
  margin-top: var(--s-5);
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: var(--radius-md);
  background: #080C16;
}
.card-note { margin-top: var(--s-4); }

/* Sections and grids */
.section {
  padding: 7.5rem 0;
}
.section.alt {
  border-top: 1px solid rgba(148,163,184,0.10);
  border-bottom: 1px solid rgba(148,163,184,0.08);
  background:
    radial-gradient(circle at 12% 0%, rgba(139,92,246,0.06), transparent 20rem),
    linear-gradient(180deg, rgba(11,16,32,0.62), rgba(7,10,18,0.12));
}
.section-header {
  max-width: 780px;
  margin-bottom: 4rem;
}
.section-header.center {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.section-header p,
.card p,
.page-hero p {
  color: var(--secondary);
}
.section-header p {
  font-size: 17px;
  line-height: 1.78;
}
.section-header p + p { margin-top: var(--s-5); }
.section-note { margin-top: var(--s-5); }
.grid {
  display: grid;
  gap: var(--s-7);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-6);
}
.grid-5 .card {
  grid-column: span 2;
  padding: var(--s-7);
}
.grid-5 .card h3 {
  font-size: 19px;
}
.grid-5 .card p {
  font-size: 15px;
  line-height: 1.72;
}

@media (min-width: 1121px) {
  .grid-5 .card:nth-child(4) { grid-column: 2 / span 2; }
  .grid-5 .card:nth-child(5) { grid-column: 4 / span 2; }
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: var(--s-5);
  border: 1px solid rgba(139,92,246,0.28);
  border-radius: var(--radius-sm);
  color: var(--soft-purple);
  background: rgba(139,92,246,0.09);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.numbered { counter-reset: steps; }
.step {
  position: relative;
  padding-left: 76px;
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: var(--s-8);
  top: var(--s-8);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139,92,246,0.30);
  border-radius: 50%;
  color: var(--soft-purple);
  background: rgba(139,92,246,0.11);
  font-weight: 900;
}
.deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
.deliverables li {
  position: relative;
  min-height: 54px;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(148,163,184,0.10);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.032);
  color: var(--secondary);
  line-height: 1.5;
}
.deliverables li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--green);
  font-weight: 900;
}
.compact-list { grid-template-columns: 1fr; }
.negative-list li::before {
  content: "—";
  color: var(--amber);
}
.score-table {
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: var(--radius-md);
  background: rgba(17,24,39,0.78);
}
.score-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: var(--s-4);
  align-items: center;
  min-height: 62px;
  padding: 17px 18px;
  border-bottom: 1px solid rgba(148,163,184,0.09);
}
.score-item:last-child { border-bottom: 0; }
.score-range {
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.score-name {
  color: var(--secondary);
  line-height: 1.45;
}
.sample-certificate {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: var(--s-7);
  align-items: stretch;
}
.badge {
  min-height: 318px;
  padding: var(--s-8);
  display: grid;
  place-items: center;
  border-color: rgba(196,181,253,0.20);
  background:
    radial-gradient(circle at 50% 0%, rgba(139,92,246,0.20), transparent 16rem),
    rgba(7,10,18,0.78);
}
.badge img { width: min(318px, 100%); }
.disclaimer-box {
  padding: var(--s-6);
  border: 1px solid rgba(245,158,11,0.34);
  border-radius: var(--radius-md);
  color: #FDE68A;
  background: rgba(245,158,11,0.075);
  box-shadow: var(--shadow-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.disclaimer-box strong { color: #FEF3C7; }
.soft-box { margin-top: var(--s-4); }
.cta-strip {
  padding: var(--s-14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  border-radius: var(--radius-lg);
}
.cta-strip h2 {
  margin-bottom: var(--s-4);
  font-size: clamp(30px, 3.6vw, 46px);
}
.cta-strip p {
  max-width: 680px;
  margin: 0;
  color: var(--secondary);
  font-size: 16.5px;
  line-height: 1.75;
}
.final-cta-section { padding-top: var(--s-8); }
.final-cta { border-color: rgba(196,181,253,0.22); }

/* Internal pages */
.page-hero {
  padding: 112px 0 64px;
}
.page-hero h1 {
  max-width: 12.75ch;
  margin-bottom: var(--s-5);
  font-size: clamp(42px, 5.8vw, 68px);
}
.page-hero p {
  max-width: 840px;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.78;
}
.page-404 { padding-bottom: var(--s-24); }
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: var(--s-7);
  align-items: stretch;
}
.price-box { padding: var(--s-10); }
.price {
  margin: var(--s-5) 0 var(--s-5);
  color: var(--text);
  font-size: clamp(58px, 8vw, 90px);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.085em;
}
.table-wrap { border-radius: var(--radius-lg); }
.table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}
.table th,
.table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148,163,184,0.10);
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}
.table th {
  color: var(--text);
  background: rgba(255,255,255,0.035);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.table tr:last-child td { border-bottom: 0; }
.certificate-page-card { padding: var(--s-10); }
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-8);
}
.field {
  min-height: 80px;
  padding: 16px;
  border: 1px solid rgba(148,163,184,0.10);
  border-radius: var(--radius-sm);
  background: rgba(7,10,18,0.50);
}
.field span {
  display: block;
  margin-bottom: var(--s-2);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.field strong {
  display: block;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 780;
}
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: var(--s-7);
  align-items: start;
}
.contact-email {
  color: var(--soft-purple);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: -0.03em;
  word-break: break-word;
}
.contact-email a { color: inherit; }
.contact-form-card { padding: clamp(28px, 4vw, 48px); }
.contact-side-card { position: sticky; top: 104px; }
.audit-form {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}
.form-field {
  display: grid;
  gap: var(--s-2);
}
.form-field span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(148,163,184,0.16);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(7,10,18,0.68);
  outline: none;
  font: inherit;
  line-height: 1.45;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-field textarea { resize: vertical; min-height: 148px; }
.form-field select { cursor: pointer; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(156,163,175,0.58); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(139,92,246,0.68);
  background: rgba(11,16,32,0.94);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.13), inset 0 1px 0 rgba(255,255,255,0.035);
}
.form-submit {
  justify-self: start;
  margin-top: var(--s-2);
}
.form-footnote {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.form-footnote a,
.card-note a { color: var(--soft-purple); font-weight: 760; }
.form-status {
  margin-top: var(--s-5);
  padding: 14px 16px;
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: var(--radius-sm);
  color: #D1FAE5;
  background: rgba(16,185,129,0.10);
  font-size: 14px;
  line-height: 1.55;
}
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


/* v3.3 visual rhythm refinements */
.card p { line-height: 1.72; }
.card .button { margin-top: var(--s-2); }
.section-header h2 + p { margin-top: var(--s-1); }
.audit-card, .card, .price-box, .certificate-page-card, .cta-strip {
  backdrop-filter: blur(10px);
}
.visual-card img { width: 100%; height: auto; }
.card-note {
  max-width: 46rem;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr); }
}


/* v3.4 quant/audit refinements */
.mono,
.price,
.score-ring-inner strong,
.score-ring-inner span,
.score-range,
.metric-row strong,
.mini-stat strong,
.field strong,
.contact-email,
.table td:nth-child(2),
.table td:nth-child(3),
.table td:nth-child(4) {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.score-ring-inner strong { letter-spacing: -0.075em; }
.score-ring-inner span { letter-spacing: -0.02em; }
.metric-row strong { letter-spacing: -0.015em; }
.mini-stat strong { letter-spacing: -0.055em; }

.hero-actions .button-primary:first-child {
  min-width: 224px;
}

.analysis-panel {
  padding: 0;
  border-color: rgba(196,181,253,0.16);
  background:
    linear-gradient(180deg, rgba(9,14,26,0.96), rgba(5,7,17,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 18px 48px rgba(2,6,23,0.34);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148,163,184,0.10);
  color: var(--secondary);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.panel-header span:last-child {
  color: var(--muted);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.analysis-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.score-table {
  display: grid;
  gap: var(--s-3);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.score-item {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(17,24,39,0.84), rgba(11,16,32,0.80));
}
.score-item:last-child { border-bottom: 1px solid rgba(148,163,184,0.12); }
.score-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--purple);
}
.score-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: var(--score-width, 78%);
  opacity: 0.10;
  background: linear-gradient(90deg, var(--score-color, var(--purple)), transparent);
}
.score-item > * { position: relative; z-index: 1; }
.score-item:nth-child(1) { --score-color: var(--green); --score-width: 94%; }
.score-item:nth-child(1)::before { background: var(--green); }
.score-item:nth-child(2) { --score-color: var(--purple); --score-width: 74%; }
.score-item:nth-child(2)::before { background: var(--purple); }
.score-item:nth-child(3) { --score-color: var(--amber); --score-width: 58%; }
.score-item:nth-child(3)::before { background: var(--amber); }
.score-item:nth-child(4) { --score-color: var(--red); --score-width: 40%; }
.score-item:nth-child(4)::before { background: var(--red); }
.score-name strong {
  color: var(--text-soft);
  font-weight: 860;
}
.score-name span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.card {
  box-shadow: 0 16px 42px rgba(2,6,23,0.28);
}
.card:hover {
  transform: translateY(-1px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Footer */
.site-footer {
  margin-top: var(--s-24);
  padding: var(--s-12) 0;
  border-top: 1px solid rgba(148,163,184,0.12);
  background: rgba(5,7,17,0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  align-items: start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: flex-end;
}
.footer-note {
  max-width: 680px;
  margin: var(--s-4) 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .grid-5 .card { grid-column: auto; }
  .hero-grid,
  .price-card,
  .contact-card,
  .sample-certificate,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: var(--s-8); }
  .audit-card { max-width: 620px; }
  .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  :root { --container-pad: 24px; }
  .desktop-nav,
  .header-cta { display: none; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 720px) {
  :root { --container-pad: 18px; --header-h: 72px; }
  .brand-text span { display: none; }
  .brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .hero { padding: var(--s-16) 0 var(--s-16); }
  .page-hero { padding: var(--s-16) 0 var(--s-8); }
  h1 { max-width: none; font-size: clamp(40px, 12vw, 54px); }
  h2 { font-size: clamp(29px, 8.4vw, 38px); }
  .hero-actions,
  .hero-actions .button { width: 100%; }
  .button { min-height: 50px; padding-inline: 18px; }
  .panel-header { align-items: flex-start; flex-direction: column; }
  .trust-line,
  .deliverables,
  .grid-5,
  .certificate-grid { grid-template-columns: 1fr; }
  .score-item { grid-template-columns: 1fr; gap: var(--s-1); }
  .section { padding: 5rem 0; }
  .section-header { margin-bottom: var(--s-9, 2.25rem); }
  .cta-strip,
  .certificate-page-card,
  .price-box,
  .card,
  .audit-card,
  .badge { padding: var(--s-6); border-radius: var(--radius-md); }
  .step { padding-left: 64px; }
  .step::before { left: var(--s-5); top: var(--s-6); }
  .table-wrap { overflow-x: auto; }
  .table { min-width: 620px; }
  .table th,
  .table td { padding: 14px 16px; }
  .page-hero p { font-size: 17px; line-height: 1.72; }
  .site-footer { margin-top: var(--s-16); }
}

@media (max-width: 440px) {
  .brand-text strong { font-size: 14px; }
  .menu-button { min-height: 42px; padding-inline: 12px; }
  .audit-card .certificate-top { flex-direction: column; }
  .metric-row { align-items: flex-start; flex-direction: column; gap: var(--s-1); }
  .metric-row strong { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
}
@media (max-width: 1120px) {
  .contact-side-card { position: static; }
}
