/* ============================================================
   MASSH AI Services: design tokens
   Palette: black, white and brushed silver/steel, with one confident
   trust-blue accent reserved for key action/verification moments
   (CTA buttons, the tagline badge, the seal, price and stat numbers).
   (--brass/--teal names kept for minimal diffs; both now resolve
   to metallic cool tones instead of warm gold/teal)
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (utility)
   ============================================================ */
:root {
  --ink: #0A0A0B;
  --panel: #161618;
  --panel-raised: #1D1D20;
  --hairline: #2C2C2F;

  --brass: #C6CCD4;
  --brass-bright: #EEF1F4;
  --teal: #8B93A0;
  --teal-deep: #565D67;
  --warn: #C7CCD4;
  --warn-bg: #1B1D21;
  --warn-border: #454B54;
  --error: #D9736F;
  --trust: #4A7FE8;
  --trust-bright: #5C90F5;

  --paper: #F2F2F5;
  --muted: #9A9AA2;
  --muted-2: #6B6C72;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--brass-bright);
  z-index: 2000;
  transition: width 0.1s linear;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brass); color: var(--ink);
  padding: 12px 20px; font-weight: 600; z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--brass); color: var(--ink);
}
.btn-primary::before {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  z-index: -1;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { background: var(--trust); color: var(--paper); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--hairline); color: var(--paper);
}
.btn-outline:hover { border-color: var(--trust); color: var(--trust-bright); }
.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-stamp:active { transform: scale(0.96); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28, 28, 31, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 16px clamp(20px, 5vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  flex-shrink: 0; object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.55)) drop-shadow(0 0 5px rgba(255,255,255,0.2));
}
.brand-word {
  font-family: var(--font-mono); font-weight: 600; font-size: 1.28rem;
  letter-spacing: 0.5px; line-height: 1.2;
  display: flex; flex-direction: column;
}
.brand-sub { font-size: 0.66rem; color: var(--muted); letter-spacing: 1.5px; font-weight: 500; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.92rem; color: var(--muted); font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--trust-bright);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--trust-bright); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--paper); margin: 0 auto; }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px clamp(20px, 5vw, 40px) 20px;
  border-top: 1px solid var(--hairline);
}
.mobile-menu a { padding: 12px 0; color: var(--muted); font-size: 0.98rem; }
.mobile-menu a.btn { margin-top: 10px; text-align: center; }
.mobile-menu.open { display: flex; }

/* ---------- Eyebrow / headings ---------- */
.slogan {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 1px;
  color: var(--brass-bright); margin-bottom: 10px; font-weight: 600;
}
.footer-slogan {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.5px;
  color: var(--brass); margin-top: -8px;
}

.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 2px;
  color: var(--muted); margin-bottom: 18px; font-weight: 500;
  text-wrap: balance;
}
.eyebrow-teal { color: var(--teal); }
.eyebrow-brass { color: var(--brass); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.amp { font-family: var(--font-body); font-style: italic; font-weight: 500; }

.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.section-head.light .section-lead { color: rgba(242,242,245,0.65); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 120px) 0 56px;
  background:
    radial-gradient(ellipse 55% 60% at 65% 0%, rgba(255,255,255,0.06), transparent 65%),
    #1C1C1F;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 12px; }
.tagline-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brass-bright);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tagline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass-bright); box-shadow: 0 0 8px var(--brass-bright); flex-shrink: 0; }

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; margin-bottom: 16px;
}
.ink-accent { font-weight: 700; color: var(--paper); }
.btn-arrow { display: inline-block; margin-left: 8px; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin-bottom: 16px; }
.value-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.value-pills span {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.5px; color: var(--muted);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 13px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero document mock */
.hero-doc { position: relative; display: flex; justify-content: center; }
.hero-doc::before {
  content: "";
  position: absolute; top: 10%; left: 50%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}
.doc-card {
  position: relative;
  width: 100%; max-width: 380px;
  background: #242428;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 22px 30px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(18px);
  animation: docIn 0.7s var(--ease) 0.15s forwards;
}
@keyframes docIn { to { opacity: 1; transform: translateY(0); } }

.doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.doc-tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 1px; }
.doc-status { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 1px; color: var(--paper); background: rgba(255,255,255,0.10); padding: 4px 10px; border-radius: 999px; transition: color 0.3s, background 0.3s; }
.doc-status.done { color: var(--ink); background: var(--brass-bright); }

