/* =========================================================================
   ZZ Keys design system
   One stylesheet, shared by every page.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */

:root {
  /* Surfaces, darkest to lightest */
  --bg:            #0F1211;
  --bg-2:          #121715;
  --surface:       #191E1C;
  --surface-2:     #1F2523;
  --surface-3:     #262E2B;

  /* Lines */
  --border:        #2A322F;
  --border-strong: #3A4441;

  /* Text scale */
  --text:          #ECF0EE;
  --muted:         #AEBAB5;
  --dim:           #8A9995;

  /* Accent */
  --accent:        #7FC9A4;
  --accent-bright: #A9E3C6;
  --accent-deep:   #4C8E6E;
  --forest:        #1B3A2F;
  --forest-2:      #22483A;
  --accent-soft:   rgba(127, 201, 164, 0.12);
  --accent-line:   rgba(127, 201, 164, 0.30);

  /* Signal colour, used sparingly for caution states */
  --amber:         #C99A7F;

  /* Gradients */
  --grad-rule:     linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  --grad-surface:  linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  --grad-forest:   linear-gradient(135deg, #22483A 0%, #16241F 60%, #111614 100%);

  /* Geometry */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.48);

  --maxw: 1200px;
  --gutter: 28px;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset and base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 0.55em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.1vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); letter-spacing: -0.014em; }
h4 { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.008em; }

p { margin: 0 0 1.15em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-bright); }

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

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; color: var(--muted); }
li { margin-bottom: 0.4em; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

strong { color: var(--text); font-weight: 600; }

::selection { background: var(--accent); color: var(--bg); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: var(--bg);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Layout ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.section {
  padding-block: clamp(64px, 8vw, 108px);
}
.section--tight { padding-block: clamp(48px, 5.5vw, 72px); }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--border); }

/* Grid and flex children default to min-width:auto, which lets wide content
   (long select options, nowrap prices) push the whole track past the viewport.
   Resetting it keeps every layout inside its container on narrow screens. */
.grid > *,
.split > *,
.hero-grid > *,
.cta-split > *,
.price-grid > *,
.form-grid > *,
.steps > *,
.stats > *,
.cap-strip > *,
.tier-row > * { min-width: 0; }

.grid { display: grid; gap: 24px; }
.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)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.15fr; }

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 22px; }

/* ---------- 4. Section headers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-rule);
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.06rem; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  line-height: 1.62;
}

/* ---------- 5. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease),
              border-color 0.22s var(--ease), color 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #0C100E;
  box-shadow: 0 8px 24px rgba(76, 142, 110, 0.22);
}
.btn-primary:hover {
  background: var(--accent-bright);
  color: #0C100E;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(76, 142, 110, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--accent-line);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-quiet {
  background: transparent;
  color: var(--accent);
  padding: 6px 0;
  border-radius: 4px;
}
.btn-quiet:hover { color: var(--accent-bright); }
.btn-quiet svg { transition: transform 0.22s var(--ease); }
.btn-quiet:hover svg { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- 6. Pills and tags ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-bright);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pill svg { width: 15px; height: 15px; }
.pill--quiet {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.79rem;
  font-weight: 500;
}

/* ---------- 7. Cards ---------- */

.card {
  position: relative;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

.card--flat:hover { transform: none; box-shadow: none; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; }

.card-icon--sm {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  margin-bottom: 16px;
}
.card-icon--sm svg { width: 19px; height: 19px; }

.card-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

/* Pillar card, used for the two headline service lines */
.pillar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  border-radius: var(--r-xl);
  background: var(--grad-forest);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../patterns/grid.svg");
  background-size: 120px 120px;
  opacity: 0.28;
  pointer-events: none;
}
.pillar > * { position: relative; z-index: 1; }
.pillar h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

