:root {
  --navy: #071a2d;
  --navy-2: #0d2944;
  --green: #2b8f69;
  --green-light: #dff4eb;
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #edf1f5;
  --gray-300: #c9d2dc;
  --gray-600: #566473;
  --gray-800: #22303c;
  --danger: #c64b4b;
  --warning: #d8902f;
  --success: #2b8f69;
  --shadow: 0 18px 45px rgba(7, 26, 45, 0.10);
  --radius: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  background: var(--white);
  padding: .7rem 1rem;
  border-radius: 8px;
}

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

.narrow { width: min(calc(100% - 2rem), 820px); }
.center { text-align: center; }

.section { padding: 88px 0; }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--navy); color: var(--white); }

.section-kicker,
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 .8rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: none; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 15ch; }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), #4db58c);
  color: var(--white);
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 1.2rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 700;
  font-size: .92rem;
}
.main-nav a:hover,
.main-nav a:focus { color: var(--green); }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--gray-300);
  background: var(--white);
  padding: .55rem .8rem;
  border-radius: 9px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  padding: .95rem 1.25rem;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(43,143,105,.22);
}
.button:hover, .button:focus { filter: brightness(.95); transform: translateY(-1px); }
.button-small { padding: .7rem 1rem; font-size: .9rem; }
.button-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--gray-300);
  box-shadow: none;
}

.hero {
  padding-top: 100px;
  background:
    radial-gradient(circle at 85% 20%, rgba(43,143,105,.16), transparent 28%),
    linear-gradient(180deg, #ffffff, #f6faf8);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 4.8vw, 5rem);
  line-height: 1.05;
  max-width: 100%;
  margin-bottom: 2rem;
}

.hero-copy {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 62ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-row span {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  padding: .45rem .75rem;
  font-size: .86rem;
  font-weight: 700;
  color: var(--gray-600);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: contain;
}
.network-core,
.network-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  z-index: 2;
}
.network-core {
  width: 170px;
  height: 170px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: linear-gradient(145deg, var(--green), #17684a);
  text-align: center;
  padding: 1rem;
}
.network-core small { display: block; font-size: .75rem; opacity: .9; }
.shield { font-size: 2rem; }
.network-node {
  width: 74px;
  height: 74px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 900;
}
.node-a { left: 12%; top: 20%; }
.node-b { right: 12%; top: 16%; }
.node-c { left: 15%; bottom: 14%; }
.node-d { right: 10%; bottom: 20%; }
.pulse-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.ring-one { width: 290px; height: 290px; }
.ring-two { width: 410px; height: 410px; }

.card-grid { display: grid; gap: 1.3rem; margin-top: 2.2rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(7,26,45,.05);
}
.card p { color: var(--gray-600); margin-bottom: 0; }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
  font-weight: 900;
  margin-bottom: 1rem;
}
.dark-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  box-shadow: none;
}
.dark-card p { color: #c8d5df; }

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}
.workflow-step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
}
.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 1rem;
}
.disclaimer {
  margin-top: 1.4rem;
  color: var(--gray-600);
  font-size: .9rem;
}
.disclaimer.light { color: #c8d5df; }

.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.metric {
  padding: 1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
}
.metric span, .metric small { display: block; color: var(--gray-600); font-size: .8rem; }
.metric strong { display: block; font-size: 1.35rem; margin-top: .4rem; }

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.2rem;
}
.alert-list { display: grid; gap: .8rem; }
.alert-card {
  text-align: left;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}
.alert-card.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43,143,105,.12);
}
.alert-card strong,
.alert-card small { display: block; }
.alert-card small { color: var(--gray-600); margin-top: .25rem; }

.priority {
  display: inline-block;
  padding: .2rem .5rem;
  border-radius: 999px;
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  margin-bottom: .55rem;
}
.priority.high { background: var(--danger); }
.priority.medium { background: var(--warning); }
.priority.low { background: var(--success); }

.explanation-panel {
  border-radius: var(--radius);
  padding: 1.7rem;
  background: var(--navy);
  color: var(--white);
}
.panel-label {
  color: #9fb4c4;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-weight: 800;
}
.action-box {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
}
.action-box span,
.action-box strong { display: block; }
.action-box span { color: #9fb4c4; font-size: .78rem; }

.sustainability-section {
  background: linear-gradient(180deg, #f1faf6, #ffffff);
}
.lead { font-size: 1.15rem; max-width: 72ch; color: var(--gray-600); }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin: 1.5rem 0;
}
.choice-grid label {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .95rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.choice-grid label:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
}

.pilot-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}
.pilot-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.pilot-grid ul { padding-left: 1.2rem; }

.form-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
}
.contact-note {
  margin-top: 2rem;
  border-left: 4px solid var(--green);
  padding-left: 1rem;
}
form {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
label {
  font-weight: 700;
  font-size: .92rem;
}
input, select, textarea {
  width: 100%;
  margin-top: .4rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: .8rem .85rem;
  background: var(--white);
  color: var(--gray-800);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(43,143,105,.16);
  border-color: var(--green);
}
.full-width { grid-column: 1 / -1; }
.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.consent input {
  width: auto;
  margin-top: .25rem;
}
.form-message { min-height: 1.5rem; color: var(--green); font-weight: 700; }
.form-message.error { color: var(--danger); }

.final-cta {
  background: var(--green-light);
}

.site-footer {
  padding: 2.5rem 0;
  background: #04111f;
  color: #b8c7d2;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.site-footer a { color: var(--white); }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: grid;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 70px;
    background: var(--white);
    padding: 1rem;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    border-radius: 14px;
  }
  .nav-wrap > .button-small { display: none; }
  .hero-grid,
  .form-layout,
  .pilot-grid { grid-template-columns: 1fr; }
  .card-grid.four,
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { min-height: 400px; }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .card-grid.four,
  .card-grid.three,
  .workflow,
  .metrics,
  .dashboard-layout,
  .choice-grid,
  .form-grid,
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.75rem; }
  .hero { padding-top: 72px; }
  .hero-visual { min-height: 350px; }
  .full-width { grid-column: auto; }
}

/* Top-right login menu (two portals) */
.auth-links { display: inline-flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* Honeypot field — hidden from humans, visible to bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
