:root {
  --bg: #070a1b;
  --panel: #10183a;
  --panel-deep: #0c1330;
  --line: #29345f;
  --text: #f6f7ff;
  --muted: #929ab5;
  --blue: #6473ff;
  --blue-soft: #91a0ff;
  --green: #31d6a4;
  --yellow: #f6bd38;
  --red: #ff5f6d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #030511;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.vulnio-site {
  overflow: hidden;
}

.flyer {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 4%, rgb(51 68 181 / 28%), transparent 25rem),
    linear-gradient(145deg, #080b1c 0%, #080b20 55%, #0a102a 100%);
}

.flyer::before {
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: 19rem;
  height: 15rem;
  background-image: radial-gradient(circle, rgb(118 131 255 / 25%) 1px, transparent 1.5px);
  background-size: 17px 17px;
  content: "";
  mask-image: linear-gradient(135deg, transparent, #000 35%, #000 70%, transparent);
}

.flyer-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 69rem);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.8rem) 0;
}

.vulnio-logo {
  display: inline-block;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
}

.vulnio-logo span {
  position: relative;
}

.vulnio-logo span::before {
  position: absolute;
  z-index: 1;
  top: 0.1em;
  left: 65%;
  width: 0;
  height: 0;
  border-right: 0.18em solid transparent;
  border-bottom: 0.30em solid var(--red);
  border-left: 0.18em solid transparent;
  content: "";
  transform: translateX(-50%);
}

.hero {
  margin: clamp(2.5rem, 6vw, 4.2rem) 0 clamp(2.2rem, 5vw, 3.3rem);
}

.kicker,
.column h3,
.impact-heading h3,
.fix-first-heading h3 {
  margin: 0;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 1.1rem 0 0.7rem;
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 strong,
.hero h2 strong {
  color: var(--blue);
  font-weight: inherit;
}

.lede {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
}

.lede strong {
  color: var(--text);
  font-weight: 500;
}

.product-window {
  overflow: hidden;
  border: 1px solid #293666;
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgb(17 26 62 / 96%), rgb(9 15 40 / 97%));
  box-shadow: 0 0 0 5px rgb(76 91 215 / 5%), 0 1rem 3rem rgb(0 0 0 / 28%), inset 0 0 2.5rem rgb(65 76 170 / 6%);
}

.window-bar {
  display: flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0 1.2rem;
  border-bottom: 1px solid var(--line);
  color: #7f88a8;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  gap: 1rem;
}

.window-bar strong {
  color: #c7cce2;
  font-weight: 400;
}

.window-bar b {
  padding-inline: 0.45rem;
  color: #65708f;
}

.window-dots {
  display: flex;
  gap: 0.45rem;
}

.window-dots i {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #303a5f;
}

.warning-mark {
  width: 0;
  height: 0;
  border-right: 0.55rem solid transparent;
  border-bottom: 1rem solid #f12b3d;
  border-left: 0.55rem solid transparent;
}

.live {
  display: flex;
  align-items: center;
  margin-left: auto;
  color: #4be5b9;
  gap: 0.38rem;
}

.live i {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #34d9a9;
  box-shadow: 0 0 0.5rem #34d9a9;
}

.window-body {
  padding: clamp(1.4rem, 4vw, 2.7rem);
}

.assessment-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}

.mono {
  margin: 0;
  color: #8795ef;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.assessment-badges {
  display: flex;
  grid-row: span 2;
  gap: 0.65rem;
}

.pill {
  align-self: start;
  padding: 0.4rem 0.8rem;
  border: 1px solid;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  white-space: nowrap;
}

.pill-danger {
  border-color: rgb(255 95 109 / 68%);
  color: #ff99a2;
}

.pill-warning {
  border-color: rgb(246 189 56 / 75%);
  color: var(--yellow);
}

.pill-warning::before {
  content: "●";
  margin-right: 0.45rem;
}

