:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0a1728;
  --surface: #0d1b2c;
  --surface-2: #10263d;
  --surface-3: #132d47;
  --text: #f4f8fc;
  --muted: #9eb2c7;
  --line: rgba(186, 213, 238, 0.16);
  --accent: #42d6c6;
  --accent-strong: #5ce8d8;
  --blue: #76aaff;
  --warning: #f0cb70;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(59, 123, 210, 0.13), transparent 31rem),
    radial-gradient(circle at 9% 22%, rgba(66, 214, 198, 0.09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  border-radius: .6rem;
  background: var(--text);
  color: var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.89);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: .01em;
}

.brand small {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
}

nav a {
  padding: .52rem .72rem;
  border-radius: .6rem;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

main {
  min-height: 60vh;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
}

.hero {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 7.4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent-strong);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.7rem, 5.15vw, 4.85rem);
  line-height: 1.01;
  letter-spacing: -.052em;
}

.page-hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.25rem);
}

.hero .lede,
.page-hero .lede {
  max-width: 760px;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .72rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: .72rem;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #031715;
}

.button:hover {
  transform: translateY(-1px);
}

.assurance-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  justify-self: end;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 65%),
    var(--surface);
  box-shadow: var(--shadow);
}

.assurance-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -55px;
  top: -55px;
  border-radius: 50%;
  background: rgba(66, 214, 198, .13);
  filter: blur(15px);
}

.panel-label {
  position: relative;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.signal {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}

.signal:first-of-type {
  border-top: 0;
}

.signal-dot {
  width: 11px;
  height: 11px;
  margin-left: .4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(66, 214, 198, .09);
}

.signal strong {
  display: block;
  font-size: .92rem;
}

.signal small {
  color: var(--muted);
}

.signal-state {
  color: var(--accent-strong);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.trust-strip {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 5rem;
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.025);
  color: var(--muted);
  font-size: .87rem;
}

.trust-strip span::before {
  content: "✓";
  margin-right: .55rem;
  color: var(--accent);
  font-weight: 900;
}

.section {
  padding: 5.3rem 0;
  border-top: 1px solid var(--line);
}

.section.soft {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.018),
    rgba(255,255,255,.005)
  );
}

.section-head {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.section-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.025);
}

.card h3 {
  margin: 0 0 .55rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(66,214,198,.36);
  border-radius: .55rem;
  background: rgba(66,214,198,.07);
  color: var(--accent-strong);
  font-size: .78rem;
  font-weight: 800;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

.flow-step {
  position: relative;
  padding: 1.2rem;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -.75rem;
  z-index: 3;
  color: var(--accent);
}

.flow-step strong {
  display: block;
  margin-bottom: .45rem;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.badge {
  display: inline-flex;
  margin-bottom: .85rem;
  padding: .28rem .5rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  color: var(--accent-strong);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.callout {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 .8rem .8rem 0;
  background: rgba(66,214,198,.055);
  color: var(--muted);
}

.callout strong {
  color: var(--text);
}

.page-hero {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 5.8rem 0 3.7rem;
}

.content {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  padding: 0 0 6rem;
}

.content.wide {
  width: min(calc(100% - 2rem), var(--max));
}

.content section {
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

.content h2 {
  margin: 0 0 .7rem;
  font-size: 1.65rem;
  letter-spacing: -.025em;
}

.content h3 {
  margin: 1.6rem 0 .55rem;
}

.content p,
.content li {
  color: var(--muted);
}

.content a {
  color: var(--accent-strong);
}

.content ul,
.content ol {
  padding-left: 1.25rem;
}

.content li + li {
  margin-top: .45rem;
}

.legal-meta {
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: rgba(255,255,255,.025);
  color: var(--muted);
}

.code-lite {
  padding: .15rem .38rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: rgba(255,255,255,.04);
  color: #dceafd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
}

.support-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin: 1.8rem 0;
  padding: 1.5rem;
  border: 1px solid rgba(66,214,198,.28);
  border-radius: 1rem;
  background: rgba(66,214,198,.045);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050d17;
}

.footer-grid {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.4rem;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .48rem;
}

.footer-grid a:not(.brand) {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-note {
  max-width: 360px;
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .87rem;
}

.footer-bottom {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 1.15rem 0 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: #6f849a;
  font-size: .73rem;
}

@media (max-width: 900px) {
  .nav-shell {
    padding: .8rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: .6rem;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .hero-grid,
  .section-head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid.three,
  .grid.two,
  .flow {
    grid-template-columns: 1fr 1fr;
  }

  .flow-step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  nav a {
    padding: .42rem .55rem;
    font-size: .8rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .grid.three,
  .grid.two,
  .flow,
  .footer-grid,
  .support-box {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }
}

/* SecuraVouch brand-system integration — MKT-WEB-3 */
.brand-lockup { line-height: 1; }
.brand-lockup img { width: auto; height: auto; max-width: none; border-radius: 0; }
.header-lockup img { width: 202px; }
.footer-lockup img { width: 224px; }
@media (max-width: 620px) {
  .header-lockup img { width: 176px; }
  .footer-lockup img { width: 196px; }
}

/* securagen.ai parent-company branding — MKT-WEB-4 */
.parent-brand {
  margin-top: 1.05rem;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
}

.parent-brand > span {
  color: var(--muted);
  font-size: .68rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.parent-brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.parent-brand img {
  display: block;
  width: 168px;
  height: auto;
  max-width: 100%;
}

@media (max-width: 620px) {
  .parent-brand img { width: 150px; }
}

/* Final brand-scale polish */
.site-header .brand img {
  height: 44px;
  width: auto;
}

.footer-brand img {
  height: 42px;
  width: auto;
}

.parent-brand img,
.footer-parent-brand img {
  width: 135px;
  height: auto;
  opacity: 1;
}

@media (max-width: 620px) {
  .site-header .brand img {
    height: 38px;
  }

  .parent-brand img,
  .footer-parent-brand img {
    width: 118px;
  }
}
