:root {
  --navy: #0E6E6A;
  --navy-dark: #0A4F4C;
  --ink: #1f1f1d;
  --muted: #5f5e5a;
  --line: #e4e2dc;
  --panel: #D8F0EE;
  --sky: #9FD6D2;
  --sky-light: #D8F0EE;
  --bg: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: clamp(30px, 6vw, 44px); }
h2 { font-size: clamp(22px, 4vw, 28px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: block; text-decoration: none; }
.brand img { display: block; height: 44px; width: auto; }
/* CISO Centre logo: two links over one image. Whole logo -> CISO Centre page; the 'by Cyberhead Advisors' line -> site homepage. */
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle-bar { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 1px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }

@media (max-width: 639px) {
  .brand img { height: 36px; }
  .js .nav-toggle { display: block; }
  .js .nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 10px 0; border-top: 1px solid var(--line); }
}

.hero {
  padding: 72px 0 64px;
  color: #fff;
  background-color: var(--navy-dark);
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero h1 { color: #fff; }
.hero-rule { width: 48px; height: 3px; background: var(--sky); margin-bottom: 20px; }
.hero p.lead { font-size: 19px; color: var(--sky-light); max-width: 640px; margin-bottom: 28px; }
.hero a:not(.button) { color: #fff; }
.hero .button { background: #fff; color: var(--navy-dark); }
.hero .button:hover { background: var(--sky-light); color: var(--navy-dark); }
.hero .person { flex-wrap: wrap; align-items: flex-start; }
.hero .person > div { flex: 1 1 260px; }
.hero .headshot { flex-basis: 112px; width: 112px; height: 112px; border: 3px solid rgba(255,255,255,0.85); }

.section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-label { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { background: var(--panel); border-radius: 10px; padding: 18px 20px; }
.tile h3 { margin-bottom: 6px; }
.tile p:last-child { margin-bottom: 0; }

.figure { background: var(--panel); border-radius: 10px; padding: 18px 20px; }
.figure .num { font-family: var(--serif); font-size: clamp(30px, 7vw, 40px); line-height: 1; color: var(--navy); display: block; margin-bottom: 6px; }
.figure .label { font-size: 15px; color: var(--muted); }

.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .price { font-weight: 500; }

.steps { padding-left: 1.2em; margin: 0; }
.steps li { margin-bottom: 6px; }

.person { display: flex; gap: 18px; align-items: center; }
.headshot { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.initials { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; background: var(--panel); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; }

.qa dt { font-weight: 500; margin-top: 14px; }
.qa dd { margin: 4px 0 0; color: var(--muted); }

.door { display: block; background: var(--panel); border-radius: 10px; padding: 20px 22px; text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.door:hover { border-color: var(--navy); color: var(--ink); }
.door h3 { color: var(--navy); }
.door p { margin: 0; color: var(--muted); font-size: 16px; }

.button { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 8px; font-size: 16px; }
.button:hover { background: var(--navy-dark); color: #fff; }
.button-secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.button-secondary:hover { background: var(--panel); color: var(--navy-dark); }

.note { font-size: 15px; color: var(--muted); }

.site-footer { background: var(--navy-dark); padding: 28px 0 40px; font-size: 14px; color: var(--sky-light); }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }

/* The CISO Centre pages: same components, green colours */
.price-tag { font-weight: 500; color: var(--navy-dark); margin: 10px 0 0; }

/* Deal timeline: drawn as a line with stage markers; stacks on phones */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 2px; background: var(--sky); }
.timeline li { position: relative; padding-top: 26px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.timeline .stage { display: block; font-family: var(--serif); font-size: 18px; color: var(--navy-dark); margin-bottom: 4px; }
.timeline .role { display: block; font-size: 15px; color: var(--muted); line-height: 1.4; }
@media (max-width: 639px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; padding-left: 26px; }
  .timeline::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -26px; top: 4px; }
}

/* Section illustrations */
.illus { display: block; width: 100%; max-width: 560px; height: auto; margin: 4px 0 20px; }
.illus-small { max-width: 240px; }

/* How we work: numbered stages, each split into what happens / you get / why it matters */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.flow-stage { background: var(--panel); border-radius: 10px; padding: 18px 20px; }
.flow-stage h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.flow-num { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; }
.flow-parts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px; margin: 0; }
.flow-parts dt { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); margin-top: 6px; }
.flow-parts dd { margin: 0; }
@media (min-width: 760px) {
  .flow-parts { grid-template-columns: 9.5em minmax(0, 1fr); }
  .flow-parts dt { margin-top: 3px; }
}
.flow-parts dt:last-of-type + dd { font-weight: 500; color: var(--navy-dark); }
