/* ==========================================================================
   Ops Acceleration — site stylesheet
   Light theme: one continuous soft white → light-blue background fixed on
   scroll, white cards with soft shadows, a single dark navy feature band for
   the closing CTA.

   Colour follows the DW `color_tokens` house-style pattern: the canonical
   nine --color-brand-* tokens are the SOURCE OF TRUTH. Everything else in
   this file reads from them, so re-branding the site means editing the
   block below and nothing more.
   ========================================================================== */

:root {
  /* --- DW canonical brand tokens (the whole vocabulary) ----------------- */

  /* Foundations */
  --color-brand-bg: #f7fafd;        /* page background */
  --color-brand-surface: #ffffff;   /* cards, panels */
  --color-brand-text: #16294d;      /* primary text / headings */
  --color-brand-muted: #52607a;     /* body copy, captions, meta */
  --color-brand-border: #e3e9f2;    /* hairlines, card borders */

  /* Brand */
  --color-brand-primary: #1f6fd6;   /* CTAs, active states, progress fill */
  --color-brand-on-brand: #ffffff;  /* foreground on brand-primary */

  /* Links */
  --color-brand-link: #1f6fd6;
  --color-brand-link-hover: #1857aa;

  /* --- Design-specific extras -------------------------------------------
     Two beyond the canonical nine, both load-bearing for this design:
     a secondary accent, and the dark band the closing CTA sits on. */
  --color-brand-accent: #16c79a;    /* the green half of the gradient pair */
  --color-brand-deep: #101d38;      /* dark feature band / footer */

  /* --- Derived shades ---------------------------------------------------
     Per the pattern: derive with color-mix() rather than adding
     --color-brand-primary-100 / -200 / … variants. */
  --navy: var(--color-brand-text);
  --navy-deep: var(--color-brand-deep);
  --blue: var(--color-brand-primary);
  --blue-dark: var(--color-brand-link-hover);
  --blue-soft: color-mix(in srgb, var(--color-brand-primary) 11%, #fff);
  --green: var(--color-brand-accent);
  --green-dark: color-mix(in srgb, var(--color-brand-accent) 78%, #000);
  --green-soft: color-mix(in srgb, var(--color-brand-accent) 12%, #fff);

  --slate: var(--color-brand-muted);
  --slate-light: color-mix(in srgb, var(--color-brand-muted) 72%, #fff);
  --line: var(--color-brand-border);

  --white: var(--color-brand-surface);
  --card-shadow: 0 1px 2px rgba(22, 41, 77, 0.04),
                 0 8px 24px rgba(22, 41, 77, 0.06);
  --card-shadow-hover: 0 2px 4px rgba(22, 41, 77, 0.06),
                       0 16px 40px rgba(22, 41, 77, 0.12);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --nav-h: 84px;
  --nav-h-condensed: 64px;

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --- reset ------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Keep anchored sections clear of the sticky nav. */
  scroll-padding-top: calc(var(--nav-h-condensed) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-brand-muted);
  background: var(--color-brand-bg);
  overflow-x: hidden;
}

/* The single continuous background for the whole page. Fixed so it does not
   scroll with content — the "one gradient" look the brief asks for. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 12% -8%, #ffffff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(900px 600px at 92% 8%, #eaf2fd 0%, rgba(234,242,253,0) 55%),
    linear-gradient(168deg, #ffffff 0%, #f4f9ff 38%, #e9f1fb 72%, #dfeaf8 100%);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; font-size: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- layout ------------------------------------------------------------ */

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

section { padding: 96px 0; position: relative; }
section:first-of-type { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.lead { font-size: 1.1rem; color: var(--slate); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: #d3e0f2;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.97rem; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-soft), #f3f8ff);
  color: var(--blue);
  flex: none;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.green {
  background: linear-gradient(135deg, var(--green-soft), #f0fdf9);
  color: var(--green-dark);
}

.tick-list li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 9px;
  font-size: 0.94rem;
  color: var(--slate);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 15px;
  height: 8px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
  border-radius: 1px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 111, 214, 0.28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(31, 111, 214, 0.36);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 199, 154, 0.28);
}
.btn-green:hover { color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: #cfdcee;
  color: var(--navy);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-sm { padding: 10px 20px; font-size: 0.87rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* --- scroll progress bar ----------------------------------------------- */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 0.08s linear;
}

/* --- navigation -------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height 0.28s ease, background 0.28s ease,
              border-color 0.28s ease, box-shadow 0.28s ease;
}

.nav.condensed {
  height: var(--nav-h-condensed);
  background: rgba(255, 255, 255, 0.93);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(22, 41, 77, 0.06);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo + wordmark */
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand:hover { color: inherit; }

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  transition: width 0.28s ease, height 0.28s ease;
}
.nav.condensed .brand-mark { width: 37px; height: 37px; }

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

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-divider {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background: var(--blue);
  opacity: 0.55;
  border-radius: 2px;
}
.brand-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  color: var(--slate-light);
  font-weight: 500;
  margin-top: 2px;
  transition: opacity 0.24s ease, max-height 0.24s ease;
}
.nav.condensed .brand-tagline { opacity: 0; max-height: 0; overflow: hidden; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  padding: 9px 13px;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: rgba(31, 111, 214, 0.07); }

.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-cta { margin-left: 10px; }

/* "More" dropdown */
.nav-more { position: relative; }
.nav-more-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  padding: 9px 13px;
  border-radius: 8px;
}
.nav-more-btn:hover { color: var(--navy); background: rgba(31, 111, 214, 0.07); }
.nav-more-btn svg { width: 11px; height: 11px; transition: transform 0.22s ease; }
.nav-more.open .nav-more-btn svg { transform: rotate(180deg); }

.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 232px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(22, 41, 77, 0.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-more.open .nav-more-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-more-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 8px;
  color: var(--slate);
}
.nav-more-menu a:hover { background: var(--blue-soft); color: var(--blue); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.24s ease, top 0.24s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h-condensed) 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 28px 24px 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 15px 4px;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu .btn { margin-top: 26px; }

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

.hero { padding: 88px 0 84px; }

.hero h1 { margin-bottom: 22px; }
.hero-accent {
  display: block;
  background: linear-gradient(105deg, var(--blue) 10%, var(--green) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { font-size: 1.16rem; max-width: 620px; margin-bottom: 34px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.hero-stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 7px;
}
.hero-stat-label {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.4;
}

.pillar-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.83rem;
  color: var(--slate-light);
}
.pillar-strip .label {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--slate);
}
.pillar-strip .pill {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 14px;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.82rem;
}

/* --- value ladder ------------------------------------------------------ */

.tier-card { display: flex; flex-direction: column; height: 100%; }

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 26px;
  margin-bottom: 18px;
}
.signal-bars span {
  width: 8px;
  border-radius: 3px;
  background: #dde6f3;
  transition: background 0.3s ease;
}
.signal-bars span:nth-child(1) { height: 30%; }
.signal-bars span:nth-child(2) { height: 52%; }
.signal-bars span:nth-child(3) { height: 76%; }
.signal-bars span:nth-child(4) { height: 100%; }
.signal-bars span.lit {
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.tier-price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 12px;
}
.tier-card p { flex: 1; margin-bottom: 20px; }

.tier-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tier-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.tier-link:hover::after { transform: translateX(4px); }

/* --- pillars ----------------------------------------------------------- */

.pillar-card { text-align: left; }
.pillar-num {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  opacity: 0.6;
  margin-bottom: 8px;
}

.pillar-quote {
  margin-top: 40px;
  padding: 34px 38px;
  background: linear-gradient(120deg, var(--blue-soft), #f5faff);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pillar-quote p {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
}

/* --- ROI calculator ---------------------------------------------------- */

.calc {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.calc-panel { padding: 34px; }

.field { margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }

.field label,
.field-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 9px;
}
.field-hint {
  font-size: 0.79rem;
  color: var(--slate-light);
  font-weight: 400;
  margin-top: -4px;
  margin-bottom: 9px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 214, 0.13);
}
textarea { resize: vertical; min-height: 96px; }

/* Pillar toggle chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip span {
  display: inline-block;
  padding: 9px 17px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--slate);
  background: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.chip span:hover { border-color: #bcd2ee; color: var(--navy); }
.chip input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 111, 214, 0.25);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Severity slider */
.slider-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  outline: none;
  padding: 0;
  border: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 41, 77, 0.2);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 41, 77, 0.2);
}
.slider-value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--blue);
  min-width: 78px;
  text-align: right;
}