.doc-rows { display: flex; flex-direction: column; gap: 16px; }
.doc-row { display: flex; flex-direction: column; gap: 4px; }
.doc-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 1.5px; color: var(--muted-2); }
.doc-value { font-size: 0.95rem; min-height: 1.3em; position: relative; }
.doc-value.typing::after {
  content: ""; display: inline-block; width: 1px; height: 1em;
  background: var(--brass-bright); margin-left: 2px; vertical-align: -2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.doc-seal {
  position: absolute; right: 18px; bottom: -18px;
  color: var(--brass);
  opacity: 0; transform: scale(0.4) rotate(-25deg);
  filter: drop-shadow(0 8px 18px rgba(255,255,255,0.2));
}
.doc-seal.stamped {
  animation: stamp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(0.4) rotate(-25deg); }
  60% { opacity: 1; transform: scale(1.12) rotate(-8deg); }
  100% { opacity: 1; transform: scale(1) rotate(-10deg); }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--panel); }
.careers-section { border-top: 1px solid var(--hairline); padding-top: 76px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--brass);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.section-alt .card, .card.accent-teal-solo, .card.accent-brass-solo { background: var(--panel-raised); }
.accent-teal .card { border-top-color: var(--teal); }
.accent-brass .card { border-top-color: var(--brass); }
.card.accent-teal-solo { border-top: 2px solid var(--teal); }
.card.accent-brass-solo { border-top: 2px solid var(--brass); }

.card:hover { transform: translateY(-5px); border-color: var(--hairline); }
.card-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-2); letter-spacing: 1.5px; margin-bottom: 10px; }
.card h3 { font-size: 1.22rem; margin-bottom: 16px; }
.card ul li {
  padding: 8px 0; font-size: 0.92rem; color: var(--muted);
  border-bottom: 1px solid var(--hairline);
  padding-left: 16px; position: relative;
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 6px; height: 1px; background: var(--brass);
}
.accent-teal .card ul li::before, .accent-teal-solo ul li::before { background: var(--teal); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Pricing (startup package) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 24px; }
.price-card {
  background: var(--panel-raised);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 50px -20px rgba(255,255,255,0.15);
  transition: border-color 0.3s;
}
.price-card:hover { border-color: var(--trust); }
.price-card h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.price-tag { font-family: var(--font-mono); font-size: 1.6rem; color: var(--brass-bright); font-weight: 600; margin-bottom: 6px; }
.price-note { font-size: 0.84rem; color: var(--muted-2); margin-bottom: 20px; line-height: 1.5; }
.price-card ul { margin-bottom: 26px; flex-grow: 1; }
.price-card ul li {
  padding: 9px 0; font-size: 0.92rem; color: var(--muted);
  border-bottom: 1px solid var(--hairline);
  padding-left: 16px; position: relative;
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 1px; background: var(--brass); }
.price-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.startup-extra {
  background: var(--panel-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 24px;
}
.startup-extra p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.startup-extra strong { color: var(--paper); }

/* ---------- About / Our Story ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 20px; }
.about-copy p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 18px; max-width: 560px; }
.about-facts { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-facts li { color: var(--paper); font-size: 0.94rem; padding-left: 18px; position: relative; }
.about-facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 1px; background: var(--brass); }

.about-stat {
  background: var(--panel-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
}
.about-stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--brass-bright); line-height: 1; }
.about-stat-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 1px; color: var(--muted-2); margin-top: 8px; text-transform: uppercase; }
.about-stat-hr { height: 1px; background: var(--hairline); margin: 26px 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.review-card {
  background: var(--panel-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--trust); }
.stars { color: var(--brass); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-card blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--paper); line-height: 1.5; margin: 0 0 16px; }
.review-who { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item {
  background: var(--panel-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
}
.faq-item summary {
  padding: 16px 0;
  font-weight: 600; font-size: 0.98rem; color: var(--paper);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--brass);
  flex-shrink: 0; transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; padding-bottom: 18px; }
.faq-item p a { color: var(--brass-bright); text-decoration: underline; }
.faq-item p a:hover { color: var(--trust-bright); }

/* ---------- UK Forms ---------- */
.forms-panel {
  background: var(--panel-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
}
.panel-title { font-size: 1rem; color: var(--brass-bright); margin-bottom: 20px; font-family: var(--font-mono); letter-spacing: 0.5px; font-weight: 600; }
.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.forms-grid li {
  padding: 10px 0; font-size: 0.94rem; color: var(--paper);
  padding-left: 16px; position: relative;
  border-bottom: 1px solid var(--hairline);
}
.forms-grid li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 1px; background: var(--brass); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.step { padding: 4px 0; }
.step-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--brass); display: block; margin-bottom: 10px; letter-spacing: 1px; }
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: var(--muted); }

