/* ==========================================================================
   ByteAlong — Design System
   Brand: plum #3b1852 + indigo #2b2b96 (from the ByteAlong logo)
   ========================================================================== */

:root {
  /* Brand */
  --plum-900: #1c0b29;
  --plum-800: #2a1140;
  --plum-700: #3b1852;
  --plum-500: #5d1e87;
  --indigo-700: #2b2b96;
  --indigo-500: #4b55e6;
  --indigo-400: #7f8cff;
  --indigo-100: #e8eaff;
  --cyan-400: #38d6f5;
  --mint-400: #3ee6a8;

  /* Neutrals */
  --ink-900: #14121f;
  --ink-700: #36334a;
  --ink-500: #64607a;
  --ink-300: #b4b1c4;
  --line: #e7e5f0;
  --surface: #ffffff;
  --surface-alt: #f6f5fb;

  /* Effects */
  --grad-brand: linear-gradient(135deg, var(--plum-700) 0%, var(--indigo-700) 100%);
  --grad-accent: linear-gradient(90deg, var(--indigo-400), var(--cyan-400));
  --shadow-sm: 0 1px 2px rgba(20, 18, 31, .06), 0 1px 3px rgba(20, 18, 31, .08);
  --shadow-md: 0 8px 24px -8px rgba(43, 43, 150, .18), 0 2px 6px rgba(20, 18, 31, .06);
  --shadow-lg: 0 24px 48px -16px rgba(43, 43, 150, .28);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Type & layout */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--indigo-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-500); }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 750;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; }

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--ink-900); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

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

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.brand .logo-light { display: none; }

/* Transparent header over dark hero, until scrolled or menu opened */
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .logo-dark { display: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .logo-light { display: block; }
@media (min-width: 861px) {
  .has-dark-hero .site-header:not(.is-scrolled) .nav-menu a:not(.btn) { color: rgba(255, 255, 255, .82); }
  .has-dark-hero .site-header:not(.is-scrolled) .nav-menu a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
  .has-dark-hero .site-header:not(.is-scrolled) .nav-menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
  .has-dark-hero .site-header:not(.is-scrolled) .btn-primary { background: #fff; color: var(--plum-700); }
}
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle span,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle span::before,
.has-dark-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle span::after { background-color: #fff; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-700); font-weight: 550; font-size: .97rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-menu a:not(.btn):hover { background: var(--surface-alt); color: var(--ink-900); }
.nav-menu a[aria-current="page"] { color: var(--indigo-700); background: var(--indigo-100); }
.nav-menu .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; margin: auto; border-radius: 2px;
  background: var(--ink-900); position: relative; transition: transform .25s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { gap: 0; }
  .nav-toggle { display: inline-flex; align-items: center; margin-left: auto; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav-menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu a:not(.btn) { padding: 12px 14px; border-radius: 10px; }
  .nav-menu .btn { display: flex; margin: 8px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn-ghost:hover { border-color: var(--indigo-400); color: var(--indigo-700); }
.btn-light { background: #fff; color: var(--plum-700); }
.btn-light:hover { color: var(--indigo-700); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--ink-500); font-size: 1.12rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--indigo-100); color: var(--indigo-700);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.2rem; color: var(--ink-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(75, 85, 230, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(93, 30, 135, .55), transparent 60%),
    linear-gradient(160deg, var(--plum-900) 0%, var(--plum-800) 45%, #1d1d6b 100%);
  color: rgba(255, 255, 255, .78);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero h1, .hero h2 { color: #fff; }
.hero .eyebrow { background: rgba(255, 255, 255, .1); color: #d9dcff; }
.hero .text-gradient { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero p.lead { color: rgba(255, 255, 255, .75); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none;
  font-size: .95rem; color: rgba(255, 255, 255, .72);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--mint-400); flex: none; }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 88px); text-align: center; }
.page-hero .lead { margin: 0 auto; max-width: 680px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }

/* ---------- Proof strip ---------- */
.proof {
  position: relative; z-index: 2;
  margin-top: -48px;
}
.proof-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.proof-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item strong { display: block; color: var(--ink-900); font-size: 1rem; line-height: 1.3; }
.proof-item span { font-size: .9rem; color: var(--ink-500); line-height: 1.45; }

/* ---------- Icon tile ---------- */
.icon-tile {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--indigo-100), #f1e9ff);
  color: var(--indigo-700);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-tile.lg svg { width: 28px; height: 28px; }

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

.card {
  position: relative; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8d6f3; }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--ink-500); margin: 0; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card .card-link:hover svg { transform: translateX(3px); }

.service-card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--grad-accent); opacity: 0; transition: opacity .3s;
}
.service-card:hover::after { opacity: 1; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--plum-800), #1d1d6b);
  box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media img.contain { object-fit: contain; padding: 20px; }
.split .icon-tile { margin-bottom: 20px; }

.split h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.section-action { text-align: center; margin: 48px 0 0; }

.step-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo-500);
}
.step-badge b {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-size: .85rem; letter-spacing: 0;
}

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--indigo-500); }

