/* ==========================================================
   NextStep Collaborating — main stylesheet
   Plain CSS, no build step.
   ========================================================== */

:root {
  --navy: #1c3b5b;
  --navy-deep: #112842;
  --navy-ink: #0c1d31;
  --coral: #f26b5c;
  --coral-deep: #d9503f;
  --coral-tint: #fde9e6;
  --mint: #e2f1ec;
  --mint-deep: #b9dccf;
  --paper: #f7f4ef;
  --white: #ffffff;
  --ink: #1d2733;
  --muted: #5b6776;
  --line: #dfe3e8;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(12, 29, 49, 0.35);
  --shadow-soft: 0 8px 24px -12px rgba(12, 29, 49, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--mint { background: var(--mint); }
.section--navy { background: var(--navy-deep); color: #d4dde8; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--coral); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

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

/* ---------- Eyebrow + section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px;
}
.section--navy .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--coral); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.section--navy .section-head p { color: #b8c5d4; }

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { background: var(--coral-deep); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-ink); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }

.text-link {
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 2px solid var(--coral); padding-bottom: 3px;
}
.text-link:hover { color: var(--coral-deep); }
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translate(3px, -3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-ink); color: #b8c5d4; font-size: 0.84rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 42px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--coral); }
.topbar__loc { display: inline-flex; align-items: center; gap: 8px; }
.topbar__loc svg { width: 15px; height: 15px; color: var(--coral); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* no backdrop-filter: it would trap the fixed mobile nav inside the header */
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(12,29,49,0.35); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { width: 196px; height: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.96rem;
  color: var(--navy-ink); text-decoration: none; position: relative; padding: 8px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--coral); transition: right 0.25s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 12px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  width: 46px; height: 46px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-ink); margin: 6px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #d8e1ec; overflow: hidden;
  background: var(--navy-ink);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(12,29,49,0.97) 0%, rgba(12,29,49,0.9) 42%, rgba(17,40,66,0.72) 70%, rgba(17,40,66,0.62) 100%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px;
  align-items: center; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px);
}
.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 .accent { color: var(--coral); display: block; }
.hero__sub {
  font-family: var(--font-head); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600;
  color: var(--white); margin-bottom: 14px; line-height: 1.4;
}
.hero__copy p { font-size: 1.08rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding-top: 26px;
  border-top: 1px solid var(--line-dark); font-size: 0.9rem; color: #b8c5d4;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--coral); flex: none; }

/* Form card */
.form-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 34px 32px 30px; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.55);
  position: relative;
}
.form-card::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px;
  background: var(--coral); border-radius: 0 0 4px 4px;
}
.form-card h2 { font-size: 1.45rem; margin-bottom: 6px; }
.form-card > p { font-size: 0.94rem; color: var(--muted); margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label {
  display: block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--navy-ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.97rem; color: var(--ink);
  background: #f8f9fb; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c3b5b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 4px rgba(28,59,91,0.12);
}
.form-note { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-success {
  display: none; text-align: center; padding: 28px 8px;
}
.form-success svg { width: 54px; height: 54px; color: var(--coral); margin: 0 auto 14px; }
.form-success h3 { font-size: 1.35rem; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy-ink); color: #d0dae6; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,29,49,0.96) 0%, rgba(12,29,49,0.88) 48%, rgba(12,29,49,0.35) 100%);
}
.page-hero .wrap { position: relative; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(70px, 9vw, 120px); }
.page-hero__inner { max-width: 640px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero p { font-size: 1.14rem; }
.crumbs { font-size: 0.85rem; margin-bottom: 22px; color: #9fb0c3; }
.crumbs a { color: #d0dae6; text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs span { margin: 0 8px; opacity: 0.6; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr 0.9fr; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media--offset::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius);
  background: var(--mint); z-index: -1;
}
.split__media .badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--white);
  border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; max-width: 270px;
}
.split__media .badge--right { left: auto; right: -18px; }
.badge strong {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--coral); line-height: 1;
}
.badge span { font-size: 0.88rem; line-height: 1.35; color: var(--navy-ink); font-weight: 600; }

