/* ============================================================
   MaDMack — shared stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy:        #1a3d5c;
  --navy-dark:   #0f1f3d;
  --navy-deep:   #0a1628;
  --blue:        #2563a8;
  --blue-light:  #e8f0fb;
  --blue-mid:    #b8d0f0;
  --accent:      #f0a500;
  --accent-hover:#ffb81f;
  --accent-dark: #1a1a00;
  --text:        #1a2636;
  --text-secondary: #4a5568;
  --text-muted:  #718096;
  --border:      #dde3ed;
  --surface:     #f7f9fc;
  --white:       #ffffff;
  --green:       #1a6b3a;
  --green-light: #e6f4ec;
  --red:         #a32d2d;
  --red-light:   #fee2e2;
  --amber:       #92400e;
  --amber-light: #fef3c7;
  --accent-light:#fff8e6;
  --radius:      10px;
  --shadow:      0 12px 36px rgba(15, 31, 61, 0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --section-pad: 56px;
  --container-pad: 24px;
}

@media (min-width: 768px) {
  :root {
    --section-pad: 96px;
    --container-pad: 48px;
  }
}

/* ---------- Reset & base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}

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

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

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

ul, ol { list-style: none; }

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

::selection {
  background: var(--blue-mid);
  color: var(--navy-dark);
}

/* ---------- Layout utilities ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section-white   { background: var(--white); }
.section-surface { background: var(--surface); }

section[id] { scroll-margin-top: 84px; }

.section-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  color: var(--navy);
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
}

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-dark);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(240, 165, 0, 0.35);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  height: 52px;
  padding: 0 34px;
  font-size: 16px;
}

.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  height: 60px;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }

.nav-brand svg { height: 36px; width: auto; }

.wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wm-mad  { color: var(--blue-mid); }
.wm-mack { color: var(--white); }

/* light-surface variant (contact card, etc.) */
.wordmark-light .wm-mad  { color: var(--blue); }
.wordmark-light .wm-mack { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--white);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--accent-dark) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  border-bottom: none !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 90;
  }
  body.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
  }
  body.nav-open { overflow: hidden; }

  .nav-links a {
    font-size: 26px;
    font-weight: 600;
    padding: 8px 0;
  }
  .nav-cta {
    margin-top: auto;
    font-size: 18px !important;
    padding: 16px 40px !important;
  }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-brand svg { height: 40px; width: auto; }

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 420px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-bottom: 24px;
  font-size: 14px;
}
.footer-contact a { color: rgba(255, 255, 255, 0.8); }
.footer-contact a:hover { color: var(--white); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Scroll animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none !important; }
  .scroll-indicator { animation: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 600px;
  min-height: max(600px, 100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
  padding: 100px 24px 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  color: var(--blue-mid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .gold-line {
  display: block;
  color: var(--accent);
  font-style: italic;
}

.hero-body {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto;
}
.hero-personal {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.trust-bar {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
}
.trust-bar > span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 600;
}
.trust-bar .trust-dot { color: var(--accent); }

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* ---------- Compact hero (inner pages) ---------- */
.hero-compact {
  min-height: 300px;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 80px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
}
.hero-compact .hero-content { max-width: 640px; }
.hero-compact h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-compact p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-dark);
  height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee-item {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 0 18px;
}
.marquee-dot {
  color: var(--accent);
  font-size: 14px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Problem section ---------- */
.problem-wrap { max-width: 900px; margin: 0 auto; }

.problem-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .problem-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.problem-card {
  border-radius: var(--radius);
  padding: 28px;
}
.problem-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.problem-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
  padding: 8px 0;
}
.problem-card li svg { flex-shrink: 0; margin-top: 3px; }

.problem-now {
  background: var(--white);
  border-left: 4px solid var(--red);
}
.problem-now h3 { color: var(--red); }

.problem-after {
  background: var(--white);
  border-left: 4px solid var(--green);
}
.problem-after h3 { color: var(--green); }

.problem-quote {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
}

/* ---------- Calculator ---------- */
.calc-grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}
@media (min-width: 768px) {
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.calc-field { margin-bottom: 32px; }
.calc-field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.calc-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-value {
  min-width: 72px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 8px;
  padding: 6px 10px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--navy);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--navy);
}
input[type="range"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.calc-output-card {
  background: var(--navy-dark);
  border-radius: 12px;
  padding: 32px;
}

.calc-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.calc-row:last-of-type { border-bottom: none; }

.calc-row-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.calc-row-value {
  color: var(--accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.calc-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.calc-cta { margin-top: 16px; }

/* ---------- Process steps ---------- */
.process {
  display: grid;
  gap: 32px;
  margin-top: 48px;
  position: relative;
}
@media (min-width: 768px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed var(--blue-mid);
  }
}

.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Cards / services strip ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card-hover {
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 61, 92, 0.1);
}

.services-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card .icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.service-price {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}
.service-delivery {
  color: var(--text-muted);
  font-size: 13px;
}

.learn-link {
  font-weight: 600;
  font-size: 15px;
}

.cta-btn-row { margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-dark);
  text-align: center;
  padding: 80px 24px;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto 32px;
}
.cta-band .cta-small {
  margin: 16px auto 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Service detail sections (services.html) ---------- */
.service-split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .service-split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .service-split.reversed .split-copy   { order: 2; }
  .service-split.reversed .split-visual { order: 1; }
}