.disclaimer-note {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6;
  border-left: 2px solid var(--warn);
  padding-left: 16px;
}
.disclaimer-note strong { color: var(--paper); }
.disclaimer-note a { color: var(--brass-bright); text-decoration: underline; }
.disclaimer-note a:hover { color: var(--trust-bright); }

/* ---------- Contact ---------- */
.contact-section { padding: 56px 0; background: var(--panel); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; }
.contact-info p { margin-bottom: 20px; font-size: 1rem; display: flex; flex-direction: column; gap: 2px; }
.contact-info strong { color: var(--brass-bright); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; }
.contact-info a { color: var(--paper); }
.contact-info a:hover { color: var(--trust-bright); }

.contact-form { background: var(--panel-raised); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 32px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 1px; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 13px 14px; color: var(--paper); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--brass); }
.form-row textarea { resize: vertical; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; cursor: pointer; }
.consent-row input { margin-top: 4px; accent-color: var(--trust); flex-shrink: 0; }
.consent-row span { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.consent-row a { color: var(--brass-bright); text-decoration: underline; }

.contact-form .btn { width: 100%; }
.form-note { margin-top: 14px; font-size: 0.86rem; color: var(--teal); text-align: center; min-height: 1.2em; }
.form-note.error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--hairline); padding: 48px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.5px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--trust-bright); }
.footer-note { color: var(--muted-2); font-size: 0.8rem; max-width: 520px; line-height: 1.6; }
.footer-copy { color: var(--muted-2); font-size: 0.78rem; margin-top: 4px; }

/* ---------- Chat widget ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brass); color: var(--ink); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  transition: background 0.2s, transform 0.2s;
}
.chat-btn:hover { background: var(--trust); color: var(--paper); transform: translateY(-2px); }
.chat-popover {
  background: var(--panel-raised); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 18px 20px; max-width: 260px; font-size: 0.86rem; color: var(--muted);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.chat-popover strong { color: var(--paper); }
.chat-popover a { color: var(--brass-bright); }
.chat-popover p + p { margin-top: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Cards in a row cascade in rather than popping in as one block */
.cards .reveal:nth-child(2), .reviews-grid .reveal:nth-child(2), .pricing-grid .reveal:nth-child(2), .two-col .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards .reveal:nth-child(3), .reviews-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-doc { max-width: 340px; margin: 28px auto 0; }
  .two-col, .contact-grid, .forms-grid, .about-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 36px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .doc-head { flex-wrap: wrap; row-gap: 8px; }
  .doc-card { padding-bottom: 56px; }
  .doc-seal { width: 64px; }
  .doc-seal svg { width: 64px; height: 64px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero .eyebrow { font-size: 0.56rem; letter-spacing: 0.5px; white-space: normal; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .doc-card, .doc-seal, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .doc-value.typing::after { animation: none; }
  .card:hover, .btn:hover, .btn:hover .btn-arrow { transform: none; }
  .btn-primary::before { transition: none; }
  .btn-primary:hover::before { left: -60%; }
}