/* ---------- Quote block ---------- */
.pullquote {
  position: relative; margin: 0 0 30px; padding: 30px 32px 28px 36px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--coral);
}
.pullquote p { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.5; color: var(--navy-ink); margin-bottom: 14px; }
.pullquote footer { font-size: 0.9rem; color: var(--muted); }
.pullquote footer strong { color: var(--navy); }

/* ---------- Numbered "understand" cards ---------- */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.num-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.num-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.num-card__n {
  font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; color: var(--coral-deep);
  letter-spacing: 0.1em; display: block; margin-bottom: 18px;
}
.num-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.num-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9503f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.section--navy .checklist li::before { background-color: rgba(242,107,92,0.18); }

/* ---------- Comparison table ---------- */
.compare {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--muted);
  background: #f4f6f8; letter-spacing: 0.02em;
}
.compare thead th.is-us { background: var(--navy); color: var(--white); }
.compare thead th small { display: block; font-weight: 500; font-size: 0.78rem; opacity: 0.75; margin-top: 2px; }
.compare tbody th { font-family: var(--font-head); font-weight: 700; color: var(--navy-ink); width: 20%; font-size: 0.92rem; }
.compare td.is-us { background: #f2f8f6; color: var(--navy-ink); font-weight: 600; }
.compare td { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.mark { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; vertical-align: -4px; margin-right: 8px; align-items: center; justify-content: center; flex: none; }
.mark svg { width: 12px; height: 12px; }
.mark--yes { background: var(--coral); color: var(--white); }
.mark--no { background: #e6e9ed; color: #8a95a3; }
.cell { display: flex; gap: 2px; align-items: flex-start; }
.cell .mark { margin-top: 2px; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 32px 28px 30px; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--coral);
  transition: width 0.35s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { width: 100%; }
.svc-card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--mint); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 22px;
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__n { position: absolute; top: 26px; right: 26px; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; color: #b3bcc7; letter-spacing: 0.1em; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.svc-cta { margin-top: 44px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.svc-cta p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- Approach staircase ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch;
  counter-reset: step;
}
.step {
  position: relative; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 24px 20px 22px;
  counter-increment: step;
  min-height: 210px;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.step:nth-child(5) { background: var(--coral); border-color: var(--coral); }
.step:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.step:nth-child(5):hover { background: var(--coral-deep); }
.step::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.12em; color: var(--coral); margin-bottom: 30px;
}
.step:nth-child(5)::before { color: var(--navy-ink); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: #b8c5d4; margin: 0; line-height: 1.55; }
.step:nth-child(5) p { color: #fff3f1; }
.step__arrow {
  position: absolute; top: 20px; right: 18px; width: 22px; height: 22px; color: var(--coral); opacity: 0.8;
}
.step:nth-child(5) .step__arrow { color: var(--white); }
.steps-foot { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.steps-foot p { margin: 0; font-size: 1.06rem; }
.steps-foot strong { color: var(--white); }

/* ---------- Roadmap / deliverable preview ---------- */
.roadmap {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--line);
}
.roadmap__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 24px; background: var(--navy); color: var(--white);
}
.roadmap__title { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; display: flex; align-items: center; gap: 10px; }
.roadmap__title svg { width: 18px; height: 18px; color: var(--coral); }
.tag {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(242,107,92,0.2); color: #ffc4bc;
}
.roadmap__phase { padding: 18px 24px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.roadmap__phase:last-child { border-bottom: 0; }
.roadmap__when { font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); padding-top: 3px; }
.roadmap__phase h4 { font-size: 1rem; margin: 0 0 8px; }
.roadmap__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.roadmap__items li {
  font-size: 0.8rem; font-weight: 600; color: var(--navy); background: var(--mint);
  padding: 4px 10px; border-radius: 6px;
}
.roadmap__bar { height: 6px; background: #edf0f3; border-radius: 99px; margin-top: 12px; overflow: hidden; }
.roadmap__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--coral)); border-radius: 99px; width: 0; transition: width 1.4s var(--ease); }
.is-visible .roadmap__bar span { width: var(--w); }
.roadmap__foot { padding: 14px 24px; background: #f7f8fa; font-size: 0.8rem; color: var(--muted); }

/* ---------- Deliverables list ---------- */
.deliv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; list-style: none; padding: 0; margin: 0 0 30px; }
.deliv-grid li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-weight: 500; color: var(--navy-ink); font-size: 0.97rem;
}
.deliv-grid li svg { width: 20px; height: 20px; color: var(--coral); flex: none; margin-top: 3px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.founder__photo { position: relative; }
.founder__photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% center; box-shadow: var(--shadow); }
.founder__photo::before {
  content: ""; position: absolute; top: -20px; left: -20px; width: 120px; height: 120px;
  border-top: 4px solid var(--coral); border-left: 4px solid var(--coral); border-radius: 18px 0 0 0;
}
.founder__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-top: -6px; margin-bottom: 22px; font-size: 1.02rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.stat { border-top: 3px solid var(--coral); padding-top: 14px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--navy-ink); line-height: 1.1; }
.stat span { font-size: 0.86rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.pill-list li {
  font-size: 0.86rem; font-weight: 600; color: var(--navy); background: var(--white);
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}
.section--paper .pill-list li { background: var(--white); }
.section--mint .pill-list li { background: rgba(255,255,255,0.7); border-color: var(--mint-deep); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 20px;
  border: 1px solid var(--line); text-align: left;
}
.ind-card svg { width: 30px; height: 30px; color: var(--coral-deep); margin-bottom: 16px; }
.ind-card h3 { font-size: 1rem; margin: 0; }
.area {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--navy); color: #cbd6e2; border-radius: var(--radius); padding: 28px 32px;
}
.area__pin { width: 56px; height: 56px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; color: var(--white); }
.area__pin svg { width: 26px; height: 26px; }
.area h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.area p { margin: 0; font-size: 0.97rem; }
.area__cities { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 12px; list-style: none; padding: 0; }
.area__cities li { font-size: 0.82rem; font-weight: 600; background: rgba(255,255,255,0.1); color: var(--white); padding: 4px 11px; border-radius: 999px; }

