/* ===================================================================
   LUPA — interactive site stylesheet
   Brand: deep purple #7D1BDC, bright lavender #BF42F9, navy #190056
   Type: Satoshi (headlines / display), Geist (body / labels)
   =================================================================== */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap');

:root {
  --purple: #7C3AED;
  --purple-2: #935DF0;     /* gradient stop */
  --purple-3:#9638F1;       /* old gradient stop */
  --bright: #BF42F9;       /* accent / CTA */
  --navy: #320088;         /* dark stats bg */
  --navy-2: #5009CB;       /* engineering bg */
  --navy-card: #444471;    /* engineering inner card */
  --lavender-50: #F9F5FF;  /* pain points bg */
  --lavender-100: #F2E8FD; /* testimonial bg */
  --off-white: #FCFCFB;
  --feature-bg: #F4F4F4;
  --beige: #F7F6F5;
  --ink: #1B0035;
  --ink-soft: #3a2566;
  --gray-300: #E8E8E8;
  --gray-500: #949494;
  --gray-700: #5b5b5b;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1312px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Satoshi", "Geist", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
/* All H1s render Bold site-wide (Satoshi) */
h1 { font-weight: 700 !important; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

/* ===================== Reveal animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.btn-bright {
  background: #86EFAC;
  color: #0f2e1a;
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(34,197,94,.5);
}
.btn-bright:hover { transform: translateY(-2px); background: #6ee7a0; box-shadow: 0 12px 32px -8px rgba(34,197,94,.6); }
.btn-bright:active { transform: translateY(0); }

.btn-outline {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover { background: #6a14c0; transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--purple);
}
.btn-white:hover { background: #f4eaff; transform: translateY(-2px); }

.btn-ghost {
  color: #fff;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.btn-with-icon .play-icon {
  width: 14px; height: 14px;
  border-radius: 2px;
  background: currentColor;
  clip-path: polygon(20% 10%, 90% 50%, 20% 90%);
}

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--purple);
  transition: box-shadow .2s ease, background .2s ease;
}
.nav.scrolled {
  box-shadow: 0 6px 24px -16px rgba(0,0,0,.5);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 91px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 28px;
  flex: 1;
}
.nav-link { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: "Satoshi";
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 6px 4px;
  opacity: 1;
  transition: opacity .15s ease;
}
.nav-trigger:hover { opacity: 1; }
.chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.has-dropdown.open .chev { transform: rotate(-135deg) translate(-2px, -2px); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  z-index: 100;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(40, 0, 100, .35), 0 4px 12px -4px rgba(0,0,0,.1);
  padding: 18px;
  min-width: 520px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-link.open .dropdown {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity .2s ease, transform .2s ease, visibility 0s;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 3px;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.dd-item {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background .15s ease;
}
.dd-item:hover { background: var(--lavender-50); }
.dd-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}
.dd-desc {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.45;
}

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
/* Login dropdown (right-aligned, compact) */
.nav-login { position: relative; }
.nav-login .nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding-left: 20px; padding-right: 20px; }
.nav-login .dropdown { left: auto; right: 0; transform: translate(0, 8px); min-width: 260px; }
.nav-login.open .dropdown { transform: translate(0, 0); }
.nav-login .dropdown::before { left: auto; right: 26px; transform: rotate(45deg); }
.nav-login .dropdown-grid { grid-template-columns: 1fr; }
.dd-soon { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); background: var(--lavender-50, rgba(125,27,220,.1)); border-radius: 6px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple) 60%, var(--purple-2) 100%);
  color: #fff;
  padding: 72px 32px 0;
  overflow: visible;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1056px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 56px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .18em;
  margin-bottom: 20px;
  opacity: .9;
}
.hero-title {
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-sub {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 18px;
  line-height: 1.55;
  opacity: .92;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-screenshot {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: #F8F9FD;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 60px 120px -40px rgba(20, 0, 60, .55),
    0 24px 60px -16px rgba(20, 0, 60, .35);
}
.screenshot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.screenshot-frame img { width: 100%; height: auto; display: block; }
.screenshot-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(191,66,249,.5), transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.hero-bg-shape {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 200px;
  background: linear-gradient(180deg, var(--purple-2), transparent);
  z-index: 0;
  pointer-events: none;
}

/* ===================== Stats ===================== */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 112px 32px;
}
.section-h2 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 45px);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
.stats-title {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 80px;
}

/* Hand-drawn purple underline accent (used under "week", etc.) */
.underline-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underline-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.32em;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.stats-row {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 48px;
}
.stat-divider {
  width: 1px;
  height: 120px;
  background: rgba(255,255,255,.12);
  justify-self: center;
}
.stat { text-align: center; padding: 0 24px; }
.stat-label {
  font-family: "Satoshi";
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: #fff;
  max-width: 360px;
  margin: 0 auto;
  text-wrap: balance;
}
.stat-label em {
  font-style: italic;
  font-weight: 500;
  color: var(--bright);
}

