/* ============================================================
   Procure Omnis — Product Landing Page
   Design tokens from Figma
   ============================================================ */

/* ---------- Self-hosted fonts (no CDN) ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2') format('woff2');
}

:root {
  --c-darkblue: #004670;   /* Logo Darker Blue */
  --c-primary:  #2094db;   /* Blue Primary    */
  --c-blue-mid: #3e86e1;   /* Blue Mid 2      */
  --c-grey:     #727c93;   /* Grey Text       */
  --c-black:    #22272a;   /* Black Text      */
  --c-white:    #ffffff;
  --c-bg:       #f4f5f9;   /* BG 1 Light Grey */
  --c-card:     #f3f6fd;   /* Blue Grey Light */
  --c-shadow:   #bfcae3;   /* Shadow Grey     */
  --c-line:     #dfeaf2;
  --c-placeholder: #a8b3ca;

  --radius:     20px;
  --radius-sm:  12px;
  --maxw:       1280px;

  --shadow-card: 4px 8px 8px rgba(191, 202, 227, 0.2);
  --shadow-soft: 4px 8px 16px rgba(191, 202, 227, 0.2);
  --shadow-float: 4px 8px 8px rgba(191, 202, 227, 0.5);
  --grad-btn: linear-gradient(90deg, var(--c-blue-mid), #007ecb);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--c-black);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

a { text-decoration: none; color: inherit; }

/* ---------- Shared building blocks ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px;
}

.section__head { padding: 0 20px 20px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
  color: var(--c-grey);
  margin-bottom: 4px;
}

.section__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: var(--c-darkblue);
}

.section__title .accent { color: var(--c-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.24px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn--primary {
  background-image: var(--grad-btn);
  color: var(--c-white);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(62, 134, 225, 0.35);
  filter: saturate(1.05);
}
.btn .icon-arrow { margin-left: 4px; }

/* Check-circle icon used in hero bar */
.check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-right: 8px;
  margin-top: 1px;
}

/* Colored icon badges (shared) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 40px;
  box-shadow: 4px 4px 8px rgba(191, 202, 227, 0.5);
}
.badge img { width: 24px; height: 24px; }
.badge--purple { background: #a189ff; }
.badge--blue   { background: #41b3f9; }
.badge--green  { background: #6fca0e; }
.badge--orange { background: #f99141; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 8px rgba(191, 202, 227, 0.2);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__logo { display: flex; padding: 0 8px; }
.nav__logo img { height: 41px; width: auto; }

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.24px;
  color: var(--c-darkblue);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background .15s ease;
}
.nav__link:hover { background: var(--c-card); }

/* Mobile-only header controls — hidden on desktop, shown in the <=640px block */
.nav__toggle { display: none; }
.nav__cta-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 800px;
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #ffffff 0%, #eef1f9 55%, #e9edf6 100%);
}

/* --- decorative orbit layer --- */
.hero__orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__orbit > * { pointer-events: auto; }

/* orbit animation video, centered on the hero focal point.
   Size is bounded by the .hero__orbit box (never larger than it). */
.hero__video {
  position: absolute;
  left: 50%; top: 422px;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  /* fade the rectangular video frame into the hero background */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, rgba(0,0,0,0) 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 50%, rgba(0,0,0,0) 70%);
}

/* PO logo mark sitting in the centre of the orbit disc */
.hero__logo {
  position: absolute;
  left: 50%; top: 422px;
  transform: translate(-50%, -50%);
  width: 76px;
  height: auto;
  z-index: 2;
}

/* node wrapper is transparent on desktop so nodes position against .hero__orbit */
.hero__nodes { display: contents; }

/* floating feature nodes */
.node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255,255,255,.6), rgba(243,246,253,.95));
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(2px);
}
.node__icon {
  flex-shrink: 0;
  display: inline-flex;
  padding: 10px;
  background: var(--c-white);
  border-radius: 40px;
  box-shadow: 0 0 8px rgba(32, 148, 219, 0.1);
}
.node__icon img { width: 24px; height: 24px; }
.node__text { display: flex; flex-direction: column; padding: 0 6px; white-space: nowrap; }
.node__text strong { font-size: 12px; font-weight: 600; letter-spacing: -0.24px; color: var(--c-darkblue); }
.node__text small  { font-size: 11px; font-weight: 400; letter-spacing: -0.22px; color: var(--c-grey); }

