/* ==========================================================================
   Recuflow - design tokens
   ========================================================================== */
:root {
  --bg: #faf9f5;
  --tint: #f0f4f1;
  --surface: #ffffff;
  --ink: #14181a;
  --ink-secondary: #545a5c;
  --ink-muted: #8b9192;
  --line: #e3e0d9;
  --line-subtle: #ecebe5;
  --accent: #0f6b62;
  --accent-hover: #0a4f49;
  --accent-ink: #ffffff;
  --accent-bg: #e5f1ee;
  --accent-soft: #c2ded6;
  --gold: #a9772f;
  --gold-soft: #dcbf8f;
  --gold-bg: #f8f1e4;
  --dark: #0d1a18;
  --dark-alt: #123028;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 26, 0.05);
  --shadow: 0 1px 2px rgba(20, 24, 26, 0.04), 0 16px 34px rgba(20, 24, 26, 0.07);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.contain {
  width: min(var(--maxw), calc(100% - 2.5rem));
  margin-inline: auto;
}
.contain.narrow { width: min(56ch, calc(100% - 2.5rem)); }

/* ==========================================================================
   Bands
   ========================================================================== */
.band {
  padding-block: clamp(3.75rem, 7.5vw, 6rem);
  border-bottom: 1px solid var(--line-subtle);
}
.band.white { background: var(--surface); }
.band.tinted { background: var(--tint); }
.band.dark {
  background:
    radial-gradient(90% 120% at 85% 0%, rgba(169, 119, 47, 0.16), transparent 62%),
    radial-gradient(70% 100% at 5% 100%, rgba(15, 107, 98, 0.32), transparent 65%),
    linear-gradient(165deg, var(--dark) 0%, #10231f 60%, var(--dark-alt) 100%);
  color: #fff;
  border-bottom: none;
}

.section-head { max-width: 54ch; margin-bottom: 2.5rem; }

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: headerIn 0.6s var(--ease) both;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

@keyframes headerIn {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.9rem;
}
.nav-links a {
  position: relative;
  color: var(--ink-secondary);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.12s linear;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-nav.open { display: grid; gap: 0.4rem; }
.mobile-nav a {
  padding: 0.7rem 0;
  color: var(--ink-secondary);
  font-weight: 500;
}
.mobile-nav .btn { justify-content: center; margin-top: 0.5rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.995); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn span[aria-hidden] { transition: transform 0.25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(15, 107, 98, 0.2);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 26px rgba(15, 107, 98, 0.26);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-hover); }

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.text-cta span[aria-hidden] { transition: transform 0.25s var(--ease); }
.text-cta:hover { color: var(--accent); }
.text-cta:hover span[aria-hidden] { transform: translateX(3px); }

.nav-cta { white-space: nowrap; }

/* Focus */
.btn:focus-visible,
.text-cta:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--accent-hover);
  font-size: 0.88rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold-soft));
}
.band.dark .eyebrow { color: var(--accent-soft); }
.band.dark .eyebrow::before { background: linear-gradient(90deg, var(--gold-soft), rgba(255, 255, 255, 0.25)); }