/* ---------- 8. Feature lists ---------- */

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.feature-list--check li::before {
  content: "";
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.feature-list--check li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 0.62em;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

.deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.deliverables li {
  margin: 0;
  padding: 15px 20px;
  background: var(--surface);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.93rem;
  color: var(--muted);
}
.deliverables li span:last-child {
  color: var(--dim);
  font-size: 0.84rem;
  text-align: right;
  flex: none;
}

/* ---------- 9. Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 26px 24px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num .suffix { color: var(--accent); }
.stat-label { font-size: 0.88rem; color: var(--dim); line-height: 1.45; }

/* ---------- 10. Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--grad-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px 28px 28px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.price-card--featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, #1E2E27 0%, #171D1B 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}
.price-card--featured:hover { border-color: var(--accent); }

.price-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.price-tier {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.price-badge {
  flex: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.price-for {
  font-size: 0.88rem;
  color: var(--dim);
  margin-bottom: 20px;
  min-height: 2.6em;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 4px;
}
.price-amount .currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dim);
  transform: translateY(-0.55em);
}
.price-amount .value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
}
.price-amount .period { font-size: 0.9rem; color: var(--dim); font-weight: 500; }
.price-basis {
  font-size: 0.8rem;
  color: var(--dim);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.price-card .feature-list { flex: 1; margin-bottom: 24px; }
.price-card .btn { width: 100%; }

/* Compact tier rows, used for the at-a-glance table */
.tier-rows {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.tier-row {
  display: grid;
  grid-template-columns: 1.5fr 2.2fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s var(--ease);
}
.tier-row:last-child { border-bottom: 0; }
.tier-row:hover { background: var(--surface-2); }
.tier-row-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.97rem;
}
.tier-row-desc { color: var(--dim); font-size: 0.89rem; }
.tier-row-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--accent);
  white-space: nowrap;
  text-align: right;
}
.tier-row-price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.02em;
}
.tier-group-label {
  padding: 14px 24px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 11. Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--accent);
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }
.step-meta {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--dim);
  letter-spacing: 0.02em;
}

/* ---------- 12. FAQ ---------- */

.faq {
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 24px 4px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  transition: opacity 0.25s var(--ease);
}
.faq-icon::before { left: 4px; top: 8.5px; width: 10px; height: 1.6px; }
.faq-icon::after  { left: 8.5px; top: 4px; width: 1.6px; height: 10px; }
.faq-q[aria-expanded="true"] .faq-icon { border-color: var(--accent); transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { opacity: 0; }

.faq-a {
  display: none;
  padding: 0 4px 26px;
  max-width: 780px;
}
.faq-a p { font-size: 0.97rem; }
.faq-a.is-open { display: block; }

/* ---------- 13. CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  background: var(--grad-forest);
  padding: clamp(38px, 5.5vw, 64px);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../patterns/grid.svg");
  background-size: 120px 120px;
  opacity: 0.3;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 56ch; font-size: 1.03rem; }

.cta-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* ---------- 14. Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
/* min-width:0 stops a long <option> from setting an intrinsic minimum
   width that pushes the grid wider than a narrow viewport. */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.field .hint { font-size: 0.79rem; color: var(--dim); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9995' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  padding-right: 40px;
}
/* 4.8:1 against the field background, so placeholder guidance still meets AA. */
.field input::placeholder,
.field textarea::placeholder { color: #7E8C88; opacity: 1; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #4A5652; }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
  border-color: var(--accent);
  background: var(--surface-2);
}

.form-note {
  font-size: 0.83rem;
  color: var(--dim);
  margin-top: 16px;
  line-height: 1.55;
}

/* ---------- 15. Info items ---------- */

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: 0; }
.info-item-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.info-item-icon svg { width: 20px; height: 20px; }
.info-item-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.info-item-value { color: var(--text); font-size: 0.97rem; line-height: 1.55; }
.info-item-value a { color: var(--text); border-bottom: 1px solid var(--accent-line); }
.info-item-value a:hover { color: var(--accent); }

/* ---------- 16. Notice / disclaimer ---------- */

.notice {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--amber);
}
.notice svg { flex: none; width: 20px; height: 20px; color: var(--amber); margin-top: 2px; }
.notice p { font-size: 0.9rem; color: var(--dim); margin: 0; }
.notice strong { color: var(--muted); }

/* A quiet aside rather than a caution. Used where something is worth
   mentioning but should not compete with the section it sits under. */
.notice--muted {
  border-left-color: var(--border-strong);
  background: var(--bg-2);
}
.notice--muted svg { color: var(--dim); }

/* ---------- 17. Header and nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 18, 17, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(15, 18, 17, 0.94);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { color: inherit; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.brand-name span { color: var(--muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--accent); }

/* The call-to-action inside the list exists only for the mobile dropdown.
   On desktop the one in .nav-actions is used instead. */