/* ===================== Replace all your tools ===================== */
.replace {
  background: var(--purple);
  color: #fff;
  padding: 112px 32px;
}
.replace-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.replace-tagline {
  font-family: "Roboto", "Satoshi", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 18px;
  opacity: .95;
}
.replace-h {
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.replace-sub {
  font-family: "Roboto", "Satoshi", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  max-width: 768px;
  margin: 0 auto 64px;
  opacity: .95;
  text-wrap: pretty;
}
.replace-image {
  max-width: 1268px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
}
.replace-image img { display: block; width: 100%; height: auto; }

/* Replace-tools diagram — Patchwork vs Lupa OS */
.replace-diagram {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
.patch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.patch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.patch-pill {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  padding: 8px 18px;
  border-radius: 999px;
}
.patch-pill--dark {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.75);
}
.patch-pill--purple {
  background: rgba(191,66,249,.18);
  border: 1px solid rgba(191,66,249,.4);
  color: #fff;
}

/* Patchwork table */
.patch-table {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.patch-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-height: 76px;
}
.patch-row:last-child { border-bottom: 0; }
.patch-row--hi {
  background: rgba(191,66,249,.14);
}
.patch-row--hi .patch-cat { color: #e6c4ff; }
.patch-cat {
  font-family: "Satoshi";
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  line-height: 1.3;
}
.patch-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
  padding-right: 8px;
}

/* Tool brand chips — wordmarks coloured to match each brand */
.brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: "Inter", "Satoshi", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: #111;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.brand-dojo       { color: #111; }
.brand-stripe     { color: #635bff; font-style: italic; }
.brand-worldpay   { color: #ef4444; }
.brand-vetstoria  { color: #3aa86b; }
.brand-petsapp    { color: #1f1f47; }
.brand-irecall    { color: #f5a623; }
.brand-talkatoo   { color: #44b3a8; }
.brand-scribenote { color: #6b3bf2; font-style: italic; }
.brand-vetnio     { color: #111; background: #fff; }
.brand-clinicwise { color: #2563eb; }
.brand-smartflow  { color: #16a34a; }
.brand-instinct   { color: #111; }
.brand-provet     { color: #2563eb; }
.brand-ezyvet     { color: #0bbcd6; }
.brand-teams      { color: #5059c9; }
.brand-gchat      { color: #1aaa55; }
.brand-slack      { color: #4a154b; }
.brand-rotacloud  { color: #1ea7d6; }
.brand-sling      { color: #4f8ff7; }
.brand-planday    { color: #0fd07a; }
.brand-snowflake  { color: #29b5e8; }
.brand-powerbi    { color: #f2c811; }
.brand-tableau    { color: #1f6fb4; }

/* Arrow column — 8 arrows aligned to each row */
.patch-arrows {
  display: grid;
  grid-template-rows: repeat(8, 76px);
  align-items: center;
  justify-items: center;
  padding-top: 50px; /* nudge so first arrow lines up with first row */
}
.patch-arrows svg {
  width: 36px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.5));
}
.patch-arrows svg path {
  stroke: #fff !important;
}

/* Right column — single Lupa card spanning the rows */
.patch-col--lupa { justify-content: flex-start; }
.patch-lupa-card {
  position: relative;
  width: 100%;
  /* match the visual height of the table on the left */
  min-height: 640px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.2);
  animation: lupaPulse 2.6s ease-in-out infinite;
}
@keyframes lupaPulse {
  0%, 100% {
    box-shadow:
      0 30px 60px -20px rgba(0,0,0,.45),
      0 0 0 1px rgba(255,255,255,.2),
      0 0 0 0 rgba(191,66,249,.45);
  }
  50% {
    box-shadow:
      0 30px 60px -20px rgba(0,0,0,.45),
      0 0 0 1px rgba(255,255,255,.2),
      0 0 0 22px rgba(191,66,249,0);
  }
}
.patch-lupa-card img {
  width: 70%;
  max-width: 260px;
  height: auto;
}
.patch-lupa-tag {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--purple);
}

@media (max-width: 900px) {
  .patch-grid { grid-template-columns: 1fr; gap: 24px; }
  .patch-arrows {
    grid-template-rows: auto;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding-top: 0;
  }
  .patch-arrows svg { transform: rotate(90deg); }
  .patch-row { grid-template-columns: 1fr; align-items: flex-start; }
  .patch-logos { justify-content: flex-start; padding-right: 0; }
  .patch-lupa-card { min-height: 280px; }
}

/* ===================== Pain points ===================== */
.pain {
  background: var(--lavender-50);
  padding: 112px 32px;
}
.pain-title {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 80px;
}
.card-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: #fff;
  border: 1px solid rgba(125,27,220,.08);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 24px -16px rgba(125,27,220,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 20px 40px -20px rgba(125,27,220,.35);
}
.pain-card h3 {
  font-family: "Satoshi";
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--ink);
}
.pain-card ul { display: flex; flex-direction: column; gap: 10px; }
.pain-card li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
}
.pain-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--bright);
  border-radius: 2px;
}

/* ===================== Introducing ===================== */
.intro {
  background: var(--purple);
  color: #fff;
  padding: 112px 32px;
}
.intro-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.intro-title {
  font-family: "Satoshi";
  font-weight: 500;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 24px;
}
.intro-sub {
  font-family: "Geist";
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 36px;
  opacity: .95;
  max-width: 480px;
}
.intro-actions { display: flex; gap: 16px; }

.intro-list { display: flex; flex-direction: column; gap: 12px; }
.intro-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.intro-item:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  transform: translateX(4px);
}
.intro-num {
  font-family: "Geist";
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--bright);
  font-weight: 700;
}
.intro-text {
  font-family: "Geist";
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.005em;
}
.intro-arrow {
  font-size: 22px;
  opacity: .5;
  transition: transform .2s ease, opacity .2s ease;
}
.intro-item:hover .intro-arrow { opacity: 1; transform: translateX(4px); }

/* ===================== Feature sections ===================== */
.feature {
  padding: 80px 32px;
}
.feature--light { background: var(--off-white); }
.feature-card {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--feature-bg);
  border-radius: var(--radius);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 600px;
}
.feature-card--reverse .feature-text { order: 2; }
.feature-card--reverse .feature-visual { order: 1; }

.feature-eyebrow {
  display: inline-block;
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--purple);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.engineering .feature-eyebrow { color: var(--bright); }

.feature-text h2 {
  font-family: "Satoshi";
  font-weight: 500;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.feature-text h2 em {
  font-style: italic;
  color: var(--purple);
}
.feature-text p {
  font-family: "Satoshi";
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.feature-text .btn { margin-top: 20px; }

.bullets { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 24px; }
.bullets li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(-45deg);
}

.feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* ===== Phone mock — Paddington Vets WhatsApp ===== */
.phone-mock {
  width: 340px;
  height: 720px;
  background: #efe9df;
  border-radius: 50px;
  border: 10px solid #15161a;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 40px 80px -24px rgba(20,0,60,.45),
    0 0 0 1px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* iOS status bar */
.ios-status {
  position: relative;
  height: 44px;
  padding: 14px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #f1ece5;
  font-family: "Geist", -apple-system, system-ui, sans-serif;
  z-index: 3;
}
.ios-time {
  font-weight: 700;
  font-size: 16px;
  color: #111;
  letter-spacing: -.02em;
  padding-left: 6px;
}
.ios-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  border-radius: 18px;
  background: #15161a;
}
.ios-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 18px;
}
.ios-signal { width: 17px; height: 11px; fill: #111; }
.ios-wifi { width: 16px; height: 11px; fill: #111; }
.ios-battery {
  position: relative;
  width: 38px;
  height: 16px;
  border-radius: 4px;
  background: #fdc91c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 700;
  font-size: 9px;
}
.ios-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 5px;
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: #111;
}
.ios-battery-pct { letter-spacing: -.01em; }

/* WhatsApp-ish header */
.wa-header {
  background: #f1ece5;
  padding: 4px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e7e1d8;
  z-index: 2;
}
.wa-back {
  font-size: 26px;
  color: #2a8a4a;
  line-height: 1;
  font-weight: 400;
  padding-right: 2px;
}
.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #efe2fb 0%, #d7c2f3 100%);
  border: 2px solid #b890e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Geist";
  font-weight: 700;
  font-size: 12px;
  color: #5b32a8;
}
.wa-meta { flex: 1; line-height: 1.15; }
.wa-name { font-family: "Geist"; font-weight: 700; font-size: 15px; color: #15161a; }
.wa-status { font-size: 11px; color: #6a665e; margin-top: 2px; }
.wa-actions { display: flex; align-items: center; gap: 14px; }
.wa-icon { width: 22px; height: 22px; }

/* Messages */
.wa-messages {
  flex: 1;
  background: #e8e2d8;
  padding: 14px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  font-family: "Geist", -apple-system, system-ui, sans-serif;
  color: #15161a;
}
.wa-day {
  align-self: center;
  background: #c8e2e6;
  color: #2a4a52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.wa-bubble {
  max-width: 80%;
  padding: 8px 11px 6px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  position: relative;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.wa-bubble p { margin: 0 0 4px; }
.wa-bubble--them {
  background: #fff;
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.wa-bubble--me {
  background: #d4f5c5;
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.wa-time {
  display: inline-block;
  float: right;
  margin-left: 6px;
  font-size: 10px;
  color: #6a665e;
  padding-top: 2px;
}
.wa-time--me, .wa-bubble--me .wa-time { color: #4a8a3a; }
.wa-ticks { color: #4a8aff; font-weight: 700; letter-spacing: -2px; }

/* Typing indicator */
.wa-typing {
  align-self: flex-start;
  background: #fff;
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 8px 12px;
  display: flex;
  gap: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b6b0a6;
  animation: typing 1.4s ease-in-out infinite;
}
.wa-typing span:nth-child(2) { animation-delay: .2s; }
.wa-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* GIF bubble */
.wa-bubble--gif { padding: 6px 6px 6px; max-width: 70%; }
.wa-bubble--gif p { padding: 0 6px; }
.wa-gif {
  position: relative;
  background: #c5d9b5;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 200/130;
  margin-bottom: 6px;
}
.wa-gif-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}
.wa-gif-tag svg { width: 12px; height: 12px; }
.wa-caption {
  padding: 0 6px;
  font-size: 13px;
}

/* Dog SVG animation */
.dog-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  animation: dogBob 1.6s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes dogBob {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50%      { transform: translateY(-2px) rotate(.5deg); }
}
.dog-tail {
  transform-origin: 158px 70px;
  animation: dogWag .55s ease-in-out infinite;
}
@keyframes dogWag {
  0%, 100% { transform: rotate(-18deg); }
  50%      { transform: rotate(18deg); }
}
.dog-paw {
  transform-origin: 50px 108px;
  animation: dogPaw 2.2s ease-in-out infinite;
}
@keyframes dogPaw {
  0%, 80%, 100% { transform: translateY(0) rotate(0); }
  40%           { transform: translateY(-4px) rotate(-6deg); }
}
.dog-head {
  transform-origin: 58px 90px;
  animation: dogTilt 3.4s ease-in-out infinite;
}
@keyframes dogTilt {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(2deg); }
}

/* Booking link card */
.wa-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
  padding: 8px;
  background: #f6efe4;
  border-left: 3px solid #7d1bdc;
  border-radius: 6px;
}
.wa-link-cal {
  position: relative;
  width: 34px;
  height: 38px;
  border-radius: 6px;
  background: #7d1bdc;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}
.wa-link-cal-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: #5e10a8;
}
.wa-link-cal-num {
  color: #fff;
  font-family: "Geist";
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}
.wa-link-meta { line-height: 1.3; }
.wa-link-title { font-weight: 700; font-size: 12px; color: #15161a; }
.wa-link-url { font-size: 11px; color: #6a665e; margin-top: 2px; }

/* Composer */
.wa-composer {
  background: #f1ece5;
  padding: 8px 10px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.wa-input {
  flex: 1;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #b6b0a6;
}
.wa-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a8a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-send svg { width: 18px; height: 18px; }

.ios-handle {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: #15161a;
  z-index: 4;
}

/* ===== Invoice mock ===== */
.invoice-mock {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(20,0,60,.18), 0 0 0 1px rgba(125,27,220,.06);
  overflow: hidden;
}
.invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #eee;
}
.invoice-eyebrow { font-size: 11px; letter-spacing: .12em; color: var(--purple); font-weight: 700; }
.invoice-name { font-family: "Satoshi"; font-weight: 500; font-size: 20px; color: var(--ink); margin-top: 2px; }
.invoice-total { font-family: "Satoshi"; font-weight: 600; font-size: 26px; color: var(--ink); }
.invoice-rows { padding: 8px 0; }
.invoice-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: "Geist";
  color: var(--ink-soft);
}
.invoice-rows li + li { border-top: 1px dashed #f0eaf7; }
.invoice-row-new {
  background: linear-gradient(90deg, rgba(191,66,249,.08), transparent 70%);
}
.invoice-row-new span:nth-child(2) { flex: 1; color: var(--ink); font-weight: 500; }
.ai-pill {
  display: inline-flex;
  padding: 3px 8px;
  background: var(--purple);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.ghost-add {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.ghost-add:hover { background: var(--purple); color: #fff; }
.ghost-add-strong { border: 0; background: var(--bright); color: #fff; padding: 8px 14px; }
.ghost-add-strong:hover { background: #cb5dff; }
.invoice-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #faf5ff;
  border-top: 1px solid #f0eaf7;
  font-size: 13px;
  font-family: "Geist";
  color: var(--ink-soft);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2e8a4a;
  box-shadow: 0 0 0 4px rgba(46,138,74,.18);
}
.invoice-footer > span:nth-of-type(2) { flex: 1; }

/* ===== Scribe mock ===== */
.scribe-mock {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(20,0,60,.18), 0 0 0 1px rgba(125,27,220,.06);
  padding: 24px;
}
.scribe-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #b00d2a;
}
.rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e3263c;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.scribe-time { font-family: "Satoshi"; font-weight: 500; color: var(--ink-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.scribe-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  margin-bottom: 22px;
  gap: 3px;
}
.scribe-wave span {
  display: block;
  width: 4px;
  background: var(--purple);
  border-radius: 2px;
  animation: bar 1.2s ease-in-out infinite;
}
.scribe-wave span:nth-child(odd) { background: var(--bright); }
.scribe-wave span:nth-child(1) { animation-delay: 0s; }
.scribe-wave span:nth-child(2) { animation-delay: .05s; }
.scribe-wave span:nth-child(3) { animation-delay: .1s; }
.scribe-wave span:nth-child(4) { animation-delay: .15s; }
.scribe-wave span:nth-child(5) { animation-delay: .2s; }
.scribe-wave span:nth-child(6) { animation-delay: .25s; }
.scribe-wave span:nth-child(7) { animation-delay: .3s; }
.scribe-wave span:nth-child(8) { animation-delay: .35s; }
.scribe-wave span:nth-child(9) { animation-delay: .4s; }
.scribe-wave span:nth-child(10) { animation-delay: .45s; }
.scribe-wave span:nth-child(11) { animation-delay: .5s; }
.scribe-wave span:nth-child(12) { animation-delay: .55s; }
.scribe-wave span:nth-child(13) { animation-delay: .6s; }
.scribe-wave span:nth-child(14) { animation-delay: .65s; }
.scribe-wave span:nth-child(15) { animation-delay: .7s; }
.scribe-wave span:nth-child(16) { animation-delay: .75s; }
.scribe-wave span:nth-child(17) { animation-delay: .8s; }
.scribe-wave span:nth-child(18) { animation-delay: .85s; }
.scribe-wave span:nth-child(19) { animation-delay: .9s; }
.scribe-wave span:nth-child(20) { animation-delay: .95s; }
@keyframes bar {
  0%, 100% { height: 10%; }
  50% { height: 90%; }
}
.scribe-section-label {
  font-family: "Geist";
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 12px;
}
.scribe-block {
  font-family: "Geist";
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 12px 14px;
  background: #faf5ff;
  border-radius: 10px;
  margin-bottom: 8px;
}
.scribe-block strong { color: var(--purple); font-weight: 700; }

/* ===== Calendar mock ===== */
.cal-mock {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(20,0,60,.18), 0 0 0 1px rgba(125,27,220,.06);
  padding: 20px;
}
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-title { font-family: "Satoshi"; font-weight: 500; font-size: 18px; color: var(--ink); }
.cal-toggle { display: flex; padding: 3px; background: #f4eefa; border-radius: 999px; }
.cal-tab { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.cal-tab.active { background: var(--purple); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cal-col { position: relative; background: #faf7fe; border-radius: 8px; padding-top: 32px; height: 220px; }
.cal-col-head {
  position: absolute;
  top: 8px; left: 0; right: 0;
  text-align: center;
  font-family: "Geist";
  font-size: 11px;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--ink-soft);
}
.cal-slot {
  position: absolute;
  left: 6px; right: 6px;
  border-radius: 6px;
  padding: 6px 8px;
  font-family: "Geist";
}
.cal-slot--purple { background: var(--purple); color: #fff; }
.cal-slot--lilac { background: #e7d4fb; color: var(--ink); }
.cal-slot--mint { background: #d4f3e0; color: #144d2a; }
.cal-slot-time { font-size: 10px; font-weight: 700; opacity: .8; }
.cal-slot-name { font-size: 12px; font-weight: 600; line-height: 1.2; }

/* ===================== Integrations ===================== */
.integrations {
  background: var(--off-white);
  padding: 80px 32px;
}
.integrations .feature-card {
  background: var(--feature-bg);
}
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 460px;
}
.logo-tile {
  aspect-ratio: 1.5/1;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Satoshi";
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  box-shadow: 0 8px 24px -16px rgba(20,0,60,.2), 0 0 0 1px rgba(0,0,0,.04);
  animation: tilein .6s ease-out backwards;
  animation-delay: var(--d, 0s);
}
@keyframes tilein {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.logo-tile--lupa {
  background: var(--purple);
  color: #fff;
  position: relative;
}
.logo-tile--lupa img { height: 32px; width: auto; }
.logo-tile--lupa::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  border: 2px dashed var(--bright);
  opacity: .4;
}

/* Integrations — partner hub & spoke */
.hub {
  position: relative;
  width: 460px;
  max-width: 100%;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hub-lines .spoke {
  stroke: rgba(125,27,220,.5);
  stroke-width: 1.5;
  stroke-linecap: round;
  animation: dashflow 8s linear infinite;
}
@keyframes dashflow {
  to { stroke-dashoffset: -100; }
}
.hub-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 110px;
  text-align: center;
  font-family: "Satoshi";
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 0 8px 24px -12px rgba(20,0,60,.2), 0 0 0 1px rgba(125,27,220,.08);
  z-index: 2;
  opacity: 0;
  animation: hubnodein .55s ease-out forwards;
  animation-delay: var(--d, 0s);
  transition: transform .2s ease, box-shadow .2s ease;
}
@keyframes hubnodein {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.hub-node:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 12px 28px -10px rgba(125,27,220,.35), 0 0 0 1px rgba(125,27,220,.2);
}
.hub-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px -10px rgba(125,27,220,.5), 0 0 0 1px rgba(255,255,255,.1) inset;
  z-index: 3;
}
.hub-center img { height: 38px; width: auto; }
.hub-center-pulse {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 2px solid var(--bright);
  opacity: .6;
  animation: hubpulse 2.4s ease-out infinite;
  pointer-events: none;
}
.hub-center-pulse--2 { animation-delay: 1.2s; }
@keyframes hubpulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.5); opacity: 0;  }
}

/* ===================== Engineering ===================== */
.engineering {
  background: var(--navy-2);
  padding: 80px 32px;
}
.engineering .feature-card {
  background: var(--navy-card);
}
.engineering .feature-text h2,
.engineering .feature-text p {
  color: #fff;
}
.engineering .feature-text p { opacity: .9; }
.engineering .emphasis {
  font-family: "Satoshi";
  font-style: italic;
  font-size: 17px;
  color: #fff;
  border-left: 3px solid var(--bright);
  padding-left: 16px;
  margin-top: 24px;
}

.ship-mock {
  width: 100%;
  max-width: 460px;
  background: #1B1B5C;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.ship-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.ship-title { font-family: "Satoshi"; font-size: 18px; font-weight: 500; color: #fff; }
.ship-sub { font-size: 12px; color: rgba(255,255,255,.6); }
.ship-list { display: flex; flex-direction: column; gap: 4px; }
.ship-list li {
  display: grid;
  grid-template-columns: 40px 56px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 8px;
  font-family: "Geist";
  font-size: 14px;
  color: rgba(255,255,255,.92);
  transition: background .15s ease;
}
.ship-list li:hover { background: rgba(255,255,255,.06); }
.ship-day { font-size: 11px; color: rgba(255,255,255,.55); font-weight: 700; letter-spacing: .04em; }
.ship-tag {
  display: inline-flex;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tag-new { background: rgba(191,66,249,.2); color: #d99dff; }
.tag-fix { background: rgba(46,138,74,.25); color: #8ee0a8; }
.tag-imp { background: rgba(255,200,80,.2); color: #ffd373; }

/* Engineering logo grid (replaces ship-log) */
.eng-logos {
  width: 100%;
  max-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 8px;
}
.eng-logo {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
  animation: tilein .55s ease-out backwards;
}
.eng-logo:nth-child(1) { animation-delay: .00s; }
.eng-logo:nth-child(2) { animation-delay: .05s; }
.eng-logo:nth-child(3) { animation-delay: .10s; }
.eng-logo:nth-child(4) { animation-delay: .15s; }
.eng-logo:nth-child(5) { animation-delay: .20s; }
.eng-logo:nth-child(6) { animation-delay: .25s; }
.eng-logo:nth-child(7) { animation-delay: .30s; grid-column: 1 / -1; width: 240px; justify-self: center; }
.eng-logo:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.eng-logo svg { max-height: 44px; max-width: 100%; width: auto; height: auto; display: block; }

/* ===================== Testimonial ===================== */
.testimonial {
  background: var(--lavender-100);
  padding: 112px 32px;
}
.testimonial-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 492px;
  gap: 64px;
  align-items: center;
}
.t-left { max-width: 615px; }
.stars { display: flex; gap: 4px; margin-bottom: 40px; }
.stars span {
  width: 20px; height: 20px;
  background: var(--bright);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.t-quote {
  font-family: "Satoshi";
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 0 0 36px;
  color: var(--ink);
  text-wrap: balance;
}
.t-name {
  font-family: "Satoshi";
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.t-role {
  font-family: "Satoshi";
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.t-right { display: flex; justify-content: flex-end; }
.t-portrait {
  width: 492px;
  height: 353px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(125,27,220,.35);
  background: #ddd;
}
.t-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* CTA — Jerry was previously placed here */
.cta {
  background: var(--purple);
  color: #fff;
  padding: 112px 32px;
  text-align: center;
}

/* Jerry — peeks out from behind the hero screenshot, standing on stats.
   Pinned relative to the screenshot's right edge. */
.jerry--hero {
  position: absolute;
  /* Screenshot is centered (max-width 1280) inside hero (padding 32px each side).
     Its right edge sits at: viewport-center + min(640px, (100vw - 64px)/2).
     We start Jerry's image-left 30px BEFORE that line so 30px of his body is
     hidden behind the card and the rest peeks out. */
  left: calc(50% + min(640px, (100vw - 64px) / 2) - 10px);
  bottom: -55px;         /* sits on top of the navy section */
  width: 190px;          /* a touch bigger */
  height: auto;
  z-index: 1;            /* behind hero-screenshot (z:2) */
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
  pointer-events: none;
  /* no animation — Jerry stays put */
}
@keyframes jerryWave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45%      { transform: translateY(-3px) rotate(-2deg); }
  55%      { transform: translateY(-3px) rotate(2deg); }
}
.cta .jerry { display: none; }
.cta-inner { max-width: 768px; margin: 0 auto; }
.cta-h4 {
  font-family: "Satoshi", sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 24px;
  color: #fff;
  text-wrap: balance;
}
.cta-copy {
  font-family: "Satoshi";
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 0 0 40px;
  text-wrap: balance;
}
.cta-actions { display: flex; justify-content: center; }

/* ===================== Footer ===================== */
.footer {
  background: var(--purple);
  color: #fff;
  padding: 80px 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.18);
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 64px 0;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-h {
  font-family: "Geist";
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
  color: #fff;
}
.footer-col a {
  font-family: "Geist";
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 4px 0;
  transition: color .15s ease, transform .15s ease;
  width: max-content;
}
.footer-col a:hover { color: #fff; transform: translateX(2px); }
.footer-soon {
  font-family: "Geist";
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 4px 0;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-soon em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 2px 8px;
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}
.footer-logo { height: 36px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: rgba(255,255,255,.3); }
.footer-social svg { width: 19px; height: 19px; }
.footer-c {
  font-family: "Geist";
  font-size: 14px;
  color: rgba(255,255,255,.85);
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-actions { display: none; }

  /* Mobile full-screen overlay menu */
  .nav.nav-open {
    position: fixed; inset: 0; width: 100vw; height: 100vh;
    background: #fff; overflow-y: auto; z-index: 200;
  }
  .nav.nav-open .nav-inner {
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    max-width: none; min-height: 100vh; padding: 22px 24px 48px; gap: 0;
  }
  .nav.nav-open .nav-logo { position: absolute; top: 26px; left: 24px; height: 36px; width: 120px; background: url('/lupa-2026/assets/lupa-logo-purple.webp') left center / contain no-repeat; }
  .nav.nav-open .nav-logo img { visibility: hidden; }
  .nav.nav-open .nav-burger { position: absolute; top: 30px; right: 24px; }
  .nav.nav-open .nav-burger span { background: var(--ink); }
  .nav.nav-open .nav-links {
    display: flex; flex: none; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; margin-top: 72px; margin-left: 0; background: none;
  }
  .nav.nav-open .nav-links .nav-link { width: 100%; border-bottom: 1px solid rgba(27,0,53,.08); }
  .nav.nav-open .nav-links .nav-trigger {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 2px; font-size: 19px; font-weight: 500; color: var(--ink);
    background: none; border: 0; text-align: left; cursor: pointer;
  }
  .nav.nav-open .nav-links .chev { border-color: var(--ink); }
  .nav.nav-open .nav-links .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; min-width: 0; padding: 0 0 14px; display: none; background: none;
  }
  .nav.nav-open .nav-links .nav-link.open .dropdown { display: block; }
  .nav.nav-open .nav-links .dropdown::before { display: none; }
  .nav.nav-open .nav-links .dropdown-grid { grid-template-columns: 1fr; gap: 0; }
  .nav.nav-open .nav-links .dd-item { padding: 11px 14px; }
  .nav.nav-open .nav-links .dd-desc { display: none; }

  /* action items as plain rows, matching the nav links */
  .nav.nav-open .nav-actions {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; margin-top: 0; padding: 0;
  }
  .nav.nav-open .nav-login { flex: none; width: 100%; position: relative; border-bottom: 1px solid rgba(27,0,53,.08); }
  .nav.nav-open .nav-login .nav-trigger,
  .nav.nav-open .nav-actions > .btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 2px; font-size: 19px; font-weight: 500; color: var(--ink);
    background: none !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; text-align: left; text-decoration: none; cursor: pointer;
    padding: 18px 2px !important; height: auto !important; line-height: 1.3 !important;
  }
  .nav.nav-open .nav-actions > .btn { border-bottom: 1px solid rgba(27,0,53,.08) !important; }
  .nav.nav-open .nav-login .chev { border-color: var(--ink); }
  .nav.nav-open .nav-login .dropdown {
    position: static; transform: none; min-width: 0; padding: 0 0 14px; display: none; box-shadow: none; background: none;
  }
  .nav.nav-open .nav-login.open .dropdown { display: block; }
  .nav.nav-open .nav-login .dropdown::before { display: none; }
  .nav.nav-open .nav-login .dropdown-grid { grid-template-columns: 1fr; gap: 0; }
  .nav.nav-open .nav-login .dd-item { padding: 11px 14px; }
  .nav.nav-open .nav-login .dd-desc { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-card { grid-template-columns: 1fr; gap: 48px; padding: 40px; }
  .feature-card--reverse .feature-text { order: 0; }
  .feature-card--reverse .feature-visual { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-inner { grid-template-columns: 1fr; }
  .t-right { justify-content: flex-start; }
  .t-portrait { width: 100%; max-width: 492px; height: auto; aspect-ratio: 492/353; }
  .stats-row { grid-template-columns: 1fr; gap: 48px; }
  .stat-divider { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 48px 20px 0; }
  .hero-title { font-size: 44px; }
  .stats, .pain, .intro, .testimonial, .cta, .feature, .integrations, .engineering, .footer { padding-left: 20px; padding-right: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .footer-credits { flex-direction: column; gap: 16px; align-items: flex-start; }
}


/* ====================================================================
   ALL-IN-ONE OS — scroll-driven convergence animation
   ==================================================================== */
.os { position: relative; height: 460vh; background: #fff; }
/* OSX confetti finale + functionality grid */
.osx { position: relative; height: 320vh; background: #F2E8FD; }
.osx-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.osx-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.osx-q { position: absolute; max-width: 880px; margin: 0; padding: 0 32px; text-align: center; font-family: "Satoshi", sans-serif; font-weight: 500; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); will-change: opacity, transform; z-index: 3; }
.osx-logo { position: absolute; z-index: 5; will-change: transform; }
.osx-logo-card { width: 132px; height: 132px; border-radius: 28px; background: linear-gradient(150deg, var(--purple), var(--purple-2)); display: grid; place-items: center; padding: 26px; box-shadow: 0 30px 70px -24px rgba(125,27,220,.6); }
.osx-logo-card img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.osx-line { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); max-width: 320px; margin: 0; font-family: "Satoshi", sans-serif; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.22; letter-spacing: -.02em; color: var(--ink); opacity: 0; will-change: opacity; z-index: 5; }
.osx-grid { position: absolute; right: 5%; width: 52%; max-width: 620px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; opacity: 0; will-change: opacity, transform; z-index: 3; }
.osx-tile { background: #fff; border: 1px solid rgba(27,20,48,.06); border-radius: 16px; padding: 16px 14px; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px -22px rgba(27,20,48,.4); }
.osx-tile-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.osx-tile-ic svg { width: 18px; height: 18px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.osx-tile-ic.p { background: linear-gradient(150deg, var(--purple), var(--purple-2)); } .osx-tile-ic.p svg { stroke: #fff; }
.osx-tile-ic.a { background: #fbeccd; } .osx-tile-ic.a svg { stroke: #c98a2e; }
.osx-tile-ic.g { background: #d6f0e0; } .osx-tile-ic.g svg { stroke: #2a8c5a; }
.osx-tile-ic.b { background: #e2e8ff; } .osx-tile-ic.b svg { stroke: #4a5fd0; }
.osx-tile-l { font-family: "Satoshi", sans-serif; font-weight: 600; font-size: 13px; line-height: 1.2; color: var(--ink); }
.osx-tile-ai { font-size: 9px; font-weight: 700; color: var(--purple); background: rgba(125,27,220,.1); border-radius: 5px; padding: 2px 5px; float: right; }
@media (max-width: 900px) {
  .osx-line { position: static; max-width: none; text-align: center; margin: 0 0 24px; padding: 0 24px; }
  .osx-grid { position: static; width: 100%; max-width: 460px; grid-template-columns: repeat(2, 1fr); }
  .osx-sticky { flex-direction: column; }
}
.os-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}
.os-tagline {
  position: absolute; top: 48px; left: 50%; transform: translateX(-50%);
  font-family: "Geist", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .22em; color: var(--purple); opacity: .8;
}
.os-q {
  position: absolute; max-width: 900px; margin: 0;
  font-family: "Satoshi", sans-serif; font-weight: 500;
  font-size: clamp(34px, 5vw, 68px); letter-spacing: -.02em; line-height: 1.08;
  color: var(--ink); will-change: opacity, transform;
}
.os-q2 .accent, .os-final .accent { color: var(--purple); }

/* Tool field */
.os-field { position: absolute; inset: 0; pointer-events: none; }
.os-tool {
  position: absolute; top: 50%; left: 50%; margin: 0;
  width: 220px; will-change: transform, opacity;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.os-tool-label {
  font-family: "Geist", sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
  white-space: nowrap;
}
.tw {
  background: #fff; border: 1px solid rgba(20,10,40,.1); border-radius: 12px;
  box-shadow: 0 20px 40px -20px rgba(40,10,90,.3), 0 2px 6px rgba(0,0,0,.05);
  overflow: hidden; text-align: left;
}
.tw-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #F4F2F7; border-bottom: 1px solid rgba(20,10,40,.07); }
.tw-dot { width: 7px; height: 7px; border-radius: 50%; background: #d7d2e0; }
.tw-dot:nth-child(1){ background:#ff5f57 } .tw-dot:nth-child(2){ background:#febc2e } .tw-dot:nth-child(3){ background:#28c840 }
.tw-title { margin-left: 6px; font-family: "Geist"; font-size: 10.5px; font-weight: 600; color: #6a6080; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-body { padding: 11px 12px; display: flex; flex-direction: column; gap: 6px; }
.tw-row { display: flex; justify-content: space-between; gap: 10px; font-family: "Geist"; font-size: 11px; color: #4a4360; }
.tw-row .ok { color: #1f9d57; font-weight: 600; } .tw-row .bad { color: #e0463e; font-weight: 600; }
.tw-line { height: 7px; border-radius: 4px; background: #ece8f2; }
.tw-line.w90{width:90%}.tw-line.w80{width:80%}.tw-line.w70{width:70%}.tw-line.w60{width:60%}.tw-line.w50{width:50%}.tw-line.w40{width:40%}
.tw-btn { align-self: flex-start; font-family: "Geist"; font-size: 10px; font-weight: 700; color: #fff; background: #1f9d57; padding: 4px 12px; border-radius: 6px; }
.tw-chat { font-family: "Geist"; font-size: 10.5px; line-height: 1.3; padding: 6px 9px; border-radius: 9px; max-width: 85%; }
.tw-chat.them { background: #f0edf5; color: #3a3450; align-self: flex-start; border-top-left-radius: 3px; }
.tw-chat.me { background: #d8f5c6; color: #244d18; align-self: flex-end; border-top-right-radius: 3px; }
.tw-doc { font-size: 22px; }
.tw-ai { font-size: 20px; color: var(--bright); }
.tw-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.tw-wave i { width: 3px; border-radius: 2px; background: var(--purple); height: 40%; animation: osWave 1s ease-in-out infinite; }
.tw-wave i:nth-child(odd){ background: var(--bright); }
.tw-wave i:nth-child(2){animation-delay:.1s}.tw-wave i:nth-child(3){animation-delay:.2s}.tw-wave i:nth-child(4){animation-delay:.3s}.tw-wave i:nth-child(5){animation-delay:.4s}.tw-wave i:nth-child(6){animation-delay:.5s}.tw-wave i:nth-child(7){animation-delay:.6s}.tw-wave i:nth-child(8){animation-delay:.7s}
@keyframes osWave { 0%,100%{height:25%} 50%{height:95%} }
.tw-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.tw-grid i { aspect-ratio: 1; border-radius: 2px; background: #ece8f2; }
.tw-grid i.on { background: var(--purple); }

/* richer window content */
.tw-head { display: flex; justify-content: space-between; gap: 10px; font-family: "Geist"; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #9a90b0; padding-bottom: 4px; border-bottom: 1px solid rgba(20,10,40,.08); }
.tw-foot { display: flex; gap: 6px; margin-top: 4px; }
.tw-foot span { flex: 1; text-align: center; font-family: "Geist"; font-size: 9.5px; font-weight: 600; color: #6a6080; background: #f0edf5; border-radius: 5px; padding: 3px 0; }
.tw-field { display: flex; flex-direction: column; gap: 2px; }
.tw-field label { font-family: "Geist"; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9a90b0; }
.tw-field span { font-family: "Geist"; font-size: 11px; color: #3a3450; background: #f4f2f7; border: 1px solid rgba(20,10,40,.08); border-radius: 5px; padding: 3px 7px; }
.tw-receipt-h, .tw-ward-h { font-family: "Geist"; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-align: center; color: #6a6080; margin-bottom: 2px; }
.tw-row.tw-tot { border-top: 1px solid rgba(20,10,40,.1); margin-top: 2px; padding-top: 5px; font-weight: 700; }
.tw-files { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tw-file { display: flex; align-items: center; gap: 5px; font-size: 15px; }
.tw-file i { font-family: "Geist"; font-size: 9px; font-style: normal; color: #6a6080; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Core Lupa */
.os-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 5; }
.os-reveal {
  width: min(1080px, 92vw); padding: 56px 56px 52px; border-radius: 36px;
  background: var(--purple);
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  box-shadow: 0 40px 110px -24px rgba(124,58,237,.65), 0 0 0 1px rgba(124,58,237,.25);
  transform: scale(0); transform-origin: center; opacity: 0;
  position: relative; z-index: 2;
  will-change: transform, opacity;
}
.os-reveal-logo { width: 196px; height: auto; }
.os-reveal-copy {
  margin: 0; text-align: center; color: #fff;
  font-family: "Satoshi", sans-serif; font-weight: 600;
  font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.02em; line-height: 1.18;
  text-wrap: balance;
}
.os-reveal-grid {
  list-style: none; margin: 2px 0 0; padding: 26px 0 0; width: 100%;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px;
}
.os-reveal-grid li {
  display: flex; align-items: center; gap: 12px;
  font-family: "Satoshi", sans-serif; font-weight: 500;
  font-size: clamp(15px, 1.15vw, 18px); color: #fff; line-height: 1.25;
}
.os-tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.16); position: relative;
}
.os-tick::after {
  content: ""; position: absolute; left: 7px; top: 4px;
  width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}
.os-reveal-foot {
  margin: 22px 0 0; text-align: center; color: #fff;
  font-family: "Satoshi", sans-serif; font-weight: 600;
  font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em;
}
.os-glow {
  position: absolute; top: 50%; left: 50%; width: min(1280px, 98vw); aspect-ratio: 1;
  border-radius: 50%; transform: translate(-50%,-50%) scale(.2); opacity: 0;
  background: radial-gradient(circle, rgba(124,58,237,.5) 0%, rgba(124,58,237,.22) 40%, rgba(124,58,237,0) 70%);
  filter: blur(24px); will-change: transform, opacity; pointer-events: none; z-index: 1;
}

/* Final line */
.os-final {
  position: absolute; max-width: 760px; margin: 0; bottom: 12vh;
  font-family: "Satoshi", sans-serif; font-weight: 500;
  font-size: clamp(24px, 3vw, 40px); letter-spacing: -.015em; line-height: 1.25;
  color: var(--ink); opacity: 0; will-change: opacity, transform;
}

@media (max-width: 920px) {
  .os-reveal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
}
@media (max-width: 640px) {
  .os-tool { width: 150px; }
  .os-reveal { padding: 40px 28px; border-radius: 24px; gap: 20px; }
  .os-reveal-logo { width: 150px; }
  .os-reveal-grid { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
}


/* ====================================================================
   OS scene — literal recreation of the "messy desk" of legacy tools
   ==================================================================== */
.os-tool { width: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.os-tool-label { display: none; }
.os-cap {
  font-family: "Geist", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--purple);
  white-space: nowrap; order: -1;
}
.os-field { font-family: "Geist", Arial, sans-serif; }

/* Legacy Windows-style window */
.win { width: 230px; background: #eef0f4; border: 1px solid #9aa3b2; border-radius: 4px; box-shadow: 0 24px 48px -22px rgba(30,20,60,.4), 0 3px 8px rgba(0,0,0,.08); overflow: hidden; }
.win-bar { display: flex; align-items: center; justify-content: space-between; padding: 3px 6px; background: linear-gradient(180deg,#4b91e2,#2f6fc4); color: #fff; }
.win-t { font-size: 10px; font-weight: 700; }
.win-btns { display: inline-flex; gap: 3px; }
.win-btns i { width: 13px; height: 12px; display: grid; place-items: center; background: #d7e2f2; color: #2f6fc4; border-radius: 2px; font-size: 8px; font-style: normal; }
.win-btns i.x { background: #e0463e; color: #fff; }
.win-body { padding: 8px; background: #f3f4f7; }

/* Health plans table */
.hp { width: 100%; border-collapse: collapse; font-size: 8px; background: #fff; }
.hp th { background: #e4e8ef; color: #4a5366; text-align: left; padding: 3px 4px; border: 1px solid #d2d8e2; font-weight: 700; }
.hp td { padding: 3px 4px; border: 1px solid #e4e8ef; color: #333; }
.hp td.g { color: #1f9d57; font-weight: 700; } .hp td.rd { color: #e0463e; font-weight: 700; }
.hp-foot { display: flex; gap: 4px; margin-top: 6px; }
.hp-foot span { font-size: 8px; padding: 3px 8px; background: #e4e8ef; border: 1px solid #c7cedb; border-radius: 3px; color: #45506a; }
.hp-foot span.r { margin-left: auto; }

/* Email campaign */
.t-email .win { width: 246px; }
.ec-row { display: flex; gap: 5px; align-items: center; margin-bottom: 4px; font-size: 8px; }
.ec-row label { width: 64px; color: #45506a; font-weight: 700; }
.ec-row span { flex: 1; background: #fff; border: 1px solid #c7cedb; border-radius: 2px; padding: 2px 5px; color: #333; }
.ec-tabs { display: flex; gap: 10px; font-size: 8px; border-bottom: 1px solid #c7cedb; padding-bottom: 3px; margin: 5px 0; }
.ec-tabs b { color: #2f6fc4; } .ec-tabs span { color: #8a93a6; }
.ec-msg { position: relative; background: #fff; border: 1px solid #c7cedb; border-radius: 2px; padding: 6px; }
.ec-tools { font-size: 8px; color: #6a7388; border-bottom: 1px solid #eee; padding-bottom: 4px; margin-bottom: 5px; }
.ec-copy p { font-size: 7.5px; color: #444; margin: 0 0 3px; line-height: 1.35; }
.ec-img { width: 44px; height: 34px; border-radius: 4px; background: linear-gradient(135deg,#e7c89a,#caa56a); position: absolute; right: 8px; top: 24px; }
.ec-bk { display: inline-block; font-size: 7.5px; font-weight: 700; color: #fff; background: #1f9d57; padding: 3px 8px; border-radius: 4px; margin-top: 4px; }
.ec-foot { display: flex; gap: 5px; margin-top: 6px; }
.ec-foot span { font-size: 8px; padding: 3px 7px; background: #e4e8ef; border: 1px solid #c7cedb; border-radius: 3px; color: #45506a; }

/* Receipt (no window chrome) */
.t-till .win { width: 150px; background: #fff; border: 1px solid #e2e2e2; border-radius: 2px; box-shadow: 0 18px 38px -18px rgba(30,20,60,.35); }
.t-till .win-body { background: #fff; padding: 12px 14px; font-family: "Courier New", monospace; }
.rc-h { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.rc-meta { font-size: 7px; color: #555; text-align: center; margin: 4px 0 8px; }
.rc-sub { font-size: 8px; font-weight: 700; margin-bottom: 4px; }
.rc-l { display: flex; justify-content: space-between; font-size: 8px; color: #333; padding: 1px 0; }
.rc-tot { border-top: 1px dashed #bbb; border-bottom: 1px dashed #bbb; padding: 3px 0; margin: 3px 0; font-weight: 700; }
.rc-sign { font-size: 8px; color: #888; margin-top: 8px; }

/* Card terminal */
.t-terminal .ct { width: 78px; background: linear-gradient(160deg,#3a3a44,#1d1d24); border-radius: 10px; padding: 8px 7px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); transform: rotate(-4deg); }
.ct-screen { background: #cfe3c4; border-radius: 3px; padding: 6px 4px; text-align: center; }
.ct-screen span { display: block; font-size: 8px; font-weight: 700; color: #1d5e2a; }
.ct-screen small { font-size: 6px; color: #3a6b42; }
.ct-keys { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin-top: 7px; }
.ct-keys i { aspect-ratio: 1.4; background: #4a4a55; border-radius: 2px; }

/* Whiteboard */
.t-ward .win { width: 240px; background: #fff; border: 5px solid #c8ccd4; border-radius: 6px; box-shadow: 0 22px 44px -20px rgba(30,20,60,.4); }
.t-ward .win-body { background: #fff; padding: 10px 12px; }
.wb-h { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #2a2a33; margin-bottom: 6px; font-family: "Comic Sans MS","Segoe Print",cursive; }
.wb { width: 100%; border-collapse: collapse; font-size: 8px; font-family: "Comic Sans MS","Segoe Print",cursive; }
.wb th { text-align: left; color: #555; border-bottom: 1px solid #ccc; padding: 2px; }
.wb td { padding: 3px 2px; color: #333; }
.wb td b { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; }
.wb .d1{background:#e0463e}.wb .d2{background:#2f6fc4}.wb .d3{background:#3aa657}.wb .d4{background:#f0a830}.wb .d5{background:#222}
.wb .bl { color: #2f6fc4; }
.wb-notes { display: flex; gap: 5px; margin-top: 8px; }
.wb-notes span { flex: 1; font-size: 7px; padding: 5px 4px; border-radius: 2px; color: #4a3a10; line-height: 1.2; }
.wb-notes .n1 { background: #bfe3f5; } .wb-notes .n2 { background: #f7e08a; } .wb-notes .n3 { background: #f6b8c0; }

/* Files cluster */
.t-files .filewrap { display: flex; flex-direction: column; gap: 14px; width: 240px; }
.fl { display: flex; gap: 14px; flex-wrap: wrap; }
.fl .f { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 50px; font-size: 7.5px; color: #4a4360; text-align: center; line-height: 1.2; }
.fl .f b { width: 34px; height: 28px; border-radius: 4px; display: grid; place-items: center; font-size: 8px; font-weight: 700; color: #fff; font-style: normal; }
.fl .fo { background: linear-gradient(160deg,#7fb2e8,#4a86d4); } /* folder */
.fl .fp { background: #d8463e; } .fl .fx { background: #1d8a4e; } .fl .fd { background: #2f6fc4; }
.fl .fi { background: linear-gradient(160deg,#bbb,#888); }
.fl .note { background: #f7e08a; color: #4a3a10; padding: 6px; border-radius: 2px; width: 56px; }

/* PMS (central, large) */
.t-pms .win { width: 360px; }
.pm-menu { font-size: 7.5px; color: #fff; background: #2f6fc4; padding: 2px 6px; }
.pm-tools { display: flex; gap: 3px; padding: 3px 6px; background: #dfe3ea; border-bottom: 1px solid #c7cedb; }
.pm-tools i { width: 14px; height: 14px; background: #fff; border: 1px solid #c7cedb; border-radius: 2px; }
.pm-main { display: grid; grid-template-columns: 64px 84px 1fr; background: #fff; }
.pm-side { display: flex; flex-direction: column; background: #eef1f6; border-right: 1px solid #d2d8e2; }
.pm-side span { font-size: 7.5px; padding: 4px 6px; color: #45506a; border-bottom: 1px solid #e2e6ee; }
.pm-list { border-right: 1px solid #d2d8e2; display: flex; flex-direction: column; }
.pm-find { font-size: 7px; color: #8a93a6; padding: 4px 5px; border-bottom: 1px solid #e2e6ee; }
.pm-list span { font-size: 7.5px; padding: 2px 5px; color: #333; }
.pm-list span.sel { background: #2f6fc4; color: #fff; }
.pm-info { padding: 5px 7px; }
.pm-info-h { font-size: 8px; font-weight: 700; color: #45506a; margin-bottom: 4px; }
.pm-cols { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 6px; }
.pm-c p { font-size: 6.5px; color: #444; margin: 0 0 2px; line-height: 1.3; }
.pm-photo { width: 34px; height: 34px; border-radius: 3px; background: linear-gradient(135deg,#e7c89a,#b9874f); overflow: hidden; }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-tabs { display: flex; gap: 6px; font-size: 7px; margin: 5px 0 3px; border-bottom: 1px solid #d2d8e2; padding-bottom: 2px; }
.pm-tabs b { color: #2f6fc4; } .pm-tabs span { color: #8a93a6; }
.pm-appts { width: 100%; border-collapse: collapse; font-size: 6.5px; }
.pm-appts th { background: #eef1f6; color: #45506a; text-align: left; padding: 2px 3px; border: 1px solid #e2e6ee; }
.pm-appts td { padding: 2px 3px; border: 1px solid #eef1f6; color: #444; }
.pm-foot { display: flex; gap: 4px; padding: 5px 7px; background: #f3f4f7; }
.pm-foot span { font-size: 7.5px; padding: 3px 7px; background: #e4e8ef; border: 1px solid #c7cedb; border-radius: 3px; color: #45506a; }
.pm-foot span.r { margin-left: auto; }

/* Phone */
.t-phone .ph { width: 130px; background: #111; border-radius: 22px; padding: 6px; box-shadow: 0 24px 50px -20px rgba(30,20,60,.5); position: relative; }
.ph-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 40px; height: 9px; background: #111; border-radius: 0 0 8px 8px; z-index: 2; }
.ph-scr { background: #fff; border-radius: 17px; padding: 14px 10px 8px; }
.ph-h { font-size: 11px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.ph-pet { display: flex; gap: 7px; align-items: center; margin-bottom: 8px; }
.ph-pet b { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#e7c89a,#b9874f); flex-shrink: 0; overflow: hidden; }
.ph-pet b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-pet p { font-size: 9px; font-weight: 700; color: #222; margin: 0; }
.ph-pet small { font-size: 6.5px; color: #888; }
.ph-up { font-size: 7px; font-weight: 700; color: #2f6fc4; letter-spacing: .04em; margin-bottom: 4px; }
.ph-l { font-size: 8px; color: #444; margin: 0 0 2px; } .ph-l.b { font-weight: 700; color: #2f6fc4; }
.ph-bk { display: block; text-align: center; font-size: 8px; font-weight: 700; color: #fff; background: #2f6fc4; border-radius: 8px; padding: 6px; margin: 8px 0 6px; }
.ph-nav { display: flex; justify-content: space-around; }
.ph-nav i { width: 12px; height: 12px; border-radius: 3px; background: #dfe3ea; }

/* Teams */
.t-teams .tm { width: 250px; display: flex; background: #fff; border: 1px solid #d2d8e2; border-radius: 6px; overflow: hidden; box-shadow: 0 22px 44px -20px rgba(30,20,60,.4); }
.tm-side { background: #4b3a8f; display: flex; flex-direction: column; gap: 9px; padding: 9px 6px; }
.tm-side i { width: 16px; height: 16px; border-radius: 4px; background: rgba(255,255,255,.25); }
.tm-side i.on { background: #fff; }
.tm-main { flex: 1; display: flex; flex-direction: column; }
.tm-h { font-size: 8px; padding: 6px 8px; border-bottom: 1px solid #e2e6ee; color: #8a93a6; }
.tm-h b { color: #222; } 
.tm-msg { display: flex; gap: 6px; padding: 5px 8px; }
.tm-msg b { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg,#b9a6e8,#6a4fc4); flex-shrink: 0; }
.tm-msg p { margin: 0; font-size: 7.5px; color: #444; line-height: 1.3; }
.tm-msg p b { width: auto; height: auto; background: none; color: #222; font-weight: 700; } .tm-msg small { color: #9aa3b2; }
.tm-input { font-size: 7.5px; color: #9aa3b2; padding: 6px 8px; border-top: 1px solid #e2e6ee; }

/* WhatsApp */
.t-wa .wa { width: 180px; background: #e7ddd2; border-radius: 10px; overflow: hidden; box-shadow: 0 22px 44px -20px rgba(30,20,60,.4); }
.wa-h { display: flex; gap: 7px; align-items: center; background: #f0ece6; padding: 7px 9px; border-bottom: 1px solid #ddd5c9; }
.wa-h b { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,#d3b4f7,#7d1bdc); overflow: hidden; flex-shrink: 0; }
.wa-h b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-h p { margin: 0; font-size: 9px; font-weight: 700; color: #222; } .wa-h small { font-size: 6.5px; color: #62a96a; }
.wa-body { padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.wa-them, .wa-me { font-size: 7.5px; line-height: 1.35; padding: 5px 7px 9px; border-radius: 7px; max-width: 85%; position: relative; color: #222; }
.wa-them { background: #fff; align-self: flex-start; } .wa-me { background: #d8f5c6; align-self: flex-end; }
.wa-them i, .wa-me i { position: absolute; right: 6px; bottom: 2px; font-size: 5.5px; color: #8a8a8a; font-style: normal; }
.wa-input { font-size: 7px; color: #9aa3b2; background: #fff; margin: 0 8px 8px; border-radius: 12px; padding: 5px 9px; }

/* Decor: connectors, annotations, speech bubbles */
.os-decor { position: absolute; inset: 0; z-index: 1; will-change: opacity; }
.os-conn { position: absolute; inset: 0; width: 100%; height: 100%; }
.os-conn path { fill: none; stroke: #c9cdd6; stroke-width: .35; stroke-dasharray: 1.2 1.2; stroke-linecap: round; }
.os-ann { position: absolute; transform: translate(-50%,-50%); font-size: 12px; color: #9aa3b2; white-space: nowrap; }
.os-bub { position: absolute; transform: translate(-50%,-50%); display: flex; gap: 8px; align-items: flex-start; background: #fff; border: 1px solid rgba(20,10,40,.08); border-radius: 12px; padding: 9px 12px; box-shadow: 0 14px 30px -16px rgba(30,20,60,.35); max-width: 190px; }
.os-bub b { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#cdbdf0,#7d6bb8); flex-shrink: 0; }
.os-bub p { margin: 0 0 2px; font-size: 9px; font-weight: 700; color: #6a6080; }
.os-bub span { font-size: 11px; color: #2a2335; line-height: 1.3; }

@media (max-width: 760px) {
  .os-decor { display: none; }
  .t-pms .win { width: 280px; }
}

/* ============================================================================
   Tailwind preflight zeroes margins on h1-h6, p, blockquote, ul, ol, etc.
   The 2026 redesign relies on browser default margins where the design
   doesn't set explicit ones. Restore the UA defaults for headings/paragraphs
   inside .lupa-2026-content. Using :where() so the scope adds zero
   specificity — the design's own class rules (like .mt-h1 { margin: ... })
   still win as expected.
   ============================================================================ */
:where(.lupa-2026-content) h1 { margin: 0.67em 0; }
:where(.lupa-2026-content) h2 { margin: 0.83em 0; }
:where(.lupa-2026-content) h3 { margin: 1em 0; }
:where(.lupa-2026-content) h4 { margin: 1.33em 0; }
:where(.lupa-2026-content) h5 { margin: 1.67em 0; }
:where(.lupa-2026-content) h6 { margin: 2.33em 0; }
:where(.lupa-2026-content) p { margin: 1em 0; }
:where(.lupa-2026-content) blockquote { margin: 1em 40px; }
:where(.lupa-2026-content) ul,
:where(.lupa-2026-content) ol { margin: 1em 0; padding-inline-start: 40px; }

/* Bump bottom margin on section h2s across redesign pages — the design's
   per-class rules set 12-16px which renders visually cramped against the
   subtitle paragraph below. Pattern matches classes like .mt-benefits-h2,
   .mt-principles-h2, .i4-section-h2 etc. Specificity 0,1,2 beats the
   design's class rules (0,1,0). */
.lupa-2026-content h2[class*="-h2"] {
  margin-bottom: 32px;
}