/* Result panel */
.calc-result {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
  position: sticky;
  top: calc(var(--nav-h-condensed) + 20px);
  box-shadow: 0 16px 44px rgba(22, 41, 77, 0.24);
}
.calc-result h3 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.calc-result .sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
}

.calc-total {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(100deg, #fff 20%, var(--green) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.calc-total-label {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 26px;
}

.calc-breakdown {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  font-size: 0.9rem;
}
.calc-row .name { color: rgba(255, 255, 255, 0.86); }
.calc-row .note {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}
.calc-row .amount {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.calc-empty {
  font-size: 0.89rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 0 4px;
}
.calc-capped {
  margin-top: 16px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}
.calc-disclaimer {
  margin-top: 20px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.55;
}
.calc-result .btn { margin-top: 22px; }

/* --- process ----------------------------------------------------------- */

.process { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
/* The connecting line behind the step numbers. */
.process-grid::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0.25;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 6px 18px rgba(31, 111, 214, 0.3);
  border: 4px solid #fff;
}
.step:nth-child(4) .step-num {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 6px 18px rgba(22, 199, 154, 0.3);
}
.step-sub {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.step p { font-size: 0.93rem; }

/* --- why us / who we are ----------------------------------------------- */

.why-band {
  background: linear-gradient(125deg, var(--blue-soft), #f2f9ff 55%, var(--green-soft));
  border: 1px solid #dde9f8;
  border-radius: var(--radius-lg);
  padding: 52px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.photo-slot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  background: linear-gradient(150deg, #e6effb, #f3f8ff);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot .placeholder {
  text-align: center;
  color: var(--slate-light);
  font-size: 0.85rem;
  padding: 24px;
}
.photo-slot .placeholder svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  opacity: 0.45;
}

.pedigree {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.pedigree span {
  font-size: 0.79rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--slate);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 8px;
}

/* --- storefront -------------------------------------------------------- */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}
.filter-tab {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  transition: all 0.18s ease;
}
.filter-tab:hover { border-color: #bcd2ee; color: var(--navy); }
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  font-family: var(--font-head);
}
.badge-word   { background: #e8f0fc; color: #1a5fb8; }
.badge-excel  { background: #e2f8f2; color: #0d8a6a; }
.badge-pdf    { background: #fdecec; color: #c0392b; }
.badge-powerpoint { background: #fdf0e6; color: #c76a1b; }
.badge-featured { background: var(--navy); color: #fff; }

.product-card h3 { font-size: 1.06rem; }
.product-card p { flex: 1; margin-bottom: 18px; font-size: 0.92rem; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price {
  font-family: var(--font-head);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-light);
}

.offer-card { position: relative; display: flex; flex-direction: column; }
.offer-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 214, 0.12), var(--card-shadow-hover);
}
.ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(31, 111, 214, 0.3);
}
.offer-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 14px 0 6px;
}
.offer-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-light);
}
.offer-card ul { margin: 20px 0 24px; flex: 1; }

.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--slate-light);
  font-size: 0.94rem;
}