.nav-links > li:last-child { display: none; }
.nav-links .btn {
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-pill);
}
.nav-links .btn-primary,
.nav-links .btn-primary:hover { color: #0C100E; background: var(--accent); }
.nav-links .btn-primary:hover { background: var(--accent-bright); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  color: var(--text);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 17px;
  height: 1.7px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.7px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 18. Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-aurora {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero-aurora--a {
  width: 620px; height: 620px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(62, 138, 105, 0.5) 0%, rgba(15, 18, 17, 0) 70%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.hero-aurora--b {
  width: 520px; height: 520px;
  bottom: -240px; left: -180px;
  background: radial-gradient(circle, rgba(34, 72, 58, 0.55) 0%, rgba(15, 18, 17, 0) 70%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.hero > .container { position: relative; z-index: 1; }

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-70px, 60px, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(80px, -50px, 0) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  color: var(--dim);
}
.hero-strip-item svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; }

/* ---------- 19. Capability strip ---------- */

.cap-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}
.cap {
  background: var(--bg);
  padding: 26px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cap svg { width: 21px; height: 21px; color: var(--accent); flex: none; margin-top: 3px; }
.cap-title { font-weight: 600; color: var(--text); font-size: 0.96rem; margin-bottom: 3px; }
.cap-text { font-size: 0.85rem; color: var(--dim); line-height: 1.5; }

/* ---------- 20. Figures ---------- */

.figure {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.figure img { border-radius: var(--r-md); width: 100%; }
.figure figcaption {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--dim);
  line-height: 1.5;
}
.figure--bare {
  border: 0;
  background: none;
  padding: 0;
  box-shadow: none;
}

/* ---------- 21. Prose, used by legal pages ---------- */

.prose { max-width: 76ch; }
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--border);
}
.prose h2:first-of-type { margin-top: 1.4em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.9em; }
.prose p, .prose li { font-size: 0.98rem; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.55em; }
.prose address {
  font-style: normal;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 18px 0;
  margin-bottom: 8px;
  border-block: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--dim);
}
.legal-meta strong { color: var(--muted); font-weight: 600; }

/* ---------- 22. Page header (interior pages) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 6.5vw, 84px) clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../patterns/contour.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { max-width: 20ch; margin-bottom: 18px; }
.page-head .lead { max-width: 62ch; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--dim);
  margin-bottom: 20px;
}
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden="true"] { opacity: 0.5; }

/* ---------- 23. Footer ---------- */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: clamp(48px, 6vw, 72px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-blurb {
  font-size: 0.9rem;
  color: var(--dim);
  max-width: 34ch;
  margin-bottom: 20px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--dim); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--dim);
  line-height: 1.55;
}
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-contact a { color: var(--dim); }
.footer-contact a:hover { color: var(--accent); }

.footer-legal {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: baseline;
  justify-content: space-between;
}
.footer-legal-info {
  font-size: 0.81rem;
  color: var(--dim);
  line-height: 1.65;
  max-width: 78ch;
}
.footer-legal-info strong { color: var(--muted); font-weight: 600; }
.footer-copy { font-size: 0.81rem; color: var(--dim); white-space: nowrap; }

.footer-disclaimer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: #7A8884;
  line-height: 1.65;
  max-width: 96ch;
}

/* ---------- 24. Scroll reveal ---------- */

/* Content is hidden only when JavaScript is available to reveal it again.
   Without the .js class the page renders fully visible and static. */
.reveal {
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- 25. Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 620px; }
  .split,
  .split--wide-left,
  .split--wide-right,
  .cta-split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }

  .nav-links,
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: rgba(15, 18, 17, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 1rem; }
  .nav-links > li:last-child { display: block; margin-top: 12px; }
  .nav-links .btn { display: inline-flex; width: 100%; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cap-strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .tier-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .tier-row-desc { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .footer-copy { white-space: normal; }
  .pillar, .card { padding: 24px; }
  .deliverables li { flex-direction: column; gap: 4px; }
  .deliverables li span:last-child { text-align: left; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .price-card { padding: 26px 22px; }
  .cta-band { padding: 30px 22px; }
  .hero-strip { gap: 12px; flex-direction: column; }
  .legal-meta { flex-direction: column; gap: 6px; }
}

/* ---------- 26. Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .js .reveal { opacity: 1; transform: none; }
  .hero-aurora { animation: none; }
  .hero-canvas { display: none; }
  .card:hover,
  .price-card:hover,
  .btn:hover { transform: none; }
}

/* ---------- 27. Print ---------- */

@media print {
  .site-header, .site-footer, .hero-canvas, .hero-aurora, .cta-band { display: none; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #222; }
}