.display-heading {
  font-size: clamp(2.4rem, 5.9vw, 4.05rem);
  line-height: 1.09;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.section-heading {
  font-size: clamp(1.72rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.body-large {
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 1.62;
  color: var(--ink-secondary);
}
.band.dark .body-large { color: rgba(255, 255, 255, 0.72); }

.muted-line { display: block; color: var(--ink-muted); }

.accent-text {
  color: var(--accent);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .accent-text {
    background-image: linear-gradient(94deg, #08403b 4%, var(--accent) 46%, #3f9184 100%);
    background-repeat: no-repeat;
    background-size: 200% 100%;
    background-position: 6% 0;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
  .js .accent-text { transition: background-position 1.15s var(--ease) 0.5s; }
  .js .display-heading.in .accent-text { background-position: 80% 0; }
}

/* ==========================================================================
   Hero (text first, centered)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.25rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--bg);
}
.hero-glow {
  position: absolute;
  inset: -25% -12% auto;
  height: 560px;
  pointer-events: none;
  filter: blur(6px);
  background:
    radial-gradient(46% 58% at 28% 42%, rgba(15, 107, 98, 0.16), transparent 70%),
    radial-gradient(44% 54% at 76% 26%, rgba(169, 119, 47, 0.14), transparent 70%);
  animation: floatGlow 20s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 5%, 0) scale(1.08); }
}

.hero-inner {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.hero-inner .eyebrow { justify-content: center; }
.hero-inner .display-heading { max-width: 21ch; margin-inline: auto; }
.hero-sub { max-width: 56ch; margin: 1.3rem auto 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  margin-top: 2.1rem;
}
.hero-chips li {
  display: flex;
  align-items: center;
  color: var(--ink-secondary);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.hero-chips li + li::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  margin-right: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}
.hero-chips li:hover { color: var(--accent); }

/* ==========================================================================
   Problem
   ========================================================================== */
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.problem-lead .section-heading { max-width: 20ch; }

.problem-list { display: grid; }
.problem-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-num {
  flex-shrink: 0;
  color: var(--gold);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.problem-list p {
  color: var(--ink-secondary);
  font-size: 1.02rem;
  line-height: 1.55;
}
.problem-close {
  margin-top: 1.6rem;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.problem-close strong { color: var(--accent); }

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
}
.service-card {
  position: relative;
  padding-top: 1.6rem;
  border-top: 2px solid var(--line);
}
.service-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.5s var(--ease);
}
.service-card:hover::after { width: 100%; }
.card-num {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.24rem;
  transition: color 0.25s ease;
}
.service-card:hover h3 { color: var(--accent-hover); }
.service-card p {
  max-width: 42ch;
  color: var(--ink-secondary);
  font-size: 0.98rem;
}

.approach-note {
  max-width: 74ch;
  margin-top: 2.75rem;
  padding: 0.2rem 0 0.2rem 1.35rem;
  border-left: 3px solid var(--accent-soft);
  color: var(--ink-secondary);
  font-size: 0.99rem;
}
.approach-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   System band (Attention, Trust, Conversations)
   ========================================================================== */
.system-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.system-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
}
.system-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}
.system-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: Manrope, Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}
.system-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}
.system-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.97rem;
  line-height: 1.6;
}
.system-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.05rem;
  right: -0.92rem;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.28);
  border-right: 1.5px solid rgba(255, 255, 255, 0.28);
  transform: rotate(45deg);
}

