:root {
  --bg: #F7F5F1;             /* warm paper — default page ground */
  --bg-2: #EEEAE2;           /* paper step — card surfaces on light ground */
  --fg: #10151A;             /* near-black ink — headlines, primary text */
  --fg-muted: #5B6169;       /* softened charcoal — body copy, secondary text */
  --hairline: rgba(16,21,26,.09);
  --hairline-strong: rgba(16,21,26,.18);
  --accent-deep: #1E3838;    /* deep teal — shadows, pressed states */
  --accent: #2F4F4F;         /* Dark Teal — brand signal colour, from the logo */
  --accent-bright: #4A8080;  /* lighter teal — brand signal colour, from the logo */
  --accent-pale: #DCE6E3;    /* pale teal tint — badges, quiet section backgrounds */
}
.dark-zone {
  --bg: #10151A;
  --bg-2: #1A2126;
  --fg: #F7F5F1;
  --fg-muted: #9AA3AB;
  --hairline: rgba(247,245,241,.1);
  --hairline-strong: rgba(247,245,241,.2);
  --accent-pale: rgba(74,128,128,.16);
  background: var(--bg);
  color: var(--fg);
}
html, body { background: var(--bg); color: var(--fg); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Archivo', sans-serif; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); }
.font-display { font-family: 'Archivo', sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* "Instrument readout" label — mono, tracked, used for every diagnostic-style tag */
.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--fg-muted);
}
.eyebrow-accent { color: var(--accent); }
.dark-zone .eyebrow-accent { color: var(--accent-bright); }

.panel {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 40px -30px rgba(16,21,26,.16);
}
.pill-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.75rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  color: #F7F5F1;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 16px 32px -16px rgba(47,79,79,.45);
  text-decoration: none; border: none; cursor: pointer;
}
.pill-btn:hover { transform: translateY(-2px); }
.pill-btn-ghost {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.75rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: var(--fg);
  border: 1px solid var(--hairline-strong);
  background: transparent;
  cursor: pointer;
}
.pill-btn-ghost:hover { border-color: var(--accent); }
.pill-btn-ghost:disabled { opacity: .3; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }

