/* ─────────────────────────────────────────────────────────────
   MyGarage — landing page
   The palette is the app's, taken from src/styles/tokens.css and
   not re-invented here: a near-black navy for the frame, a working
   blue for the things you press, and a cyan that only ever marks
   the one thing worth looking at. The product is a light design and
   commits to it, so this page does too — the navy shows up as bands,
   not as the ground.
   ───────────────────────────────────────────────────────────── */

:root {
  /* ---- Brand ---------------------------------------------------------- */
  --primary: #02122b;
  --primary-light: #0c2843;
  --primary-soft: #16375a;
  --primary-wash: #e8eef5;

  --blue: #0478c7;
  --blue-dark: #03619f;
  --blue-soft: #e0f0fb;

  --cyan: #06afec;
  --cyan-light: #35c4f2;
  --cyan-soft: #e2f6fd;

  /* ---- Surfaces ------------------------------------------------------- */
  --background: #f5f8fb;
  --surface: #ffffff;
  --surface-sunken: #f0f5f9;
  --surface-tint: #f7fbfe;
  --border: #d2e0e8;
  --border-strong: #b8cdda;

  /* ---- Ink ------------------------------------------------------------ */
  --text: #33475b;
  --text-muted: #56697d;
  --text-faint: #8598a9;

  /* ---- States --------------------------------------------------------- */
  --success: #0f8a54;
  --success-soft: #e2f5ec;
  --warning: #b5730a;
  --warning-soft: #fdf0d9;
  --danger: #c62c22;
  --danger-soft: #fdeae8;

  /* ---- Chart roles ----------------------------------------------------- */
  --series-1: #0478c7;
  --series-2: #c2410c;
  --series-3: #0d9488;
  --series-4: #7c3aed;

  --age-1: #fbc9a8;
  --age-2: #f0975f;
  --age-3: #d2542a;
  --age-4: #96301a;

  /* ---- Type ------------------------------------------------------------ */
  --font: "Rubik", "Heebo", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Radius ---------------------------------------------------------- */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 26px;
  --r-pill: 999px;

  /* ---- Elevation ------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(2, 18, 43, .06);
  --shadow: 0 1px 2px rgba(2, 18, 43, .05), 0 6px 18px rgba(2, 18, 43, .07);
  --shadow-md: 0 2px 6px rgba(2, 18, 43, .07), 0 12px 28px rgba(2, 18, 43, .1);
  --shadow-lg: 0 16px 48px rgba(2, 18, 43, .22);
  --shadow-brand: 0 6px 18px rgba(4, 120, 199, .28);

  /* ---- Signature gradients --------------------------------------------- */
  --brand-gradient: linear-gradient(160deg, #02122b 0%, #0c2843 55%, #16375a 100%);
  --action-gradient: linear-gradient(135deg, #0478c7 0%, #06afec 100%);
  --accent-gradient: linear-gradient(135deg, #06afec 0%, #35c4f2 100%);

  /* ---- Frame ------------------------------------------------------------ */
  --container: 1180px;
  --header-h: 74px;

  color-scheme: light;
}

/* ── reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; color: var(--primary); }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(100% - 1.75rem, var(--container)); } }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 100;
  background: var(--primary); color: #fff; padding: .65rem 1.1rem; border-radius: var(--r-md);
}
.skip:focus { top: 1rem; }

/* ── type helpers ──────────────────────────────────────────── */
.accent {
  background: linear-gradient(115deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  color: var(--blue-dark); background: var(--blue-soft);
  border: 1px solid #c4e2f7;
  padding: .35rem .9rem; border-radius: var(--r-pill);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.eyebrow--dark { color: var(--cyan-light); background: rgba(6, 175, 236, .12); border-color: rgba(6, 175, 236, .3); }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.3rem; border-radius: var(--r-lg);
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; border-radius: 16px; }
.btn-primary { color: #fff; background: var(--action-gradient); box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(4,120,199,.34), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-soft { color: var(--blue-dark); background: var(--blue-soft); }
.btn-soft:hover { background: #cfe8f9; }
.btn-ghost { color: var(--primary); background: var(--surface); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.btn-light { color: var(--primary); background: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link:hover { color: var(--blue-dark); }
.link svg { width: 16px; height: 16px; }

/* ── header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 248, 251, .82);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.12rem; color: var(--primary); letter-spacing: -0.02em; }
.brand-tag { font-size: .72rem; font-weight: 500; color: var(--text-faint); margin-top: .15rem; }

.nav { display: flex; gap: .15rem; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--r-md);
  font-weight: 500; font-size: .93rem; color: var(--text-muted);
  transition: background .15s ease, color .15s ease;
}
.nav a:hover, .nav a.active { color: var(--blue-dark); background: var(--blue-soft); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1.5px solid var(--border); background: var(--surface);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav {
    position: fixed; inset-inline: 0; top: var(--header-h);
    flex-direction: column; gap: .2rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
  .header-actions .btn-primary { padding: .6rem 1rem; font-size: .9rem; }
}

/* ── hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.orb-a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(6,175,236,.3), transparent 70%); top: -240px; inset-inline-start: -160px; }
.orb-b { width: 480px; height: 480px; background: radial-gradient(circle, rgba(4,120,199,.22), transparent 70%); bottom: -200px; inset-inline-end: -120px; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(2,18,43,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(2,18,43,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000, transparent 75%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { margin-top: 1.35rem; font-size: clamp(2.15rem, 5.2vw, 3.65rem); font-weight: 800; letter-spacing: -0.03em; }
.lede { margin-top: 1.25rem; font-size: clamp(1.04rem, 1.5vw, 1.18rem); color: var(--text-muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: .85rem; color: var(--text-faint); display: flex; align-items: center; gap: .45rem; }
.hero-note svg { width: 15px; height: 15px; color: var(--success); }

.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem 1.5rem; margin-top: 2.35rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: -0.02em; }
.hero-proof span { font-size: .84rem; color: var(--text-faint); margin-top: .4rem; }

/* ── app mockup ────────────────────────────────────────────── */
.hero-visual { position: relative; }
.window {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1600px) rotateY(4deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-visual:hover .window { transform: perspective(1600px) rotateY(0) rotateX(0); }
.window-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; background: var(--surface-sunken); border-bottom: 1px solid var(--border); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.window-dots i:first-child { background: #f0975f; }
.window-dots i:nth-child(2) { background: #fbc9a8; }
.window-url {
  flex: 1; text-align: center; font-size: .68rem; color: var(--text-faint);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  padding: .2rem .7rem; max-width: 220px; margin-inline: auto;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.app { display: grid; grid-template-columns: 118px minmax(0, 1fr); min-height: 372px; overflow: hidden; }
.app-side { background: var(--brand-gradient); padding: .85rem .6rem; display: flex; flex-direction: column; gap: .15rem; }
.app-side-brand { display: flex; align-items: center; gap: .4rem; padding: .25rem .35rem .7rem; }
.app-side-brand img { width: 22px; height: 22px; border-radius: 6px; background: #fff; padding: 1px; }
.app-side-brand span { font-size: .72rem; font-weight: 700; color: #fff; }
.app-side a { display: flex; align-items: center; gap: .4rem; padding: .38rem .4rem; border-radius: var(--r-sm); font-size: .66rem; color: rgba(255,255,255,.62); }
.app-side a i { width: 13px; height: 13px; border-radius: 3px; background: rgba(255,255,255,.22); flex: none; }
.app-side a.on { background: rgba(255,255,255,.13); color: #fff; font-weight: 600; }
.app-side a.on i { background: var(--cyan); }

.app-main { min-width: 0; padding: .95rem 1rem 1.1rem; background: var(--background); display: flex; flex-direction: column; gap: .7rem; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.app-head > div { min-width: 0; }
.app-head h4 { font-size: .92rem; font-weight: 700; }
.app-head p { font-size: .64rem; color: var(--text-faint); margin-top: .12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-seg { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; flex: none; }
.app-seg span { font-size: .6rem; padding: .25rem .45rem; color: var(--text-muted); }
.app-seg span.on { background: var(--blue); color: #fff; font-weight: 600; }

.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.app-stat { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: .5rem .55rem; }
.app-stat span { font-size: .58rem; color: var(--text-faint); display: block; }
.app-stat strong { font-size: .95rem; white-space: nowrap; font-weight: 700; color: var(--primary); display: block; margin-top: .1rem; letter-spacing: -0.02em; }
.app-stat em { font-style: normal; font-size: .56rem; font-weight: 600; color: var(--success); }
.app-stat em.down { color: var(--danger); }
.app-stat--hero { background: var(--brand-gradient); border-color: transparent; }
.app-stat--hero span { color: rgba(255,255,255,.6); }
.app-stat--hero strong { color: #fff; }
.app-stat--hero em { color: var(--cyan-light); }

.app-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: .6rem .65rem; flex: 1; display: flex; flex-direction: column; }
.app-chart-head { display: flex; align-items: center; justify-content: space-between; }
.app-chart-head b { font-size: .68rem; font-weight: 600; color: var(--primary); }
.app-chart-head span { font-size: .56rem; color: var(--text-faint); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 78px; margin-top: .55rem; }
.bars i { flex: 1; background: var(--blue-soft); border-radius: 3px 3px 0 0; height: var(--h); position: relative; }
.bars i.hi { background: var(--action-gradient); }

.app-rows { display: flex; flex-direction: column; gap: .3rem; }
.app-row { display: flex; align-items: center; gap: .45rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .35rem .5rem; }
.app-row b { font-size: .63rem; font-weight: 600; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row small { font-size: .58rem; color: var(--text-faint); margin-inline-start: auto; white-space: nowrap; flex: none; }
.tag { font-size: .55rem; font-weight: 600; padding: .12rem .4rem; border-radius: var(--r-pill); }
.tag-ok { background: var(--success-soft); color: var(--success); }
.tag-work { background: var(--cyan-soft); color: var(--blue-dark); }
.tag-wait { background: var(--warning-soft); color: var(--warning); }

/* floating cards around the mockup */
.float {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: .6rem .75rem;
  display: flex; align-items: center; gap: .6rem;
}
.float-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-icon svg { width: 16px; height: 16px; }
.float .float-icon { display: grid; }
.float b { display: block; font-size: .76rem; font-weight: 700; color: var(--primary); }
.float span { display: block; font-size: .68rem; color: var(--text-muted); }
.float-a { inset-inline-start: -18px; bottom: -22px; animation: floaty 7s ease-in-out infinite; }
.float-a .float-icon { background: var(--success-soft); color: var(--success); }
.float-b { inset-inline-end: -26px; bottom: 27%; animation: floaty 9s ease-in-out infinite reverse; }
.float-b .float-icon { background: var(--cyan-soft); color: var(--blue); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .window { transform: none; }
  .lede { max-width: none; }
}
@media (max-width: 560px) {
  .float { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; overflow: hidden; padding: .5rem .6rem; align-items: center; }
  .app-side a { padding: .3rem .45rem; }
  .app-side a:not(.on):nth-child(n+4) { display: none; }
  .app-side-brand { padding: 0 .4rem 0 0; }
}

/* ── capability strip ──────────────────────────────────────── */
.strip { border-block: 1px solid var(--border); background: var(--surface); padding: .95rem 0; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: .7rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  padding: .42rem .95rem; border-radius: var(--r-pill);
  background: var(--surface-tint); border: 1px solid var(--border);
  font-size: .86rem; font-weight: 500; color: var(--text);
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--blue)); flex: none; }

/* ── sections ──────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--surface-sunken); }
.section-white { background: var(--surface); }
.section-head { max-width: 46rem; margin: 0 auto 2.75rem; text-align: center; }
.section-head h2 { margin-top: .9rem; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { margin-top: .9rem; color: var(--text-muted); font-size: 1.06rem; }

/* ── features ──────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 1.5rem 1.4rem;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.section-white .feature { background: var(--surface-tint); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cyan); }
.feature-icon { width: 46px; height: 46px; border-radius: var(--r-lg); background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.08rem; font-weight: 700; }
.feature p { margin-top: .5rem; font-size: .93rem; color: var(--text-muted); }
@media (max-width: 940px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ── flow (work-form lifecycle) ────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .85rem; }
.flow-step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 1.35rem 1.15rem; display: flex; flex-direction: column;
}
.section-tint .flow-step { background: var(--surface); }
.flow-step::after {
  content: ""; position: absolute; inset-inline-start: -.85rem; top: 50%;
  width: .85rem; height: 2px; background: var(--border-strong);
}
.flow-step:last-child::after { display: none; }
.flow-badge {
  display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start;
  font-size: .68rem; font-weight: 700; padding: .25rem .6rem; border-radius: var(--r-pill);
  margin-bottom: .85rem;
}
.flow-step h3 { font-size: 1rem; font-weight: 700; }
.flow-step p { margin-top: .45rem; font-size: .87rem; color: var(--text-muted); flex: 1; }
.flow-meta { margin-top: .9rem; padding-top: .75rem; border-top: 1px dashed var(--border); font-size: .76rem; color: var(--text-faint); }
.b-offer { background: var(--primary-wash); color: var(--primary-soft); }
.b-open  { background: var(--blue-soft); color: var(--blue-dark); }
.b-work  { background: var(--cyan-soft); color: #036c96; }
.b-done  { background: var(--success-soft); color: var(--success); }
.b-out   { background: #ede4fb; color: var(--series-4); }
@media (max-width: 1024px) { .flow { grid-template-columns: repeat(3, 1fr); } .flow-step::after { display: none; } }
@media (max-width: 640px)  { .flow { grid-template-columns: 1fr; } }

/* ── split ─────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.flip .split-visual { order: -1; }
.split-copy h2 { margin-top: .9rem; font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; }
.split-copy > p { margin-top: 1rem; color: var(--text-muted); font-size: 1.04rem; }
.bullets { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.bullets li { display: flex; gap: .75rem; }
.bullets .tick {
  width: 24px; height: 24px; border-radius: 8px; flex: none; margin-top: .15rem;
  background: var(--success-soft); color: var(--success); display: grid; place-items: center;
}
.bullets .tick svg { width: 14px; height: 14px; }
.bullets b { display: block; font-size: .97rem; font-weight: 600; color: var(--primary); }
.bullets span { display: block; font-size: .9rem; color: var(--text-muted); }
.split-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .split-visual { order: 0; }
}

/* panels used inside the split visuals */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 1.15rem 1.2rem; }
.panel + .panel { margin-top: .85rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .95rem; }
.panel-head b { font-size: .92rem; font-weight: 700; color: var(--primary); }
.panel-head span { font-size: .76rem; color: var(--text-faint); }

.pipeline { display: flex; flex-direction: column; gap: .7rem; }
.pipeline li { display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: center; gap: .7rem; font-size: .84rem; }
.pipeline .track { display: block; height: 10px; border-radius: 5px; background: var(--surface-sunken); overflow: hidden; }
.pipeline .fill { display: block; height: 100%; border-radius: 5px; width: var(--w); background: var(--c); }
.pipeline .val { font-weight: 600; color: var(--primary); font-size: .82rem; }
.pipeline .name { color: var(--text-muted); }

.ageing { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.ageing li { background: var(--surface-tint); border: 1px solid var(--border); border-radius: var(--r-md); padding: .6rem .5rem; text-align: center; }
.ageing .swatch { display: block; width: 100%; height: 5px; border-radius: 3px; background: var(--c); margin-bottom: .5rem; }
.ageing b { display: block; font-size: .95rem; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; white-space: nowrap; }
.ageing span { display: block; font-size: .68rem; color: var(--text-faint); margin-top: .15rem; }
/* Four money columns stop fitting once the shekel sign starts wrapping off the number. */
@media (max-width: 430px) { .ageing { grid-template-columns: repeat(2, 1fr); } }

.doc-row { display: flex; align-items: center; gap: .7rem; padding: .65rem 0; border-top: 1px solid var(--border); }
.doc-row:first-of-type { border-top: 0; padding-top: 0; }
.doc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--blue-soft); color: var(--blue); }
.doc-icon svg { width: 17px; height: 17px; }
.doc-row b { font-size: .87rem; font-weight: 600; color: var(--primary); display: block; }
.doc-row span { font-size: .74rem; color: var(--text-faint); }
.doc-row .state { margin-inline-start: auto; font-size: .68rem; font-weight: 600; padding: .2rem .55rem; border-radius: var(--r-pill); background: var(--success-soft); color: var(--success); flex: none; }

/* ── registries ────────────────────────────────────────────── */
.registries { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.registry {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 1.15rem 1.1rem;
  transition: transform .2s ease, box-shadow .25s ease;
}
.registry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.registry-top { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.registry-top .swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.registry h3 { font-size: .97rem; font-weight: 700; }
.registry .count { font-size: 1.45rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.registry .unit { font-size: .78rem; color: var(--text-faint); margin-top: .35rem; }
@media (max-width: 900px) { .registries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .registries { grid-template-columns: 1fr; } }

.source-note {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .6rem; font-size: .86rem; color: var(--text-faint); text-align: center;
}
.source-note .badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: .3rem .8rem; font-weight: 600; color: var(--text-muted); }
.source-note .badge svg { width: 14px; height: 14px; color: var(--blue); }

/* ── pillars ───────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.4rem 1.25rem; text-align: center; }
.pillar-icon { width: 52px; height: 52px; border-radius: var(--r-lg); margin: 0 auto 1rem; display: grid; place-items: center; background: var(--action-gradient); color: #fff; box-shadow: var(--shadow-brand); }
.pillar-icon svg { width: 25px; height: 25px; }
.pillar h3 { font-size: 1.02rem; font-weight: 700; }
.pillar p { margin-top: .5rem; font-size: .89rem; color: var(--text-muted); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ── dark band ─────────────────────────────────────────────── */
.band { position: relative; background: var(--brand-gradient); color: #fff; overflow: hidden; }
.band::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,175,236,.28), transparent 70%);
  top: -280px; inset-inline-start: -180px; pointer-events: none;
}
.band h2, .band h3 { color: #fff; }
.band .section-head p { color: rgba(255,255,255,.68); }
.band-inner { position: relative; }

.locks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lock {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 1.4rem 1.3rem;
  backdrop-filter: blur(4px);
}
.lock-icon { width: 42px; height: 42px; border-radius: var(--r-md); background: rgba(6,175,236,.16); color: var(--cyan-light); display: grid; place-items: center; margin-bottom: .95rem; }
.lock-icon svg { width: 21px; height: 21px; }
.lock h3 { font-size: 1.02rem; font-weight: 700; }
.lock p { margin-top: .5rem; font-size: .9rem; color: rgba(255,255,255,.66); }
@media (max-width: 880px) { .locks { grid-template-columns: 1fr; } }

/* ── quote ─────────────────────────────────────────────────── */
.quote-band { background: var(--surface); border-block: 1px solid var(--border); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.quote-inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.quote-inner blockquote { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 600; color: var(--primary); line-height: 1.45; letter-spacing: -0.02em; }
.quote-inner .mark { font-size: 2.5rem; line-height: 1; color: var(--cyan); display: block; margin-bottom: .5rem; }
.quote-inner cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: .9rem; color: var(--text-faint); }

/* ── CTA ───────────────────────────────────────────────────── */
.cta-card {
  position: relative; overflow: hidden;
  background: var(--brand-gradient); color: #fff;
  border-radius: var(--r-2xl); padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,175,236,.3), transparent 70%);
  top: -260px; inset-inline-end: -160px;
}
.cta-inner { position: relative; }
.cta-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-top: 1rem; }
.cta-card p { margin: 1rem auto 0; max-width: 34rem; color: rgba(255,255,255,.72); font-size: 1.04rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.cta-foot { margin-top: 1.6rem; font-size: .84rem; color: rgba(255,255,255,.5); }

/* ── footer ────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2.5rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-nav a { font-size: .9rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--text-muted); }
.footer-contact a:hover { color: var(--blue); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8rem; color: var(--text-faint); }
@media (max-width: 720px) { .footer-inner { flex-direction: column; } }

/* The one pillar that gets the whole row. A class rather than the :last-child trick the feature
   grid uses, because this card also changes shape: sideways, with its points listed out. */
.pillar--wide { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 1.5rem; text-align: start; padding: 1.6rem 1.5rem; }
.pillar--wide .pillar-icon { margin: 0; flex: none; }
.pillar-body { min-width: 0; }
.pillar--wide p { margin-top: .4rem; max-width: 62ch; }
.pillar-points { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem 1.4rem; }
.pillar-points li { position: relative; padding-inline-start: 1.1rem; font-size: .85rem; color: var(--text-muted); }
.pillar-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.pillar-points b { font-weight: 600; color: var(--primary); }
@media (max-width: 900px) { .pillar-points { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillar--wide { flex-direction: column; } }

/* ── check forms ───────────────────────────────────────────── */
/* A tenth card would sit alone on a fourth row; when the last one starts a row by itself it
   takes the whole row instead of leaving two empty cells beside it. */
.features > .feature:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }

.check-bar { height: 8px; border-radius: var(--r-pill); background: var(--surface-sunken); overflow: hidden; }
.check-bar span { display: block; height: 100%; width: var(--w); border-radius: var(--r-pill); background: var(--action-gradient); }
.check-sec { margin-top: 1.1rem; margin-bottom: .5rem; font-size: .76rem; font-weight: 700; color: var(--text-faint); }
.check-list { display: flex; flex-direction: column; }
.check-list li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-top: 1px solid var(--border); font-size: .87rem; color: var(--text); }
.check-list li:first-child { border-top: 0; }
.chk { margin-inline-start: auto; flex: none; font-size: .7rem; font-weight: 700; font-style: normal; padding: .22rem .6rem; border-radius: var(--r-pill); }
.chk-ok   { background: var(--success-soft); color: var(--success); }
.chk-bad  { background: var(--danger-soft);  color: var(--danger); }
.chk-new  { background: var(--blue-soft);    color: var(--blue-dark); }
.chk-num  { background: var(--cyan-soft);    color: #036c96; }
.chk-none { background: var(--surface-sunken); color: var(--text-faint); }
.check-foot { margin-top: 1.1rem; padding-top: .8rem; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 1rem; font-size: .76rem; color: var(--text-faint); }

/* the three moves that start a check */
.check-steps { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.5rem clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--surface-tint); }
.check-steps-title { font-size: 1.02rem; font-weight: 700; color: var(--primary); }
.check-steps-list { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.check-steps-list li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; }
.check-num { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; }
.check-steps-list b { font-size: .95rem; font-weight: 600; color: var(--primary); }
.check-steps-list li > span:last-child { font-size: .82rem; color: var(--text-muted); }
.check-steps-note { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: .88rem; color: var(--text-muted); }
@media (max-width: 860px) { .check-steps-list { grid-template-columns: 1fr; } }

/* ── reveal on scroll ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .09s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .27s; }

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