/* --- events ------------------------------------------------------------ */

.event-card { display: flex; gap: 20px; align-items: flex-start; }
.event-date {
  flex: none;
  width: 66px;
  text-align: center;
  background: linear-gradient(160deg, var(--blue-soft), #f4f9ff);
  border: 1px solid #dbe7f7;
  border-radius: 12px;
  padding: 10px 4px;
}
.event-date .month {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
}
.event-date .day {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.event-body { flex: 1; min-width: 0; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
  font-size: 0.8rem;
  color: var(--slate-light);
}
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  font-family: var(--font-head);
}
.tag-in_person { background: var(--green-soft); color: var(--green-dark); }
.tag-virtual { background: var(--blue-soft); color: var(--blue-dark); }
.event-card h3 { font-size: 1.04rem; margin-bottom: 7px; }
.event-card p { font-size: 0.9rem; margin-bottom: 14px; }

/* --- articles ---------------------------------------------------------- */

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}
.article-banner {
  height: 88px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px 18px;
}
.article-banner.topic-operations { background: linear-gradient(120deg, #1f6fd6, #4a94ec); }
.article-banner.topic-scaling    { background: linear-gradient(120deg, #16c79a, #4bd9b6); }
.article-banner.topic-systems    { background: linear-gradient(120deg, #6b4fd8, #9179ea); }
.article-banner.topic-leadership { background: linear-gradient(120deg, #d67a1f, #eaa054); }
.article-banner .topic-name {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}
.article-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 1.05rem; }
.article-card p { font-size: 0.91rem; flex: 1; margin-bottom: 16px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--slate-light);
}
.article-meta .ext { color: var(--blue); font-weight: 600; }

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

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

.toggle-group {
  display: inline-flex;
  background: #f2f6fc;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}
.toggle-group label { margin: 0; }
.toggle-group input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-group span {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.toggle-group input:checked + span {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(22, 41, 77, 0.1);
}
.toggle-group input:focus-visible + span { outline: 2px solid var(--blue); }

.form-status {
  margin-top: 16px;
  padding: 13px 17px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success {
  background: var(--green-soft);
  color: #0b6e55;
  border: 1px solid #b8ecdc;
}
.form-status.error {
  background: #fdecec;
  color: #9e2b20;
  border: 1px solid #f6cfcb;
}

/* --- dual path (investment) -------------------------------------------- */

.path-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-top: 4px solid var(--blue);
}
.path-card.investor { border-top-color: var(--green); }
.path-card p { flex: 1; }

/* --- dark feature band (closing CTA) ----------------------------------- */

.cta-band {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 55%, #0b1628 100%);
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  margin-top: 40px;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 111, 214, 0.38), transparent 68%);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 199, 154, 0.24), transparent 68%);
}
.cta-band .wrap { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 18px; }
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.06rem;
}
.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #8fc0ff;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

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

.footer {
  background: #0b1628;
  color: rgba(255, 255, 255, 0.62);
  padding: 62px 0 34px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .brand-name { color: #fff; }
.footer .brand-tagline { color: rgba(255, 255, 255, 0.45); }
.footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255, 255, 255, 0.62); }
.footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- scroll reveal ----------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger children inside a revealed grid. */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.39s; }

/* --- simple content pages (article, purchase success) ------------------ */

.page-narrow { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.prose p { margin-bottom: 1.15rem; font-size: 1.04rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-head);
  margin-bottom: 26px;
}

.notice-card { padding: 40px; text-align: center; }
.notice-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
}
.notice-icon.warn { background: #fdf0e6; color: #c76a1b; }
.notice-icon svg { width: 30px; height: 30px; }
.download-meta {
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--slate-light);
}

/* --- static-build utility classes ---------------------------------------
   The Django templates used inline style="" attributes for these. In the
   static build they're real classes, so the markup stays clean enough for
   `dw_cms` to adopt the copy. */

.card-tagline { color: var(--color-brand-primary); font-weight: 600; }

.tick-list + .btn,
.card > form { margin-top: 16px; }

.pillar-quote-sub {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--color-brand-muted);
  margin-top: 12px;
}