/* ---------- Problems ---------- */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problem-list li {
  background: var(--white); border-radius: 12px; padding: 18px 22px 18px 60px; position: relative;
  font-weight: 500; color: var(--navy-ink); border: 1px solid var(--line);
}
.problem-list li::before {
  content: "?"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--coral-tint); color: var(--coral-deep); font-family: var(--font-head); font-weight: 800; font-size: 0.9rem;
}

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value {
  border-radius: var(--radius); padding: 26px 22px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark);
}
.value strong { display: block; font-family: var(--font-head); font-size: 1.16rem; font-weight: 800; color: var(--white); line-height: 1.25; }
.value span { display: block; margin-top: 6px; font-size: 0.92rem; color: #9fb0c3; }
.value em { font-style: normal; color: var(--coral); }

/* ---------- Partner ---------- */
.partner {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; background: var(--white);
  box-shadow: var(--shadow-soft);
}
.partner h3 { margin-bottom: 8px; }
.partner p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--navy-ink); line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c3b5b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq details.is-open summary::after,
.no-js .faq details[open] summary::after { transform: rotate(45deg); background-color: var(--coral-tint); }
.faq summary:hover { color: var(--coral-deep); }
/* bottom spacing lives on the last child (not padding) so the height slide can reach 0 */
.faq__a { padding: 0 40px 0 0; color: var(--muted); overflow: hidden; }
.faq__a ul { margin: 0 0 1em; padding-left: 20px; }
.faq__a li { margin-bottom: 4px; }
.faq__a > :last-child { margin-bottom: 22px; }