.assessment-heading h2 {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.evidence-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.95fr 0.85fr;
  gap: 4.5rem;
  padding-top: 1.7rem;
}

.column {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.column h3 {
  margin-bottom: 0.9rem;
}

.signal,
.condition {
  display: flex;
  align-items: center;
  min-height: 3.2rem;
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  background: #131c3f;
  font-size: 1rem;
  gap: 0.7rem;
}

.signal {
  padding: 0.4rem 0.7rem;
  border-radius: 0.7rem;
}

.signal-icon {
  position: relative;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid #5365d6;
  border-radius: 0.5rem;
  background: rgb(75 92 200 / 18%);
}

.signal-icon::before,
.signal-icon::after {
  position: absolute;
  content: "";
}

.signal-icon::before {
  inset: 0.44rem;
  border: 1.5px solid #aab4ff;
  border-radius: 0.15rem;
}

.signal-icon.database::before {
  border-radius: 50%;
  box-shadow: 0 0.32rem 0 -1px #111a3b, 0 0.32rem 0 0 #aab4ff, 0 0.64rem 0 -1px #111a3b, 0 0.64rem 0 0 #aab4ff;
}

.signal-icon.monitor::after {
  bottom: 0.27rem;
  left: 0.63rem;
  width: 0.75rem;
  border-bottom: 1.5px solid #aab4ff;
}

.signal-icon.config::before {
  inset: 0.58rem 0.38rem auto;
  height: 1px;
  border: 0;
  background: #f6cb62;
  box-shadow: 0 0.4rem #f6cb62, 0 0.8rem #f6cb62;
}

.condition {
  padding: 0.4rem 0.75rem;
  border-color: rgb(49 214 164 / 38%);
  border-radius: 999px;
  white-space: nowrap;
}

.condition > span:first-child {
  display: grid;
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border: 1px solid rgb(49 214 164 / 54%);
  border-radius: 50%;
  background: rgb(49 214 164 / 12%);
  color: var(--green);
  font-weight: 600;
}

.signal.uncertain,
.condition.uncertain {
  border-color: rgb(246 189 56 / 62%);
  border-style: dashed;
  color: #eee9d9;
}

.signal.uncertain .signal-icon,
.condition.uncertain > span:first-child {
  border-color: rgb(246 189 56 / 65%);
  background: rgb(246 189 56 / 9%);
  color: var(--yellow);
}

.verdict-column {
  text-align: center;
}

.verdict-ring {
  position: relative;
  display: grid;
  width: 7.5rem;
  height: 7.5rem;
  margin: 2.7rem auto 1rem;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 74%, transparent 74% 76%, var(--yellow) 76% 79%, transparent 79% 81%, var(--yellow) 81% 84%, transparent 84% 86%, var(--yellow) 86% 89%, transparent 89% 91%, var(--yellow) 91% 94%, transparent 94%);
  transform: rotate(18deg);
}

.verdict-ring::before {
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 50%;
  background: #0e1635;
  content: "";
}

.verdict-ring div {
  position: absolute;
  display: flex;
  flex-direction: column;
  transform: rotate(-18deg);
}

.verdict-ring strong {
  font-size: 2rem;
  line-height: 0.95;
}

.verdict-ring span {
  color: #b8bfd6;
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.verdict-column p {
  color: var(--yellow);
  font-size: 0.9rem;
}

.connector-map {
  position: absolute;
  z-index: 1;
  top: 3.8rem;
  left: 0;
  width: 100%;
  height: calc(100% - 3.8rem);
  overflow: visible;
}

.connector-map path {
  fill: none;
  stroke: rgb(49 214 164 / 65%);
  stroke-width: 3;
}

.connector-map .uncertain-line {
  stroke: rgb(246 189 56 / 70%);
  stroke-dasharray: 8 8;
}

.connector-map circle {
  fill: var(--green);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  gap: 1.2rem;
}

.outcome {
  display: flex;
  align-items: center;
  min-height: 5rem;
  padding: 1rem 1.35rem;
  border: 1px solid #29314d;
  border-radius: 0.85rem;
  background: rgb(19 25 51 / 80%);
  gap: 0.9rem;
}

.outcome > span {
  display: grid;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid currentcolor;
  border-radius: 50%;
}

.outcome.affected > span {
  color: var(--red);
}

.outcome.safe > span {
  color: var(--green);
}

.outcome.unknown > span {
  color: var(--yellow);
}

.assessment-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 9.5rem;
  padding: 1.2rem max(2rem, calc((100% - 69rem) / 2));
  border-top: 5px solid var(--blue);
  background: #fff;
  color: #18203c;
}

