/* ==========================================================================
   Rabeeen - shared stylesheet
   Theme: light only (brand brief). Accent: #FF7A00. Logo blue only in the logo.
   Radius system: buttons = pill, cards = 24px, inputs = 12px.
   Z-index scale: header 40, mobile menu 50, skip-link 60.
   ========================================================================== */

/* Font: Vazirmatn for now. To switch to IRANSans, replace this @font-face
   and the --font variable below. Self-host the files before launch. */
@font-face {
  font-family: "Vazirmatn";
  src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn%5Bwght%5D.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font: "Vazirmatn", "IRANSans", Tahoma, system-ui, sans-serif;

  --bg: #fbfbfa;
  --surface: #ffffff;
  --surface-2: #f3f3f1;
  --ink: #151515;
  --ink-2: #3a3a38;
  --muted: #5d5d5a;
  --line: #e6e6e2;

  --accent: #ff7a00;
  --accent-ink: #b85200;      /* orange for small text on light bg (AA) */
  --accent-soft: #fff2e6;
  --accent-line: #ffd7b3;

  --r-card: 24px;
  --r-input: 12px;
  --r-pill: 999px;

  --shadow: 0 1px 2px rgb(60 40 20 / .05), 0 12px 32px -12px rgb(60 40 20 / .14);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 14px;
  border-radius: var(--r-pill);
}
.h-display { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.3; }
.h-section { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.4; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 54ch; }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn i { font-size: 1.15em; transition: transform .35s var(--ease); }

/* Primary: ink pill + orange icon chip (white text on #FF7A00 fails AA) */
.btn-primary {
  background: var(--ink);
  color: #fff;
  padding-inline-end: 8px;
}
.btn-primary .btn-chip {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  transition: transform .35s var(--ease);
}
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgb(255 122 0 / .55); }
.btn-primary:hover .btn-chip { transform: translateX(-4px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
.btn-accent:hover { background: #ff8c22; }

.btn-light {
  background: #fff;
  color: var(--ink);
  padding-inline-end: 8px;
}
.btn-light .btn-chip {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  transition: transform .35s var(--ease);
}
.btn-light:hover .btn-chip { transform: translateX(-4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--accent-ink);
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(251 251 250 / .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { width: 36px; height: 36px; }
.brand-word { height: 18px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav .btn { min-height: 44px; margin-inline-start: 10px; }
.nav .btn .btn-chip { width: 32px; height: 32px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.3rem;
  cursor: pointer;
  place-items: center;
}

@media (max-width: 880px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .35s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }
.section + .section-tight { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 14px; color: var(--muted); }

/* ---------- Home hero ---------- */
.hero {
  padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: min(580px, calc(100dvh - var(--header-h) - 120px));
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .lead { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 500px;
  justify-self: center;
  display: grid;
  place-items: center;
}
.hero-visual .disc {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--accent-soft), rgb(255 242 230 / 0) 70%);
}
.ripple { position: absolute; inset: 0; display: grid; place-items: center; }
.ripple span {
  position: absolute;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid var(--accent-line);
}
.hero-icon {
  position: relative;
  width: 38%;
  filter: drop-shadow(0 18px 30px rgb(46 103 163 / .16));
}
.flow-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow);
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-2);
}
.flow-chip i {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2);
  font-size: 1rem;
  color: var(--ink);
  transition: background-color .4s, color .4s;
}
.flow-chip.c1 { top: 10%; inset-inline-start: 0; }
.flow-chip.c2 { top: 46%; inset-inline-end: -4%; }
.flow-chip.c3 { bottom: 9%; inset-inline-start: 8%; }
.flow-chip.is-active i { background: var(--accent); color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .ripple span { animation: ripple 4.8s var(--ease) infinite; opacity: 0; }
  .ripple span:nth-child(2) { animation-delay: 1.6s; }
  .ripple span:nth-child(3) { animation-delay: 3.2s; }
  .hero-icon { animation: ring 4.8s ease-in-out infinite; }
}
@keyframes ripple {
  0% { transform: scale(.85); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; }
}
/* small "ringing" wiggle, then rest */
@keyframes ring {
  0%, 70%, 100% { transform: rotate(0); }
  73% { transform: rotate(-5deg); }
  76% { transform: rotate(5deg); }
  79% { transform: rotate(-4deg); }
  82% { transform: rotate(3deg); }
  85% { transform: rotate(0); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 340px; }
  .flow-chip { font-size: .82rem; padding: 7px 12px 7px 14px; }
  .flow-chip i { width: 26px; height: 26px; }
  .flow-chip.c2 { inset-inline-end: 0; }
}

/* ---------- Logo marquee ---------- */
.logos { padding-block: 28px 8px; }
.logos-title { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
}
/* spacing lives on items (not gap) so the duplicated half loops seamlessly */
.marquee-track > * { margin-inline: clamp(24px, 3.5vw, 48px); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 70s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(50%); } }
/* Partners: wordmark logo, icon + name, or letter monogram + name. Gray until hover. */
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  color: #8a8a86;
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
  filter: grayscale(1);
  opacity: .75;
  transition: color .3s, filter .3s, opacity .3s;
}
.partner:hover { color: var(--ink); filter: none; opacity: 1; }
.partner .mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: currentColor;
}
.partner .mark b { color: #fff; font-size: 1.05rem; }
.partner img { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.partner .partner-icon { width: 38px; height: 38px; border-radius: 10px; }
/* white-on-transparent logo: render dark so it shows on the light page */
.partner.is-light img { filter: brightness(0); }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.stat {
  position: relative;
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
}
.stat-num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.stat-label { color: var(--muted); font-weight: 500; }
.stat i.stat-ico { font-size: 1.6rem; color: var(--accent-ink); }
.stat-feature {
  grid-row: span 2;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.stat-feature .stat-num { font-size: clamp(4rem, 9vw, 7rem); }
.stat-feature .stat-label { color: rgb(21 21 21 / .82); font-size: 1.1rem; }
.stat-feature i.stat-ico { color: var(--ink); }
.stat-feature::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  inset-inline-end: -120px; bottom: -150px;
  border-radius: 50%;
  border: 42px solid rgb(255 255 255 / .16);
}
.stat-wide { grid-column: span 2; flex-direction: row; align-items: flex-end; background: var(--surface-2); border-color: var(--surface-2); }

@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-feature { grid-column: span 2; grid-row: auto; }
  .stat-wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-feature, .stat-wide { grid-column: auto; }
  .stat-wide { flex-direction: column; align-items: flex-start; }
}

/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.compare-col {
  border-radius: var(--r-card);
  padding: clamp(24px, 3.2vw, 40px);
}
.compare-col h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.compare-col.is-old { background: var(--surface-2); color: var(--ink-2); }
.compare-col.is-old h3 { color: var(--muted); }
.compare-col.is-new {
  background: var(--surface);
  border: 1.5px solid var(--accent);
  box-shadow: 0 24px 48px -28px rgb(255 122 0 / .5);
}
.compare-col li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding-block: 12px;
}
.compare-col li + li { border-top: 1px dashed var(--line); }
.compare-col li i { font-size: 1.25rem; margin-top: 4px; }
.compare-col.is-old li i { color: #8a8a86; }
.compare-col.is-new li i { color: var(--accent); }
.compare-col li strong { display: block; font-weight: 700; }
.compare-col li span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Sticky steps (home) ---------- */
.steps-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.steps-aside { position: sticky; top: calc(var(--header-h) + 48px); }
.steps-aside p { margin-top: 16px; color: var(--muted); max-width: 40ch; }
.steps-aside .btn { margin-top: 28px; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding-block: clamp(28px, 4vw, 44px);
  opacity: .38;
  transition: opacity .5s var(--ease);
}
.step + .step { border-top: 1px solid var(--line); }
.step.is-active, .no-js .step { opacity: 1; }
.step-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.step.is-active .step-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 48ch; }
@media (max-width: 860px) {
  .steps-layout { grid-template-columns: 1fr; }
  .steps-aside { position: static; }
  .step { opacity: 1; grid-template-columns: 56px 1fr; }
  .step-num { font-size: 2.4rem; }
}