.split-copy h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.split-copy > p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.included-list { margin-bottom: 24px; }
.included-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 15px;
  color: var(--text);
}
.included-list svg { flex-shrink: 0; margin-top: 4px; }

.split-ref {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.split-ref a { font-weight: 600; }

.split-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: baseline;
  margin-bottom: 24px;
}
.split-price {
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}
.split-delivery {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Mockups (pure CSS illustrations) ---------- */
.mockup-frame {
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 31, 61, 0.16);
  overflow: hidden;
}

.mockup-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
}

.mock-nav {
  background: var(--navy-dark);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-nav-title {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.mock-nav-pills { display: flex; gap: 6px; }
.mock-pill {
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}
.mock-pill.gold { background: var(--accent); }

.mock-body { padding: 16px; }

.mock-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--white);
}
.mock-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.mock-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-card-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.mock-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.mock-chevron { color: var(--text-muted); flex-shrink: 0; }

.mock-card.open { border-color: var(--blue); }
.mock-prompt {
  margin: 0 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-secondary);
  filter: blur(4px);
  user-select: none;
}
.mock-copy-btn {
  margin: 0 14px 14px;
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
}

.mock-tool {
  background: var(--navy-dark);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mock-tool-name {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}
.mock-tool-stat {
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
}

/* Form mockup */
.mock-progress {
  display: flex;
  gap: 6px;
  padding: 16px 16px 4px;
}
.mock-progress span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}
.mock-progress span.done   { background: var(--blue); }
.mock-progress span.active { background: var(--accent); }

.mock-step-label {
  padding: 8px 16px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px;
}
.mock-sector {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white);
}
.mock-sector.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.mock-fields { padding: 4px 16px 16px; }
.mock-field { margin-bottom: 10px; }
.mock-field-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-input {
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

/* Depso reference card */
.depso-card {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: 14px;
  padding: 36px 32px;
  color: var(--white);
  box-shadow: 0 18px 44px rgba(15, 31, 61, 0.2);
}
.depso-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.depso-logo .dot { color: var(--accent); }
.depso-headline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 20px;
}
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.tag-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 12px;
}
.depso-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}
.depso-link:hover { color: var(--accent-hover); }

/* Consultation cards */
.consult-grid {
  display: grid;
  gap: 24px;
  margin: 40px 0 32px;
}
@media (min-width: 768px) {
  .consult-grid { grid-template-columns: repeat(3, 1fr); }
}
.consult-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.consult-card p {
  font-size: 14px;
  color: var(--text-secondary);
}
.consult-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--text-secondary);
}
.consult-meta strong { color: var(--navy); }