/* ==========================================================================
   Who we help
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.audience-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
}
.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 600;
}
.audience-tag::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.audience-card h3 { font-size: 1.28rem; line-height: 1.25; }
.audience-card p { color: var(--ink-secondary); }
.audience-card .text-cta { margin-top: auto; padding-top: 0.4rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.process-step {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.process-step:hover { border-top-color: var(--accent); }
.step-marker {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent-soft);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}
.process-step:hover .step-marker { color: var(--accent); }
.process-step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}
.process-step p {
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.58;
}
.process-note {
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-subtle);
  color: var(--ink-secondary);
  font-size: 0.98rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-right: 1.5px solid var(--ink-secondary);
  border-bottom: 1.5px solid var(--ink-secondary);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), border-color 0.2s ease;
}
.faq-item[open] summary { color: var(--accent-hover); }
.faq-item[open] summary::after {
  margin-top: 4px;
  border-color: var(--accent);
  transform: rotate(-135deg);
}
.faq-item p {
  padding-bottom: 1.15rem;
  color: var(--ink-secondary);
  animation: answerIn 0.35s var(--ease) both;
}
@keyframes answerIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.cta-card .eyebrow { justify-content: center; }
.cta-card .section-heading { max-width: 24ch; margin-inline: auto; }
.cta-card .body-large { max-width: 54ch; margin: 0.9rem auto 0; }
.cta-card .hero-actions { margin-top: 1.9rem; }
.cta-card .btn-primary {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.cta-card .btn-primary:hover { background: var(--gold-bg); color: var(--ink); }
.cta-card .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  box-shadow: none;
}
.cta-card .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* ==========================================================================
   Contact + form (compact)
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-copy .section-heading { margin-bottom: 0.8rem; }
.contact-copy .body-large { max-width: 44ch; }

.contact-points {
  display: grid;
  margin-top: 2rem;
}
.contact-points li {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.97rem;
}
.contact-points li span {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.contact-points a {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact-points a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  max-width: 430px;
  justify-self: end;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.field-row { display: grid; gap: 0.85rem; }
.field-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 0.32rem; }

.contact-form label {
  color: var(--ink-secondary);
  font-size: 0.79rem;
  font-weight: 600;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.93rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form input::placeholder { color: var(--ink-muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(15, 107, 98, 0.1);
  outline: none;
}
.contact-form textarea {
  min-height: 84px;
  line-height: 1.5;
  resize: vertical;
}
.contact-form .btn { width: 100%; padding-block: 0.72rem; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c0392b; }

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

.form-status {
  display: none;
  padding: 0.65rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  line-height: 1.45;
}
.form-status.success {
  display: block;
  border-color: var(--accent-soft);
  background: var(--accent-bg);
  color: var(--accent-hover);
}
.form-status.error {
  display: block;
  border-color: #e8c3bd;
  background: #fbf1ef;
  color: #96382b;
}
.form-status.info {
  display: block;
  border-color: var(--line);
  background: var(--bg);
  color: var(--ink-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: 2.75rem 2.25rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 1.75rem 2rem;
  align-items: start;
}
.footer-brand .logo {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}
.footer-brand .logo-mark {
  width: 26px;
  height: 26px;
}
.footer-brand p { color: var(--ink-secondary); font-size: 0.94rem; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.footer-nav a {
  color: var(--ink-secondary);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--accent); }

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  transition: transform 0.25s var(--ease), border-color 0.2s ease, color 0.2s ease;
}
.social-links a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.social-links svg { width: 18px; height: 18px; }

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-subtle);
  color: var(--ink-muted);
  font-size: 0.86rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal { opacity: 0; transform: translate3d(0, 20px, 0); }
.js .reveal[data-reveal="fade"] { transform: none; }
.js .reveal[data-reveal="zoom"] { transform: scale(0.965); }
.js .reveal[data-reveal="left"] { transform: translate3d(-22px, 0, 0); }
.js .reveal[data-reveal="right"] { transform: translate3d(22px, 0, 0); }
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-wrap { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; grid-column: 3; }
  .logo { grid-column: 1; }

  .problem-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .problem-lead .section-heading { max-width: 26ch; }

  .service-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card { padding: 1.5rem 0; }

  .system-track { grid-template-columns: 1fr; }
  .system-card:not(:last-child)::after { display: none; }

  .audience-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { padding-bottom: 0.5rem; }

  .contact-form { max-width: 460px; justify-self: start; }
}

@media (max-width: 700px) {
  .contain,
  .contain.narrow { width: calc(100% - 1.9rem); }

  html { scroll-padding-top: 80px; }

  .hero-actions .btn { flex: 1 1 auto; }
  .cta-card .btn,
  .hero-actions .btn { width: 100%; }

  .process-list { grid-template-columns: 1fr; gap: 1.15rem; }
  .problem-list li { gap: 0.85rem; }
  .problem-list p { font-size: 1rem; }

  .audience-card { padding: 1.35rem; }

  .faq-item summary { font-size: 1rem; gap: 1rem; }

  .field-row.two { grid-template-columns: 1fr; }
  .contact-form { max-width: none; justify-self: stretch; padding: 1.15rem; }

  .footer-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .copyright { padding-top: 1.15rem; }
}

@media (max-width: 420px) {
  .hero-chips { gap: 0.45rem 0.7rem; }
  .hero-chips li { font-size: 0.72rem; letter-spacing: 0.1em; }
  .hero-chips li + li::before { width: 3px; height: 3px; margin-right: 0.7rem; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .js .accent-text { background-position: 80% 0; }
  .hero-glow { animation: none; }
  .btn:hover,
  .system-card:hover,
  .audience-card:hover,
  .social-links a:hover,
  .logo:hover .logo-mark { transform: none; }
}