/* ---------- Two doors ---------- */
.doors {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}
.door {
  position: relative;
  border-radius: var(--r-card);
  padding: clamp(28px, 4vw, 52px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  isolation: isolate;
}
.door h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.door p { max-width: 42ch; }
.door-tag { font-weight: 700; font-size: .95rem; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.door-biz { background: var(--accent); color: var(--ink); }
.door-biz p { color: rgb(21 21 21 / .82); }
.door-biz .door-bg {
  position: absolute; z-index: -1;
  inset-inline-start: -60px; bottom: -80px;
  width: 300px; opacity: .14;
  transform: rotate(-12deg);
}
.door-con { background: var(--ink); color: #fff; }
.door-con p { color: rgb(255 255 255 / .72); }
.door-con .door-tag { color: var(--accent); }
.door-con .door-bg {
  position: absolute; z-index: -1;
  inset: auto -40px -40px auto;
  font-size: 260px; line-height: 1;
  color: rgb(255 255 255 / .05);
}
.door ul { display: grid; gap: 10px; margin-top: 22px; }
.door ul li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.door-con ul li i { color: var(--accent); }
.door-biz ul li i { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .door { transition: transform .5s var(--ease); }
  .door:hover { transform: translateY(-4px); }
}
@media (max-width: 860px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-inline-end: -80px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  z-index: 0;
}
.cta-band > * { position: relative; }
.cta-band p { margin-top: 12px; color: var(--muted); }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-phone { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 500; }
.cta-phone a { color: var(--ink); font-weight: 700; direction: ltr; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Subpage hero ---------- */
.page-hero { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero .lead { margin-top: 20px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* business hero proof panel */
.proof-panel {
  border-radius: var(--r-card);
  background: var(--accent);
  color: var(--ink);
  padding: clamp(28px, 3.5vw, 44px);
  display: grid;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.proof-panel::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  inset-inline-start: -90px; top: -110px;
  border-radius: 50%;
  border: 36px solid rgb(255 255 255 / .16);
}
.proof-row { position: relative; z-index: 1; }
.proof-row + .proof-row { border-top: 1px solid rgb(21 21 21 / .16); padding-top: 24px; }
.proof-row .stat-num { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.proof-row .stat-label { color: rgb(21 21 21 / .78); }
.proof-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Services bento (business) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tile {
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.tile h3 { font-size: 1.25rem; }
.tile p { color: var(--muted); }
.tile-ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: auto;
}
.tile.span-4 { grid-column: span 4; }
.tile.span-3 { grid-column: span 3; }
.tile.span-2 { grid-column: span 2; }
.tile.is-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile.is-ink p { color: rgb(255 255 255 / .72); }
.tile.is-ink .tile-ico { background: rgb(255 255 255 / .08); color: var(--accent); }
.tile.is-soft { background: var(--accent-soft); border-color: var(--accent-soft); }
.tile.is-soft .tile-ico { background: #fff; }
.tile.is-pattern {
  background-color: var(--surface);
  background-image: radial-gradient(var(--accent-line) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.span-4, .tile.span-3, .tile.span-2 { grid-column: span 1; }
  .tile.span-4 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile.span-4 { grid-column: auto; }
}

/* ---------- Horizontal process (business) ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process::before {
  content: "";
  position: absolute;
  top: 27px;
  inset-inline: 28px;
  height: 2px;
  background: var(--accent);
  transform-origin: right center;
  transform: scaleX(var(--line-progress, 1));
  transition: transform 1.4s var(--ease);
}
.js .process:not(.is-in)::before { --line-progress: 0; }
.process-step { position: relative; }
.process-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 22px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process::before {
    top: 28px; bottom: 28px;
    inset-inline: auto 27px;
    width: 2px; height: auto;
    transform-origin: center top;
    transform: scaleY(var(--line-progress, 1));
  }
  .process-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 28px; }
  .process-dot { margin: 0; }
}

/* ---------- Industries chips ---------- */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}
.chip i { color: var(--accent-ink); font-size: 1.15rem; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  transition: transform .35s var(--ease), background-color .25s;
}
.faq-item[open] summary i { transform: rotate(45deg); background: var(--accent); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.request {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.request-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.request-aside p { margin-top: 14px; color: var(--muted); }
.contact-card {
  margin-top: 28px;
  border-radius: 18px;
  background: var(--surface-2);
  padding: 20px 22px;
  display: grid;
  gap: 6px;
}
.contact-card span { color: var(--muted); font-size: .95rem; }
.contact-card a { font-size: 1.35rem; font-weight: 800; direction: ltr; text-align: right; }
.form-card {
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--r-input);
  border: 1px solid #cfcfca;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.8; }
.field select {
  appearance: none;
  padding-inline-end: 16px;
  padding-inline-start: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235d5d5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: left 16px center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #75756f; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(255 122 0 / .18);
}
.field input[type="tel"] { direction: ltr; text-align: right; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .error { font-size: .87rem; color: #b42318; display: none; }
.field.has-error input, .field.has-error select { border-color: #b42318; }
.field.has-error .error { display: block; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 26px;
}
.form-foot small { color: var(--muted); max-width: 36ch; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"] .btn-chip i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 16px; border-radius: var(--r-input); padding: 12px 16px; display: none; }
.form-status.is-error { display: block; background: #fef3f2; color: #912018; }
.form-success { text-align: center; padding: 32px 8px; display: none; }
.form-success i { font-size: 3rem; color: var(--accent); }
.form-success h3 { margin: 10px 0 8px; }
.form-success p { color: var(--muted); }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
@media (max-width: 900px) {
  .request { grid-template-columns: 1fr; }
  .request-aside { position: static; }
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Consultants: webinar card ---------- */
.webinar-card {
  position: relative;
  border-radius: var(--r-card);
  background: var(--ink);
  color: #fff;
  padding: clamp(26px, 3.5vw, 40px);
  overflow: hidden;
  isolation: isolate;
}
.webinar-card::before {
  content: "";
  position: absolute; z-index: -1;
  width: 380px; height: 380px;
  inset-inline-start: -140px; bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 122 0 / .45), transparent 65%);
}
.webinar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgb(255 255 255 / .1);
}
.live-pill .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .live-pill .pulse { animation: pulse 1.8s ease-in-out infinite; }
}
@keyframes pulse { 50% { opacity: .3; } }
.webinar-card .cal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-block: 30px 26px;
}
.cal-box {
  width: 96px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
}
.cal-box .cal-m { background: var(--accent); font-weight: 700; font-size: .85rem; padding: 4px 0; }
.cal-box .cal-d { font-size: 2.4rem; font-weight: 900; line-height: 1.4; padding-block: 4px 6px; }
.webinar-card h2 { font-size: 1.45rem; }
.webinar-card .cal p { color: rgb(255 255 255 / .7); margin-top: 4px; }
.webinar-card .countdown { color: var(--accent); font-weight: 700; }
.webinar-card ul { display: grid; gap: 10px; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 22px; }
.webinar-card li { display: flex; gap: 10px; align-items: center; color: rgb(255 255 255 / .85); }
.webinar-card li i { color: var(--accent); }

/* ---------- Consultants: timeline ---------- */
.journey {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.journey-head { position: sticky; top: calc(var(--header-h) + 48px); }
.journey-head p { margin-top: 14px; color: var(--muted); }
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 27px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: var(--line);
}
.timeline::after {
  content: "";
  position: absolute;
  inset-inline-start: 27px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: var(--accent);
  transform-origin: center top;
  transform: scaleY(var(--line-progress, 1));
  transition: transform 1.6s var(--ease);
}
.js .timeline:not(.is-in)::after { --line-progress: 0; }
.t-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-bottom: 36px;
}
.t-step:last-child { padding-bottom: 0; }
.t-dot {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-size: 1.35rem;
}
.t-step.is-key .t-dot { background: var(--accent); }
.t-body { padding-top: 10px; }
.t-body h3 { font-size: 1.2rem; margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.t-body p { color: var(--muted); max-width: 52ch; }
.t-tag {
  font-size: .8rem; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-ink);
}
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; }
  .journey-head { position: static; }
}

/* ---------- Requirements ---------- */
.needs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.need {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.need i {
  flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--surface-2);
  font-size: 1.3rem;
}
.need h3 { font-size: 1.05rem; margin-bottom: 4px; }
.need p { color: var(--muted); font-size: .95rem; }
@media (max-width: 680px) { .needs { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-about p { margin-top: 16px; color: var(--muted); max-width: 40ch; font-size: .95rem; }
.footer-col h2 { font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-col .ltr { direction: ltr; display: inline-block; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  font-size: 1.2rem;
  color: var(--ink-2);
  transition: border-color .2s, color .2s, background-color .2s;
}
.socials a:hover { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--muted); font-size: .9rem;
}
.footer-bottom { align-items: center; }
.trust-seal {
  display: grid; place-items: center;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s;
}
.trust-seal:hover { border-color: var(--accent); }
.trust-seal img { width: 80px; height: auto; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* above-the-fold: CSS entrance on load, never waits for JS observers (LCP) */
  .js .hero [data-reveal], .js .page-hero [data-reveal], .js .jobs-hero [data-reveal], .js .ev-hero [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: enter .9s var(--ease) both;
    animation-delay: calc(var(--d, 0) * 90ms);
  }
}
@keyframes enter { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .process::before, .timeline::after { --line-progress: 1 !important; }
  .step { opacity: 1; }
}

/* ---------- Consultants landing (SMS traffic): one goal, resume CTA ---------- */
.btn-cta {
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.12rem;
  min-height: 60px;
  padding-inline: 30px 10px;
  box-shadow: 0 14px 30px -14px rgb(255 122 0 / .75);
}
.btn-cta .btn-chip {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--accent);
  transition: transform .35s var(--ease);
}
.btn-cta:hover { background: #ff8c22; box-shadow: 0 18px 34px -14px rgb(255 122 0 / .85); }
.btn-cta:hover .btn-chip { transform: translate(-3px, -3px); }
.btn-cta-sm { min-height: 44px; font-size: .98rem; padding-inline: 18px 6px; box-shadow: none; }
.btn-cta-sm .btn-chip { width: 32px; height: 32px; }
.page-hero .btn-cta { min-width: 240px; justify-content: space-between; }

.next-steps {
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 34px);
}
.next-steps h2 { font-size: 1.15rem; margin-bottom: 18px; }
.next-steps ol { position: relative; display: grid; gap: 6px; }
.next-steps ol::before {
  content: ""; position: absolute;
  inset-inline-start: 31px; top: 30px; bottom: 30px;
  width: 2px; background: var(--line);
}
.ns-step {
  position: relative;
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 12px;
  border-radius: 16px;
}
.ns-num {
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted);
}
.ns-step h3 { font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ns-step p { color: var(--muted); font-size: .93rem; margin-top: 2px; }
.ns-step.is-now { background: var(--accent-soft); }
.ns-step.is-now .ns-num { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ns-tag {
  font-size: .75rem; font-weight: 700;
  padding: 1px 10px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--ink);
}

.cta-band.is-accent { background: var(--accent); border-color: var(--accent); }
.cta-band.is-accent::before { background: radial-gradient(circle, rgb(255 255 255 / .28), transparent 70%); }
.cta-band.is-accent p { color: rgb(21 21 21 / .8); }
.cta-band.is-accent .btn-cta { background: var(--ink); color: #fff; box-shadow: none; }
.cta-band.is-accent .btn-cta .btn-chip { background: var(--accent); color: var(--ink); }

/* mobile: fixed bottom bar once the hero button scrolls away */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: block;
    position: fixed; z-index: 45;
    inset-inline: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(251 251 250 / .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn-cta { width: 100%; justify-content: space-between; min-height: 54px; }
  .page-hero .btn-cta { width: 100%; }
  /* the bottom bar takes over on phones; avoid two orange buttons on screen */
  .site-header .btn-cta-sm { display: none; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 100px; }
}

/* ---------- /jobs landing (Instagram DM traffic): sign up first, resume second ---------- */
.hiring-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 700;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: #e9f8ef; color: #15803d;
}
.hiring-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
@media (prefers-reduced-motion: no-preference) {
  .hiring-pill .pulse { animation: pulse 1.8s ease-in-out infinite; }
}

.jobs-hero { padding-block: clamp(24px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.jobs-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.jobs-intro .lead { margin-top: 18px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.job-tags li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: .93rem;
}
.job-tags i { color: var(--accent-ink); font-size: 1.1rem; }

.signup-card {
  position: relative;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgb(60 40 20 / .3);
  padding: clamp(22px, 3.2vw, 34px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.signup-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--accent);
}
.signup-card h2 { font-size: 1.3rem; }
.signup-sub { color: var(--muted); font-size: .95rem; margin: 6px 0 20px; }
.signup-card .field + .field { margin-top: 14px; }
.signup-card .field input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border-radius: var(--r-input); border: 1px solid #cfcfca; background: var(--surface);
  font-size: 1.02rem;
  transition: border-color .2s, box-shadow .2s;
}
.signup-card .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(255 122 0 / .18); }
.signup-card .field input[type="tel"] { direction: ltr; text-align: right; letter-spacing: .02em; }
.signup-btn { width: 100%; justify-content: space-between; margin-top: 20px; }
.signup-note { display: block; margin-top: 12px; color: var(--muted); font-size: .84rem; text-align: center; }

.signup-done { display: none; }
.signup-card.is-done form { display: none; }
.signup-card.is-done .signup-done { display: grid; gap: 18px; }
.signup-done:focus { outline: none; }
.done-head { display: flex; gap: 14px; align-items: flex-start; }
.done-head > i { font-size: 2.6rem; color: #16a34a; line-height: 1; }
.done-head p { color: var(--muted); margin-top: 2px; }
.done-next {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  border-radius: 18px; background: var(--ink); color: #fff; padding: 16px;
}
.done-next .cal-box { width: 76px; }
.done-next .cal-d { font-size: 1.9rem; }
.done-label { display: block; color: var(--accent); font-weight: 700; font-size: .88rem; }
.done-next b { display: block; font-size: 1.05rem; margin: 2px 0; }
.done-next .countdown { color: rgb(255 255 255 / .7); font-size: .9rem; }
.done-info { color: var(--muted); font-size: .95rem; }
.done-boost {
  border-radius: 18px; background: var(--accent-soft); border: 1px dashed var(--accent-line);
  padding: 18px;
}
.done-boost h3 { font-size: 1.08rem; }
.done-boost p { color: var(--ink-2); font-size: .94rem; margin: 4px 0 14px; }
.done-boost .btn-cta { width: 100%; justify-content: space-between; }

.job-sheet {
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
}
.job-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0;
  background: var(--surface-2);
}
.job-facts div { padding: 18px 22px; }
.job-facts div + div { border-inline-start: 1px solid var(--line); }
.job-facts dt { color: var(--muted); font-size: .88rem; }
.job-facts dd { margin: 2px 0 0; font-weight: 800; }
.job-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.job-cols > div { padding: clamp(20px, 3vw, 30px); }
.job-cols > div + div { border-inline-start: 1px solid var(--line); }
.job-cols h3 { display: flex; align-items: center; gap: 8px; font-size: 1.08rem; margin-bottom: 12px; }
.job-cols h3 i { color: var(--accent-ink); font-size: 1.3rem; }
.job-cols li { position: relative; padding-inline-start: 18px; color: var(--ink-2); }
.job-cols li + li { margin-top: 8px; }
.job-cols li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .8em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

@media (max-width: 900px) {
  .jobs-hero-grid { grid-template-columns: 1fr; }
  .job-facts { grid-template-columns: 1fr 1fr; }
  .job-facts div:nth-child(3) { border-inline-start: 0; }
  .job-facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .job-cols { grid-template-columns: 1fr; }
  .job-cols > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .jobs-page .site-footer { margin-top: 32px; }
  .job-tags li { font-size: .88rem; padding: 6px 12px; }
}
@media (max-width: 560px) {
  .jobs-intro .h-display { font-size: 1.85rem; }
  .jobs-intro .lead { font-size: .98rem; margin-top: 12px; }
  .job-tags { margin-top: 16px; }
}
/* phones (Instagram in-app browser is short): keep the submit button on the first screen */
@media (max-width: 560px) {
  .jobs-hero { padding-top: 14px; }
  .jobs-hero-grid { gap: 18px; }
  .job-tags {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .job-tags::-webkit-scrollbar { display: none; }
  .job-tags li { flex: none; }
  .signup-card { padding: 20px 18px; }
  .signup-card h2 { font-size: 1.15rem; }
  .signup-sub { font-size: .9rem; margin: 4px 0 14px; }
  .signup-card .field label { font-size: .9rem; }
  .signup-card .field input { min-height: 48px; }
  .signup-card .field + .field { margin-top: 10px; }
  .signup-btn { margin-top: 16px; }
}
/* never let the page itself scroll sideways (RTL + horizontal scrollers can nudge it) */
html, body { overflow-x: clip; }
/* grid items may shrink below the tag scroller's full width */
.jobs-hero-grid > * { min-width: 0; }
/* /jobs: the resume is a required step, not an optional extra */
.done-boost.is-required { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.req-tag {
  display: inline-block; margin-bottom: 6px;
  font-size: .78rem; font-weight: 800;
  padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--ink);
}
.done-boost.is-required h3 { font-size: 1.2rem; }
.done-boost.is-required + .done-next { background: var(--surface-2); color: var(--ink); }
.done-boost.is-required + .done-next .done-label { color: var(--accent-ink); }
.done-boost.is-required + .done-next .countdown { color: var(--muted); }


/* ==========================================================================
   /event/ big-webinar landing (cold SMS + influencer traffic)
   Soft structural look: airy light surfaces, nested "bezel" cards, one orange accent.
   ========================================================================== */
.event-page { --ev-ease: cubic-bezier(.32, .72, 0, 1); }

/* nested card: outer tray + inner plate */
.ev-shell {
  padding: 8px; border-radius: 32px;
  background: rgb(21 21 21 / .035);
  box-shadow: inset 0 0 0 1px rgb(21 21 21 / .05);
}
.ev-core {
  border-radius: 25px; background: var(--surface);
  box-shadow: 0 1px 1px rgb(255 255 255 / .9) inset, 0 40px 80px -40px rgb(90 50 10 / .28), 0 2px 6px rgb(60 40 20 / .04);
}

/* ---- hero ---- */
.ev-hero { position: relative; padding-block: clamp(28px, 6vw, 88px) clamp(48px, 7vw, 96px); overflow: clip; }
.ev-glow {
  position: absolute; inset-inline-start: -10%; top: -30%; width: 70vw; max-width: 900px; aspect-ratio: 1;
  background: radial-gradient(circle, rgb(255 122 0 / .14), rgb(255 122 0 / 0) 62%);
  pointer-events: none;
}
.ev-hero-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.ev-hero-grid > * { min-width: 0; }
.ev-h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.22; letter-spacing: -.01em; margin-top: 18px; }
.ev-h1-accent { position: relative; z-index: 0; white-space: nowrap; }
.ev-h1-accent::after {
  content: ""; position: absolute; inset-inline: -2%; bottom: .1em; height: .3em; z-index: -1;
  background: var(--accent); opacity: .85; border-radius: 6px;
  transform-origin: right;
}
@media (prefers-reduced-motion: no-preference) {
  .ev-h1-accent::after { animation: ev-mark 1.1s .5s var(--ev-ease) both; }
}
@keyframes ev-mark { from { transform: scaleX(0); } }
.ev-sub { margin-top: 22px; font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; }
.ev-chips li { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); }
.ev-chips i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem;
}

/* ---- sign-up card ---- */
.ev-signup { scroll-margin-top: calc(var(--header-h) + 16px); }
.ev-signup .signup-card { border: 0; padding: clamp(20px, 3vw, 30px); }
.ev-signup .signup-card::before { display: none; }
.ev-when { display: flex; align-items: center; gap: 14px; }
.ev-when .cal-box { width: 62px; flex: none; }
.ev-when .cal-d { font-size: 1.7rem; }
.ev-when b { display: block; font-size: 1.1rem; }
.ev-when-sub { color: var(--muted); font-size: .9rem; }
.ev-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 20px; }
.ev-cd div {
  display: grid; justify-items: center; padding: 8px 2px 6px; border-radius: 14px;
  background: var(--ink); color: #fff;
}
.ev-cd b { font-size: 1.45rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.ev-cd span { font-size: .74rem; color: rgb(255 255 255 / .6); }
.ev-is-live .ev-cd { display: none; }
.ev-live-note { margin: 14px 0; padding: 10px 14px; border-radius: 12px; background: #e9f8ef; color: #15803d; font-weight: 700; }
.ev-signup .signup-note { display: flex; align-items: center; justify-content: center; gap: 6px; }

.ev-done { display: none; text-align: center; }
.signup-card.is-done form, .signup-card.is-done .ev-cd, .signup-card.is-done .ev-when { display: none; }
.signup-card.is-done .ev-done { display: grid; gap: 12px; justify-items: center; }
.ev-done:focus { outline: none; }
.ev-done-ico {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #16a34a; color: #fff; font-size: 1.9rem;
  box-shadow: 0 0 0 10px #e9f8ef; margin-top: 10px;
  animation: ev-pop .7s var(--ev-ease) both;
}
@keyframes ev-pop { from { transform: scale(.4); opacity: 0; } }
.ev-done h2 { font-size: 1.35rem; margin-top: 8px; }
.ev-done p { color: var(--ink-2); max-width: 36ch; }
.ev-done .ev-done-tip { color: var(--muted); font-size: .9rem; }
.ev-cal-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.ev-cal-actions .btn { flex: 1 1 170px; justify-content: center; gap: 8px; padding-inline: 14px; }
.ev-registered .sticky-cta { display: none !important; }

/* ---- shared section head ---- */
.ev-head { max-width: 620px; margin-bottom: clamp(32px, 5vw, 56px); }
.ev-head .eyebrow { margin-bottom: 14px; }
.ev-head p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.ev-head .btn { margin-top: 26px; }

/* ---- scroll story ---- */
.ev-story { padding-block: clamp(72px, 10vw, 140px); }
.ev-story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ev-phone-wrap { position: sticky; top: calc(var(--header-h) + 40px); display: grid; place-items: center; }
.ev-phone {
  position: relative; width: min(290px, 100%); aspect-ratio: 9 / 18.5;
  border-radius: 44px; padding: 12px; background: #151515;
  box-shadow: 0 0 0 1px #2a2a28 inset, 0 50px 90px -40px rgb(90 50 10 / .45);
}
.ev-notch { position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 20px; background: #000; z-index: 2; }
.ev-screen {
  position: absolute; inset: 12px; border-radius: 33px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbf7f2 100%);
  padding: 58px 16px 18px; display: grid; align-content: start; gap: 10px;
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .6s var(--ev-ease), transform .7s var(--ev-ease);
}
.ev-screen.is-active { opacity: 1; transform: none; }
.ev-scr-label { font-size: .78rem; font-weight: 700; color: var(--muted); }
.ev-scr-card {
  margin-top: 30px; display: grid; gap: 4px; justify-items: center; text-align: center;
  padding: 22px 14px; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px -14px rgb(60 40 20 / .3);
}
.ev-scr-card i { font-size: 2rem; color: var(--accent); }
.ev-scr-card span { font-size: .85rem; color: var(--ink-2); }
.ev-scr-card em { margin-top: 8px; font-style: normal; font-size: .78rem; font-weight: 700; color: #15803d; background: #e9f8ef; padding: 2px 10px; border-radius: 99px; }
.ev-scr-row { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px -12px rgb(60 40 20 / .3); }
.ev-scr-row b { display: block; font-size: .88rem; line-height: 1.5; }
.ev-scr-row small { color: var(--muted); font-size: .74rem; }
.ev-scr-row.is-new { box-shadow: 0 0 0 2px var(--accent), 0 10px 24px -12px rgb(255 122 0 / .6); }
.ev-av {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 800;
}
.ev-av-lg { width: 84px; height: 84px; font-size: 2rem; box-shadow: 0 0 0 10px rgb(255 122 0 / .1), 0 0 0 22px rgb(255 122 0 / .05); }
.ev-call, .ev-sale { margin-top: 44px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.ev-call b, .ev-sale b { font-size: 1.15rem; margin-top: 18px; }
.ev-call-time, .ev-sale small { color: var(--muted); font-size: .8rem; }
.ev-wave { display: flex; gap: 4px; align-items: center; height: 34px; margin-top: 14px; }
.ev-wave i { width: 4px; height: 30%; border-radius: 4px; background: var(--accent); }
.ev-sale-ico {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: #16a34a; color: #fff; font-size: 2.4rem; box-shadow: 0 0 0 12px #e9f8ef;
}
@media (prefers-reduced-motion: no-preference) {
  .ev-screen.is-active .ev-wave i { animation: ev-wave 1s var(--ev-ease) infinite alternate; }
  .ev-screen.is-active .ev-wave i:nth-child(2) { animation-delay: .15s; }
  .ev-screen.is-active .ev-wave i:nth-child(3) { animation-delay: .3s; }
  .ev-screen.is-active .ev-wave i:nth-child(4) { animation-delay: .45s; }
  .ev-screen.is-active .ev-wave i:nth-child(5) { animation-delay: .6s; }
  .ev-screen.is-active .ev-sale-ico { animation: ev-pop .7s var(--ev-ease) both; }
}
@keyframes ev-wave { to { height: 100%; } }

.ev-steps { display: grid; }
.ev-step {
  position: relative; min-height: 46vh; display: grid; align-content: center;
  padding-inline-start: 64px; opacity: .28;
  transition: opacity .6s var(--ev-ease);
}
.ev-step.is-active, .no-js .ev-step { opacity: 1; }
.ev-step::before {   /* progress rail */
  content: ""; position: absolute; inset-inline-start: 21px; top: 0; bottom: 0; width: 2px; background: var(--line);
}
.ev-step:first-child::before { top: 50%; }
.ev-step:last-child::before { bottom: 50%; }
.ev-step-n {
  position: absolute; inset-inline-start: 0; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--line);
  font-weight: 800; z-index: 1;
  transition: background .5s var(--ev-ease), box-shadow .5s var(--ev-ease), scale .5s var(--ev-ease);
}
.ev-step.is-active .ev-step-n { background: var(--accent); box-shadow: 0 0 0 8px var(--accent-soft); scale: 1.08; }
.ev-step h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; }
.ev-step p { margin-top: 10px; color: var(--muted); font-size: 1.05rem; max-width: 44ch; }

/* ---- bento ---- */
.ev-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; }
.ev-tile {
  grid-column: span 2; border-radius: 28px; padding: clamp(22px, 3vw, 32px);
  background: var(--surface); box-shadow: inset 0 0 0 1px rgb(21 21 21 / .06), 0 24px 50px -36px rgb(90 50 10 / .3);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  transition: transform .6s var(--ev-ease);
}
.ev-tile:hover { transform: translateY(-4px); }
.ev-tile > i { font-size: 2rem; color: var(--accent-ink); margin-bottom: auto; }
.ev-tile h3 { font-size: 1.2rem; }
.ev-tile p { color: var(--muted); }
.ev-tile-hero { grid-column: span 4; background: var(--accent); box-shadow: 0 30px 60px -34px rgb(255 122 0 / .8); }
.ev-tile-hero > i { color: var(--ink); font-size: 2.6rem; }
.ev-tile-hero h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; }
.ev-tile-hero p { color: rgb(21 21 21 / .78); font-size: 1.05rem; max-width: 40ch; }
.ev-tile-stat b, .ev-tile-dark b { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 900; }
.ev-tile-stat b { color: var(--accent-ink); }
.ev-tile-dark { background: var(--ink); color: #fff; }
.ev-tile-dark p { color: rgb(255 255 255 / .7); }

/* ---- honest fit ---- */
.ev-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ev-fit-col { border-radius: 28px; padding: clamp(22px, 3vw, 34px); }
.ev-fit-col.is-yes { background: #eef8f1; }
.ev-fit-col.is-no { background: var(--surface-2); }
.ev-fit-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 14px; }
.ev-fit-col.is-yes h3 i { color: #15803d; }
.ev-fit-col.is-no h3 i { color: var(--muted); }
.ev-fit-col li { position: relative; padding-inline-start: 22px; color: var(--ink-2); font-weight: 500; }
.ev-fit-col li + li { margin-top: 10px; }
.ev-fit-col li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .72em;
  width: 9px; height: 9px; border-radius: 50%;
}
.ev-fit-col.is-yes li::before { background: #16a34a; }
.ev-fit-col.is-no li::before { background: #b5b5b0; }

/* ---- agenda ---- */
.ev-agenda-sec { background: var(--ink); color: #fff; border-radius: clamp(28px, 4vw, 48px); margin-inline: clamp(8px, 2vw, 24px); }
.ev-agenda-sec .ev-head p { color: rgb(255 255 255 / .65); }
.ev-agenda-sec .eyebrow { background: rgb(255 122 0 / .15); color: var(--accent); }
.ev-agenda-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ev-agenda-layout .ev-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.ev-agenda li {
  display: flex; gap: 22px; align-items: baseline;
  padding-block: 22px; border-bottom: 1px solid rgb(255 255 255 / .1);
}
.ev-agenda li:first-child { padding-top: 0; }
.ev-agenda span { font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.ev-agenda h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.5; }

/* ---- final ---- */
.ev-final {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  border-radius: 32px; padding: clamp(32px, 6vw, 64px);
  background: var(--accent);
}
.ev-final::after {
  content: ""; position: absolute; inset-inline-end: -120px; bottom: -160px; width: 420px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .35), transparent 65%); pointer-events: none;
}
.ev-final > * { position: relative; }
.ev-final p { margin-top: 10px; color: rgb(21 21 21 / .78); font-size: 1.05rem; }
.ev-final .btn-cta { background: var(--ink); color: #fff; box-shadow: none; }
.ev-final .btn-cta .btn-chip { background: var(--accent); color: var(--ink); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .ev-hero-grid { grid-template-columns: 1fr; }
  .ev-story-grid { grid-template-columns: 1fr; gap: 0; }
  /* the phone rides along at the top while the steps scroll under it */
  .ev-phone-wrap {
    top: calc(var(--header-h) + 4px); z-index: 1; padding-block: 8px 18px;
    background: linear-gradient(var(--bg) 80%, rgb(251 251 250 / 0));
  }
  /* cropped phone: only the top of the screen matters, the bottom fades out */
  .ev-phone { width: 150px; aspect-ratio: 9 / 11; border-radius: 30px 30px 0 0; padding: 7px 7px 0;
    -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .ev-notch { top: 12px; width: 50px; height: 13px; margin-left: -25px; }
  .ev-screen { inset: 7px 7px 0; border-radius: 24px 24px 0 0; zoom: .6; }
  .ev-step { min-height: 50vh; align-content: start; padding-top: 24px; }
  .ev-step-n { top: 22px; translate: 0; }
  .ev-step:first-child::before { top: 22px; }
  .ev-step:last-child::before { bottom: auto; height: 22px; }
  .ev-bento { grid-template-columns: 1fr 1fr; }
  .ev-tile { grid-column: span 1; }
  .ev-tile-hero { grid-column: span 2; }
  .ev-agenda-layout { grid-template-columns: 1fr; }
  .ev-agenda-layout .ev-head { position: static; }
}
@media (max-width: 760px) {
  .ev-fit { grid-template-columns: 1fr; }
  .ev-final { grid-template-columns: 1fr; }
  .ev-final .btn-cta { width: 100%; justify-content: space-between; }
}
@media (max-width: 560px) {
  .ev-hero { padding-top: 18px; }
  .ev-h1 { font-size: 2.05rem; margin-top: 12px; }
  .ev-sub { margin-top: 12px; font-size: .98rem; }
  .ev-chips { margin-top: 14px; gap: 6px 14px; font-size: .9rem; }
  .ev-hero-grid { gap: 22px; }
  .ev-shell { padding: 6px; border-radius: 28px; }
  .ev-core { border-radius: 23px; }
  .ev-cd { margin: 12px 0 14px; }
  .ev-cd b { font-size: 1.25rem; }
  .ev-step { padding-inline-start: 56px; }
  .ev-step h3 { font-size: 1.2rem; }
  .ev-step p { font-size: .98rem; }
  .ev-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ev-tile, .ev-tile-hero { grid-column: auto; }
  .ev-tile { min-height: 150px; }
  .ev-tile:hover { transform: none; }
}