/* ---------- Products page ---------- */
.products-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-head {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.product-head svg { flex-shrink: 0; }
.product-head h3 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-includes {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 20px;
  padding: 4px 11px;
}

.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  color: var(--accent);
  font-size: 26px;
  font-weight: 800;
}
.product-btn {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- Work page ---------- */
.work-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-full { grid-column: 1 / -1; }
}

.work-featured {
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  border-radius: 14px;
  padding: 44px 36px;
  color: var(--white);
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .work-featured { grid-template-columns: 1.15fr 0.85fr; }
}

.work-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.work-featured h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.work-featured .work-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 20px;
}
.work-featured .tag-chips { margin-bottom: 24px; }

.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
}
.work-card .work-label { color: var(--blue); }
.work-card h2 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.work-card .work-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}
.work-card .tag-chips { margin-bottom: 20px; }
.work-card .tag-chip {
  color: var(--blue);
  background: var(--blue-light);
}

.work-split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .work-split { grid-template-columns: 1.1fr 0.9fr; }
}

.work-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-bottom: 20px;
}
.work-stat-num {
  color: var(--accent);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}
.work-stat-label {
  color: var(--text-muted);
  font-size: 13px;
}

.work-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.phone-business {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
}
.phone {
  width: 232px;
  background: var(--navy-deep);
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 32px;
  padding: 26px 14px 20px;
  position: relative;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}
.phone-screen {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
}
.phone-header {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
}
.phone-body { padding: 14px 12px; }
.phone-service {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}
.phone-service-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.phone-service-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin: 2px 0 10px;
}
.phone-book-btn {
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
}
.phone-deposit {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
}

.contact-details {
  background: var(--navy-dark);
  border-radius: 14px;
  padding: 36px 32px;
  color: var(--white);
}
.contact-details .footer-brand { margin-bottom: 24px; }
.contact-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-lines { margin-bottom: 8px; }
.contact-lines li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.contact-lines svg { flex-shrink: 0; }
.contact-lines a { color: inherit; }
.contact-lines a.gold { color: var(--accent); font-weight: 700; }
.contact-lines a:hover { color: var(--accent-hover); }

.contact-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 22px 0;
}

.contact-details h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}
.contact-avail li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.contact-avail svg { flex-shrink: 0; margin-top: 4px; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
}
.contact-form-card h2 {
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.form-note a { font-weight: 600; }

/* FAQ strip */
.faq-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .faq-grid { grid-template-columns: repeat(3, 1fr); }
}
.faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.faq-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Demo page (demo.html) ---------- */
.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.demo-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15, 31, 61, 0.08);
  margin-top: 40px;
}

/* Toolkit demo — mini nav */
.dt-nav {
  position: sticky;
  top: 60px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--navy-dark);
  border-radius: 14px 14px 0 0;
}
.dt-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 16px;
}
.dt-pill.active {
  background: var(--accent);
  color: var(--accent-dark);
}
.dt-pill.locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.dt-body { padding: 20px; }
@media (max-width: 520px) { .dt-body { padding: 14px; } }

/* Toolkit demo — prompt cards */
.dt-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 14px;
  overflow: hidden;
}
.dt-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
}
.dt-card-head:hover { background: var(--surface); }
.dt-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dt-card-titles { flex: 1; min-width: 0; }
.dt-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.dt-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}
.dt-time-badge {
  font-size: 11px;
  background: #e6f4ec;
  color: #1a6b3a;
  border-radius: 12px;
  padding: 3px 10px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .dt-time-badge { display: none; }
}

