:root {
  color-scheme: dark;
  --bg: #160f22;
  --panel: #291936;
  --line: #523651;
  --text: #fff2e7;
  --muted: #e0c8d9;
  --accent: #ff8aa9;
  --link: #ffc6d6;
  --highlight: #ffd8c4;
  --sunset: linear-gradient(115deg, #ffdb9f, #ffa8a2 55%, #ff8aba);
  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  --max: 1260px;
}

body > header {
  min-height: 76px;
  background: #1b1125f5;
  box-shadow: none;
}

body > header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--sunset);
}

.brand img { width: clamp(7.25rem, 13vw, 10rem); }
#nav a:not(.button) { font-weight: 650; }
#nav a[aria-current="page"]:not(.button) { color: var(--accent); }
#nav .nav-cta[aria-current="page"] { outline: 1px solid var(--highlight); outline-offset: 3px; }
.menu { background: var(--panel); border-color: #966183; }

.button, .button:hover, .nav-cta:hover {
  color: #281227;
  background: var(--sunset);
  border-color: transparent;
  border-radius: 2px;
}

.button:not(:disabled):hover { background: #ffdec0; }
.button:disabled { opacity: .55; cursor: not-allowed; }
.text-link { text-underline-offset: .24em; }
.text-link:hover { text-decoration: underline; }

.hero h1, .hero.compact h1, .article-heading h1,
section > h2, .section-heading h2, .split h2, .monthly-testing h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.018em;
  text-transform: uppercase;
}

.eyebrow, .home-hero .eyebrow, .pentest-hero .eyebrow {
  color: #ffb8b6;
  font: 700 .76rem/1.5 ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

main > .home-hero {
  --edge: max(1.5rem, calc((100vw - var(--max)) / 2));
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .9fr);
  align-items: end;
  max-width: none;
  padding-inline: var(--edge);
  padding-block: clamp(5.5rem, 11vw, 10.5rem) clamp(3rem, 6vw, 5.5rem);
}

.home-hero::before {
  background: #352044 url("../img/vice-city-coast.webp") center 59% / cover no-repeat;
  filter: none;
}

.home-hero::after {
  background: linear-gradient(90deg, #1b1029f7, #1d1029dc 28%, #28103250 64%, #1c0c2926),
    linear-gradient(0deg, #180f23 1%, #21112d7a 25%, transparent 64%);
}

.home-hero h1 {
  max-width: 12ch;
  margin: .65rem 0 1.1rem;
  font-size: clamp(3rem, 7.2vw, 7rem);
  line-height: .88;
  text-wrap: initial;
  background: linear-gradient(180deg, #fff2d7 15%, #ffca9c 56%, #ff92bf 96%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 .045em #48223d);
}

.home-hero .lead { max-width: 47ch; color: #fff1eb; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.home-hero .note { color: #fff0ed; }
.hero-offer { padding-bottom: .25rem; }
.hero-price {
  padding: .85rem 1rem;
  border: 1px solid #d981ab80;
  background: #22132adf;
}

.hero-price .price-line { color: #ffd1ad; }
.report-preview {
  --paper: #fff0e1;
  --ink: #312039;
  --paper-muted: #604259;
  --paper-rule: #d4b3bd;
  --report-lilac: #853660;
  border: 0;
  border-top: 4px solid #ff97b5;
  border-radius: 2px;
  box-shadow: 5px 6px 0 #e08aac, 10px 12px 0 #823c78, 0 1.2rem 3rem #1c10288c;
}

.report-preview::before {
  width: 6.5rem;
  background: repeating-linear-gradient(135deg, #ffb5ba 0 2px, transparent 2px 9px);
  mask-image: linear-gradient(225deg, #000, transparent 66%);
}

.report-preview-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; }

main > .trust {
  --muted: #351a33;
  --link: #69254f;
  background: var(--sunset);
  border: 0;
  padding-block: 1rem;
}

.threat-perspectives {
  background: radial-gradient(ellipse at 94% 0%, #4b244e 0%, transparent 62%), #1d1429;
}

.threat-profile-grid > article { border-top: 3px solid var(--accent); }
.threat-profile-grid > article:nth-child(2) { border-top-color: #ffcb9b; }
.threat-profile-grid > article:nth-child(3) { border-top-color: #a8e7df; }
.threat-profile-grid h3, .service-links h3 {
  font: 800 clamp(1.35rem, 2.5vw, 1.85rem)/1.05 var(--display);
  text-transform: uppercase;
}

:is(.threat-profile-grid > article, .service-links > a, .cards > div, .offers article,
.pentest-package, .monthly-pilot-offer, .about-experience, .ai-boundaries, .about-ai-details,
.blog-list > article, .test-chooser article, .form-section .step, .price-panel) {
  background: linear-gradient(145deg, #34203e, #21162e 88%);
  border-radius: 2px;
}

.service-links > a { border-left: 3px solid #af74bc; }
.service-links > a:hover, .service-links > a:focus-visible { border-color: var(--accent); }
.split, .monthly-testing, .engagement-timeline, .about-method, .ai-red-teaming {
  background: #22162d;
}

.final, .platform-callout, main > .community-offer {
  background: radial-gradient(ellipse at 100% 100%, #683357, transparent 73%), #2a1937;
  border-color: #82517b;
}

.pentest-hero::before {
  background: url("../img/vice-city-coast.webp") right center / cover no-repeat;
  filter: none;
}

.about-experience::before {
  content: none;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #160f22 3%, #160f22ed 28%, #160f2290 54%, #160f2230 92%),
    linear-gradient(0deg, #160f22, transparent 38%),
    url("../img/vice-city-security-operations.webp") right center / cover no-repeat;
}

.about-hero .about-experience { background: #24162dd9; }

.pentest-hero::before {
  mask-image: linear-gradient(100deg, transparent 20%, #0003 65%, #0009);
}

.ai-hero::before {
  background:
    linear-gradient(90deg, #160f22 3%, #160f22ed 25%, #160f2280 52%, #160f2240 88%),
    linear-gradient(0deg, #160f22 0%, transparent 32%),
    url("../img/vice-city-ai-lab.webp") right center / cover no-repeat;
  filter: none;
  mask-image: none;
}

.ai-hero .ai-boundaries {
  background: #24162dd9;
}

.hero.compact:not(.pentest-hero, .ai-hero, .about-hero) {
  background: radial-gradient(ellipse at 92% 0%, #512748 0%, transparent 78%);
}

input, select, textarea { background: #21152e; border-color: #926886; accent-color: var(--accent); }
.service-card:has(input:checked), .wizard-steps li[aria-current="step"] { background: #492541; }
body > footer { background: #1b1125; }

@media (max-width: 980px) {
  #nav { gap: .8rem; }
  #nav a { font-size: .83rem; }
}

@media (max-width: 800px) {
  #nav { background: #21152e; }
  .about-hero::before {
    background-position: center, center, 63% center;
  }
  .ai-hero::before {
    background-position: center, center, 58% center;
    background-image: linear-gradient(90deg, #160f22e8, #160f227a),
      linear-gradient(0deg, #160f22 0%, transparent 42%),
      url("../img/vice-city-ai-lab.webp");
  }
  main > .home-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 4.5rem 3.25rem;
    gap: 2.25rem;
  }
  .home-hero::before { background-position: 63% center; }
  .home-hero::after {
    background: linear-gradient(90deg, #1b1029eb, #21122b7d),
      linear-gradient(0deg, #160f22, transparent 45%);
  }
  .hero-offer { max-width: min(100% - .65rem, 33rem); }
}

@media print {
  :root { color-scheme: light; }
}
