/* Hybrid Cybersecurity — self-contained stylesheet, no external requests. */

:root {
  color-scheme: dark;

  --field:   #0B1020;   /* deep blue field (not tinted black) */
  --panel:   #10172B;
  --panel-2: #141D36;
  --line:    #222C49;
  --line-soft:#1A2238;

  --text:    #E9ECF5;
  --muted:   #9AA3B8;
  --muted-2: #717A93;

  --azure:      #5B8DEF;   /* the machine side / primary accent */
  --azure-bright:#86AAFF;
  --amber:      #E6A94C;   /* the human side — used only at the seam */

  --ui: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --measure: 64ch;
  --container: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--field);
  color: var(--text);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A faint depth gradient in the field, pooled toward the top — space, not wallpaper. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(91,141,239,0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(230,169,76,0.05), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap { position: relative; z-index: 1; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

a { color: var(--azure-bright); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--azure-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,0.72);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .mark { width: 22px; height: 22px; display: block; }
.brand .name { font-weight: 600; letter-spacing: -0.01em; }
.brand .by { color: var(--muted-2); font-weight: 400; font-size: 13px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .cta-link { color: var(--text); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font: inherit; font-weight: 550; font-size: 16px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--azure); color: #0A0F1E; }
.btn-primary:hover { background: var(--azure-bright); color: #0A0F1E; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--azure); color: var(--text); }

/* ---------- Hero ---------- */

.hero { padding: clamp(64px, 12vw, 128px) 0 clamp(48px, 8vw, 88px); }
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  max-width: 17ch;
}
.seam {
  height: 2px; margin: 30px 0 28px; max-width: 520px;
  background: linear-gradient(90deg, var(--amber), var(--azure));
  transform-origin: left center;
  animation: seam-draw 1.1s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes seam-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero .lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 32px;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.creds { display: flex; flex-wrap: wrap; gap: 0; }
.creds span {
  padding: 2px 18px; color: var(--muted); font-size: 14px;
  border-left: 1px solid var(--line);
}
.creds span:first-child { padding-left: 0; border-left: none; }

/* ---------- Sections ---------- */

section { padding: clamp(48px, 8vw, 84px) 0; }
.section-line { border-top: 1px solid var(--line-soft); }
.eyebrow {
  color: var(--azure); font-size: 14px; font-weight: 600;
  margin: 0 0 14px; letter-spacing: 0;
}
.section-title { font-size: clamp(24px, 3.4vw, 34px); max-width: 20ch; }
.section-intro { color: var(--muted); max-width: var(--measure); margin-top: 16px; }

/* Offer block */
.offer {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: clamp(24px, 4vw, 40px);
}
.offer h3 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 14px; }
.offer p { color: var(--muted); max-width: var(--measure); margin: 0 0 18px; }
.offer .includes { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.offer .includes li { padding-left: 26px; position: relative; color: var(--text); }
.offer .includes li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; border-radius: 2px;
  background: linear-gradient(135deg, var(--amber), var(--azure));
}

/* Services — a definition list, not identical cards */
.services { margin-top: 30px; }
.service { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.service:first-child { border-top: none; }
.service h3 { font-size: 20px; margin-bottom: 8px; }
.service p { color: var(--muted); max-width: var(--measure); margin: 0; }
.service .tag { color: var(--azure); font-size: 13px; font-weight: 600; margin-bottom: 10px; }

/* Steps — genuine sequence, so numbered */
.steps { margin-top: 34px; display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 18px 0; align-items: baseline; }
.step + .step { border-top: 1px solid var(--line-soft); }
.step .n { font-size: 15px; color: var(--azure); font-weight: 650; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; max-width: 58ch; }

/* Domains tested — compact grid, hairline separated */
.domains { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.domain { background: var(--panel); padding: 20px; }
.domain h3 { font-size: 16px; margin-bottom: 6px; }
.domain p { color: var(--muted); font-size: 14px; margin: 0; }

/* Frameworks row */
.frameworks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.framework {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; color: var(--text); font-size: 14px;
}
.framework em { color: var(--muted-2); font-style: normal; }

/* Vision teaser */
.teaser { margin-top: 30px; }
.teaser .pull {
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.3; color: var(--text); max-width: 24ch;
  margin: 0 0 22px;
}

/* ---------- Vision page ---------- */
.vision-hero { padding: clamp(72px, 12vw, 130px) 0 clamp(28px, 5vw, 52px); }
.vision-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5.4vw, 54px); max-width: 16ch; letter-spacing: -0.01em; }
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.72; color: #DCE1EE; max-width: 60ch; }
.prose p { margin: 0 0 24px; }
.prose .big {
  font-size: clamp(22px, 3vw, 28px); line-height: 1.4; color: var(--text);
  border-left: 2px solid; border-image: linear-gradient(180deg, var(--amber), var(--azure)) 1;
  padding-left: 22px; margin: 36px 0;
}
.prose .credit { font-family: var(--ui); font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line-soft); padding: 48px 0 56px; margin-top: 24px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot-grid p { color: var(--muted); margin: 0 0 6px; max-width: 42ch; }
.foot-contact a { display: inline-block; margin-top: 6px; }
.foot-legal { color: var(--muted-2); font-size: 13px; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .domains { grid-template-columns: 1fr 1fr; }
  .creds span { padding: 2px 12px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .domains { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .seam { transform: none; }
}
