/* Generated subset of styles.css: only the rules the 2026 pages use (nav,
   fonts, base). Pages still on the old design load the full styles.css
   (see SiteChrome). Regenerate rather than edit by hand. */
/* ===================================================================
   LUPA — interactive site stylesheet
   Brand: deep purple #7D1BDC, bright lavender #BF42F9, navy #190056
   Type: Satoshi (headlines / display), Geist (body / labels)
   =================================================================== */
/* Self-hosted — see public/fonts/. Previously loaded live from api.fontshare.com
   and fonts.googleapis.com; some networks (notably corporate Windows setups)
   block or deprioritise the Fontshare CDN, so the brand font silently failed
   to load for those users. Self-hosting removes the external dependency. */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist/Geist-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-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; overflow-x: clip; }
body {
  font-family: "Satoshi", "Geist", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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 ===================== */

/* ===================== 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-ghost {
  color: #fff;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===================== 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 ===================== */

/* ===================== Stats ===================== */

/* Hand-drawn purple underline accent (used under "week", etc.) */

/* ===================== Replace all your tools ===================== */

/* Replace-tools diagram — Patchwork vs Lupa OS */

/* Patchwork table */

/* Tool brand chips — wordmarks coloured to match each brand */

/* Arrow column — 8 arrows aligned to each row */

/* Right column — single Lupa card spanning the rows */

/* ===================== Pain points ===================== */

/* ===================== Introducing ===================== */

/* ===================== Feature sections ===================== */

/* ===== Phone mock — Paddington Vets WhatsApp ===== */

/* iOS status bar */

/* WhatsApp-ish header */

/* Messages */

/* Typing indicator */

/* GIF bubble */

/* Dog SVG animation */

/* Booking link card */

/* Composer */

/* ===== Invoice mock ===== */

/* ===== Scribe mock ===== */

/* ===== Calendar mock ===== */

/* ===================== Integrations ===================== */

/* Integrations — partner hub & spoke */

/* ===================== Engineering ===================== */

/* Engineering logo grid (replaces ship-log) */

/* ===================== Testimonial ===================== */

/* CTA — Jerry was previously placed here */

/* Jerry — peeks out from behind the hero screenshot, standing on stats.
   Pinned relative to the screenshot's right edge. */

/* ===================== Footer ===================== */

/* ===================================================================
   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; }
}


/* ====================================================================
   ALL-IN-ONE OS — scroll-driven convergence animation
   ==================================================================== */
/* OSX confetti finale + functionality grid */

/* Tool field */

/* richer window content */

/* Core Lupa */

/* Final line */


/* ====================================================================
   OS scene — literal recreation of the "messy desk" of legacy tools
   ==================================================================== */

/* Legacy Windows-style window */

/* Health plans table */

/* Email campaign */

/* Receipt (no window chrome) */

/* Card terminal */

/* Whiteboard */

/* Files cluster */ /* folder */

/* PMS (central, large) */
.pm-menu { font-size: 7.5px; color: #fff; background: #2f6fc4; padding: 2px 6px; }

/* Phone */
.ph-nav { display: flex; justify-content: space-around; }
.ph-nav i { width: 12px; height: 12px; border-radius: 3px; background: #dfe3ea; }

/* Teams */

/* WhatsApp */

/* Decor: connectors, annotations, speech bubbles */

/* ============================================================================
   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) 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). */