.dt-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.dt-card.open .dt-chevron { transform: rotate(180deg); }
.dt-card .dt-card-body { display: none; border-top: 1px solid var(--border); }
.dt-card.open .dt-card-body { display: block; }
.dt-section { padding: 16px 18px; }
.dt-section + .dt-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.dt-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dt-instructions {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* Locked boxes (shared by both demos) */
.locked-box {
  position: relative;
  background: #f0f4fa;
  border: 1.5px dashed var(--blue-mid);
  border-radius: 8px;
  overflow: hidden;
  min-height: 190px;
}
.locked-dots {
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.9;
  color: #94a3b8;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  white-space: pre-line;
}
.locked-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(240, 244, 250, 0.1) 0%, rgba(240, 244, 250, 0.97) 45%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
}
.locked-msg {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.locked-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pro-tip {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 7px 7px 0;
  padding: 11px 14px;
  font-size: 13px;
  color: #5a3d00;
  line-height: 1.55;
}

.dt-teaser {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 4px 0 28px;
}
.dt-teaser svg { flex-shrink: 0; }

/* Toolkit demo — bonus tools */
.tool-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--white);
}
.tool-head {
  background: var(--navy-dark);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tool-head-titles { flex: 1; min-width: 160px; }
.tool-head-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.tool-head-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}
.live-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--green-light);
  color: var(--green);
  border-radius: 12px;
  padding: 3px 10px;
  white-space: nowrap;
}
.locked-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 3px 10px;
  white-space: nowrap;
}
.tool-body { padding: 18px; }

.tracker-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.dt-input, .dt-select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}
.dt-input:focus, .dt-select:focus {
  outline: none;
  border-color: var(--blue);
}
.dt-grow { flex: 1; min-width: 150px; }
.dt-clear {
  padding: 10px 14px;
  background: var(--white);
  color: var(--red);
  border: 1px solid #f0c0c0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.dt-clear:hover { background: var(--red-light); }

.deadline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 56px;
}
.deadline-empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 0;
  text-align: center;
}
.deadline-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.deadline-info { flex: 1; min-width: 140px; }
.deadline-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.deadline-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.dl-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 12px;
  white-space: nowrap;
}
.dl-urgent { background: var(--red-light); color: var(--red); }
.dl-soon   { background: var(--amber-light); color: var(--amber); }
.dl-ok     { background: var(--green-light); color: var(--green); }
.dl-remove {
  padding: 4px 10px;
  background: none;
  border: 1px solid #f0c0c0;
  border-radius: 4px;
  color: var(--red);
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
}
.dl-remove:hover { background: var(--red-light); }
.tool-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.tool-locked {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.tool-locked svg { margin: 0 auto 8px; }
.tool-locked-msg {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.tool-locked-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.demo-cta {
  background: var(--navy-dark);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin-top: 28px;
}
.demo-cta h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.demo-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-bottom: 22px;
}

/* Intake form demo */
.di-progress {
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.di-steps {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.di-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.di-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.di-circle.active { background: var(--navy); color: var(--white); }
.di-circle.done   { background: var(--green); color: var(--white); }
.di-step-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.di-step-label.active {
  color: var(--navy);
  font-weight: 600;
}
.di-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
}
.di-connector.done { background: var(--green); }
.di-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.di-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transition: width 0.3s ease;
}
@media (max-width: 520px) {
  .di-step-label { display: none; }
}

.di-body { padding: 20px; }
.di-panel { display: none; }
.di-panel.active { display: block; }

.di-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.di-step-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 480px;
}
.sector-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.sector-card:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}
.sector-card.selected {
  border-color: var(--navy);
  background: var(--navy);
}
.sector-card.selected .sector-name { color: var(--white); }
.sector-icon {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 6px;
}
.sector-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.sector-teaser {
  grid-column: 1 / -1;
  border: 1.5px dashed var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.di-error {
  display: none;
  font-size: 13px;
  color: var(--red);
  margin-top: 12px;
}
.di-error.show { display: block; }
.field-error {
  display: none;
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}
.field-error.show { display: block; }
.form-group input.error { border-color: var(--red); }

.di-locked-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.di-locked-note svg { flex-shrink: 0; }

.di-lockwrap { position: relative; }
.di-blur {
  filter: blur(3px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.di-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.di-lockcard {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 8px 32px rgba(26, 61, 92, 0.14);
  max-width: 340px;
}
.di-lockcard svg { margin: 0 auto 10px; }

.di-success {
  text-align: center;
  padding: 8px 0 4px;
}
.di-success > svg { margin: 0 auto; }
.di-success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 14px 0 8px;
}
.di-success > p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
}
.di-brief {
  position: relative;
  max-width: 480px;
  margin: 24px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  text-align: left;
}
.di-brief-dots {
  padding: 18px;
  font-size: 13px;
  line-height: 2;
  color: #94a3b8;
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  white-space: pre-line;
}

.di-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.di-back {
  padding: 11px 22px;
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.di-back:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.di-back[hidden], .di-next[hidden] { display: none; }

/* ---------- Print ---------- */
/* ---------- Intake form screenshots (demo.html) ---------- */
.intake-screenshots {
  max-width: 680px;
  margin: 40px auto 0;
}

/* ---------- How it works page ---------- */
.hiw-steps {
  display: flex;
  flex-direction: column;
}
.hiw-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}
.hiw-step-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.problem-now .hiw-step-num {
  background: var(--white);
  color: var(--red);
  border: 1.5px solid var(--red);
}
.problem-after .hiw-step-num {
  background: var(--accent);
  color: var(--accent-dark);
}

.hiw-quote {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

.hiw-compare {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hiw-compare { grid-template-columns: 1fr 56px 1fr; }
}
.hiw-compare-col { min-width: 0; }
.hiw-compare .locked-box { min-height: 230px; }
.hiw-arrow {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  transform: rotate(90deg);
}
@media (min-width: 900px) {
  .hiw-arrow { transform: none; }
}
@media (max-width: 640px) {
  .hiw-arrow { display: none; }
}
.hiw-compare-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.hiw-label-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
}
.hiw-chip-gold,
.hiw-chip-green {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.hiw-chip-gold {
  background: var(--accent);
  color: var(--accent-dark);
}
.hiw-chip-green {
  background: var(--green-light);
  color: var(--green);
}

.hiw-letter {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-mid);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px 30px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    rgba(37, 99, 168, 0.07) 27px,
    rgba(37, 99, 168, 0.07) 28px
  );
}
.hiw-letter p {
  font-size: 13.5px;
  line-height: 28px;
  color: var(--text-secondary);
  margin: 0 0 28px;
}
.hiw-letter p:last-child { margin-bottom: 0; }
.hiw-letter-subject {
  font-weight: 700;
  color: var(--navy);
}

