/* Wide-layout corrections and platform image presentation. */
@media (min-width: 1161px) {.hero{max-width:none;margin:0}.two-col{max-width:none}.form-section{max-width:none;margin:0}}
.form-section>p,.form-section form{max-width:860px}.platform-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:4rem}.hero-visual,.platform-gallery figure{margin:0}.hero-visual img,.platform-gallery img{width:100%;display:block;border:1px solid #465074;border-radius:.6rem;box-shadow:0 1.5rem 4rem #0008}.platform-features{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:.6rem;overflow:hidden}.platform-features article{display:grid;grid-template-columns:1fr minmax(240px,42%);align-items:center;gap:2rem;background:#140f1b;padding:2rem}.platform-features article:nth-child(even){grid-template-columns:minmax(240px,42%) 1fr;background:#0e1320}.platform-features article:nth-child(even) .feature-copy{order:2}.platform-features article:nth-child(even) img{order:1}.feature-copy h3{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.15;margin:.45rem 0 .7rem}.feature-copy p:not(.eyebrow){color:var(--muted);max-width:540px}.platform-features img{width:100%;border-radius:.4rem;border:1px solid #3b4565;max-height:255px;object-fit:cover;object-position:top}.platform-gallery{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:4rem;background:#0d1020;border-block:1px solid var(--line)}
@media(max-width:800px){.platform-hero,.platform-gallery{grid-template-columns:1fr;gap:2rem}.platform-hero .hero-visual{max-width:680px}.platform-features article,.platform-features article:nth-child(even){grid-template-columns:1fr}.platform-features article:nth-child(even) .feature-copy,.platform-features article:nth-child(even) img{order:initial}}
@media(max-width:520px){.platform-features article{padding:1.3rem}.platform-features img{max-height:210px}}

/* Pricing, scoping and restrained motion. */
:root { --cta: #642c90; --cta-hover: #7636a5; --highlight: #e6c8fb; }
.button { background: var(--cta); border-color: #a76ace; font: inherit; font-weight: 700; }
.button:hover { background: var(--cta-hover); color: #fff; }
.nav-cta:hover { color: #fff; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
.home-hero h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.price-panel {
  border: 1px solid #594169;
  background: linear-gradient(150deg, #21172c, #130f1a);
  border-radius: .8rem;
  padding: clamp(1.15rem, 3vw, 1.85rem);
}
.price-panel p:not(.eyebrow, .price-line) { color: var(--muted); }
.price-line { font-size: clamp(1.45rem, 3.2vw, 2.45rem); font-weight: 800; line-height: 1.15; margin: .45rem 0; }
.service-links > a { display: block; padding: 1.4rem; background: #15111b; border: 1px solid var(--line); border-radius: .65rem; text-decoration: none; }
.service-links > a:hover, .service-links > a:focus-visible { border-color: var(--link); }
.service-links > a span { color: var(--link); font-size: .92rem; font-weight: 700; }
.scope-intro.hero.compact { min-height: 0; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: 1rem; }
.scope-intro .lead { margin: 0 0 1.2rem; }
.form-section .step { min-inline-size: 0; margin-bottom: 1rem; padding: clamp(.9rem, 2.6vw, 1.6rem); background: #120e17; }
.form-section .step > legend { scroll-margin-top: 105px; }
.form-section .step > legend:focus-visible { outline: 2px solid var(--link); outline-offset: .25rem; }
.wizard-steps { counter-reset: progress; }
.wizard-steps li::before { counter-increment: progress; content: counter(progress) " · "; }
.wizard-steps li[aria-current="step"] { border-color: var(--link); color: var(--text); background: #352044; }
.service-group { padding: 0; border: 0; min-inline-size: 0; margin: .5rem 0 1rem; }
.service-group > legend { padding: 0; font-size: 1rem; }
.service-card { margin: 0; }
.service-card input, .chip input { border-color: #818aaa; padding: 0; }
.service-card small { display: block; color: var(--muted); font-weight: 400; margin-top: .15rem; }
.service-card input:checked ~ span { color: var(--highlight); }
.price-panel { padding: 1rem 1.2rem; }
.price-panel p:last-child { margin-bottom: 0; }
.price-panel > div + div { margin-top: .75rem; }
.price-panel > [hidden] + div { margin-top: 0; }
.optional-fields { margin: .6rem 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.optional-fields summary { cursor: pointer; color: var(--link); font-weight: 700; }
.chip { margin: 0; }
.field-error { color: #ffb0c2; margin: -.5rem 0 1rem; font-weight: 600; }
.service-group .field-error { margin: .4rem 0; }
[aria-invalid="true"] { border-color: #ff9db2; }
.summary-item dd { margin-left: 0; }
.request-reference { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .5rem; overflow-wrap: anywhere; }
.receipt .lead { margin: 0; }


/* Report surfaces and engagement details. */
:root {
  --paper: #fff;
  --ink: #182036;
  --paper-muted: #48536d;
  --paper-rule: #dfd8e8;
  --report-lilac: #69448b;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
.home-hero .eyebrow { letter-spacing: .04em; font-size: .9rem; }
.home-hero .lead { max-width: 49ch; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(7rem, 12vw, 9.5rem); height: auto; }
.home-hero { position: relative; isolation: isolate; }
.home-hero::before, .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-hero::before {
  z-index: -2;
  background: url("../img/digital-city.png") right 3vw bottom -1rem / clamp(37rem, 71vw, 58rem) auto no-repeat;
  filter: brightness(1.65);
}
.home-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 16%, rgba(8, 7, 9, .88) 36%, rgba(8, 7, 9, .24) 65%, rgba(8, 7, 9, .18) 88%, var(--bg)),
    linear-gradient(0deg, var(--bg), transparent 23%);
}
.hero-offer { display: grid; gap: 1.25rem; }
.report-preview, .report-sheet {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper-rule);
}
.report-preview {
  display: grid;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: .25rem;
  box-shadow: 0 8px 0 -3px #c6aedb, 0 16px 0 -7px #715187;
  text-decoration: none;
}
.report-preview-meta, .report-preview-line, .report-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
}
.report-preview-meta, .report-masthead { color: var(--paper-muted); font-size: .85rem; }
.report-preview-title, .report-sheet h1 { font-weight: 700; letter-spacing: -.035em; }
.report-preview-title { font-size: clamp(1.55rem, 2.75vw, 2.35rem); line-height: 1.08; padding: 1.3rem 0; }
.report-preview-line { border-top: 1px solid var(--paper-rule); padding: .68rem 0; font-size: .9rem; }
.report-status { display: inline-block; border: 1px solid currentColor; border-radius: .22rem; padding: .1rem .42rem; font: 700 .75rem/1.5 Arial, sans-serif; }
.report-status.verified { color: #125444; background: #dceee8; }
.report-status.open { color: #704c0c; background: #f8ecca; }
.report-preview-link { margin-top: .6rem; color: var(--report-lilac); font-weight: 700; font-size: .9rem; }
.report-preview:focus-visible .report-preview-link { text-decoration: underline; }
.hero-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-top: .4rem;
}
.hero-price p { margin: 0; }
.hero-price p:first-child { color: var(--muted); font-size: .9rem; }
.hero-price .text-link { font-size: .9rem; }

#external-package, #included, #retest { scroll-margin-top: 6rem; }
.engagement-timeline { background: #16101d; border-block: 1px solid var(--line); }
.engagement-timeline ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: engagement;
}
.engagement-timeline li { border-top: 1px solid #5b426c; padding-top: 1rem; }
.engagement-timeline li::before { counter-increment: engagement; content: counter(engagement, decimal-leading-zero); color: var(--link); margin-right: .65rem; font-variant-numeric: tabular-nums; }
.engagement-timeline li p { color: var(--muted); margin: .45rem 0 0; max-width: 38ch; }

.report-page { max-width: 62rem; margin: auto; padding: clamp(1.1rem, 4vw, 3rem); }
.report-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; margin-bottom: 1rem; }
.report-preview, .report-sheet { position: relative; isolation: isolate; overflow: hidden; }
.report-preview::before, .report-sheet::before, .report-sheet::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: clamp(5.5rem, 18vw, 13rem);
  aspect-ratio: 240 / 174;
  background: url("../img/report-hexagons.svg") top right / contain no-repeat;
  opacity: .68;
  pointer-events: none;
}
.report-preview::before { width: 7rem; opacity: .45; }
.report-sheet::after { top: auto; right: auto; bottom: 0; left: 0; transform: rotate(180deg); }
.report-sheet { padding: clamp(1rem, 6vw, 4rem); border-radius: .25rem; overflow-wrap: anywhere; }
.report-imprint { display: grid; justify-items: end; gap: .6rem; margin-top: 2rem; font-size: .85rem; color: var(--report-lilac); }
.report-imprint img { width: 8rem; height: auto; filter: brightness(0) saturate(100%); opacity: .72; }
.report-masthead { border-bottom: 1px solid var(--paper-rule); padding-bottom: .8rem; }
.report-masthead strong { color: var(--report-lilac); }
.report-sheet h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: 1.04; margin: 1.5rem 0 .75rem; }
.report-deck { max-width: 57ch; color: var(--paper-muted); }
.report-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; padding: 1rem 0; border-block: 1px solid var(--paper-rule); }
.report-metadata dt { color: var(--paper-muted); font-size: .88rem; }
.report-metadata dd, .retest-findings dd { margin: 0; }
.report-metadata dd, .retest-findings dt { font-weight: 700; }
.report-section { padding: 1.3rem 0 0; }
.report-section > h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .65rem; }
.report-section p, .retest-findings dd { max-width: 67ch; }
.report-finding, .retest-findings > div { border-top: 1px solid var(--paper-rule); padding: .75rem 0; }
.report-finding h3, .report-finding p { margin: 0 0 .25rem; }
.retest-findings { margin-bottom: 0; }
.retest-findings dt { margin-bottom: .35rem; }
.report-actions { margin-bottom: 0; }
.receipt-mark { width: 3rem; height: 3rem; margin-bottom: 1rem; fill: none; stroke: var(--link); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 800px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-offer { max-width: 36rem; }
  .home-hero::before { background-position: center bottom; background-size: max(110%, 30rem) auto; }
  .home-hero::after {
    background: linear-gradient(180deg, var(--bg) 29%, rgba(8, 7, 9, .33) 66%, transparent 83%, var(--bg));
  }
}
@media (max-width: 640px) {
  .engagement-timeline ol { grid-template-columns: 1fr; }
}
@media (hover: hover) and (pointer: fine) {
  .report-preview:hover .report-preview-link { text-decoration: underline; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 160ms var(--ease-out), background-color 160ms ease; }
  .button:active { transform: scale(.97); }
  .report-preview .verified { animation: confirm-mark 250ms 50ms var(--ease-out) backwards; }
  .receipt-mark { animation: confirm-mark 200ms var(--ease-out); }
  @keyframes confirm-mark {
    from { opacity: .55; transform: scale(.95); }
    to { opacity: 1; transform: scale(1); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: background-color 160ms ease; }
}
@media print {
  body:has(.report-page) { background: #fff; }
  body:has(.report-page) > :is(header, footer, .skip), .report-toolbar, .report-actions { display: none; }
  .report-page, .report-sheet { max-width: none; border: 0; background: #fff; }
  .report-page { padding: 0; }
  .report-sheet { padding: .55in; print-color-adjust: exact; }
  .report-finding, .retest-findings > div { break-inside: avoid; }
}

/* Pentest landing page: an upfront offer, a short chooser, then report evidence. */
.pentest-hero, .pentest-evidence {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.pentest-hero { min-height: auto; padding-block: clamp(3rem, 6vw, 5.4rem); }
.pentest-hero h1 { font-size: clamp(2.5rem, 5.1vw, 4.75rem); text-wrap: balance; }
.pentest-hero .eyebrow { font-size: .87rem; letter-spacing: .03em; }
.pentest-hero .lead, .pentest-final > p { max-width: 50ch; }
.pentest-hero .actions { flex-wrap: wrap; }
.pentest-hero .note { margin-bottom: 0; }
.pentest-package {
  position: relative;
  padding: clamp(1.15rem, 2.5vw, 1.9rem);
  border: 1px solid #5e4272;
  border-top: 3px solid var(--accent);
  border-radius: .55rem;
  background: linear-gradient(135deg, #21172b, #100d14 62%);
}
.pentest-package h2 { font-size: 1.07rem; margin: 0; }
.pentest-package > p:not(.package-price), .pentest-package li { color: var(--muted); }
.pentest-package > p:not(.package-price) { margin: .85rem 0; }
.package-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; margin: .25rem 0; }
.package-price span { color: var(--muted); }
.package-price strong { font-size: clamp(2.25rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.045em; }
.pentest-package ul { margin: .85rem 0 1rem; padding-left: 1.15rem; }
.pentest-package li + li { margin-top: .25rem; }
.package-retest { display: grid; gap: .2rem; padding: .75rem 0; border-block: 1px solid var(--line); }
.package-retest span { color: var(--muted); font-size: .92rem; }
.package-link { display: inline-block; margin-top: .9rem; }
.testing-options { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.testing-options h2, .pentest-evidence h2, .pentest-faq h2 { margin: 0 0 .9rem; }
.section-intro { max-width: 63ch; color: var(--muted); margin: 0 0 1.35rem; }
.test-chooser article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) auto;
  align-items: baseline;
  gap: .45rem 1.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.test-chooser article:last-child { border-bottom: 1px solid var(--line); }
.test-chooser h3, .test-chooser p { margin: 0; }
.test-chooser h3 { font-size: 1.1rem; }
.test-chooser p, .evidence-list dd, .pentest-final > p { color: var(--muted); }
.pentest-evidence { background: #140f1b; border-block: 1px solid var(--line); }
.pentest-evidence h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); line-height: 1.1; max-width: 20ch; }
.evidence-list { display: grid; gap: .8rem; margin: 1.15rem 0 0; }
.evidence-list dt { font-weight: 700; }
.evidence-list dd { margin: .1rem 0 0; max-width: 55ch; }
.pentest-faq, .pentest-final { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pentest-final h2 { margin-bottom: .75rem; }
@media (max-width: 1050px) {
  .test-chooser article { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .test-chooser .text-link { grid-column: 2; }
}
@media (max-width: 760px) {
  .pentest-hero, .pentest-evidence { grid-template-columns: minmax(0, 1fr); }
  .pentest-package, .pentest-evidence .report-preview { max-width: 38rem; width: 100%; }
}
@media (max-width: 560px) {
  .test-chooser article { grid-template-columns: minmax(0, 1fr); }
  .test-chooser .text-link { grid-column: auto; }
}

/* Articles and publishing. */
.blog-admin { padding-block: clamp(2rem, 5vw, 4rem); }
.admin-toolbar, .blog-heading, .admin-post { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-toolbar { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.admin-toolbar form { margin-left: auto; }
.blog-heading { margin: 1.5rem 0; }
.blog-heading h1 { margin: .25rem 0; font-size: clamp(2rem, 4vw, 3rem); }
.admin-post { border-top: 1px solid var(--line); padding: 1rem 0; }
.admin-post h2 { margin: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.admin-post p { color: var(--muted); margin: .3rem 0 0; }
.visitor-table { overflow-x: auto; margin-top: 1.5rem; }
.visitor-table table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.visitor-table th, .visitor-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.visitor-table th { color: var(--muted); font-weight: 500; }
.visitor-agent, .visitor-referer { max-width: 26rem; overflow-wrap: anywhere; }
.visitor-pages { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.blog-login { max-width: 30rem; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: 2rem; }
#article-markdown, .editor-help pre { font: .9rem/1.65 ui-monospace, monospace; tab-size: 2; }
.editor-help { border-left: 1px solid var(--line); padding-left: 1.5rem; min-width: 0; }
.editor-help h2 { font-size: 1.2rem; }
.editor-help p { color: var(--muted); }
.editor-help pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.editor-actions { flex-wrap: wrap; }
button:disabled { opacity: .6; cursor: wait; }
.blog-list { padding-top: 1rem; }
.blog-list > article { border-top: 1px solid var(--line); padding: 1.5rem 0; max-width: 54rem; }
.blog-list h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin: .25rem 0; line-height: 1.2; }
.blog-list time, .blog-list p { color: var(--muted); }
.blog-article { max-width: 54rem; margin: auto; padding: clamp(1.5rem, 5vw, 3rem) 1.5rem; overflow-wrap: anywhere; }
.article-heading { display: block; position: static; min-height: 0; background: none; border: 0; padding: 2rem 0 1rem; backdrop-filter: none; }
.article-heading h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; margin: .5rem 0; }
.article-body { line-height: 1.8; }
.article-body h1, .article-body h2, .article-body h3 { line-height: 1.2; margin-top: 1.8rem; }
.article-body img { max-width: 100%; height: auto; border-radius: .3rem; }
.article-body a { color: var(--link); }
.article-body pre { padding: 1rem; background: var(--panel); overflow: auto; border: 1px solid var(--line); border-radius: .3rem; }
.article-body blockquote { border-left: 3px solid var(--accent); margin-inline: 0; padding-left: 1rem; color: var(--muted); }
.article-body table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: .5rem .75rem; }
.article-diagram { display: block; width: 100%; height: 25rem; border: 1px solid var(--line); border-radius: .3rem; margin: 1.25rem 0; background: #100d14; }
.draft-banner { padding: 1rem; border: 1px solid var(--accent); }
.article-cta { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }
@media (max-width: 1100px) and (min-width: 801px) {
  header > nav { gap: .7rem; }
  header > nav > a { font-size: .83rem; }
}
@media (max-width: 850px) {
  .editor-layout { grid-template-columns: minmax(0, 1fr); }
  .editor-help { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
}
.blog-list > nav { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; }

.monthly-testing {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: #140f1b;
  border-block: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.monthly-testing h2 { font-size: clamp(1.8rem, 3.4vw, 2.85rem); line-height: 1.12; margin: 0 0 .8rem; }
.monthly-testing ul { padding-left: 1.25rem; margin: 0; color: var(--muted); }
.monthly-testing li + li { margin-top: .4rem; }
.monthly-pilot-offer {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: .55rem;
}
.monthly-pilot-offer > p:not(.eyebrow, .package-price) { color: var(--muted); margin: .8rem 0 1rem; }
@media (max-width: 760px) {
  .monthly-testing { grid-template-columns: minmax(0, 1fr); }
}
.monthly-flex { border-top: 1px solid var(--line); padding-top: 1rem; }
.home-hero .note strong { color: var(--text); }
#data-handling { scroll-margin-top: 6rem; }
#data-handling .evidence-list dd { max-width: 75ch; }

/* Shared page rhythm and navigation. */
:root { --section-gap: clamp(2.75rem, 6vw, 5.25rem); }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body > header { box-shadow: 0 1px 0 #ffffff07; }
#nav a:not(.button) { position: relative; }
#nav a[aria-current="page"]:not(.button) { color: var(--text); }
#nav a[aria-current="page"]:not(.button)::after {
  content: "";
  position: absolute;
  inset: auto 0 -.45rem;
  height: 2px;
  background: var(--accent);
}
#nav .nav-cta[aria-current="page"] { border-color: var(--highlight); }
body > footer { background: #100c14; padding-block: clamp(2rem, 5vw, 3.5rem); }
body > footer div { flex-wrap: wrap; }
body > footer p { max-width: 34ch; }
main > section { padding-block: var(--section-gap); }
main > section[id] { scroll-margin-top: 5.5rem; }
.hero { min-height: 0; }
.hero h1 { line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
.hero .lead { max-width: 57ch; }
.home-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.65rem); }
.hero .actions { gap: .8rem 1.2rem; flex-wrap: wrap; }
.hero .note { margin-block: .65rem 0; }
.hero.compact { min-height: 0; }
.hero.compact.scope-intro { padding-block: clamp(2.25rem, 5vw, 4.25rem) 1.4rem; }
section > h2, .section-heading h2 { letter-spacing: -.035em; text-wrap: balance; }
.section-heading h2 {
  margin: 0 0 .65rem;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.12;
}
.actions .button { align-self: flex-start; }
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem 1.25rem;
}
.trust span { display: flex; align-items: baseline; }
.cards.service-links {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1.5rem;
}
.service-links > a {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  background: linear-gradient(145deg, #1a1222, #110e15 80%);
}
.service-links > a:nth-child(n+4) { grid-column: span 3; }
.service-links > a p { margin: .15rem 0 1rem; }
.service-links > a span { margin-top: auto; }
.pentest-package, .monthly-pilot-offer {
  box-shadow: 0 1rem 2.8rem #0005;
  background: linear-gradient(145deg, #24182e, #120e16 65%);
}
.test-chooser article { padding-block: 1.3rem; }
.test-chooser article:focus-within { border-top-color: var(--accent); }
.final { background: radial-gradient(ellipse at 93% 100%, #2c1939, transparent 62%), #16101e; }

.about-hero, .ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  position: relative;
  isolation: isolate;
}
.about-hero h1, .ai-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.about-experience, .ai-boundaries {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #584066;
  border-radius: .7rem;
  padding: clamp(1.3rem, 4vw, 2.8rem);
  background: #18101f;
}
.about-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/digital-city.png") center 63% / cover;
  filter: brightness(1.65);
  mask-image: linear-gradient(140deg, transparent 20%, #000a 67%, #000 100%);
}
.about-experience > strong { display: block; font-size: clamp(4.25rem, 10vw, 8rem); line-height: .9; letter-spacing: -.08em; font-weight: 760; }
.about-experience > strong span { color: var(--accent); }
.about-experience h2 { font-size: 1.25rem; margin: .85rem 0 .35rem; }
.about-experience p { max-width: 34ch; color: var(--muted); margin: 0; }
.about-method, .about-ai, .data-handling, .ai-coverage { border-block-start: 1px solid var(--line); }
.about-method { background: #100c15; }
.method-steps, .coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding: 0;
  margin: 1.5rem 0 0;
}
.method-steps { list-style: none; counter-reset: method; }
.method-steps > li, .coverage-grid > article { border-top: 1px solid #65417d; padding-top: 1.15rem; }
.method-steps > li::before {
  counter-increment: method;
  content: counter(method, decimal-leading-zero);
  display: block;
  color: var(--accent);
  font: 600 .85rem/1.3 ui-monospace, monospace;
  letter-spacing: .1em;
}
.method-steps h3, .coverage-grid h3 { margin: .5rem 0 .35rem; font-size: 1.18rem; }
.method-steps p, .coverage-grid ul, .data-grid dd, .about-ai-details dd { color: var(--muted); }
.method-steps p { margin: 0 0 .6rem; }
.about-ai {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(1.25rem, 5vw, 4.5rem);
}
.about-ai .section-intro { max-width: 34ch; margin-bottom: 0; }
.about-ai-details {
  margin: 0;
  padding: 0 clamp(1.15rem, 3vw, 1.9rem);
  border: 1px solid #584066;
  border-radius: .7rem;
  background: linear-gradient(135deg, #21152c, #14101a 75%);
}
.about-ai-details > div { padding-block: 1.2rem; }
.about-ai-details > div + div { border-top: 1px solid var(--line); }
.about-ai-details dt { font-size: 1.1rem; font-weight: 700; }
.about-ai-details dd { margin: .35rem 0 0; max-width: 64ch; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line); border-radius: .65rem; overflow: hidden; }
.data-grid > div { padding: clamp(1.15rem, 2.5vw, 1.75rem); background: #14101a; }
.data-grid dt { font-size: 1.13rem; font-weight: 700; }
.data-grid dd { margin: .45rem 0 0; max-width: 62ch; }
.about-final h2 { margin-bottom: .7rem; }
.about-final > p { max-width: 55ch; color: var(--muted); }
.ai-boundaries { background: linear-gradient(135deg, #231531, #151019); }
.ai-boundaries dl { margin: .9rem 0 0; }
.ai-boundaries dl > div { border-top: 1px solid var(--line); padding: .9rem 0; }
.ai-boundaries dl > div:last-child { padding-bottom: 0; }
.ai-boundaries dt { font-weight: 700; }
.ai-boundaries dd { margin: .2rem 0 0; color: var(--muted); }
.coverage-grid ul { margin: .55rem 0 0; padding-left: 1.2rem; }
.coverage-grid li + li { margin-top: .35rem; }
.community-offer, .ai-red-teaming {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
main > .community-offer {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-block: clamp(1.65rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 90% 80%, #251630, transparent 62%), #15101a;
}
.community-offer h2 { max-width: 30ch; font-size: clamp(1.45rem, 2.5vw, 2.15rem); }
.community-offer .section-intro, .ai-red-teaming aside p { margin-bottom: 0; }
.ai-red-teaming { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #140f1b; }
.ai-red-teaming aside h3 { margin: 0 0 .6rem; }
.ai-red-teaming aside p { color: var(--muted); margin-top: 0; }
.pentest-hero, .ai-hero { position: relative; isolation: isolate; }
.pentest-hero::before, .ai-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("../img/digital-city.png") right 3vw bottom -2.5rem / clamp(35rem, 72vw, 62rem) auto no-repeat;
  filter: brightness(1.55);
  mask-image: linear-gradient(90deg, transparent 17%, #0003 38%, #000 77%, #0005);
}
.ai-hero::before {
  background-position: right 0 bottom -7rem;
  filter: brightness(1.8) saturate(1.45) hue-rotate(49deg);
}
.ai-hero .ai-boundaries { background: linear-gradient(135deg, #231531e8, #151019ec); }

.offer-tier-row { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; margin-bottom: .75rem; }
.offer-tier-row label { margin: 0; }
.price-bands summary { cursor: pointer; color: var(--link); font-weight: 700; }
.price-bands ul { max-width: 26rem; list-style: none; padding: 0; margin-bottom: 0; }
.price-bands li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.service-details:has([data-for-service]:not([hidden])) { margin-block: .8rem 1.25rem; }
.service-details small { display: block; color: var(--muted); }
.service-details [data-for-service="external"] :is(input[type="number"], select) { block-size: 3.125rem; }

.form-section > form { padding-top: .25rem; }
.form-section .step { border-color: #46334f; background: linear-gradient(150deg, #191120, #110d15 70%); }
.service-card:has(input:checked) { background: #241631; }
.form-section .price-panel { padding: clamp(1rem, 3vw, 1.5rem); }
.blog-list > article { border-color: #5a3f70; }
.blog-list > article h2 a { text-decoration: none; }
.blog-list > article h2 a:hover { text-decoration: underline; }
.blog-list time, .article-heading .eyebrow { color: var(--link); }
.article-heading { border-bottom: 1px solid var(--line); margin-bottom: 1.35rem; }
.article-body h2 { border-top: 1px solid var(--line); padding-top: 1.05rem; }
.platform-features { border-color: var(--line); }
.platform-features article { background: #17111e; }
.platform-features article:nth-child(even) { background: #120d19; }
.platform-gallery { background: #15101d; }
@media screen {
  .report-sheet { box-shadow: 0 1.2rem 3.5rem #0008; }
}
@media (max-width: 800px) {
  .about-hero, .about-ai, .ai-hero { grid-template-columns: minmax(0, 1fr); }
  main > .community-offer, .ai-red-teaming { grid-template-columns: minmax(0, 1fr); }
  .community-offer > a { justify-self: start; }
  .offer-tier-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pentest-hero::before, .ai-hero::before {
    background-position: center bottom;
    background-size: max(100%, 30rem) auto;
    mask-image: linear-gradient(180deg, transparent 20%, #0004 45%, #000 85%, transparent);
  }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-links > a, .service-links > a:nth-child(n+4) { grid-column: auto; }
  .service-links > a:last-child { grid-column: 1 / -1; }
  #nav a[aria-current="page"]:not(.button)::after { inset: .65rem auto .65rem 0; width: 2px; height: auto; }
  #nav a:not(.button) { padding-left: .75rem; }
  .about-experience, .ai-boundaries { max-width: 38rem; }
  .method-steps, .coverage-grid { gap: 1rem; }
}
@media (max-width: 620px) {
  .method-steps, .coverage-grid, .data-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .trust, .cards.service-links, .offer-tier-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .service-links > a, .report-preview { transition: transform 180ms var(--ease-out), border-color 180ms ease; }
  .service-links > a:hover, .report-preview:hover { transform: translateY(-3px); }
}

/* External test profiles */
.threat-perspectives {
  background: radial-gradient(ellipse at 90% 0%, #21142b, transparent 65%), #100c15;
  border-bottom: 1px solid var(--line);
}
.threat-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
  margin-top: 1.5rem;
}
.threat-profile-grid > article {
  padding: clamp(1.15rem, 2.5vw, 1.7rem);
  border: 1px solid #4a3657;
  border-top: 2px solid var(--accent);
  border-radius: .6rem;
  background: #18111f;
}
.threat-profile-grid h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.threat-profile-grid p { margin: 0; color: var(--muted); }
.threat-report-note { max-width: 75ch; margin: 1.5rem 0 1.25rem; color: var(--muted); }
.threat-perspectives .actions { flex-wrap: wrap; }
@media (max-width: 680px) {
  .threat-profile-grid { grid-template-columns: minmax(0, 1fr); }
}
@media screen {
  #report-perspectives { scroll-margin-top: 5.5rem; }
}

.report-method { padding-left: 1.25rem; }
.report-method li + li { margin-top: .65rem; }
.report-table { overflow-x: auto; }
.report-table table { width: 100%; border-collapse: collapse; }
.report-table :is(th, td) { padding: .6rem .5rem; border-bottom: 1px solid var(--paper-rule); text-align: left; }
.report-trend { list-style: none; padding: 0; }
.report-trend li { padding: .7rem 0; border-top: 1px solid var(--paper-rule); break-inside: avoid; }
.report-trend progress { display: block; width: min(100%, 22rem); margin: .3rem 0; accent-color: #632e88; }
.report-trend p { margin: .25rem 0 0; }
@media screen {
  .report-sheet [id] { scroll-margin-top: 5.5rem; }
}