.assessment-footer p {
  margin: 0;
  color: #68718f;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.assessment-footer p:last-child {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.8rem;
}

.assessment-footer p strong {
  color: #10152b;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-transform: none;
}

.ijam-lockup img {
  display: block;
  width: 4.1rem;
  height: 6.1rem;
  object-fit: contain;
}

.flyer-estate {
  border-top: 1px solid #202b5d;
}

.estate-hero {
  margin-top: 0;
}

.estate-hero h2 span {
  color: #aeb4ca;
  font-size: 0.64em;
}

.ask-field {
  display: flex;
  align-items: center;
  min-height: 3.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid #4d60ce;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 1.2rem rgb(75 91 213 / 8%);
  gap: 0.9rem;
}

.ask-field > span {
  width: 1rem;
  height: 0.78rem;
  border: 1.5px solid #8391ff;
  border-radius: 0.12rem;
}

.ask-field p {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
}

.ask-field p strong {
  color: #8794f4;
  font-family: "JetBrains Mono", monospace;
  font-weight: 400;
}

.ask-field > i {
  width: 1px;
  height: 1.5rem;
  margin-left: auto;
  background: #8b96f7;
}

.impact-heading,
.fix-first-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1.5rem 0 0.85rem;
}

.impact-heading p,
.fix-first-heading p {
  margin: 0;
  color: #7e87a6;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
}

.impact-heading p strong,
.fix-first-heading p strong {
  color: #c1c7de;
  font-weight: 400;
}

.impact-bar {
  display: grid;
  grid-template-columns: 64fr 28fr 8fr;
  height: 1.25rem;
  gap: 0.25rem;
}

.impact-bar i {
  border-radius: 0.25rem;
  background: #31bc91;
}

.impact-bar i:nth-child(2) {
  background: repeating-linear-gradient(135deg, #c89530 0 7px, #edbd50 7px 11px);
}

.impact-bar i:nth-child(3) {
  background: var(--red);
}

.impact-stats {
  display: grid;
  grid-template-columns: 64fr 28fr 8fr;
  margin-top: 0.75rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--line);
}

.impact-stat {
  min-width: 0;
  padding: 0 1rem;
  border-left: 2px solid currentcolor;
}

.impact-stat.safe {
  color: var(--green);
}

.impact-stat.unknown {
  color: var(--yellow);
}

.impact-stat.affected {
  min-width: 8.5rem;
  color: var(--red);
}

.impact-stat > strong {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
}

.impact-stat h4 {
  margin: 0.25rem 0;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}

.impact-stat p {
  margin: 0;
  color: #9ca4be;
  font-size: 0.75rem;
  line-height: 1.25;
}

.fix-first-heading {
  margin-top: 1.5rem;
}

.fix-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.6rem;
}

.fix-list li {
  display: grid;
  grid-template-columns: auto minmax(8rem, 0.8fr) minmax(0, 2.2fr);
  align-items: center;
  min-height: 3.35rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid #2b365d;
  border-radius: 0.65rem;
  background: rgb(21 29 62 / 74%);
  gap: 0.8rem;
}

.fix-list li:first-child {
  border-color: rgb(255 95 109 / 47%);
}

.rank {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgb(255 95 109 / 55%);
  border-radius: 0.4rem;
  background: rgb(255 95 109 / 10%);
  color: #ff9aa3;
  font-family: "JetBrains Mono", monospace;
}