.hiw-compare-note { margin-top: 44px; }
.hiw-compare-note h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.hiw-compare-note p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.hiw-ai-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hiw-ai-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px 22px;
  box-shadow: var(--shadow);
}
.hiw-ai-chip strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.hiw-ai-chip span {
  font-size: 12px;
  color: var(--text-muted);
}
.hiw-ai-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.hiw-call-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.hiw-call-note a { font-weight: 600; }

/* ---------- Services page — nav strip & group headers ---------- */
.services-nav-strip {
  background: var(--navy);
  padding: 0 20px;
  position: sticky;
  top: 60px;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.services-nav-strip .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-nav-strip .container::-webkit-scrollbar { display: none; }
.services-nav-item {
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.services-nav-item:hover {
  color: white;
  border-bottom-color: var(--accent);
}

#build, #learn, #grow { scroll-margin-top: 110px; }

.section-group-header {
  padding: 28px 0 0;
  border-top: 3px solid var(--navy);
}
.group-label-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.group-label {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.group-sub {
  font-size: 14px;
  color: var(--text-muted);
}

@media print {
  .site-nav,
  .site-footer,
  .marquee,
  .scroll-indicator,
  .nav-toggle,
  .cta-band { display: none !important; }

  body { background: #fff; color: #000; }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .section { padding: 24px 0; }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 11px;
    color: #555;
  }
}
