/* Cordon — NeoSur Intelligence NV
   Design tokens derived from the NeoSur mark: brand blue #0078C0. */

:root {
  --bg: #08090c;
  --bg-raised: #0c0e13;
  --surface: #101318;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ecf1;
  --muted: #99a3b2;
  --faint: #6b7480;
  --accent: #0a84d8;
  --accent-hi: #4fb8f5;
  --accent-dim: rgba(10, 132, 216, 0.14);
  --warn: #e0a458;
  --radius: 4px;
  --max: 1120px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

.table-wrap { overflow-x: auto; }

::selection { background: rgba(10, 132, 216, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-hi); }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark { width: auto; height: 33px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-size: 15px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text);
}

.brand-parent {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 3px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
}

.nav a { color: var(--muted); transition: color 0.15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: var(--radius);
  padding: 7px 11px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #1590e8; color: #fff; }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.03); }

.btn .arrow { font-family: var(--mono); opacity: 0.7; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; margin: 0; font-weight: 600; }

h1 { font-size: clamp(2.5rem, 5.4vw, 4.05rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}

.mono { font-family: var(--mono); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 132px) 0 clamp(60px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(10, 132, 216, 0.16), transparent 62%),
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 96px 96px, 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero h1 { max-width: 19ch; }
.hero .lede { margin-top: 26px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.hero-meta span::before {
  content: "▚";
  color: var(--accent);
  margin-right: 8px;
  font-size: 10px;
}

/* ---------- sections ---------- */

section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(44px, 5vw, 64px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head p { color: var(--muted); margin: 0; max-width: 46ch; }

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > * { min-width: 0; }

/* plain two-column split, no card seams */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}
.split > * { min-width: 0; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

.card {
  background: var(--bg);
  padding: 30px 28px;
  min-width: 0;
  transition: background 0.18s ease;
}
.card:hover { background: var(--bg-raised); }

.card .num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- statement band ---------- */

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 132, 216, 0.06), transparent 70%);
}

.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.quote {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0;
}
.quote em { color: var(--accent-hi); font-style: normal; }

/* ---------- lists ---------- */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.check-list strong { color: var(--text); font-weight: 550; }

/* ---------- severity table ---------- */

.sev { width: 100%; border-collapse: collapse; font-size: 15px; }
.sev th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--line-strong);
}
.sev td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.sev td:first-child { color: var(--text); font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.sev tr:last-child td { border-bottom: 0; }

/* ---------- code block ---------- */

.code {
  background: #06070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: #c3ccd9;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}
.code .k { color: var(--accent-hi); }
.code .c { color: var(--faint); }

/* ---------- pricing ---------- */

.price-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 40px;
  background: linear-gradient(180deg, rgba(10, 132, 216, 0.08), transparent 55%), var(--bg-raised);
}

.price {
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 6px;
}
.price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }

/* ---------- CTA ---------- */

.cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(10, 132, 216, 0.12), transparent 70%),
    var(--bg);
  text-align: center;
  padding: clamp(72px, 9vw, 110px) 0;
}
.cta h2 { max-width: 24ch; margin: 0 auto 22px; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 34px; }
.cta .btn { margin: 0 5px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 14px;
  color: var(--faint);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.site-footer img { height: 42px; width: auto; opacity: 0.6; margin-bottom: 18px; }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 14px;
}
.footer-col a { display: block; padding: 4px 0; color: var(--faint); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-size: 13px;
}

/* ---------- page hero (interior) ---------- */

.page-hero {
  padding: clamp(60px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(10, 132, 216, 0.13), transparent 62%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.page-hero .lede { margin-top: 22px; }

/* ---------- forms ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }

.contact-block { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-block h3 { margin-bottom: 8px; }
.contact-block p { color: var(--muted); font-size: 15px; }

.contact-block a.mail {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent-hi);
  word-break: break-all;
}

/* ---------- utilities ---------- */

.stack-lg > * + * { margin-top: 28px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.center { text-align: center; }
.small { font-size: 13.5px; color: var(--faint); }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  border: 1px solid rgba(79, 184, 245, 0.3);
  border-radius: 2px;
  padding: 3px 8px;
  margin-bottom: 14px;
}

/* ---------- no-JS fallback ---------- */

@media (max-width: 680px) {
  .no-js .nav {
    display: flex;
    position: static;
    flex-direction: column;
    padding: 0;
    border: 0;
    background: none;
  }
  .no-js .nav-toggle { display: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band .wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #0a0c11;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; width: 100%; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .brand-parent { display: none; }
  .price-card { padding: 28px; }
  .footer-top { grid-template-columns: 1fr; }
}