/* ---------- Process timeline (compact) ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 30px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--indigo-400) 0 8px, transparent 8px 16px); opacity: .5;
}
.process-step { position: relative; text-align: center; padding: 0 12px; }
.process-step .num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--grad-brand); color: #fff; font-weight: 750; font-size: 1.15rem;
  box-shadow: 0 0 0 8px var(--surface-alt), var(--shadow-md);
}
.process-step p { color: var(--ink-500); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.quote-card {
  display: flex; flex-direction: column; margin: 0;
  padding: 34px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.quote-card .quote-mark { width: 36px; height: 36px; color: var(--indigo-400); margin-bottom: 18px; }
.quote-card h3 { font-size: 1.12rem; margin: 0 0 12px; }
.quote-card blockquote { margin: 0 0 24px; color: var(--ink-700); flex: 1; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: .95rem;
}
.quote-card cite { font-style: normal; line-height: 1.35; }
.quote-card cite strong { display: block; color: var(--ink-900); }
.quote-card cite span { font-size: .9rem; color: var(--ink-500); }

.quote-card.featured {
  background: var(--grad-brand); border-color: transparent; color: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-lg);
}
.quote-card.featured h3, .quote-card.featured cite strong { color: #fff; }
.quote-card.featured blockquote { color: rgba(255, 255, 255, .9); font-size: 1.25rem; line-height: 1.5; font-weight: 500; }
.quote-card.featured .quote-mark { color: var(--cyan-400); }
.quote-card.featured figcaption { border-color: rgba(255, 255, 255, .18); }
.quote-card.featured cite span { color: rgba(255, 255, 255, .7); }
.quote-card.featured .avatar { background: rgba(255, 255, 255, .16); }
.quote-wide { max-width: 920px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); }
.quote-wide blockquote { font-size: clamp(1.35rem, 2.4vw, 1.8rem) !important; letter-spacing: -.01em; }
.quote-wide .quote-more { margin-left: auto; }
@media (max-width: 640px) { .quote-wide figcaption { flex-wrap: wrap; } .quote-wide .quote-more { margin-left: 0; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 72px); border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(56, 214, 245, .25), transparent 60%),
    var(--grad-brand);
  color: rgba(255, 255, 255, .8);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; z-index: -1;
  width: 360px; height: 360px; border-radius: 50%;
  border: 48px solid rgba(255, 255, 255, .06);
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Feature list (about) ---------- */
.value { display: flex; gap: 18px; align-items: flex-start; }
.value h3 { margin: 4px 0 8px; font-size: 1.15rem; }
.value p { margin: 0; color: var(--ink-500); }

.stat-panel {
  padding: 40px; border-radius: var(--radius-lg);
  background: var(--grad-brand); color: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-lg);
}
.stat-panel h3 { color: #fff; font-size: 1.5rem; }
.stat-panel .checklist svg { color: var(--cyan-400); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.contact-item h3 { font-size: 1rem; margin: 0 0 4px; }
.contact-item p { margin: 0; color: var(--ink-500); font-size: .97rem; }

.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink-900); }
.field label .opt { font-weight: 400; color: var(--ink-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface-alt);
  font: inherit; font-size: 1rem; color: var(--ink-900);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo-500); background: #fff; box-shadow: 0 0 0 4px rgba(75, 85, 230, .15);
}
.field [aria-invalid="true"] { border-color: #d6336c; }
.field .error { color: #c2255c; font-size: .85rem; min-height: 1em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0 0 18px; }
.chips legend { font-weight: 600; font-size: .92rem; color: var(--ink-900); margin-bottom: 10px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); font-size: .92rem; font-weight: 550; color: var(--ink-700);
  transition: all .2s;
}
.chip input:checked + span { background: var(--indigo-100); border-color: var(--indigo-500); color: var(--indigo-700); }
.chip input:focus-visible + span { outline: 3px solid var(--indigo-400); outline-offset: 2px; }
.form-note { font-size: .88rem; color: var(--ink-500); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #e9fbf3; color: #0f6b47; font-weight: 550; }
.form-status[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: #d8d6f3; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 650; color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--indigo-500); border-bottom: 2px solid var(--indigo-500);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-900); color: rgba(255, 255, 255, .65); padding: 72px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); transition: background .2s;
}
.social a:hover { background: rgba(255, 255, 255, .16); }
.social svg { width: 18px; height: 18px; }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.not-found .lead { margin-inline: auto; max-width: 560px; }
.not-found .hero-actions { justify-content: center; }
.not-found .code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; margin-bottom: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .proof-card { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .testimonials .featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-4, .testimonials, .form-row { grid-template-columns: 1fr; }
  .proof-card { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .quote-card { padding: 26px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

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