/* node positions (relative to 1280-wide hero, padding 32) */
.node--onboarding { left: 184px;  top: 286px; }
.node--po         { right: 163px; top: 333px; }
.node--grn        { left: 104px;  top: 443px; }
.node--invoice    { right: 83px;  top: 485px; }
.node--audit      { left: 50%; transform: translateX(-50%); top: 573px; }

/* --- hero foreground content --- */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 104px; /* clear the fixed header overlay */
}

.hero__title { text-align: center; max-width: 620px; }
.hero__title h1 { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.hero__title-main { font-size: 40px; color: var(--c-darkblue); }
.hero__title-sub  { font-size: 24px; color: var(--c-primary); }
.hero__lede {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-black);
  text-shadow: 1px 1px 0 rgba(255,255,255,.8), 4px 4px 10px #fff;
}

/* hero feature bar */
.hero__bar {
  width: 100%;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero__bar-lead {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.hero__bar-icon {
  flex-shrink: 0;
  display: inline-flex;
  padding: 12px;
  border-radius: 40px;
  background: rgba(32, 148, 219, 0.08);
}
.hero__bar-icon img { width: 24px; height: 24px; }
.hero__bar-lead p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.24px;
  color: var(--c-darkblue);
  line-height: 1.5;
}
.hero__bar-list {
  list-style: none;
  margin: 0; padding: 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.hero__bar-list li {
  display: flex;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.24px;
  color: var(--c-darkblue);
  line-height: 1.25;
  white-space: nowrap;
}

/* ============================================================
   CORE FEATURES
   ============================================================ */
.section--features { background: linear-gradient(0deg, rgba(255,255,255,.9), rgba(255,255,255,.9)), var(--c-shadow); border-radius: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, #ffffff, var(--c-card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 355px;
}
.feature-card__body { display: flex; flex-direction: column; gap: 8px; }
.feature-card__body .badge { align-self: flex-start; margin-bottom: 4px; }
.feature-card__body h3 { font-size: 13px; font-weight: 600; letter-spacing: -0.26px; color: var(--c-darkblue); }
.feature-card__body p  { font-size: 12px; line-height: 1.4; color: var(--c-grey); }
.feature-card__art { align-self: flex-end; width: auto; max-height: 180px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.section--how {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(187deg, var(--c-card) 11%, #fcfdfe 89%);
}
.how__intro { flex-shrink: 0; width: 430px; display: flex; align-items: flex-start; }
.how__head { padding: 20px; }
.how__head .section__title { font-size: 24px; letter-spacing: -0.48px; }
.how__art { width: 242px; height: auto; margin-left: -60px; }

.how__steps {
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 40px;
}
/* vertical dashed connector line */
.how__steps::before {
  content: "";
  position: absolute;
  left: 6px; top: 24px; bottom: 24px;
  border-left: 1px dashed var(--c-shadow);
}
.step {
  position: relative;
  background: linear-gradient(90deg, #ffffff, var(--c-card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 24px 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
/* connector dot from line to each card */
.step::before {
  content: "";
  position: absolute;
  left: -34px; top: 50%;
  width: 36px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--c-shadow) 0 4px, transparent 4px 8px);
}
.step::after {
  content: "";
  position: absolute;
  left: -40px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-blue-mid);
}
.step__num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 120px;
  background: var(--c-blue-mid);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.22px;
  display: flex; align-items: center; justify-content: center;
}
.step__icon {
  flex-shrink: 0;
  display: inline-flex;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(32,148,219,.12));
}
.step__icon img { width: 24px; height: 24px; }
.step__text h3 { font-size: 13px; font-weight: 600; letter-spacing: -0.26px; color: var(--c-darkblue); margin-bottom: 4px; }
.step__text p  { font-size: 12px; line-height: 1.4; color: var(--c-grey); }

/* ============================================================
   BENEFITS
   ============================================================ */
.section--benefits {
  position: relative;
  background: linear-gradient(180deg, #f5f7fd 0%, #f5f7fc 38%, rgba(255,255,255,.8) 100%);
  overflow: hidden;
}
.section--benefits::before {
  content: "";
  position: absolute;
  left: 50%; top: -70px;
  transform: translateX(-50%);
  width: 1280px; height: 640px;
  background: url('assets/benefits-bg.png') center/cover no-repeat;
  opacity: .9;
  z-index: 0;
  pointer-events: none;
}
.section--benefits .section__head,
.section--benefits .benefits-grid { position: relative; z-index: 1; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}
.benefit-card {
  background: linear-gradient(180deg, #ffffff, var(--c-card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.benefit-card__icon { width: 32px; height: 32px; margin-bottom: 8px; }
.benefit-card h3 { font-size: 13px; font-weight: 600; letter-spacing: -0.26px; color: var(--c-darkblue); }
.benefit-card p  { font-size: 12px; line-height: 1.4; color: var(--c-grey); }

/* ============================================================
   WHY PROCUREOMNIS
   ============================================================ */
.section--why {
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: linear-gradient(0deg, rgba(255,255,255,.9), rgba(255,255,255,.9)), var(--c-shadow);
}
.why__head { flex-shrink: 0; width: 360px; padding: 20px; align-self: center; }
.why__head .section__title { font-size: 24px; letter-spacing: -0.48px; }

.why-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: linear-gradient(180deg, #ffffff, var(--c-card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.why-card__media { height: 180px; overflow: hidden; }
.why-card__media img { width: 100%; height: 100%; object-fit: cover; }
.why-card__body { padding: 16px 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.why-card__body .badge { align-self: flex-start; }
.why-card__body h3 { font-size: 13px; font-weight: 600; letter-spacing: -0.26px; color: var(--c-darkblue); }
.why-card__body p  { font-size: 12px; line-height: 1.4; color: var(--c-grey); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 32px 52px;
  display: flex;
  justify-content: center;
  background: #e8e9f5 url('assets/cta-bg.jpg') center/cover no-repeat;
  box-shadow: inset 0 0 40px rgba(191, 202, 227, 0.2);
}
.cta__content { text-align: center; max-width: 460px; }
.cta__title { font-size: 48px; font-weight: 600; color: var(--c-darkblue); text-shadow: 1px 1px 0 #fff; }
.cta__subtitle { font-size: 20px; font-weight: 600; color: var(--c-primary); text-shadow: 1px 1px 0 #fff; }
.cta__lede { margin: 10px 0 16px; font-size: 12px; line-height: 1.4; color: var(--c-grey); }

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact { background: linear-gradient(0deg, rgba(255,255,255,.85), rgba(255,255,255,.85)), var(--c-shadow); }
.contact {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  padding: 0 20px;
}
.contact__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 16px;
  border-radius: 40px;
  background: linear-gradient(145deg, #ffffff, var(--c-card));
  box-shadow: 8px 8px 16px rgba(191,202,227,.5), -4px -4px 16px rgba(255,255,255,.8);
}
.contact__logo img { width: 128px; height: 128px; }
.contact__form-wrap { width: 640px; max-width: 100%; padding-top: 12px; }
.contact__title { font-size: 24px; font-weight: 600; color: var(--c-darkblue); }
.contact__lede { margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--c-grey); }
.contact__form { margin-top: 16px; width: 600px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.field-row { display: flex; gap: 16px; }
.field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; color: var(--c-black); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 12px;
  color: var(--c-black);
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-placeholder); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(32,148,219,.12); }

.field textarea { min-height: 80px; line-height: 1.5; resize: vertical; }

/* Select with custom chevron */
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-image: url('assets/ic-chevron-down.svg');
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.field select:invalid { color: var(--c-placeholder); }

/* Phone input group: country code + number share one field */
.input-group {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input-group:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(32,148,219,.12); }
.field .input-group__prefix {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 52px;
  min-height: auto;
  border: none;
  border-radius: 0;
  background-color: transparent;
  font-family: inherit;
  font-size: 12px;
  color: #030304;
  padding: 8px 16px 8px 0;
  cursor: pointer;
  background-image: url('assets/ic-chevron-down.svg');
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: right center;
}
.field .input-group__prefix:focus { box-shadow: none; }
.input-group input {
  flex: 1;
  min-width: 0;
  min-height: auto;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
}
.input-group input:focus { box-shadow: none; }

.contact__submit { align-self: flex-start; margin-top: 4px; }
.contact__status { font-size: 12px; color: #1f9d57; min-height: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--c-darkblue);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand { flex: 1; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: var(--c-white); }
.footer__brand a { color: inherit; transition: opacity .15s ease; }
.footer__brand a:hover { text-decoration: underline; opacity: .85; }
.footer__copy { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--c-white); text-align: right; }
.footer__social { display: inline-flex; }
.footer__social img { width: 22px; height: 22px; }

/* back to top */
.back-to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 90;
  width: 40px; height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--c-blue-mid);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(62,134,225,.4);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #2f74cf; }

/* ============================================================
   RESPONSIVE — TABLET (desktop layout unchanged >= ~1024px)
   ============================================================ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }

  .section--how { flex-direction: column; align-items: stretch; }
  .how__intro { width: 100%; }
  .how__art { margin-left: 0; }

  .section--why { flex-direction: column; }
  .why__head { width: 100%; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav__links { gap: 4px; }
  .nav__link { padding: 8px 10px; }
  .hero__bar { flex-direction: column; align-items: flex-start; }
  .hero__bar-list { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .features-grid,
  .benefits-grid,
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (<=640px) — Figma frame 164:993 / mobile-v1.png
   Single column, 20px horizontal padding, no horizontal overflow.
   ============================================================ */
@media (max-width: 640px) {

  html, body { overflow-x: hidden; }

  /* ---- Global: 20px horizontal padding, single column ---- */
  .section { padding: 32px 20px; }
  .section__head { padding: 0 0 16px; }
  .features-grid,
  .benefits-grid,
  .why-grid { grid-template-columns: 1fr; gap: 20px; }

  /* ---------- Header: logo + Request Demo + hamburger ---------- */
  .site-header { padding: 16px 20px; }
  .nav { padding: 12px 14px; gap: 10px; }
  .nav__logo { padding: 0 2px; }
  .nav__logo img { height: 28px; }

  /* show mobile CTA + hamburger; mobile CTA sits left of the toggle */
  .nav__cta-mobile {
    display: inline-flex;
    margin-left: auto;
    min-height: 40px;
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    flex-shrink: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--c-card);
    color: var(--c-darkblue);
    cursor: pointer;
  }
  .nav__toggle-bars { position: relative; width: 20px; height: 14px; display: block; }
  .nav__toggle-bars span {
    position: absolute; left: 0;
    width: 100%; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease, top .2s ease;
  }
  .nav__toggle-bars span:nth-child(1) { top: 0; }
  .nav__toggle-bars span:nth-child(2) { top: 6px; }
  .nav__toggle-bars span:nth-child(3) { top: 12px; }
  .nav__toggle.is-active .nav__toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .nav__toggle.is-active .nav__toggle-bars span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active .nav__toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  /* nav links become a collapsible full-width drop panel */
  .nav__links {
    position: absolute;
    left: 20px; right: 20px;
    top: calc(100% - 8px);
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: 0 12px 24px rgba(191, 202, 227, 0.35);
    padding: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
  }
  .nav__links.is-open {
    max-height: 380px;
    opacity: 1;
    pointer-events: auto;
    padding: 8px;
  }
  .nav__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 14px;
  }
  /* the CTA inside the dropdown panel: full width */
  .nav__cta { justify-content: center; width: 100%; min-height: 44px; }

  /* ---------- Hero ---------- */
  .hero {
    min-height: auto;
    padding: 16px 20px 24px;
    background: linear-gradient(180deg, #f5f5f9 0%, #f3f2f7 100%);
    overflow: hidden;
  }
  /* let title / orbit / bar flow as siblings in the hero column */
  .hero__content { display: contents; }

  .hero__title { order: 1; padding-top: 88px; max-width: 100%; } /* clear fixed mobile header */
  .hero__title-main { font-size: 32px; }
  .hero__title-sub  { font-size: 24px; }
  .hero__lede { font-size: 12px; line-height: 1.4; }

  /* orbit motif: relative, fixed height, clipped to column (no overflow) */
  .hero__orbit {
    order: 2;
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    margin: 8px 0 16px;
    overflow: hidden;
  }
  .hero__video {
    left: 50%; top: 42%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: none;
  }
  .hero__logo { left: 50%; top: 42%; width: 56px; }

  /* hero feature nodes -> horizontal auto-animating strip pinned at the
     bottom of the (clipped) orbit box, overlaying the motif */
  .hero__nodes {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    width: max-content;
    max-width: none;
    padding: 0 20px;
    will-change: transform;
    animation: strip-pan 22s ease-in-out infinite alternate;
  }
  .hero__nodes .node {
    position: static;
    left: auto; right: auto; top: auto;
    transform: none;
    flex: 0 0 auto;
    min-height: 64px;
  }
  .hero__nodes .node__text { white-space: nowrap; }

  /* bridge box stacks: lead row, then 6-check horizontal strip */
  .hero__bar {
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
    overflow: hidden;
  }
  .hero__bar-lead { gap: 12px; }
  .hero__bar-lead p br { display: none; }
  .hero__bar-list {
    flex-wrap: nowrap;
    width: max-content;
    padding: 0;
    gap: 20px;
    will-change: transform;
    animation: strip-pan 20s ease-in-out infinite alternate;
  }
  .hero__bar-list li { white-space: nowrap; }

  /* slide the over-wide strip left to reveal off-screen items, then back */
  @keyframes strip-pan {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% + 88vw)); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__nodes,
    .hero__bar-list { animation: none; }
  }

  /* ---------- Core Features ---------- */
  .feature-card { min-height: auto; padding: 20px; }
  .feature-card__art { max-height: 150px; }

  /* ---------- How It Works ---------- */
  .how__intro { flex-direction: column; align-items: center; width: 100%; }
  .how__head { padding: 0 0 8px; text-align: left; align-self: stretch; }
  .how__art { width: 200px; margin: 0 auto; }
  .how__steps { padding-left: 28px; }
  .how__steps::before { left: 5px; }
  .step { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .step::before { left: -23px; width: 24px; }
  .step::after { left: -28px; }
  .step__text { flex: 1 1 100%; }

  /* ---------- Benefits ---------- */
  .section--benefits::before { width: 100%; height: 360px; }

  /* ---------- Why ---------- */
  .why__head { padding: 0 0 8px; align-self: stretch; }
  .why__head .section__title { font-size: 22px; }

  /* ---------- CTA ---------- */
  .cta { padding: 40px 20px; background-position: center; }
  .cta__content { max-width: 100%; }
  .cta__title { font-size: 30px; }
  .cta__subtitle { font-size: 20px; }
  .btn--primary { min-height: 44px; }

  /* ---------- Contact (omit 3D logo; single column form) ---------- */
  .contact { flex-direction: column; align-items: stretch; gap: 20px; padding: 0; }
  .contact__logo { display: none; }
  .contact__form-wrap { width: 100%; padding-top: 0; }
  .contact__form { width: 100%; }
  .field-row { flex-direction: column; gap: 16px; }
  .field label { font-size: 12px; }
  .field input,
  .field select,
  .field textarea,
  .input-group,
  .field .input-group__prefix {
    font-size: 16px;        /* prevent iOS focus-zoom */
    min-height: 44px;
  }
  .field .input-group__prefix { width: 64px; }
  .contact__submit { width: 100%; justify-content: center; }

  /* ---------- Footer ---------- */
  .footer { flex-direction: column; text-align: center; gap: 10px; padding: 20px; }
  .footer__brand, .footer__copy { flex: none; text-align: center; }
  .footer__social {
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
  }

  /* ---------- Back to top ---------- */
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