.fix-list li > strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 400;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.45rem;
}

.tags span {
  padding: 0.25rem 0.65rem;
  border: 1px solid #4d5882;
  border-radius: 999px;
  color: #d5d9e9;
  font-size: 0.72rem;
  white-space: nowrap;
}

.tags .danger {
  border-color: rgb(255 95 109 / 48%);
  background: rgb(255 95 109 / 8%);
  color: #ff9ca5;
}

.tags .warning {
  border-color: rgb(246 189 56 / 55%);
  color: #f8ce70;
}

.schedule-note {
  margin: 0.75rem 0 0;
  color: #737d9e;
  font-size: 0.75rem;
}

.schedule-note strong {
  color: #aab1ca;
  font-weight: 400;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  gap: 1.2rem;
}

.feature-grid article {
  position: relative;
  min-height: 10rem;
  padding: 1.15rem 1rem 1rem 4.2rem;
  border: 1px solid #29314d;
  border-radius: 0.85rem;
  background: rgb(19 25 51 / 78%);
}

.feature-grid h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.05;
}

.feature-grid p {
  margin: 1rem 0 0 -3.15rem;
  color: #969eb8;
  font-size: 0.86rem;
  line-height: 1.35;
}

.feature-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #455ce1;
  border-radius: 0.55rem;
  background: rgb(57 77 196 / 16%);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.feature-icon::before {
  inset: 0.58rem;
  border: 1.5px solid #a8b1ff;
  border-radius: 0.15rem;
}

.feature-icon.estate::after {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1rem;
  background: #a8b1ff;
  box-shadow: -0.5rem 0 #111837, 0.5rem 0 #111837;
  transform: translate(-50%, -50%);
}

.feature-icon.priority::after {
  right: 0.45rem;
  bottom: 0.45rem;
  width: 0.55rem;
  height: 0.3rem;
  border-bottom: 1.5px solid #a8b1ff;
  border-left: 1.5px solid #a8b1ff;
  transform: rotate(-45deg);
}

.feature-icon.ask::before {
  border-radius: 0.25rem;
}

@media (width <= 1024px) {
  .flyer-inner {
    width: min(100% - 1.5rem, 36rem);
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .window-bar {
    padding: 0 0.8rem;
    gap: 0.6rem;
  }

  .window-dots {
    display: none;
  }

  .assessment-heading {
    display: flex;
    flex-direction: column;
  }

  .assessment-badges {
    order: 3;
    flex-wrap: wrap;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .connector-map {
    display: none;
  }

  .condition {
    white-space: normal;
  }

  .verdict-ring {
    margin-top: 1.2rem;
  }

  .outcome-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .assessment-footer {
    grid-template-columns: 1fr auto;
    padding: 1.2rem;
  }

  .assessment-footer > p:first-child {
    display: none;
  }

  .impact-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .impact-stat {
    padding-inline: 0.55rem;
  }

  .impact-stat.affected {
    min-width: 0;
  }

  .impact-stat > strong {
    font-size: 1.5rem;
  }

  .fix-list li {
    grid-template-columns: auto 1fr;
  }

  .tags {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .feature-grid article {
    min-height: 0;
  }
}

@media (orientation: landscape) and (pointer: coarse) {
  body {
    touch-action: pan-y;
  }
}

@media (width <= 430px) {
  .flyer-inner {
    width: min(100% - 1rem, 29rem);
  }

  .window-body {
    padding: 1rem;
  }

  .window-bar {
    font-size: 0.64rem;
  }

  .live {
    font-size: 0;
  }

  .assessment-badges {
    gap: 0.4rem;
  }

  .pill {
    font-size: 0.63rem;
  }

  .assessment-footer p strong {
    font-size: 1.1rem;
  }

  .impact-stat h4 {
    font-size: 0.72rem;
  }

  .impact-stat p {
    font-size: 0.66rem;
  }

  .fix-first-heading p {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