/* ---------- Answer box (AEO) ---------- */
.answer {
  border-radius: var(--radius); background: var(--white); padding: 30px 32px;
  border: 1px solid var(--line); border-top: 4px solid var(--navy);
}
.answer h2 { font-size: 1.35rem; margin-bottom: 12px; }
.answer p { margin: 0; color: var(--muted); }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-deep); color: #cbd6e2; overflow: hidden; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; padding-top: clamp(72px, 9vw, 110px); padding-bottom: clamp(72px, 9vw, 110px); }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.1rem; max-width: 560px; }
.cta-band__sign { font-family: var(--font-head); font-weight: 700; color: var(--coral) !important; font-size: 1.2rem !important; }
.cta-band__img { position: relative; justify-self: end; width: 100%; max-width: 360px; }
.cta-band__img img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.cta-band__deco {
  position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; pointer-events: none; opacity: 0.08;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: #9fb0c3; font-size: 0.94rem; }
.site-footer .wrap { padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 200px; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cbd6e2; text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.footer-cta .btn { margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: 0.84rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-grid .form-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.expect { list-style: none; padding: 0; margin: 26px 0 30px; counter-reset: ex; }
.expect li { counter-increment: ex; position: relative; padding: 0 0 22px 58px; }
.expect li::before {
  content: counter(ex); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 800;
}
.expect li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.expect li:last-child::after { display: none; }
.expect strong { display: block; font-family: var(--font-head); color: var(--navy-ink); margin-bottom: 2px; padding-top: 7px; }
.expect span { color: var(--muted); font-size: 0.96rem; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius);
  background: var(--paper);
}
.contact-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 45% 30%; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--navy-ink); }
.contact-card span { font-size: 0.92rem; color: var(--muted); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 680px; }
  .form-card { max-width: 620px; }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 22px 56px 22px 22px; }
  .step::before { margin: 4px 0 0; grid-row: span 2; }
  .step h3, .step p { grid-column: 2; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 100%); height: 100dvh;
    background: var(--white); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 100px 28px 40px; box-shadow: -20px 0 50px -20px rgba(0,0,0,0.4);
    transform: translateX(100%); transition: transform 0.35s var(--ease); z-index: 90; visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 26px; }
  .nav-toggle { position: relative; z-index: 95; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(12,29,49,0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 80; }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .split, .split--wide-left, .founder, .faq-layout, .contact-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .founder__photo { max-width: 460px; }
  .cta-band__img { justify-self: start; max-width: 280px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .answer-grid { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; }
  .steps-foot { grid-template-columns: 1fr; }
  .topbar__right { display: none; }

  /* Comparison table → stacked cards */
  .compare { background: transparent; box-shadow: none; overflow: visible; }
  .compare thead { display: none; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-bottom: 16px; overflow: hidden; }
  .compare tbody th { width: 100%; background: var(--navy); color: var(--white); padding: 14px 20px; border: 0; }
  .compare td { padding: 14px 20px; }
  .compare td::before {
    content: attr(data-label); display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: #8a95a3; margin-bottom: 4px;
  }
  .compare td.is-us::before { color: var(--coral-deep); }
  .compare tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tr td:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .site-header .wrap { min-height: 70px; }
  .brand img { width: 160px; }
  .topbar { font-size: 0.78rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 20px 24px; }
  .form-card::before { left: 20px; right: 20px; }
  .num-grid, .svc-grid, .ind-grid, .values, .deliv-grid, .stats { grid-template-columns: 1fr; }
  .stats { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .area { grid-template-columns: 1fr; padding: 24px 22px; }
  .split__media .badge { left: 12px; bottom: 12px; }
  .split__media .badge--right { left: auto; right: 12px; }
  .split__media--offset::before { inset: 14px -10px -14px 14px; }
  .roadmap__phase { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .roadmap__head { padding: 16px 18px; }
  .hero__actions .btn { width: 100%; }
  .partner { padding: 26px 22px; }
  .answer { padding: 24px 22px; }
  .founder__photo::before { top: -10px; left: -10px; width: 80px; height: 80px; }
}

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