:root {
  --bg: #07120f;
  --surface: rgba(7, 18, 15, 0.72);
  --surface-strong: rgba(13, 31, 27, 0.92);
  --text: #eef8f2;
  --muted: #a9bbb1;
  --line: rgba(174, 244, 205, 0.18);
  --accent: #66e39e;
  --accent-strong: #31c9c4;
  --warning: #f0c35a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 70% 20%, rgba(49, 201, 196, 0.2), transparent 34%),
    linear-gradient(135deg, #07120f 0%, #0d1f1b 45%, #132217 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 18, 15, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(102, 227, 158, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(102, 227, 158, 0.24), rgba(49, 201, 196, 0.12));
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--text);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  min-height: calc(100vh - 78px);
  padding: 64px 0 42px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-insight {
  max-width: 680px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.6);
}

.hero-insight span {
  display: block;
  margin-bottom: 8px;
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-insight p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #04120c;
  box-shadow: 0 18px 48px rgba(102, 227, 158, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.panel-header strong {
  color: var(--accent);
}

dl {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
}

dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 18px;
  background: var(--surface-strong);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.section,
.method,
.contact {
  padding: 84px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.service-grid article,
.metric-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.68);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--warning);
  font-weight: 800;
}

.service-grid p,
.metric-grid p,
.method span,
.contact p {
  color: var(--muted);
}

.metric-grid a,
.source-grid a {
  color: var(--accent);
  font-weight: 800;
}

.metric-grid a:hover,
.source-grid a:hover {
  color: var(--text);
}

.section-copy {
  max-width: 880px;
  margin-bottom: 28px;
  color: var(--muted);
}

.wide-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.68);
  box-shadow: var(--shadow);
}

.wide-panel h2 {
  margin-bottom: 18px;
}

.wide-panel h3 {
  margin-bottom: 20px;
}

.wide-panel p {
  color: var(--muted);
}

.market-list {
  display: grid;
  gap: 16px;
}

.market-list p {
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.market-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.question-grid article {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.68);
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 700;
}

.dashboard-preview {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 13, 22, 0.78);
  box-shadow: var(--shadow);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-header div {
  display: grid;
  gap: 6px;
}

.dashboard-header strong {
  color: var(--text);
  font-size: 1.18rem;
}

.dashboard-header span,
.risk-card small,
.breakdown-panel footer {
  color: var(--muted);
}

.dashboard-header button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.finance-cards,
.dashboard-lower {
  display: grid;
  gap: 14px;
}

.finance-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.dashboard-lower {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.risk-card,
.breakdown-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 24, 38, 0.82);
}

.risk-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
}

.risk-card span {
  color: var(--muted);
  font-weight: 800;
}

.risk-card strong {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: 0;
}

.risk-card.critical {
  background: linear-gradient(135deg, rgba(170, 36, 55, 0.42), rgba(12, 24, 38, 0.82));
}

.risk-card.legal {
  background: linear-gradient(135deg, rgba(112, 38, 25, 0.34), rgba(12, 24, 38, 0.82));
}

.risk-card.breach {
  background: linear-gradient(135deg, rgba(120, 78, 18, 0.34), rgba(12, 24, 38, 0.82));
}

.risk-card.downtime {
  background: linear-gradient(135deg, rgba(31, 82, 145, 0.32), rgba(12, 24, 38, 0.82));
}

.mini-bar,
.bar-row div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-bar i,
.bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.critical .mini-bar i,
.critical-row i {
  background: #ff5a68;
}

.legal .mini-bar i,
.high-row i {
  background: #d77b31;
}

.breach .mini-bar i,
.medium-row i {
  background: #d6bc37;
}

.downtime .mini-bar i,
.low-row i {
  background: #4388ff;
}

.breakdown-panel {
  padding: 20px;
}

.breakdown-panel h3 {
  margin-bottom: 18px;
  color: var(--text);
  text-transform: uppercase;
}

.bar-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bar-row span,
.bar-row strong {
  font-size: 0.86rem;
  font-weight: 800;
}

.bar-row span {
  color: var(--muted);
  text-transform: uppercase;
}

.bar-row strong {
  color: var(--text);
  text-align: right;
}

.cis-row i,
.nist-row i {
  background: #7b6dff;
}

.lgpd-row i {
  background: #2ad391;
}

.iso-row i,
.iso2-row i {
  background: #98a2b3;
}

.breakdown-panel footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 18px;
  padding: 0;
  border: 0;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.source-grid a {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 18, 15, 0.68);
}

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

.source-grid span {
  color: var(--muted);
  font-weight: 500;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method li {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-left: 3px solid var(--accent-strong);
  background: rgba(255, 255, 255, 0.045);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact div {
  max-width: 640px;
}

footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header,
  .contact,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-heading,
  .service-grid,
  .metric-grid,
  .question-grid,
  .finance-cards,
  .dashboard-lower,
  .source-grid,
  .service-grid.two-columns,
  .method {
    grid-template-columns: 1fr;
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .service-grid article {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 16px 14px;
  }

  .button {
    width: 100%;
  }
}