.grain { position: relative; }
.grain::after {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

@keyframes pulse-dot { 0%,100%{opacity:.3;transform:scale(1)} 50%{opacity:1;transform:scale(1.4)} }
@keyframes float-slow { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes rise { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }
.animate-rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.animate-float-slow { animation: float-slow 7s ease-in-out infinite; }

input, textarea {
  background: var(--bg-2);
  border: 1px solid var(--hairline-strong);
  color: var(--fg); border-radius: .65rem; padding: 1rem; width: 100%; outline: none;
  transition: border-color .2s; font-family: 'Inter', sans-serif;
}
input::placeholder, textarea::placeholder { color: var(--fg-muted); opacity: .7; }
input:focus, textarea:focus { border-color: var(--accent-bright); }
textarea { resize: none; }
.field-label { font-size:.85rem; color:var(--fg-muted); display:block; margin-bottom:.35rem; }

/* ---------- Brand mark: wordmark + logo, EQ signature ---------- */
.brand-mark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark img { height: 40px; width: auto; display: block; }
.footer-logo img { height: 34px; width: auto; display: block; }
.eq-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq-bars span {
  display: block; width: 3px; border-radius: 2px; background: var(--accent-bright);
  animation: eq-bounce 1.6s ease-in-out infinite;
}
.eq-bars span:nth-child(1) { height: 40%; animation-delay: -1.2s; }
.eq-bars span:nth-child(2) { height: 100%; animation-delay: -0.4s; }
.eq-bars span:nth-child(3) { height: 65%; animation-delay: -0.9s; }
.eq-bars span:nth-child(4) { height: 85%; animation-delay: -0.1s; }
@keyframes eq-bounce { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Signal divider: signature connective element between sections ---------- */
.signal-divider { position: relative; height: 1px; background: var(--hairline-strong); overflow: visible; }
.signal-divider::after {
  content: ""; position: absolute; top: 50%; left: -6%; width: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  transform: translateY(-50%);
  animation: signal-travel 6.5s linear infinite;
  filter: drop-shadow(0 0 4px var(--accent-bright));
}
@keyframes signal-travel { from { left: -6%; } to { left: 100%; } }

/* ---------- Header / nav ---------- */
.nav-link { position: relative; padding-bottom: 2px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px;
  background: var(--accent-bright); transition: right .3s ease;
}
.nav-link:hover::after { right: 0; }

/* ---------- Mobile menu ---------- */
#mobile-menu {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .35s ease, transform .35s ease;
}
#mobile-menu.menu-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-link { font-family: 'Archivo', sans-serif; }
#mobile-menu-btn .menu-bar { transition: transform .3s ease, opacity .3s ease; transform-origin: center; }
#mobile-menu-btn.is-open .menu-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#mobile-menu-btn.is-open .menu-bar:nth-child(2) { opacity: 0; }
#mobile-menu-btn.is-open .menu-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Recognition cards: quiet index tag instead of decoration ---------- */
.recog-card { position: relative; }
.recog-tag {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: .68rem; letter-spacing: .1em;
  color: var(--accent); opacity: .75;
}

/* ---------- Why comparison: mark instead of numbered sequence (not a real sequence) ---------- */
.mark-gap, .mark-fix {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 999px; flex-shrink: 0; font-size: .75rem;
}
.mark-gap { color: var(--fg-muted); border: 1px solid var(--hairline-strong); }
.mark-fix { color: #fff; background: var(--accent); }

/* ---------- Pull quote ---------- */
.pull-quote-mark {
  font-family: 'Archivo', sans-serif; font-size: 5rem; line-height: 1; color: var(--accent-pale);
  position: absolute; top: -1.5rem; left: 50%; transform: translateX(-50%); user-select: none;
}
.dark-zone .pull-quote-mark { color: rgba(74,128,128,.28); }

/* ---------- Method orbit — continuously revolving, pauses on interaction ---------- */
#orbit { touch-action: manipulation; }
.orbit-spin { animation: orbit-rotate 48s linear infinite; }
.orbit-spin.is-paused { animation-play-state: paused; }
@keyframes orbit-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.planet-btn .planet-inner { animation: orbit-counter-rotate 48s linear infinite; }
.planet-btn .planet-inner.is-paused { animation-play-state: paused; }
@keyframes orbit-counter-rotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.planet-glow { animation: pulse-dot 3.2s ease-in-out infinite; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 3.5rem; height: 3.5rem; border-radius: 999px;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 1.9rem; height: 1.9rem; }

/* ---------- Story flow: a real sequence, so connectors are earned ---------- */
.story-flow { display: flex; flex-direction: column; gap: 1.5rem; }
.story-stage { flex: 1; min-width: 0; }
.story-outcome {
  background: var(--accent-pale); border-radius: 1rem; padding: 1.25rem 1.5rem; margin: -.25rem -.25rem -.25rem 0;
}
.story-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); opacity: .5; transform: rotate(90deg); }
@media (min-width: 900px) {
  .story-flow { flex-direction: row; align-items: stretch; }
  .story-arrow { transform: none; flex-shrink: 0; }
  .story-outcome { margin: -1rem -1rem -1rem 0; }
}

/* ---------- FAQ accordion ---------- */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { -webkit-tap-highlight-color: transparent; }
.faq-toggle {
  position: relative; flex-shrink: 0; width: 1.1rem; height: 1.1rem;
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transform: translate(-50%, -50%); transition: transform .25s ease, opacity .25s ease;
}
.faq-toggle::before { width: 1.1rem; height: 2px; }
.faq-toggle::after { width: 2px; height: 1.1rem; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* ---------- Footer ---------- */
.footer-col-title { font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:.68rem; text-transform:uppercase; letter-spacing:.16em; color: var(--fg-muted); margin-bottom: 1.1rem; }
.footer-link { display:block; color: var(--fg-muted); text-decoration:none; padding: .3rem 0; transition: color .2s; }
.footer-link:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