.about-gap { margin-bottom: 56px; }
.why-band { margin-bottom: 64px; }
.stat-card { text-align: center; }
.inner-grid { gap: 18px; }
.footer-brand { margin-bottom: 16px; }
.footer-blurb { max-width: 340px; }
.newsletter-card, .blog-pending { max-width: 640px; }
.newsletter-card { margin-top: 28px; }
.coaching-cta { margin-top: 24px; align-self: flex-start; }
.coaching-form { margin-top: 18px; }
.blog-cta { margin-top: 18px; align-self: flex-start; }

.offer-price + .tick-list { margin-top: 18px; }
.pillar-card .card-tagline { color: var(--color-brand-text); font-weight: 500; }

/* Honeypot — must be invisible to humans but present in the DOM for bots. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Turnstile placeholder stays collapsed until DW injects the widget. */
[data-dw-turnstile]:empty { display: none; }
[data-dw-turnstile] { margin: 14px 0 4px; }

.notice-title { font-size: 1.9rem; }
.notice-back { text-align: center; margin-top: 30px; }

.blog-todo, .blog-cta-card { margin-bottom: 24px; }
.blog-todo h3 { margin-top: 22px; }
.blog-todo code {
  background: var(--blue-soft);
  color: var(--color-brand-link-hover);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
}
.tick-list.numbered { counter-reset: step; margin-top: 12px; }
.tick-list.numbered li { counter-increment: step; }
.tick-list.numbered li::before {
  content: counter(step);
  border: none;
  transform: none;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  color: var(--color-brand-on-brand);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-head);
  display: grid;
  place-items: center;
}
.blog-warning {
  margin-top: 22px;
  padding: 14px 18px;
  background: #fdf0e6;
  border-left: 3px solid #c76a1b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: #7d4310;
}

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

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav { height: var(--nav-h-condensed); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-band { padding: 34px 26px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hero { padding: 56px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .calc-panel, .calc-result { padding: 24px; }
  .event-card { flex-direction: column; gap: 14px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .toggle-group { width: 100%; justify-content: stretch; }
  .toggle-group label { flex: 1; }
  .toggle-group span { display: block; text-align: center; padding: 8px 10px; }
}

/* --- motion & print ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

@media print {
  .nav, .progress-bar, .mobile-menu, .cta-band, .footer { display: none; }
  body::before { display: none; }
  .card { box-shadow: none; break-inside: avoid; }
}
