@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Inter+Tight:wght@300;400;500;600;700;800;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');

/* ==========================================================================
   Bookrenia — Public Website Design System
   --------------------------------------------------------------------------
   A premium travel-portal language: near-black violet anchors dark surfaces
   and text, a single vivid violet punctuates actions, and white sits on a
   cool off-white canvas. Editorial serif headlines over a light grotesque
   body — magazine cover meets SaaS dashboard.

     Deep Iris    #15002c   footer band, headings, dark surfaces
     Vivid Iris   #6307f8   the one saturated fill — CTAs only
     Iris Mist    #e1e2fe   brand-tinted highlight surface
     Canvas Tint  #f1f1f9   page background
     Cinder       #060000   body ink

   Two rules the whole system rests on: 14px radius everywhere except nav
   pills, and violet is a call to action — never a border, body colour or
   large background fill.

   Layers, in order:
     1. Tokens          6. Navbar            11. Pricing
     2. Reset & base    7. Footer            12. Auth
     3. Layout          8. Hero              13. Feature detail
     4. Buttons         9. Section shells    14. Content pages
     5. Forms          10. Home sections     15. Utilities & motion
     16. Landing — the Navan-language sections (bottom of file)
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Brand — deep iris carries the weight, vivid iris does the asking */
  --deep-iris:       #15002c;
  --midnight:        #15002c;
  --midnight-700:    #23004a;
  --midnight-600:    #340a68;
  --primary:         #6307f8;
  --primary-dark:    #5106d0;
  --primary-light:   #7c51fa;
  --primary-soft:    #e1e2fe;
  --primary-softer:  #f1f1f9;
  --rose:            #ffb5ce;

  /* Status — desaturated so nothing competes with the violet */
  --success:         #17875b;
  --success-soft:    #e4f4ec;
  --warning:         #a86a00;
  --warning-soft:    #fbf1e0;
  --danger:          #c0304a;
  --danger-soft:     #fbeaee;
  --info:            #5106d0;
  --info-soft:       #e1e2fe;

  /* Surfaces — canvas below, white above. Never inverted. */
  --background:      #f1f1f9;
  --surface:         #ffffff;
  --surface-sunken:  #f8f8fd;
  --surface-dark:    var(--deep-iris);

  /* Text */
  --text:            #060000;
  --text-muted:      #5a5a72;
  --text-subtle:     #8d8da5;
  --text-on-dark:    #ffffff;
  --text-on-dark-muted: #a8a3bd;

  /* Lines */
  --border:          #dedee8;
  --border-strong:   #c6c6d2;
  --border-dark:     rgba(255, 255, 255, .14);

  /* Radius — 14px is the signature. Nothing on this site is square. */
  --radius-sm:  10px;
  --radius:     14px;
  --radius-md:  14px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-pill: 9999px;

  /* Elevation — the system leans on surface tone, not shadow stacks. Only
     floating product cards and toasts are allowed a single long blur. */
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: 0 2px 10px rgba(21, 0, 44, .04);
  --shadow-lg: 0 8px 32px rgba(21, 0, 44, .10);
  --shadow-xl: 0 20px 60px rgba(21, 0, 44, .16);
  --shadow-primary: 0 8px 24px rgba(99, 7, 248, .24);

  /* Atmospheric gradients — brand signal, never a functional fill.
     Deep iris to violet to rose; the rose stop is what keeps the violet
     from reading monolithic. One wash per page region, no stacking. */
  --gradient-violet-twilight: radial-gradient(197.36% 161.87% at 4.08% 0%, rgba(65, 5, 102, .82) 6.19%, rgba(124, 81, 250, .52) 52.28%, rgba(255, 181, 206, .34) 91.18%);
  --gradient-iris-glow: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(124, 81, 250, .3) 35%, rgba(255, 181, 206, .3) 50%, rgba(124, 81, 250, .3) 65%, rgba(0,0,0,0) 100%);

  /* Type — the grotesque carries utility, the serif carries the editorial
     voice. Never both in one line. */
  --font-body:    'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Source Serif 4', 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Rhythm */
  --navbar-height:   72px;
  --nav-height:      var(--navbar-height);
  --section-y:     5rem;
  --section-y-lg:  var(--section-gap);
  --section-gap:   80px;
  --container:     1200px;
  --gutter:        1.25rem;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 2rem; } }

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keeps anchored headings clear of the fixed navbar */
  scroll-padding-top: calc(var(--nav-height) + 1.5rem);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Headings are editorial: the serif carries them, at 400-500 and tight
   leading. Weight 600+ is not part of this system's voice. */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 3.375rem); }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.125rem; }

/* The utility voice, for headings that label UI rather than open a section */
.h-grotesk {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

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

img, video { max-width: 100%; height: auto; }

ul, ol { list-style: none; padding-left: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

button { border: none; background: none; cursor: pointer; }

/* Any element scrolled to via an in-page anchor clears the fixed navbar. */
[id] { scroll-margin-top: calc(var(--nav-height) + 1.5rem); }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Screen-reader-only text, for icon-only controls and skip links */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: .7rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: transform .2s var(--ease);
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

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

.container-narrow { max-width: 780px; }
.container-fluid { width: 100%; padding: 0 var(--gutter); }

section { position: relative; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn svg { flex-shrink: 0; }

.btn:disabled,
.btn.disabled { opacity: .55; pointer-events: none; }

/* Primary — the single conversion action on any given view */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-primary);
}

/* Accent — primary action sitting on a dark surface */
.btn-accent {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-accent:hover { background-color: var(--primary-light); border-color: var(--primary-light); }

.btn-secondary {
  background-color: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); background-color: var(--primary-softer); }

.btn-outline {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background-color: var(--primary-softer); }

/* Outline variant for dark backgrounds */
/* Ghost — deep-iris hairline, transparent fill. Pairs with the pill CTA in
   the nav: identical silhouette, opposite fill logic. */
.btn-ghost {
  background-color: transparent;
  border: 1.5px solid var(--deep-iris);
  color: var(--deep-iris);
}
.btn-ghost:hover {
  background-color: var(--deep-iris);
  color: #fff;
}

/* Pill — the softer entry point, reserved for nav-level actions */
.btn-pill { border-radius: var(--radius-pill); padding: .625rem 1.25rem; }

.btn-outline-light {
  background-color: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.btn-outline-light:hover { background-color: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }

.btn-light {
  background-color: var(--surface);
  border-color: var(--surface);
  color: var(--midnight);
}
.btn-light:hover { background-color: #EDF2F9; }

.btn-dark {
  background-color: var(--midnight);
  border-color: var(--midnight);
  color: #fff;
}
.btn-dark:hover { background-color: var(--midnight-600); border-color: var(--midnight-600); }

.btn-success { background-color: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(.94); }
.btn-danger  { background-color: var(--danger);  border-color: var(--danger);  color: #fff; }
.btn-danger:hover  { filter: brightness(.94); }
.btn-warning { background-color: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { filter: brightness(.94); }
.btn-info    { background-color: var(--info);    border-color: var(--info);    color: #fff; }
.btn-info:hover    { filter: brightness(.94); }

.btn-flat { box-shadow: none; }

/* Sizes */
.btn-xs    { padding: .3rem .6rem;    font-size: .75rem;   border-radius: var(--radius-sm); }
.btn-sm    { padding: .45rem .85rem;  font-size: .8125rem; border-radius: var(--radius-sm); }
.btn-large { padding: .9rem 1.75rem;  font-size: 1rem;     border-radius: var(--radius-md); }
.btn-block { display: flex; width: 100%; }

.btn-group { display: inline-flex; gap: .5rem; flex-wrap: wrap; }

@media (max-width: 479px) {
  .hero2-buttons .btn,
  .cta-buttons .btn,
  .cta-actions .btn,
  .comparison-cta-actions .btn,
  .fd-contact-sell-btns .btn { width: 100%; }
}
.btn-toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 767px) {
  .btn-md-down-sm { padding: .45rem .85rem; font-size: .8125rem; }
}

/* ==========================================================================
   5. FORMS
   ========================================================================== */

.form-group { margin-bottom: 1.15rem; }

.form-row {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-label {
  display: block;
  margin-bottom: .45rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.form-label-required { color: var(--danger); margin-left: .15rem; }

.form-input,
.form-control,
select.form-control,
textarea.form-control {
  display: block;
  width: 100%;
  padding: .7rem .9rem;
  font-size: .9375rem;
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
  appearance: none;
}

.form-input::placeholder,
.form-control::placeholder { color: var(--text-subtle); }

.form-input:hover,
.form-control:hover { border-color: #B9C3D1; }

.form-input:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, .15);
}

textarea.form-control,
textarea.form-input { min-height: 130px; resize: vertical; }

select.form-control {
  /* Chevron drawn inline so the control needs no image request */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.4rem;
}

.form-control-sm { padding: .45rem .65rem; font-size: .8125rem; }

/* Error state */
.form-control-error,
.form-input.form-control-error,
.form-control.is-invalid {
  border-color: var(--danger);
  background-color: #FFFBFB;
}
.form-control-error:focus,
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, .15); }

.form-error,
.help-block,
.invalid-feedback {
  display: block;
  margin-top: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--danger);
}

.form-text {
  display: block;
  margin-top: .4rem;
  font-size: .8125rem;
  color: var(--text-muted);
}

.form-success {
  display: block;
  margin-top: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--success);
}

/* Checkbox / radio */
input[type="checkbox"],
input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* Password field with a reveal toggle */
.password-wrapper { position: relative; }
.password-wrapper .form-input,
.password-wrapper .form-control { padding-right: 2.75rem; }

.password-toggle {
  position: absolute;
  top: 50%;
  right: .65rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem;
  border-radius: var(--radius-sm);
  color: var(--text-subtle);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.password-toggle:hover { color: var(--primary); background-color: var(--primary-softer); }

.forgot-password {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
}
.forgot-password:hover { color: var(--primary-dark); text-decoration: underline; }

/* Alerts */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.alert-success { background: var(--success-soft); border-color: rgba(34, 197, 94, .3);  color: #15803D; }
.alert-danger  { background: var(--danger-soft);  border-color: rgba(239, 68, 68, .3);  color: #B91C1C; }
.alert-warning { background: var(--warning-soft); border-color: rgba(245, 158, 11, .3); color: #B45309; }
.alert-info    { background: var(--info-soft);    border-color: rgba(56, 189, 248, .3); color: #0369A1; }

/* ==========================================================================
   6. NAVBAR
   ========================================================================== */

/* Wraps the fixed navbar. Pages clear it with calc(var(--nav-height) + …). */
.site-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

.navbar {
  height: var(--navbar-height);
  /* Opaque rather than translucent: several pages open on a deep-iris hero,
     where a see-through bar reads as a washed-out band. */
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

/* Toggled by script.js once the page scrolls past the hero fold */
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: .6rem; }

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--primary) 0%, var(--midnight) 130%);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--midnight);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav-link:hover { color: var(--midnight); background-color: var(--surface-sunken); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: .625rem; }

.nav-actions .btn {
  height: 36px;
  padding-block: 0;
  padding-inline: 1.125rem;
  font-size: .875rem;
}

.nav-actions .btn-pill { padding-inline: 1.25rem; }

.nav-login {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .5rem .35rem;
  transition: color .16s var(--ease);
}
.nav-login:hover { color: var(--midnight); }

/* Signed-in avatar menu */
.user-menu-wrapper { position: relative; }

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .6rem .35rem .35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.user-menu-trigger:hover { border-color: var(--border-strong); box-shadow: var(--shadow-xs); }

.user-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 210px;
  padding: .4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.user-menu-wrapper.active .user-dropdown,
.user-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  transition: background-color .14s var(--ease), color .14s var(--ease);
}
.user-dropdown-item:hover { background: var(--surface-sunken); color: var(--primary); }

.mobile-user-info { padding: .75rem 0; border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
.mobile-user-name { font-weight: 600; color: var(--text); }

/* Mobile menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--midnight);
  transition: background-color .16s var(--ease);
}
.mobile-menu-toggle:hover { background-color: var(--surface-sunken); }
.mobile-menu-toggle .close-icon { display: none; }
.mobile-menu-toggle.active .menu-icon { display: none; }
.mobile-menu-toggle.active .close-icon { display: block; }

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem var(--gutter) 1.75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobile-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-nav-link {
  padding: .8rem .5rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: background-color .14s var(--ease), color .14s var(--ease);
}
.mobile-nav-link:hover { background: var(--surface-sunken); color: var(--primary); }
.mobile-menu .btn { margin-top: .75rem; }

/* The desktop nav and the hamburger swap at the lg breakpoint */
.desktop-nav { display: none; }

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .mobile-menu-toggle,
  .mobile-menu { display: none; }
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.footer {
  padding: 4rem 0 2rem;
  background: var(--midnight);
  color: var(--text-on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem; }
}

.footer-brand { max-width: 320px; }

.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo .logo-icon { background: rgba(255, 255, 255, .1); box-shadow: none; }
.footer-logo .logo-text { color: #fff; }

.footer-desc { font-size: .9rem; line-height: 1.7; color: var(--text-on-dark-muted); }

.footer-title {
  margin-bottom: 1.125rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-links a {
  font-size: .9rem;
  color: var(--text-on-dark-muted);
  transition: color .16s var(--ease);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-copyright { font-size: .8125rem; color: var(--text-subtle); }

.footer-social { display: flex; gap: 1.25rem; }
.footer-social a {
  font-size: .8125rem;
  color: var(--text-on-dark-muted);
  transition: color .16s var(--ease);
}
.footer-social a:hover { color: #fff; }

/* ==========================================================================
   8. HERO
   --------------------------------------------------------------------------
   Two-column on desktop: proposition and CTA on the left, a real product
   screenshot on the right. The screenshot is the credibility argument, so it
   gets the visual weight rather than decorative shapes.
   ========================================================================== */

.hero2 {
  position: relative;
  padding: calc(var(--nav-height) + 3rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 55% at 78% 12%, rgba(30, 144, 255, .10) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 8% 8%, rgba(10, 31, 68, .05) 0%, transparent 60%),
    var(--background);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero2 { padding: calc(var(--nav-height) + 4.5rem) 0 5rem; }
}

/* Faint grid, kept low-contrast so it never competes with the copy */
.hero2-dots {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 31, 68, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 31, 68, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

/* The decorative bubble/deco layers from the previous design are retired.
   The markup still emits them, so they are collapsed rather than restyled. */
.hero2-bubble,
.hero2-deco { display: none; }

.hero2-content { position: relative; z-index: 1; }

.hero2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero2-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; }
}

.hero2-text { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .4rem .9rem .4rem .7rem;
  border: 1px solid rgba(30, 144, 255, .25);
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(30, 144, 255, .5);
  animation: pulse-ring 2.2s var(--ease) infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(30, 144, 255, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(30, 144, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0); }
}

.hero2-title {
  font-size: clamp(2.35rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--midnight);
  margin-bottom: 1.15rem;
}

.hero2-description {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 34em;
}

.hero2-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-bottom: 2rem;
}

.checklist-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
}
.checklist-item svg { color: var(--success); }

.hero2-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.hero2-btn-primary { box-shadow: var(--shadow-primary); }
.hero2-btn-primary:hover { transform: translateY(-1px); }

.hero2-btn-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.hero2-btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* Capability strip — concrete product facts, not vanity metrics */
.hero2-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 480px) {
  .hero2-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

.hero2-stat { display: flex; flex-direction: column; gap: .15rem; }

.hero2-stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.hero2-stat-label {
  font-size: .78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Product screenshot with its own tab switcher */
.hero2-visual { position: relative; }

.hero2-tabs {
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.hero2-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.hero2-tab:hover { color: var(--midnight); }
.hero2-tab.active { background: var(--primary); color: #fff; }

.hero2-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero2-image {
  display: none;
  width: 100%;
  height: auto;
}
.hero2-image.active { display: block; }

/* Floating callouts, hidden on small screens where they would overlap */
.hero2-float-card {
  display: none;
  align-items: center;
  gap: .65rem;
  padding: .7rem .95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .hero2-float-card { display: flex; position: absolute; z-index: 2; }
  .hero2-float-card-1 { top: 22%; left: -2.5rem; }
  .hero2-float-card-2 { bottom: 8%; right: -1.5rem; }
}

.float-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
}

.float-card-title { font-size: .8125rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.float-card-desc  { font-size: .75rem; color: var(--text-muted); line-height: 1.3; }
.float-card-accent { color: var(--success); font-weight: 600; }

/* ==========================================================================
   9. SECTION SHELLS
   ========================================================================== */

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-tag {
  display: block;
  margin-bottom: .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-bottom: .85rem;
}

.section-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Variants for sections rendered on the midnight surface */
.section-header-light { }
.section-tag-light { color: var(--primary-light); }
.section-title-light { color: #fff; }
.section-description-light { color: var(--text-on-dark-muted); }

/* Highlighted words inside a heading. Kept a solid brand tint rather than a
   gradient so headings stay legible and on-palette. */
.text-gradient { color: var(--primary); }

/* Reusable card surface shared by the marketing sections */
.feature-card,
.service-card,
.role-card,
.step-card,
.about-card,
.pricing-card,
.contact-info-card,
.fd-benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

/* ==========================================================================
   10. HOME SECTIONS
   ========================================================================== */

/* --- Features --------------------------------------------------------- */

.features { padding: var(--section-y) 0; background: var(--surface); }
@media (min-width: 1024px) { .features { padding: var(--section-y-lg) 0; } }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.feature-card:hover {
  border-color: rgba(30, 144, 255, .35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}

.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--midnight); margin-bottom: .5rem; }

.feature-desc {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap .16s var(--ease), color .16s var(--ease);
}
.feature-link:hover { gap: .6rem; color: var(--primary-dark); }

/* --- Services (the three rental service types) ------------------------- */

.services { padding: var(--section-y) 0; background: var(--background); }
@media (min-width: 1024px) { .services { padding: var(--section-y-lg) 0; } }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card { padding: 2rem 1.75rem; }
.service-card:hover { border-color: rgba(30, 144, 255, .35); box-shadow: var(--shadow-md); }

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}
.service-icon-accent  { background: var(--warning-soft); color: var(--warning); }
.service-icon-primary { background: var(--primary-soft);  color: var(--primary); }

.service-title { font-size: 1.25rem; font-weight: 700; color: var(--midnight); margin-bottom: .3rem; }

.service-subtitle {
  display: block;
  margin-bottom: .9rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
}

.service-desc { font-size: .9375rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1.4rem; }

.service-card { display: flex; flex-direction: column; }
.service-features { display: flex; flex-direction: column; gap: .6rem; }

.service-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--text);
}

.bullet {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
}

/* --- User roles (dark section) ---------------------------------------- */

.user-roles {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--surface);
  overflow: hidden;
}
@media (min-width: 1024px) { .user-roles { padding: var(--section-y-lg) 0; } }

.user-roles-bg { position: absolute; inset: 0; pointer-events: none; }

/* Retired decorative orbs — markup still emits them */
.gradient-orb, .dot-grid { display: none; }

.roles-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .roles-grid { grid-template-columns: repeat(4, 1fr); } }

.role-card { padding: 1.75rem 1.5rem; display: flex; flex-direction: column; }
.role-card:hover { border-color: rgba(30, 144, 255, .35); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
}

.role-title { font-size: 1.1rem; font-weight: 700; color: var(--midnight); margin-bottom: .45rem; }
.role-desc  { font-size: .875rem; line-height: 1.65; color: var(--text-muted); margin-bottom: 1.15rem; }

.role-features { display: flex; flex-direction: column; gap: .55rem; flex-grow: 1; }
.role-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text);
}
.role-features li svg,
.role-features li i { flex-shrink: 0; margin-top: .2rem; color: var(--success); }

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  margin-top: 1.25rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.role-badge .pulse-dot { animation: none; box-shadow: none; background: var(--primary); }

/* --- Comparison table -------------------------------------------------- */

.comparison,
.comparison-section { padding: var(--section-y) 0; background: var(--surface); }
@media (min-width: 1024px) {
  .comparison, .comparison-section { padding: var(--section-y-lg) 0; }
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .9rem;
}

.comparison-table th,
.comparison-table td {
  padding: .95rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  background: var(--surface-sunken);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: var(--primary-softer); }

.table-header-feature { text-align: left !important; }

/* The product's own column is tinted so the eye lands on it first */
.table-header-highlight {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: var(--radius) var(--radius) 0 0;
}

.comparison-table td.table-header-highlight,
.comparison-table tbody td:nth-child(2) { background: var(--primary-softer); }

.comparison-table .feature-name {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.status-cell { font-size: 1rem; }
.icon-check { color: var(--success); }
.icon-x     { color: var(--danger); }
.icon-minus { color: var(--text-subtle); }
.price-text { font-weight: 600; color: var(--text); }

.comparison-cta {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--midnight);
  text-align: center;
}
.comparison-cta-content { max-width: 620px; margin: 0 auto; }
.comparison-cta-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: #fff; margin-bottom: .6rem; }
.comparison-cta-description { color: var(--text-on-dark-muted); margin-bottom: 1.75rem; }
.comparison-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* --- How it works (dark section) --------------------------------------- */

.how-it-works {
  padding: var(--section-y) 0;
  background: var(--midnight);
}
@media (min-width: 1024px) { .how-it-works { padding: var(--section-y-lg) 0; } }

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px)  { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, .04);
  border-color: var(--border-dark);
}
.step-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(30, 144, 255, .4); }

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
}

.step-header { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .5rem; }

.step-number {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary-light);
}

.step-title { font-size: 1.05rem; font-weight: 700; color: #fff; }
.step-desc  { font-size: .875rem; line-height: 1.65; color: var(--text-on-dark-muted); }

/* Connector line between steps, desktop only */
.step-connector { display: none; }
@media (min-width: 1024px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 2.5rem;
    left: calc(100% + .3rem);
    width: .65rem;
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, .25);
  }
}

/* --- About ------------------------------------------------------------- */

.about,
.about-story { padding: var(--section-y) 0; background: var(--background); }
@media (min-width: 1024px) { .about, .about-story { padding: var(--section-y-lg) 0; } }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.about-content { min-width: 0; }

/* The card stack is taller than the prose; pinning the copy keeps the two
   columns visually paired instead of leaving a long empty gutter. */
@media (min-width: 1024px) {
  .about-content { position: sticky; top: calc(var(--nav-height) + 3rem); }
}

.about-text-large {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.15rem;
}

.about-text { font-size: .95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.15rem; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .about-cards { grid-template-columns: repeat(2, 1fr); } }

/* Inside the two-column about block the cards stack, so an odd card count
   never leaves a ragged half-empty row. */
.about-grid .about-cards { grid-template-columns: 1fr; }

.about-card { padding: 1.6rem 1.5rem; }
.about-card:hover { border-color: rgba(30, 144, 255, .35); box-shadow: var(--shadow-md); }

.about-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}

.about-card-title { font-size: 1rem; font-weight: 700; color: var(--midnight); margin-bottom: .4rem; }
.about-card-desc  { font-size: .875rem; line-height: 1.65; color: var(--text-muted); }

.about-values,
.about-features { padding: var(--section-y) 0; background: var(--surface); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.feature-description { font-size: .875rem; line-height: 1.65; color: var(--text-muted); }

/* --- FAQ accordion ----------------------------------------------------- */

.faq,
.faq-section,
.features-faq { padding: var(--section-y) 0; background: var(--surface); }
@media (min-width: 1024px) {
  .faq, .faq-section, .features-faq { padding: var(--section-y-lg) 0; }
}

.accordion,
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.accordion-item,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.accordion-item:hover,
.faq-item:hover { border-color: var(--border-strong); }

.accordion-item.active,
.faq-item.active { border-color: rgba(30, 144, 255, .4); box-shadow: var(--shadow-sm); }

.accordion-trigger,
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-size: .975rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.accordion-trigger:hover,
.faq-question:hover { background: var(--primary-softer); color: var(--primary-dark); }

.accordion-icon,
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: .7rem;
  transition: transform .28s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--primary-soft);
  color: var(--primary);
}

.faq-item.active .faq-icon,
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-soft);
  color: var(--primary);
}

.accordion-content,
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.4rem;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text-muted);
  transition: max-height .32s var(--ease), padding .28s var(--ease);
}
.accordion-item.active .accordion-content,
.faq-item.active .faq-answer,
.faq-answer.open { max-height: 460px; padding: 0 1.4rem 1.25rem; }

.faq-categories { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }

.faq-category-btn {
  padding: .5rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .16s var(--ease);
}
.faq-category-btn:hover { border-color: var(--primary); color: var(--primary); }
.faq-category-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --- Closing CTA ------------------------------------------------------- */

.cta,
.about-cta,
.faq-cta { padding: var(--section-y) 0; background: var(--background); }

.cta-box {
  position: relative;
  padding: 3rem 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 70% 90% at 85% 15%, rgba(30, 144, 255, .30) 0%, transparent 62%),
    var(--midnight);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 4rem 3rem; } }

.cta-glow { display: none; }

.cta-content { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }

.cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: .85rem;
}

.cta-text,
.cta-description {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin-bottom: 2rem;
}

.cta-buttons,
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ==========================================================================
   11. PRICING
   ========================================================================== */

.pricing-page { padding: calc(var(--nav-height) + 3rem) 0 var(--section-y-lg); }

.pricing-header,
.page-header { max-width: 700px; margin: 0 auto 3rem; text-align: center; }

.pricing-title,
.page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-bottom: .85rem;
}

.pricing-description { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); }

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin: 2rem auto 0;
  padding: .5rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.toggle-label { font-size: .875rem; font-weight: 600; color: var(--text-muted); transition: color .16s var(--ease); }
.toggle-label.active,
.toggle-label-monthly.active,
.toggle-label-yearly.active { color: var(--midnight); }

.toggle-button {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  transition: background-color .2s var(--ease);
}
.toggle-button.active { background: var(--primary); }

.toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease);
}
.toggle-button.active .toggle-slider { transform: translateX(20px); }

.toggle-save {
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  font-size: .7rem;
  font-weight: 700;
  color: #15803D;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card { position: relative; padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.pricing-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }

.pricing-card-popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .pricing-card-popular { transform: scale(1.03); } }

.popular-badge {
  position: absolute;
  top: -.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
}

.pricing-card-name { font-size: 1.15rem; font-weight: 700; color: var(--midnight); margin-bottom: .35rem; }
.pricing-card-desc { font-size: .875rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 1.5rem; }

.pricing-card-price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: 1.5rem; }

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--midnight);
  line-height: 1;
}

.price-period { font-size: .875rem; color: var(--text-muted); }

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 1.5rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-grow: 1;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text);
}
.pricing-card-features li svg,
.pricing-card-features li i { flex-shrink: 0; margin-top: .2rem; color: var(--success); }

/* Add-on quantity controls. Layout for the card itself lives in §17. */
.addon-qty-btn,
.addon-minus,
.addon-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 600;
  color: var(--text);
  transition: all .16s var(--ease);
}
.addon-qty-btn:hover,
.addon-minus:hover,
.addon-plus:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-softer); }

/* Stepper used by the plan builder */
.stepper { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.form-step { display: none; }
.form-step.active { display: block; }

.step { display: flex; align-items: center; gap: .6rem; }

.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .18s var(--ease);
}
.step.active .step-circle,
.step-circle.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.step.done .step-circle { background: var(--success); border-color: var(--success); color: #fff; }

.step-label { font-size: .8125rem; font-weight: 600; color: var(--text-muted); }
.step.active .step-label { color: var(--midnight); }

/* ==========================================================================
   12. AUTH
   --------------------------------------------------------------------------
   Centred single-column card. Kept deliberately plain: the fastest path to a
   signed-in state beats decoration here.
   ========================================================================== */

.auth-page,
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2.5rem) var(--gutter) 3.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(30, 144, 255, .09) 0%, transparent 65%),
    var(--background);
}

.auth-box { width: 100%; max-width: 440px; }

/* The registration flow needs a wider shell for its multi-column steps */
.auth-box-wide { max-width: 760px; }

.auth-header { text-align: center; margin-bottom: 1.75rem; }

.auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, var(--primary) 0%, var(--midnight) 130%);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.auth-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; color: var(--midnight); margin-bottom: .35rem; }
.auth-subtitle { font-size: .9375rem; color: var(--text-muted); }

.auth-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
@media (min-width: 480px) { .auth-card { padding: 2.25rem 2rem; } }

.auth-form { display: block; }

.auth-footer {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted);
}
.auth-footer a { font-weight: 600; color: var(--primary); }
.auth-footer a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Google sign-in (login + register) */
.auth-google-btn { gap: .6rem; align-items: center; justify-content: center; color: var(--text); background: var(--surface); }
.auth-google-btn svg { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.35rem 0;
  font-size: .8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.auth-divider::before,
.auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.auth-google-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: 1.5rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--primary-softer);
  font-size: .875rem;
  color: var(--text);
}
.auth-google-notice strong { font-weight: 500; }
.auth-google-notice a { font-weight: 500; color: var(--primary); white-space: nowrap; }
.form-input[readonly] { background: var(--primary-softer); color: var(--text-muted); cursor: not-allowed; }

/* ==========================================================================
   13. FEATURE DETAIL PAGES
   --------------------------------------------------------------------------
   One shared component set for all twelve feature pages. Pages previously
   carried their own near-identical <style> block differing only in accent
   colour; the accent now comes from the brand token.
   ========================================================================== */

.fd-hero {
  padding: calc(var(--nav-height) + 3rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 65% 60% at 82% 45%, rgba(30, 144, 255, .22) 0%, transparent 68%),
    var(--midnight);
  position: relative;
  overflow: hidden;
}

.fd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  font-size: .8125rem;
  color: var(--text-on-dark-muted);
}
.fd-breadcrumb a { color: var(--text-on-dark-muted); transition: color .16s var(--ease); }
.fd-breadcrumb a:hover { color: #fff; }
.fd-breadcrumb span { color: var(--text-subtle); }

.fd-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  background: rgba(30, 144, 255, .18);
  color: var(--primary-light);
}
/* Legacy accent modifiers resolve to the brand accent */
.fd-hero-icon.accent,
.fd-hero-icon.primary { background: rgba(30, 144, 255, .18); color: var(--primary-light); }

.fd-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: .75rem;
}

.fd-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.fd-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(30, 144, 255, .35);
  border-radius: var(--radius-pill);
  background: rgba(30, 144, 255, .14);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary-light);
}

.fd-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px)  { .fd-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fd-benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.fd-benefit-card { padding: 1.6rem 1.5rem; }
.fd-benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(30, 144, 255, .35); }

.fd-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}

.fd-benefit-title { font-size: 1rem; font-weight: 700; color: var(--midnight); margin-bottom: .4rem; }
.fd-benefit-desc  { font-size: .875rem; line-height: 1.65; color: var(--text-muted); }

.fd-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.fd-tab-btn {
  padding: .75rem 1.15rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.fd-tab-btn:hover { color: var(--primary); background: var(--primary-softer); }
.fd-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.fd-tab-panel { display: none; }
.fd-tab-panel.active { display: block; }

.fd-tab-content {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.fd-tab-content p { font-size: 1.02rem; line-height: 1.8; color: var(--text-muted); }

.fd-usecases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .fd-usecases-grid { grid-template-columns: repeat(2, 1fr); } }

.fd-usecase-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .05);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.fd-usecase-item:hover { background: rgba(30, 144, 255, .12); border-color: rgba(30, 144, 255, .35); }

.fd-usecase-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: .1rem;
  border-radius: 50%;
  background: rgba(30, 144, 255, .22);
  color: var(--primary-light);
  font-size: .7rem;
}

.fd-usecase-text { font-size: .9rem; line-height: 1.6; color: var(--text-on-dark-muted); }

.fd-sidebar { position: sticky; top: calc(var(--nav-height) + 1.5rem); }
.fd-sidebar-title {
  margin-bottom: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fd-sidebar-list li { margin-bottom: .2rem; }
.fd-sidebar-list a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-muted);
  transition: background-color .14s var(--ease), color .14s var(--ease);
}
.fd-sidebar-list a:hover { background: var(--surface-sunken); color: var(--midnight); }
.fd-sidebar-list a.active { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.fd-sidebar-list a i { width: 16px; text-align: center; font-size: .8rem; }

.fd-faq-item {
  margin-bottom: .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .18s var(--ease);
}
.fd-faq-item:hover { border-color: var(--border-strong); }

.fd-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color .16s var(--ease);
}
.fd-faq-question:hover { background: var(--primary-softer); }

.fd-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: .65rem;
  transition: transform .28s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.fd-faq-question.open .fd-faq-icon { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary); }

.fd-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.4rem;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text-muted);
  transition: max-height .32s var(--ease), padding .28s var(--ease);
}
.fd-faq-answer.open { max-height: 380px; padding: 0 1.4rem 1.25rem; }

.fd-contact-sell {
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 70% 90% at 85% 15%, rgba(30, 144, 255, .28) 0%, transparent 62%),
    var(--midnight);
  text-align: center;
}
.fd-contact-sell h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.fd-contact-sell p {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  font-size: .95rem;
  color: var(--text-on-dark-muted);
}
.fd-contact-sell-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ==========================================================================
   14. CONTENT PAGES
   ========================================================================== */

/* --- Shared inner-page hero -------------------------------------------- */

.page-hero,
.policy-hero {
  padding: calc(var(--nav-height) + 3.5rem) 0 3rem;
  background:
    radial-gradient(ellipse 60% 60% at 75% 20%, rgba(30, 144, 255, .20) 0%, transparent 65%),
    var(--midnight);
  text-align: center;
}

.page-hero-content { max-width: 720px; margin: 0 auto; }

.page-hero-title,
.policy-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: .85rem;
}

.page-hero-description,
.policy-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto;
}

.page-hero-description a { color: var(--primary-light); font-weight: 600; }
.page-hero-description a:hover { color: #fff; text-decoration: underline; }

/* A section following the dark hero drops its own top padding so the two
   surfaces meet cleanly instead of leaving a double gap. */
.page-hero + section { padding-top: var(--section-y); }

.policy-updated {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* On the dark hero (blog article) the pill inverts. */
.page-hero .policy-updated {
  margin: 1.25rem 0 0;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, .07);
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
}
.policy-back:hover { gap: .65rem; color: var(--primary-dark); }

/* --- Long-form legal / terms copy --------------------------------------- */

.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.policy-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--midnight);
  margin: 2.25rem 0 .85rem;
}
.policy-body h2:first-child { margin-top: 0; }

/* Clause heading inside the rental agreement document. */
.tac_ttile {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: .4rem;
}

.policy-body h3 { font-size: 1.05rem; margin: 1.75rem 0 .6rem; color: var(--text); }

.policy-body p,
.tac-body p,
.tac-item p {
  font-size: .975rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.policy-body ul,
.tac-body ul,
.terms_and_codition ul {
  margin: .5rem 0 1rem 1.25rem;
  list-style: disc;
}
.policy-body li,
.tac-body li,
.terms_and_codition li {
  line-height: 1.7;
  margin-bottom: .35rem;
}

.policy-body li { font-size: .975rem; color: var(--text-muted); }

.policy-body a,
.tac-body a { color: var(--primary); font-weight: 500; }
.policy-body a:hover, .tac-body a:hover { text-decoration: underline; }

.tac-item { padding-bottom: 1rem; }
.terms_and_codition.extra-small { font-size: .8125rem; }
.tac-body-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  color: var(--text-muted);
}

/* --- Contact ------------------------------------------------------------ */

.contact-hero { padding: calc(var(--nav-height) + 3rem) 0 0; }
.contact-hero .section-header { margin-bottom: 0; }

.contact-body { padding: var(--section-y) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
}

.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-card { padding: 1.4rem; }
.contact-info-card:hover { border-color: rgba(30, 144, 255, .35); box-shadow: var(--shadow-sm); }

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: .9rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-info-title { font-size: .95rem; font-weight: 700; color: var(--midnight); margin-bottom: .25rem; }
.contact-info-text  { font-size: .875rem; line-height: 1.6; color: var(--text-muted); word-break: break-word; }
.contact-info-text a { color: var(--primary); }
.contact-info-text a:hover { text-decoration: underline; }

.contact-form-wrap {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .contact-form-wrap { padding: 2.25rem; } }

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-form-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.contact-form-note {
  margin: 1rem 0 0;
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.contact-form-note a { color: var(--primary); text-decoration: underline; }

.form-label-optional {
  margin-left: .35rem;
  font-size: .6875rem;
  font-weight: 400;
  color: var(--text-subtle);
  text-transform: lowercase;
}

/* Honeypot — visually hidden, still focusable to real users if needed. */
.contact-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  clip: rect(0 0 0 0); overflow: hidden;
  white-space: nowrap;
}

/* --- Gallery + lightbox -------------------------------------------------- */

.gallery,
.gallery-details-page { padding: var(--section-y) 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.gallery-item-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
  overflow: hidden;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.gallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}
.gallery-item:hover .gallery-image { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 31, 68, .55);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .95);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--midnight);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.lightbox.active { display: flex; }

.lightbox-overlay { position: absolute; inset: 0; background: rgba(10, 31, 68, .92); }

.lightbox-content { position: relative; z-index: 1; max-width: 1100px; width: 100%; text-align: center; }

.lightbox-image-wrapper { display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-height: 78vh; width: auto; border-radius: var(--radius-md); }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background-color .16s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, .25); }

.lightbox-close { top: -3rem; right: 0; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: -1rem; }
.lightbox-next { right: -1rem; }

@media (min-width: 1024px) {
  .lightbox-prev { left: -3.5rem; }
  .lightbox-next { right: -3.5rem; }
}

.lightbox-counter { margin-top: 1rem; font-size: .875rem; color: var(--text-on-dark-muted); }

/* --- Empty state --------------------------------------------------------- */

.empty-state {
  padding: 4rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
  color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 1.25rem; color: var(--text-subtle); }
.empty-state h3 { font-size: 1.1rem; color: var(--text); margin-bottom: .5rem; }
.empty-state p { font-size: .9rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   15. UTILITIES & MOTION
   ========================================================================== */

.text-center { text-align: center; }
.text-start  { text-align: left; }
.text-end    { text-align: right; }

.lead-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--midnight);
}

.img-fluid, .img-responsive { max-width: 100%; height: auto; }
.max-w-150px { max-width: 150px; }

/* Entrance animation. Delay variants let a hero stagger its own children. */
.fade-up,
.fade-up-delay-1,
.fade-up-delay-2,
.fade-up-delay-3 {
  animation: fade-up .55s var(--ease) both;
}
.fade-up-delay-1 { animation-delay: .08s; }
.fade-up-delay-2 { animation-delay: .16s; }
.fade-up-delay-3 { animation-delay: .24s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Revealed by script.js as sections scroll into view */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ==========================================================================
   16. COOKIE CONSENT
   --------------------------------------------------------------------------
   Previously an inline <style> block in the layout template.
   ========================================================================== */

#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 150;
  max-width: 360px;
  width: calc(100% - 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--midnight);
  color: #fff;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

#cookie-banner.hide {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

#cookie-content { position: relative; padding: 1.25rem; }

.cookie-icon-wrap { margin-bottom: .6rem; font-size: 1.4rem; line-height: 1; color: var(--primary-light); }

.cookie-text strong { display: block; margin-bottom: .35rem; font-size: .95rem; font-weight: 700; color: #fff; }

.cookie-text p {
  margin-bottom: 1rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.cookie-text a { color: var(--primary-light); text-decoration: underline; }

.cookie-actions { display: flex; gap: .6rem; }

#cookie-accept,
#cookie-decline {
  flex: 1;
  padding: .55rem 0;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
  transition: all .18s var(--ease);
}

#cookie-accept { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
#cookie-accept:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

#cookie-decline { background: transparent; color: var(--text-on-dark-muted); border: 1px solid var(--border-dark); }
#cookie-decline:hover { border-color: rgba(255, 255, 255, .35); color: #fff; }

.cookie-close-btn {
  position: absolute;
  top: .7rem;
  right: .7rem;
  padding: .2rem .35rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  line-height: 1;
  color: var(--text-subtle);
  transition: color .16s var(--ease);
}
.cookie-close-btn:hover { color: #fff; }

#cookie-toggle {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 149;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: var(--midnight);
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
#cookie-toggle:hover { transform: scale(1.08); box-shadow: var(--shadow-xl); }

/* ==========================================================================
   17. CUSTOM PLAN BUILDER
   --------------------------------------------------------------------------
   Previously styled with inline attributes on every element.
   State classes (.active) and the display toggling on .addon-controls /
   #yearlyNote are driven by frontend/js/script.js.
   ========================================================================== */

.plan-builder { max-width: 1040px; margin: 5rem auto 0; }

.plan-builder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) { .plan-builder-grid { grid-template-columns: 1fr 340px; gap: 2.5rem; } }

.plan-builder-config { display: grid; gap: 2rem; }

.plan-builder-step-title {
  margin-bottom: .85rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.base-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .75rem;
}

.base-plan-btn {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.1rem 1.15rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.base-plan-btn:hover { border-color: var(--border-strong); }
.base-plan-btn.active {
  border-color: var(--primary);
  background: var(--primary-softer);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, .12);
}

.base-plan-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--midnight);
}
.base-plan-period { font-size: .8125rem; font-weight: 400; color: var(--text-muted); }
.base-plan-label { font-size: .875rem; font-weight: 600; color: var(--text); }
.base-plan-meta  { font-size: .75rem; color: var(--text-muted); }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: .75rem;
}

.addon-card {
  display: block;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.addon-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.addon-card.active {
  border-color: var(--primary);
  background: var(--primary-softer);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, .12);
}

.addon-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.addon-copy { flex: 1; min-width: 0; }
.addon-name { font-size: .875rem; font-weight: 600; color: var(--text); }
.addon-desc { margin-top: .15rem; font-size: .75rem; line-height: 1.5; color: var(--text-muted); }
.addon-price { font-size: .875rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* Hidden until the card is selected; script.js sets display inline. */
.addon-controls { display: none; margin-top: .85rem; gap: .75rem; }

.addon-qty { min-width: 1.5rem; text-align: center; font-size: .875rem; font-weight: 700; color: var(--text); }

.addon-remove {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .16s var(--ease);
}
.addon-remove:hover { color: var(--danger); }

.plan-summary-wrap { position: sticky; top: calc(var(--nav-height) + 1.5rem); }

.plan-summary {
  padding: 1.5rem;
  border: 1px solid rgba(30, 144, 255, .3);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.plan-summary-title {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--midnight);
}

.plan-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  font-size: .875rem;
}
.plan-summary-label { color: var(--text-muted); }
.plan-summary-value { font-weight: 600; color: var(--text); }

.plan-summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  margin-bottom: .35rem;
  border-top: 1px solid var(--border);
}

.plan-summary-amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--midnight);
}
.plan-summary-period { font-size: .875rem; color: var(--text-muted); }

/* Revealed by script.js when yearly billing is selected. */
.plan-summary-note {
  display: none;
  margin-bottom: 1.25rem;
  font-size: .75rem;
  text-align: right;
  color: var(--primary);
}

.plan-summary-fineprint {
  margin-top: .75rem;
  font-size: .75rem;
  text-align: center;
  color: var(--text-muted);
}

.plan-summary-total + .plan-summary-note + .btn { margin-top: 1.25rem; }

/* ==========================================================================
   18. REGISTRATION FLOW
   --------------------------------------------------------------------------
   Two-step organization sign-up. Previously an inline <style> block on
   auth/register.blade.php. Step visibility, button visibility and the
   validation state classes are all driven by that page's script.
   ========================================================================== */

.reg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2.5rem) var(--gutter) 3.5rem;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(30, 144, 255, .09) 0%, transparent 65%),
    var(--background);
}

.reg-box { width: 100%; max-width: 580px; }

.reg-header { text-align: center; margin-bottom: 1.75rem; }

.reg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, var(--primary) 0%, var(--midnight) 130%);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.reg-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--midnight);
  margin-bottom: .35rem;
}

.reg-subtitle { font-size: .9375rem; color: var(--text-muted); }

.reg-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
@media (min-width: 480px) { .reg-card { padding: 2.25rem 2rem; } }

.reg-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted);
}
.reg-footer a { font-weight: 600; color: var(--primary); }
.reg-footer a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Stepper — the registration variant stacks its label under the circle */
.reg-card .stepper { gap: 1rem; margin-bottom: 1.75rem; }
.reg-card .step { flex-direction: column; gap: .45rem; text-align: center; }

.reg-card .step-circle {
  width: 32px;
  height: 32px;
  border-width: 2px;
  background: var(--surface-sunken);
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.reg-card .step-circle.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}
.reg-card .step-circle.completed {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.step-label.active { color: var(--midnight); font-weight: 600; }

.reg-card .step-connector {
  display: block;
  position: static;
  width: 48px;
  height: 2px;
  margin-top: -20px;
  border: none;
  background: var(--border);
}

/* Select styled to match .form-control */
.form-select {
  display: block;
  width: 100%;
  padding: .7rem 2.4rem .7rem .9rem;
  font-size: .9375rem;
  color: var(--text);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  appearance: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.form-select:hover { border-color: #B9C3D1; }
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, .15);
}

.form-input.is-valid,
.form-select.is-valid { border-color: var(--success); }

.form-input.is-invalid,
.form-select.is-invalid { border-color: var(--danger); }

/* Live password strength readout */
.password-strength {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  font-size: .8rem;
  font-weight: 500;
}
.password-strength.weak   { color: var(--danger); }
.password-strength.medium { color: var(--warning); }
.password-strength.strong { color: var(--success); }

.info-box {
  padding: .9rem 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(30, 144, 255, .25);
  border-radius: var(--radius);
  background: var(--primary-softer);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.nav-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Back sits opposite the forward action; the script toggles inline display. */
#prevBtn { margin-right: auto; }
#prevBtn,
#submitBtn { display: none; }

/* Submitting state: label hidden, spinner centred */
.btn-loading { position: relative; pointer-events: none; }
.btn-loading .btn-text { opacity: 0; }

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin .6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   19. BLOG
   ========================================================================== */

.blog-list { padding: var(--section-y) 0; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.blog-card:hover {
  border-color: rgba(30, 144, 255, .35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--surface-sunken);
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}
.blog-card:hover .blog-card-image { transform: scale(1.04); }

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-subtle);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card-date {
  display: block;
  margin-bottom: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.blog-card-title { font-size: 1.05rem; font-weight: 700; color: var(--midnight); margin-bottom: .5rem; }
.blog-card-title a { transition: color .16s var(--ease); }
.blog-card-title a:hover { color: var(--primary); }

.blog-card-excerpt {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.blog-article { padding-bottom: var(--section-y); }

.blog-article-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  margin: -3rem auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   20. AUTH FORM DETAILS
   ========================================================================== */

/* Label with a trailing action (e.g. "Password" + "Forgot password?") */
.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
}
.form-label-row .form-label { margin-bottom: 0; }

.form-check-inline-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .875rem;
  color: var(--text);
  cursor: pointer;
}

/* Password reveal: the "hide" icon appears only while the field is unmasked.
   script.js swaps the inline display on click. */
.password-toggle .eye-off-icon { display: none; }

/* ==========================================================================
   21. FEATURE PAGE MODIFIERS
   ========================================================================== */

/* Section heading one step below the page title. */
.section-title-sm { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }

/* The use-case list sits on the midnight surface, so its items and check
   marks use the on-dark treatment defined with .fd-usecase-item. */
.fd-usecases-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 70% 90% at 88% 12%, rgba(30, 144, 255, .22) 0%, transparent 62%),
    var(--midnight);
}

/* Success readout beside a validated field; the script toggles its display. */
.form-success svg { display: inline; vertical-align: middle; }

/* Inline link inside body copy. */
.text-link { font-weight: 600; color: var(--primary); text-decoration: underline; }
.text-link:hover { color: var(--primary-dark); }

/* Validation affordances on the registration form. The page script reveals
   these by setting display inline, which overrides these defaults. */
#password_check_icon,
#success_password_confirmation { display: none; }

/* ==========================================================================
   16. LANDING
   --------------------------------------------------------------------------
   The Navan-language sections used by the home page, in page order:
   hero, trust strip, editorial block, do-grid, showcase,
   motion loops, reviews, closing CTA. Everything here obeys the two house
   rules: 14px radius, and violet only where we are asking for a click.
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */
/* Full-bleed video under a violet-twilight wash. The video is atmosphere:
   it is muted, decorative, and the copy must read with it switched off. */
.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, #0a0018 0%, #15002c 45%, #1e0050 100%);
  color: #fff;
}

/* The atmospheric backdrop: two soft glow orbs and a subtle line grid.
   Static, no motion — the surface stays quiet so the headline carries it. */
.lp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.lp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}

/* The orbs follow the cursor: --hx and --hy are set from JS (0..1),
   and the translate keeps the movement subtle enough to feel intentional. */
.lp-hero-glow-a {
  top: -12%;
  right: -8%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(124, 81, 250, .55) 0%, rgba(99, 7, 248, .18) 45%, transparent 70%);
  transform: translate3d(calc((var(--hx, 0.5) - 0.5) * 40px), calc((var(--hy, 0.5) - 0.5) * 40px), 0);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.lp-hero-glow-b {
  bottom: -20%;
  left: -10%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(216, 96, 197, .28) 0%, rgba(99, 7, 248, .10) 50%, transparent 75%);
  transform: translate3d(calc((var(--hx, 0.5) - 0.5) * -60px), calc((var(--hy, 0.5) - 0.5) * -60px), 0);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

/* Fine line grid — the SaaS default backdrop pattern.
   svg encoded inline so we ship no extra request. */
.lp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, rgba(0, 0, 0, .9) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, rgba(0, 0, 0, .9) 0%, transparent 70%);
}

/* Clears the fixed navbar, the way every other hero on the site does.
   Without the offset the headline sits under the nav. */
.lp-hero-inner {
  padding-top: calc(var(--nav-height) + clamp(.75rem, 1.8vw, 1.5rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

/* The hero reuses the two-column showcase grid; on mobile the product card
   sits under the copy rather than beside it. */
.lp-hero-visual { display: flex; justify-content: flex-start; }

@media (min-width: 900px) {
  .lp-hero-visual { justify-content: flex-end; }
}

.lp-hero-copy { max-width: 41rem; }

/* Eyebrow doubles as a link to the services section — a gentle way to
   telegraph the page is scrollable and to keep the crawl-graph tight. */
.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .375rem .875rem .375rem .625rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07);
  font-size: .8125rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.lp-hero-eyebrow:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  transform: translateY(-1px);
}

.lp-hero-eyebrow svg { opacity: .7; transition: transform .2s var(--ease); }
.lp-hero-eyebrow:hover svg { transform: translateX(2px); opacity: 1; }

/* Live-status pulse — a single ring rippling out of the dot every 2 seconds.
   Set once, no re-flow, no layout shift. */
.lp-hero-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 4px rgba(255, 181, 206, .22);
}

.lp-hero-dot::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--rose);
  opacity: .6;
  animation: lp-hero-pulse 2.2s cubic-bezier(.2, .6, .4, 1) infinite;
}

@keyframes lp-hero-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Bold, high-impact display headline — Grotesque weight for a strong,
   confident opening statement. */
.lp-hero-title {
  max-width: none;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  white-space: normal;
}

.lp-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
}

.lp-hero-lead {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.25rem;
}

/* Ghost on a dark surface flips to a white hairline */
.lp-hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.lp-hero-actions .btn-ghost:hover {
  background: #fff;
  color: var(--deep-iris);
}

.lp-hero-actions .btn svg {
  margin-left: .35rem;
  transition: transform .2s var(--ease);
}
.lp-hero-actions .btn-primary svg { margin-right: 0; }
.lp-hero-actions .btn-ghost svg { margin: 0 .35rem 0 0; }
.lp-hero-actions .btn:hover svg { transform: translateX(2px); }
.lp-hero-actions .btn-ghost:hover svg { transform: translateX(1px); }

.lp-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .7);
}

.lp-hero-note {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.lp-hero-note svg { color: var(--rose); }

/* ── Hero dashboard card ───────────────────────────────────────────────── */
/* Four KPI tiles + a live activity feed. Shows breadth of the platform
   (reservations, revenue, fleet, agreements, invoicing, maintenance) in a
   single glance, instead of a single-purpose calendar. Every visible label
   is crawlable text for SEO. */
.lp-dash {
  width: min(100%, 27rem);
  padding: 1rem 1.125rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(21, 0, 44, .55), 0 12px 24px -12px rgba(21, 0, 44, .3);
  color: var(--text);
}

.lp-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .875rem;
}

.lp-dash-title { display: flex; flex-direction: column; }

.lp-dash-label {
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-dash-date {
  margin-top: .125rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
}

.lp-dash-live {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .1875rem .5rem;
  border-radius: var(--radius-pill);
  background: rgba(40, 200, 100, .12);
  color: #128a4c;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-dash-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  animation: lp-cal-live 1.8s cubic-bezier(.2, .6, .4, 1) infinite;
}

/* KPI grid — four tiles, 2×2 on desktop, 4-wide on small screens */
.lp-dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .375rem;
  margin-bottom: .875rem;
}

@media (max-width: 400px) {
  .lp-dash-kpis { grid-template-columns: repeat(2, 1fr); }
}

.lp-dash-kpi {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0 .25rem;
  padding: .5rem .625rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  text-align: left;
  cursor: default;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.lp-dash-kpi:hover {
  transform: translateY(-1px);
  background: var(--primary-soft);
  box-shadow: 0 6px 14px -10px rgba(99, 7, 248, .45);
}

.lp-dash-kpi-icon {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
}

.lp-dash-kpi-value {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: .125rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.lp-dash-kpi-value-alt {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.lp-dash-kpi-label {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: .1875rem;
  font-size: .5625rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-dash-kpi-trend {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: .125rem;
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.lp-dash-kpi-trend-up { color: #128a4c; }
.lp-dash-kpi-trend-flat { color: var(--text-subtle); }

/* Activity feed */
.lp-dash-feed {
  border-top: 1px solid var(--border);
  padding-top: .625rem;
}

.lp-dash-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}

.lp-dash-feed-label {
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-dash-feed-badge {
  padding: .0625rem .3125rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-dash-feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  /* Reserve the height of 4 items so the container never reflows during
     shuffle transitions. Prevents the card + hero from shifting when items
     enter/leave. Each row is capped at 60px via .lp-dash-feed-item. */
  min-height: 240px;
  /* Isolate paint so per-item transitions don't invalidate ancestors. */
  contain: layout paint;
}

.lp-dash-feed-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: .5rem;
  padding: .4375rem 0;
  border-bottom: 1px dashed var(--border);
  max-height: 60px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    max-height .8s var(--ease),
    padding .8s var(--ease),
    border-color .8s var(--ease);
  overflow: hidden;
}

.lp-dash-feed-item:last-child { border-bottom: 0; }

.lp-dash-feed-item-enter {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.lp-dash-feed-item-leaving {
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

.lp-dash-feed-item-new {
  animation: lp-dash-feed-pulse 900ms cubic-bezier(.2, .6, .4, 1) 1;
}

@keyframes lp-dash-feed-pulse {
  0%   { background: rgba(99, 7, 248, .18); }
  70%  { background: rgba(99, 7, 248, .04); }
  100% { background: transparent; }
}

.lp-dash-feed-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.lp-dash-feed-icon-reservation { background: rgba(99, 7, 248, .12);   color: var(--primary); }
.lp-dash-feed-icon-agreement   { background: rgba(40, 200, 100, .14); color: #128a4c; }
.lp-dash-feed-icon-invoice     { background: rgba(255, 148, 0, .14);  color: #b56900; }
.lp-dash-feed-icon-maintenance { background: rgba(216, 96, 197, .14); color: #a2338c; }

.lp-dash-feed-body { display: flex; flex-direction: column; min-width: 0; }

.lp-dash-feed-title {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-dash-feed-meta {
  font-size: .625rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-dash-feed-time {
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 500;
  color: var(--text-subtle);
  white-space: nowrap;
}

/* Keep the old calendar card styles below so the do-grid still uses them
   for its own "Every vehicle on one live calendar" mockup. */
.lp-cal {
  width: min(100%, 26rem);
  padding: 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(21, 0, 44, .55), 0 12px 24px -12px rgba(21, 0, 44, .3);
  color: var(--text);
}

.lp-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1rem;
}

.lp-cal-title { display: flex; flex-direction: column; }

.lp-cal-label {
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-cal-date {
  margin-top: .1875rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
}

.lp-cal-live {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .1875rem .5rem;
  border-radius: var(--radius-pill);
  background: rgba(40, 200, 100, .12);
  color: #128a4c;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lp-cal-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 100, .55);
  animation: lp-cal-live 1.8s cubic-bezier(.2, .6, .4, 1) infinite;
}

@keyframes lp-cal-live {
  0%   { box-shadow: 0 0 0 0 rgba(40, 200, 100, .55); }
  70%  { box-shadow: 0 0 0 6px rgba(40, 200, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 200, 100, 0); }
}

/* Compact stats strip */
.lp-cal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .625rem;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}

.lp-cal-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1875rem;
}

.lp-cal-stat-value {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.lp-cal-stat-label {
  font-size: .625rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* Grid — the actual schedule visualisation */
.lp-cal-grid {
  position: relative;
  padding: .5rem 0 .75rem;
}

.lp-cal-scale {
  display: flex;
  justify-content: space-between;
  margin-bottom: .625rem;
  padding-left: calc(6.5rem + .5rem);
  font-family: var(--font-display);
  font-size: .5625rem;
  letter-spacing: .04em;
  color: var(--text-subtle);
}

.lp-cal-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .5rem;
  align-items: center;
  padding: .3125rem 0;
}

.lp-cal-row + .lp-cal-row { border-top: 1px dashed var(--border); }

.lp-cal-vehicle { display: flex; flex-direction: column; }

.lp-cal-vehicle-name {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-cal-vehicle-tag {
  font-size: .5625rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-cal-track {
  position: relative;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  overflow: hidden;
}

.lp-cal-block {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  box-shadow: 0 2px 6px -2px rgba(99, 7, 248, .35);
}

.lp-cal-block-a { background: linear-gradient(90deg, #7c51fa 0%, #6307f8 100%); }
.lp-cal-block-b { background: linear-gradient(90deg, #a97cff 0%, #7c51fa 100%); }
.lp-cal-block-c { background: linear-gradient(90deg, #d860c5 0%, #a97cff 100%); }

.lp-cal-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .875rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--text-muted);
}

.lp-cal-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}

.lp-float-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .875rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.lp-float-label {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-float-badge {
  padding: .1875rem .5rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  font-size: .6875rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.lp-float-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem;
  border-radius: var(--radius-sm);
}

/* The selected row is the only violet in the card */
.lp-float-row-active { background: var(--primary-soft); }

.lp-float-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--text-muted);
}

.lp-float-row-active .lp-float-icon { background: var(--primary); color: #fff; }

.lp-float-body { flex: 1; min-width: 0; }

.lp-float-title {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}

.lp-float-meta {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
}

.lp-float-amount {
  flex-shrink: 0;
  font-size: .875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.lp-float-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .875rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--text-muted);
}

.lp-float-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .625rem;
}

/* ── Section shell ─────────────────────────────────────────────────────── */
.lp-section { padding-block: var(--section-gap); }

.lp-section-tint { background: var(--surface-sunken); }

.lp-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.lp-head-center { margin-inline: auto; text-align: center; }

.lp-eyebrow {
  display: block;
  margin-bottom: .875rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}

.lp-title {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text);
}

.lp-lead {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--smoke, #70708f);
}

/* ── Trust strip ───────────────────────────────────────────────────────── */
.lp-trust {
  padding-block: 2.5rem;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.lp-trust-label {
  margin-bottom: 1.5rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-subtle);
}

.lp-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .875rem 1.75rem;
}

.lp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text-muted);
}

.lp-trust-item svg { color: var(--text-subtle); }

/* ── Do-grid — compact tiles for the "and the rest" bucket ─────────────── */
/* The primary content lives in the .lp-showcase items above; this grid is
   just the follow-up strip for the four remaining moments. */
.lp-do-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--element-gap, 1rem);
}

.lp-do-more-head {
  margin: 4rem 0 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.lp-do-more-title {
  margin: .375rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.lp-do {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: var(--card-padding, 1.25rem);
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--text);
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.lp-do:hover {
  transform: translateY(-3px);
  background: #d5d7fd;
}

.lp-do-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .7);
  color: var(--deep-iris);
}

.lp-do-title {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.lp-do-text {
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lp-do-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: .25rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.lp-do:hover .lp-do-more svg { transform: translateX(3px); }

.lp-do-more svg { transition: transform .2s var(--ease); }


/* ── Showcase — photography with a product card laid over it ───────────── */
/* Never a bare photo: every image carries a product overlay, so the picture
   is content rather than decoration. Each showcase item claims a full viewport
   so the story reads one scene at a time. */
.lp-showcase {
  display: grid;
  gap: 0;
}

.lp-show {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 3rem;
}

@media (min-width: 900px) {
  .lp-show { grid-template-columns: 1.15fr 1fr; gap: 4.5rem; }
  .lp-show-flip .lp-show-media,
  .lp-show-flip .lp-mock { order: 2; }
}

.lp-show-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-sunken);
}

.lp-show-media img,
.lp-show-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The card sits inside the frame, bottom-left, like a caption that happens
   to be real product. */
.lp-show-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .875rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

@media (min-width: 560px) {
  .lp-show-card { right: auto; max-width: 19rem; }
}

.lp-show-card-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-show-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  overflow: hidden;
}

.lp-show-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.lp-show-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .5rem;
}

.lp-show-stat b {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lp-show-stat span { font-size: .75rem; color: var(--text-muted); }

.lp-show-title {
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--deep-iris);
  text-wrap: balance;
}

.lp-show-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform .35s var(--ease), letter-spacing .35s var(--ease);
  display: inline-block;
}

.lp-show:hover .lp-show-title em,
.lp-show-title:hover em {
  transform: translateY(-2px);
  letter-spacing: 0;
}

.lp-show-text {
  margin-bottom: 1.75rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

.lp-show-list { display: grid; gap: .875rem; margin-bottom: 2rem; }

.lp-show-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: transform .25s var(--ease), color .25s var(--ease);
}

.lp-show-item:hover {
  transform: translateX(4px);
  color: var(--deep-iris);
}

.lp-show-item svg { flex-shrink: 0; margin-top: .3rem; color: var(--primary); }

.lp-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.lp-link svg { transition: transform .2s var(--ease); }
.lp-link:hover svg { transform: translateX(3px); }

/* ── Showcase product mockups ──────────────────────────────────────────── */
/* Used inside .lp-show-media's slot when a real screenshot doesn't exist
   yet. Each mock reads as a real product surface, and every label is real
   text so it feeds SEO the same as body copy. */
.lp-mock {
  position: relative;
  display: grid;
  place-items: center;
  padding: 3rem 2.25rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(124, 81, 250, .35) 0%, transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(216, 96, 197, .22) 0%, transparent 60%),
    linear-gradient(135deg, #1a0138 0%, #2b0078 100%);
  overflow: hidden;
}

.lp-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, .9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, .9) 0%, transparent 75%);
  pointer-events: none;
}

/* The panel — a white card holding the mock content itself */
.lp-mock-panel {
  position: relative;
  width: 100%;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 40px -20px rgba(21, 0, 44, .45), 0 8px 16px -12px rgba(21, 0, 44, .25);
  color: var(--text);
  font-size: 1.0625rem;
}

.lp-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.lp-mock-eyebrow {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-mock-code {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}

.lp-mock-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .1875rem .4375rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-mock-pill-ok {
  background: rgba(40, 200, 100, .12);
  color: #128a4c;
}

.lp-mock-pill-count {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* When the mock wraps the hero calendar card, the .lp-cal already carries
   its own white panel + shadow, so drop the extra frame padding. */
.lp-mock-calendar { padding: 1rem .5rem; }
.lp-mock-calendar .lp-cal { width: 100%; max-width: none; }

/* Cart lines */
.lp-mock-lines { display: grid; gap: .5rem; margin-bottom: .875rem; }

.lp-mock-line {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: .625rem;
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}

.lp-mock-line-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
}

.lp-mock-line-body { display: flex; flex-direction: column; min-width: 0; }

.lp-mock-line-title {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-mock-line-meta {
  font-size: .75rem;
  color: var(--text-muted);
}

.lp-mock-line-value {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text);
}

/* Cart totals */
.lp-mock-totals {
  display: grid;
  gap: .1875rem;
  margin-bottom: 1rem;
  padding: .75rem .875rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.lp-mock-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--text-muted);
}

.lp-mock-totals-row-final {
  margin-top: .25rem;
  padding-top: .5rem;
  border-top: 1px solid rgba(21, 0, 44, .1);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Cart CTA button (visual only, tabindex=-1 so it never traps focus) */
.lp-mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  width: 100%;
  padding: .75rem 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  cursor: default;
}

/* Signature block */
.lp-mock-signature {
  padding: .5rem .625rem;
  margin-bottom: .625rem;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  border: 1px dashed var(--border-strong);
}

.lp-mock-signature svg { display: block; }

.lp-mock-signature-caption {
  display: block;
  margin-top: .375rem;
  font-size: .625rem;
  color: var(--text-muted);
}

/* Condition photos row */
.lp-mock-photos { margin-bottom: .625rem; }

.lp-mock-photos-label {
  display: block;
  margin-bottom: .375rem;
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.lp-mock-photos-row {
  display: flex;
  gap: .3125rem;
  align-items: center;
}

.lp-mock-photo {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #d5d7fd 0%, #a97cff 100%);
  box-shadow: inset 0 0 0 1px rgba(21, 0, 44, .08);
}

.lp-mock-photo:nth-child(2) { background: linear-gradient(135deg, #ffd6f0 0%, #d860c5 100%); }
.lp-mock-photo:nth-child(3) { background: linear-gradient(135deg, #d5d7fd 0%, #7c51fa 100%); }
.lp-mock-photo:nth-child(4) { background: linear-gradient(135deg, #ffb5ce 0%, #a97cff 100%); }
.lp-mock-photo:nth-child(5) { background: linear-gradient(135deg, #cfd2fd 0%, #6307f8 100%); }
.lp-mock-photo:nth-child(6) { background: linear-gradient(135deg, #ffd6f0 0%, #7c51fa 100%); }

.lp-mock-photos-more {
  padding: 0 .375rem;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font-size: .625rem;
  font-weight: 500;
  color: var(--text-muted);
}

.lp-mock-meta {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .6875rem;
  color: var(--text-subtle);
}

.lp-mock-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 7, 248, .18);
}

/* Invoice amount */
.lp-mock-amount { margin-bottom: .75rem; text-align: center; }

.lp-mock-amount-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}

.lp-mock-amount-note {
  display: block;
  margin-top: .25rem;
  font-size: .6875rem;
  color: var(--text-muted);
}

.lp-mock-progress { margin-bottom: .625rem; }

.lp-mock-progress-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  overflow: hidden;
}

.lp-mock-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7c51fa 0%, #6307f8 100%);
}

.lp-mock-progress-scale {
  display: flex;
  justify-content: space-between;
  margin-top: .3125rem;
  font-size: .625rem;
  color: var(--text-muted);
}

.lp-mock-payments { display: grid; gap: .375rem; }

.lp-mock-payment {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .625rem;
  padding: .5rem .625rem;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font-size: .75rem;
  align-items: center;
}

.lp-mock-payment-brand { font-weight: 500; color: var(--text); }
.lp-mock-payment-meta  { font-size: .625rem; color: var(--text-muted); }
.lp-mock-payment-amount {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 899px) {
  .lp-mock { padding: 1.5rem 1rem; }
}

/* ── Motion loops ──────────────────────────────────────────────────────── */
/* Short muted clips standing in for animated stills — one per service type. */
.lp-loops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.lp-loop {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--deep-iris);
  color: #fff;
}

.lp-loop video,
.lp-loop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.lp-loop:hover video,
.lp-loop:hover img { transform: scale(1.04); }

.lp-loop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(21, 0, 44, .10) 0%,
              rgba(21, 0, 44, .35) 42%,
              rgba(21, 0, 44, .80) 68%,
              rgba(21, 0, 44, .95) 100%);
}

.lp-loop-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.25rem;
}

.lp-loop-tag {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .1875rem .5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .16);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.lp-loop-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.lp-loop-text {
  margin-top: .375rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}

/* ── Reviews ───────────────────────────────────────────────────────────── */
.lp-rating {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 2.5rem;
  padding: .625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: .875rem;
}

.lp-stars { display: inline-flex; gap: .125rem; color: var(--primary); }

.lp-rating-meta { color: var(--text-muted); }

.lp-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.lp-review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--card-padding, 1.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-review-quote {
  flex: 1;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--text);
}

.lp-review-who {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.lp-review-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.lp-review-name {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
}

.lp-review-role {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── Roles — one platform, every user ──────────────────────────────────── */
/* Icon-led card grid. Four roles laid out in a single row on desktop, each
   card a clean surface with a tinted glyph, feature list and portal cue. */
.lp-title-accent {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.lp-roles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .lp-roles { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.lp-role {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(21, 0, 44, .04);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.lp-role:hover {
  transform: translateY(-4px);
  border-color: var(--primary-soft);
  box-shadow: 0 24px 40px -28px rgba(21, 0, 44, .35);
}

.lp-role-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--primary-softer);
  color: var(--primary);
}

.lp-role-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lp-role-title {
  margin: 0 0 .625rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--text);
}

.lp-role-lead {
  margin: 0 0 1.5rem;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lp-role-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: .625rem;
}

.lp-role-item {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--text);
}

.lp-role-item svg {
  flex-shrink: 0;
  margin-top: .25rem;
  color: var(--primary);
}

.lp-role-portal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--primary);
}

.lp-role-portal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 7, 248, .16);
}

/* ── Closing CTA ───────────────────────────────────────────────────────── */
.lp-cta {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-gap);
  overflow: hidden;
  background: var(--deep-iris);
  color: #fff;
  text-align: center;
}

.lp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-iris-glow);
}

.lp-cta-title {
  max-width: 30rem;
  margin: 0 auto 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
}

.lp-cta-lead {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .78);
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.lp-cta-actions .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lp-cta-actions .btn-ghost:hover { background: #fff; color: var(--deep-iris); }

.lp-cta-note {
  margin-top: 1.25rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
}

/* Anyone who has asked for less motion gets stills, not loops. */
@media (prefers-reduced-motion: reduce) {
  .lp-loop video,
  .lp-show-media video { display: none; }

  .lp-do:hover { transform: none; }
  .lp-loop:hover video,
  .lp-loop:hover img { transform: none; }
  .lp-role:hover { transform: none; }

  .lp-hero-dot::before,
  .lp-cal-live-dot,
  .lp-dash-live-dot,
  .lp-dash-feed-item-new { animation: none; }
  .lp-hero-glow-a,
  .lp-hero-glow-b { transform: none; transition: none; }
}

/* ── Tour + FAQ split ──────────────────────────────────────────────────── */
/* Video on the left, questions on the right. Six-and-six at desktop; the
   video stacks above the questions on anything narrower. */
.lp-faq-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .lp-faq-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

.lp-tour-lead,
.lp-faq-lead { margin-bottom: 1.75rem; }

/* The tour column pins while the questions scroll past it */
@media (min-width: 960px) {
  .lp-tour { position: sticky; top: calc(var(--nav-height) + 2rem); }
}

.lp-tour-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--deep-iris);
}

.lp-tour-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sits over the poster until the tour starts, then gets out of the way */
.lp-tour-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  background: linear-gradient(180deg, rgba(21, 0, 44, .25) 0%, rgba(21, 0, 44, .6) 100%);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease), opacity .25s var(--ease);
}

.lp-tour-play:hover { background: linear-gradient(180deg, rgba(21, 0, 44, .35) 0%, rgba(21, 0, 44, .7) 100%); }

.lp-tour-frame.is-playing .lp-tour-play {
  opacity: 0;
  pointer-events: none;
}

.lp-tour-play-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px; /* optically centres the triangle in the circle */
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  transition: transform .25s var(--ease);
}

.lp-tour-play:hover .lp-tour-play-icon { transform: scale(1.06); }

.lp-tour-play-text {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.lp-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* The accordion is shared with /faq and /about, so only the spacing above it
   is adjusted here — the item styling stays in the FAQ layer. */
.lp-faq .accordion { margin-top: 0; }

/* ── Page hero ─────────────────────────────────────────────────────────── */
/* The lighter counterpart to the landing hero: same deep-iris band and single
   atmospheric wash, no video, sized for an inner page. */
.lp-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep-iris);
  color: #fff;
  text-align: center;
}

.lp-page-hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-violet-twilight);
  opacity: .55;
}

.lp-page-hero-inner {
  padding-top: calc(var(--nav-height) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

/* The eyebrow is violet on light sections; on the dark band it borrows the
   rose stop from the gradient so it stays legible. */
.lp-eyebrow-light { color: var(--rose); }

.lp-page-hero-title {
  max-width: 22ch;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-page-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.lp-page-hero-lead {
  max-width: 44ch;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

.lp-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.lp-page-hero-actions .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.lp-page-hero-actions .btn-ghost:hover { background: #fff; color: var(--deep-iris); }

/* ── Lifecycle flow ────────────────────────────────────────────────────── */
/* A vertical timeline that becomes a horizontal one once there is room. The
   connector is drawn on the step, not between them, so the last one can drop
   it without a :not() chain. */
.lp-flow {
  display: grid;
  gap: 1.75rem;
  counter-reset: flow;
}

.lp-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-areas:
    'node index'
    'node name'
    'node note';
  align-items: start;
  column-gap: 1rem;
  padding-bottom: 1.75rem;
}

/* The line running between nodes */
.lp-flow-step::before {
  content: '';
  position: absolute;
  top: 44px;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: var(--border);
}

.lp-flow-step:last-child { padding-bottom: 0; }
.lp-flow-step:last-child::before { display: none; }

.lp-flow-node {
  grid-area: node;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--deep-iris);
}

.lp-flow-index {
  grid-area: index;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.lp-flow-name {
  grid-area: name;
  margin-top: .125rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text);
}

.lp-flow-note {
  grid-area: note;
  margin-top: .25rem;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  /* One row, however many steps the page passes in — columns split the
     container evenly so a four-step flow fills it as well as a six-step one */
  .lp-flow {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0;
  }

  .lp-flow-step {
    grid-template-columns: 1fr;
    grid-template-areas: 'node' 'index' 'name' 'note';
    grid-template-rows: 44px auto auto auto;
    align-content: start;
    padding: 0 .75rem;
    text-align: center;
    justify-items: center;
  }

  /* Horizontal connector, sitting behind the nodes at their centre line */
  .lp-flow-step::before {
    top: 21px;
    bottom: auto;
    left: 50%;
    right: -50%;
    width: auto;
    height: 2px;
  }

  .lp-flow-name { font-size: 1.125rem; }
  .lp-flow-note { max-width: 22ch; }
}

/* ── Pricing models ────────────────────────────────────────────────────── */
.lp-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.lp-model {
  display: flex;
  flex-direction: column;
  padding: var(--card-padding, 1.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.lp-model-tag {
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .1875rem .5rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--primary-dark);
}

.lp-model-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.lp-model-basis {
  margin-top: .25rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* The formula is the point of the card, so it gets a surface of its own */
.lp-model-formula {
  display: block;
  margin: 1rem 0 .875rem;
  padding: .625rem .75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .8125rem;
  color: var(--deep-iris);
}

.lp-model-note {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lp-models-foot {
  margin-top: 1.5rem;
  font-size: .875rem;
  text-align: center;
  color: var(--text-muted);
}

/* ── Capability grid ───────────────────────────────────────────────────── */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.lp-feature {
  display: flex;
  flex-direction: column;
  padding: var(--card-padding, 1.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

/* Only the ones that lead somewhere lift and colour on hover */
a.lp-feature:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

a.lp-feature:hover .lp-feature-icon { background: var(--primary); color: #fff; }
a.lp-feature:hover .lp-feature-more svg { transform: translateX(3px); }

.lp-feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: .875rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--deep-iris);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.lp-feature-title {
  margin-bottom: .375rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

.lp-feature-desc {
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lp-feature-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: .875rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.lp-feature-more svg { transition: transform .2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  a.lp-feature:hover { transform: none; }
}

/* ── Compare page ──────────────────────────────────────────────────────── */
/* Three alternative cards, then the matrix. The matrix is the page, so it is
   the only table on the site allowed a sticky first column: five columns on a
   phone is a horizontal scroll, and the scroll is useless if the row label
   leaves with it. */

.cmp-alts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.cmp-alt {
  display: flex;
  flex-direction: column;
  padding: var(--card-padding, 1.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.cmp-alt-name {
  margin-bottom: 1.125rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.cmp-alt-notes { margin: 0; }

.cmp-alt-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .25rem;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* A dot each, so the two halves of the card read apart at a glance without
   colouring the body text itself */
.cmp-alt-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.cmp-alt-label-good  { color: var(--success); }
.cmp-alt-label-break { color: var(--danger); }
.cmp-alt-label-break { margin-top: 1rem; }

.cmp-alt-text {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cmp-alt-with {
  margin-top: auto;
  padding-top: 1.125rem;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text);
}

.cmp-alt-with-label {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

/* --- Legend ------------------------------------------------------------ */
.cmp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.cmp-legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--text-muted);
}

/* --- Marks ------------------------------------------------------------- */
.cmp-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.cmp-mark-yes  { background: var(--success-soft); color: var(--success); }
.cmp-mark-part { background: var(--surface-sunken); color: var(--text-subtle); }
.cmp-mark-no   { background: var(--danger-soft);  color: var(--danger); }

/* --- Matrix ------------------------------------------------------------ */
.cmp-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.cmp-matrix-wrap:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cmp-matrix {
  width: 100%;
  min-width: 46rem;
  border-collapse: separate; /* sticky cells need separate borders */
  border-spacing: 0;
  font-size: .875rem;
}

.cmp-matrix-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cmp-matrix th,
.cmp-matrix td {
  padding: .875rem 1rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

/* The head is not sticky: inside a horizontally scrolling wrapper it detaches
   from the table and lands on top of the first rows. */
.cmp-matrix thead th {
  z-index: 2;
  background: var(--surface-sunken);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* The product's own column carries the only fill on the page */
.cmp-matrix thead .cmp-col-us {
  background: var(--deep-iris);
  font-size: .8125rem;
  color: #fff;
}

.cmp-cell-us { background: var(--primary-softer); }

/* Row labels stay put while the alternatives scroll under them */
.cmp-col-feature,
.cmp-row-head {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 15rem;
  text-align: left;
  background: var(--surface);
}

.cmp-matrix thead .cmp-col-feature { z-index: 3; background: var(--surface-sunken); }

.cmp-row-head { padding-block: .75rem; }

.cmp-row-name {
  display: block;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.cmp-row-note {
  display: block;
  margin-top: .1875rem;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-subtle);
}

/* Group headers break the sixteen rows into four readable runs */
.cmp-group th {
  position: sticky;
  left: 0;
  padding: .625rem 1rem;
  text-align: left;
  background: var(--surface-sunken);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cmp-matrix tbody tr:last-child th,
.cmp-matrix tbody tr:last-child td { border-bottom: none; }

.cmp-cell-text {
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.cmp-matrix-foot {
  margin-top: 1.25rem;
  font-size: .8125rem;
  text-align: center;
  color: var(--text-muted);
}

.cmp-matrix-foot a { color: var(--primary-dark); font-weight: 500; }
.cmp-matrix-foot a:hover { text-decoration: underline; }

/* --- Where it does not fit --------------------------------------------- */
.cmp-fit-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .cmp-fit-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
  .cmp-fit-intro { position: sticky; top: calc(var(--nav-height) + 2rem); }
}

.cmp-fit-intro .lp-lead { margin-bottom: 1.75rem; }

.cmp-fit-action { align-self: flex-start; }

.cmp-fit-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cmp-fit;
}

.cmp-fit-item {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: cmp-fit;
}

.cmp-fit-item::before {
  content: counter(cmp-fit, decimal-leading-zero);
  position: absolute;
  top: 1.3rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-subtle);
}

.cmp-fit-case {
  margin-bottom: .25rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.cmp-fit-why {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --- Questions --------------------------------------------------------- */
.cmp-accordion {
  max-width: 44rem;
  margin-inline: auto;
}

/* On a phone the label column has to give ground, or the marks it exists to
   explain never come into view */
@media (max-width: 640px) {
  .cmp-matrix { min-width: 40rem; font-size: .8125rem; }
  .cmp-matrix th,
  .cmp-matrix td { padding: .75rem .625rem; }
  .cmp-col-feature,
  .cmp-row-head { min-width: 11.5rem; }
  .cmp-row-name { font-size: .8125rem; }
  .cmp-row-note { font-size: .6875rem; }
}

/* ==========================================================================
   Tenant / per-organisation public pages
   --------------------------------------------------------------------------
   Company profile at /company-name and vehicle detail at /company-name/vehicle-name.
   Prefix: .cp-* for the company (profile) page, .vp-* for the vehicle page.
   ========================================================================== */

/* ── Company hero ─────────────────────────────────────────────────────── */
.cp-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--nav-height) + 3rem) 0 2.5rem;
  background: var(--deep-iris);
  color: #fff;
  overflow: hidden;
}
.cp-hero-wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 81, 250, .45) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(216, 96, 197, .28) 0%, transparent 55%);
}
.cp-hero-inner { position: relative; }

.cp-hero-brand { display: flex; align-items: flex-start; gap: 1.5rem; }

.cp-hero-mark {
  flex-shrink: 0;
  width: 80px; height: 80px;
  display: grid; place-items: center;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.02em;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.cp-hero-mark-sm { width: 48px; height: 48px; font-size: 1.25rem; }

.cp-hero-copy { flex: 1; min-width: 0; }

.cp-hero-eyebrow {
  display: inline-block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.cp-hero-title {
  max-width: 22ch;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.6vw, 4.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.cp-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.cp-hero-lead {
  max-width: 34rem;
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}

.cp-hero-description {
  max-width: 34rem;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}

/* Stats on one row, social icons directly below */
.cp-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* Stats: one frosted strip with hairline dividers. Only the figures a company
   really has are rendered, so the strip sizes to its content instead of
   reserving four columns. */
.cp-hero-stats {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.cp-hero-social {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cp-hero-social-link {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.cp-hero-social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .32);
  transform: translateY(-1px);
  text-decoration: none;
}

.cp-hero-stat { display: flex; align-items: center; gap: .75rem; padding: .875rem 1.5rem; }
.cp-hero-stat + .cp-hero-stat { border-left: 1px solid rgba(255, 255, 255, .14); }

.cp-hero-stat-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .1);
  font-size: .875rem;
  color: #fff;
}
.cp-hero-stat-body { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.cp-hero-stat-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.1; color: #fff; }
.cp-hero-stat-label { font-size: .75rem; color: rgba(255, 255, 255, .7); white-space: nowrap; }

/* Phones: a 2 × 2 grid, with the dividers redrawn along the grid lines */
@media (max-width: 719px) {
  .cp-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .cp-hero-stat { padding: .75rem 1rem; }
  .cp-hero-stat + .cp-hero-stat { border-left: 0; }
  .cp-hero-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }
  .cp-hero-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .cp-hero-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cp-hero-stat-label { white-space: normal; }
}

/* Cover photo and logo — both set from the organisation's Company Profile */
.cp-hero-cover {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cp-hero-has-cover .cp-hero-wash {
  background:
    linear-gradient(90deg, rgba(21, 0, 44, .78) 0%, rgba(21, 0, 44, .52) 55%, rgba(21, 0, 44, .2) 100%),
    radial-gradient(circle at 20% 20%, rgba(124, 81, 250, .22) 0%, transparent 50%);
}
/* The lighter wash lets more of the photo through; a soft shadow keeps the
   white text readable over bright covers */
.cp-hero-has-cover .cp-hero-eyebrow,
.cp-hero-has-cover .cp-hero-title,
.cp-hero-has-cover .cp-hero-lead,
.cp-hero-has-cover .cp-hero-description { text-shadow: 0 1px 12px rgba(21, 0, 44, .55); }
.cp-hero-mark { overflow: hidden; }
.cp-hero-mark img { width: 100%; height: 100%; padding: .5rem; object-fit: contain; }

/* Shown to the organisation's own team while the profile is unpublished */
.cp-hero-notice {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .375rem;
  margin: 0 0 1.5rem;
  padding: .375rem .875rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .08);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .9);
}
.cp-hero-notice a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

.cp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }
.cp-hero-actions:empty { display: none; }

/* Hero actions: WhatsApp in its own green (the same as the floating button),
   a white call button and the fleet as a plain link. Solid fills stay
   readable over any cover photo. */
.cp-hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px;
  padding: .75rem 1.375rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.cp-hero-btn i { font-size: 1rem; }
.cp-hero-btn:hover { transform: translateY(-1px); }
.cp-hero-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cp-hero-btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.cp-hero-btn-whatsapp i { font-size: 1.125rem; }
.cp-hero-btn-whatsapp:hover { background: #1ebe57; color: #fff; box-shadow: 0 14px 28px -10px rgba(37, 211, 102, .75); }

.cp-hero-btn-call { background: #fff; color: var(--deep-iris); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.cp-hero-btn-call i { color: var(--primary); }
.cp-hero-btn-call:hover { background: var(--primary-softer); color: var(--deep-iris); }

.cp-hero-link {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .5rem .25rem;
  font-size: .9375rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.cp-hero-link span { transition: transform .2s var(--ease); }
.cp-hero-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cp-hero-link:hover span { transform: translateX(3px); }
.cp-hero-link:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: var(--radius-sm); }

@media (max-width: 559px) {
  .cp-hero-btn,
  .cp-hero-link { flex: 1 1 100%; }
  .cp-hero-link { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-hero-btn,
  .cp-hero-link span { transition: none; }
  .cp-hero-btn:hover { transform: none; }
}

/* ── Section head ─────────────────────────────────────────────────────── */
.cp-section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 780px) {
  .cp-section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.cp-eyebrow {
  display: block;
  margin-bottom: .375rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.cp-section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

/* Tabs */
.cp-tabs { display: inline-flex; gap: .25rem; padding: .25rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); }
.cp-tab {
  padding: .5rem 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.cp-tab:hover { color: var(--text); }
.cp-tab-active { background: var(--primary); color: #fff; }
.cp-tab-active:hover { color: #fff; }

/* ── Fleet grid ───────────────────────────────────────────────────────── */
.cp-fleet { padding: 3.5rem 0; }

.cp-fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .cp-fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cp-fleet-grid { grid-template-columns: repeat(3, 1fr); } }

.cp-vehicle {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    transform .25s var(--ease),
    border-color .25s var(--ease),
    box-shadow .25s var(--ease),
    opacity .25s var(--ease);
}
.cp-vehicle:hover {
  transform: translateY(-3px);
  border-color: var(--primary-soft);
  box-shadow: 0 24px 40px -28px rgba(21, 0, 44, .35);
}

/* Filter animation — leaving cards fade + drop, entering cards fade + rise. */
.cp-vehicle-leaving {
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
}
.cp-vehicle-entering {
  animation: cp-vehicle-in .45s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes cp-vehicle-in {
  0%   { opacity: 0; transform: translateY(14px) scale(.97); }
  100% { opacity: 1; transform: translateY(0)   scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cp-vehicle-leaving,
  .cp-vehicle-entering { animation: none; transition: none; transform: none; opacity: 1; }
}

.cp-fleet-empty {
  margin: 2rem 0 0;
  padding: 2rem;
  text-align: center;
  font-size: .9375rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
}
.cp-fleet-empty a { color: var(--primary); text-decoration: underline; }

.cp-vehicle-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-sunken); }
.cp-vehicle-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.cp-vehicle:hover .cp-vehicle-media img { transform: scale(1.04); }

.cp-vehicle-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 1;
  padding: .25rem .5rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.cp-vehicle-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; gap: .5rem; }
.cp-vehicle-class { font-size: .75rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.cp-vehicle-name { margin: 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--text); }
.cp-vehicle-name a { color: inherit; text-decoration: none; }
.cp-vehicle-name a:hover { color: var(--primary); }

.cp-vehicle-specs {
  list-style: none; padding: 0; margin: .25rem 0 0;
  display: flex; flex-wrap: wrap; gap: .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
}
.cp-vehicle-specs li { display: inline-flex; align-items: center; gap: .3125rem; }
.cp-vehicle-specs svg { flex-shrink: 0; color: var(--text-subtle); }

.cp-vehicle-foot {
  margin: auto -1.25rem -1.25rem;
  padding: 0;
  border-top: 1px solid var(--border);
  background: var(--surface-sunken);
}

.cp-vehicle-prices {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
}
.cp-vehicle-prices[data-count="1"] { --cols: 1; }
.cp-vehicle-prices[data-count="2"] { --cols: 2; }
.cp-vehicle-prices[data-count="3"] { --cols: 3; }

.cp-vehicle-price-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem;
  padding: .875rem .5rem;
  text-align: center;
  border-left: 1px solid var(--border);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.cp-vehicle-price-cell:first-child { border-left: 0; }
.cp-vehicle-price-cell:hover {
  background: var(--surface);
}
.cp-vehicle:hover .cp-vehicle-price-cell:hover .cp-vehicle-price-value {
  color: var(--primary);
}

.cp-vehicle-price-label {
  display: inline-flex; align-items: center; gap: .3125rem;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.cp-vehicle-price-icon { display: inline-flex; color: var(--text-subtle); }
.cp-vehicle-price-cell:hover .cp-vehicle-price-icon { color: var(--primary); }

.cp-vehicle-price-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  transition: color .2s var(--ease);
}

.cp-vehicle-price-request {
  display: block;
  padding: 1rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── About + contact ──────────────────────────────────────────────────── */
.cp-about { padding: 3.5rem 0; background: var(--surface-sunken); }

.cp-about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .cp-about-grid { grid-template-columns: 1.6fr 1fr; gap: 3rem; } }

.cp-about-copy .cp-section-title { margin-bottom: 1rem; }
.cp-about-text { font-size: 1rem; line-height: 1.7; color: var(--text-muted); margin: 0 0 1rem; }

.cp-about-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .625rem; }
.cp-about-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; color: var(--text); }
.cp-about-list svg { flex-shrink: 0; margin-top: .1875rem; color: var(--primary); }

.cp-contact-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, .04));
}
.cp-contact-title { margin: 0 0 1rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--text); }
.cp-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .875rem; }
.cp-contact-list li { display: flex; flex-direction: column; gap: .125rem; font-size: .9375rem; color: var(--text); }
.cp-contact-label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 500; }
.cp-contact-list a { color: var(--primary); text-decoration: none; }
.cp-contact-list a:hover { text-decoration: underline; }

/* Only a contact card, or only copy — no empty second column */
@media (min-width: 900px) { .cp-about-grid.cp-about-grid-solo { grid-template-columns: minmax(0, 40rem); } }

.cp-areas-title {
  margin: 1.75rem 0 .75rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cp-areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cp-areas li {
  padding: .375rem .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .875rem;
  color: var(--text);
}

.cp-contact-actions { display: grid; gap: .5rem; margin-top: 1.5rem; }

.cp-contact-social {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.cp-contact-social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.cp-contact-social a:hover { color: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   Vehicle detail page (.vp-*)
   ========================================================================== */

.cp-crumbs { padding: calc(var(--nav-height) + 1.5rem) 0 0; font-size: .8125rem; color: var(--text-muted); }
.cp-crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cp-crumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.cp-crumbs li + li::before { content: '/'; color: var(--text-subtle); }
.cp-crumbs a { color: var(--text-muted); text-decoration: none; }
.cp-crumbs a:hover { color: var(--primary); }
.cp-crumbs [aria-current] { color: var(--text); font-weight: 500; }

.vp-header { padding: 1.5rem 0 2rem; }
.vp-header-inner {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 720px) { .vp-header-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.vp-title {
  margin: 0 0 .5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.vp-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; font-size: .875rem; color: var(--text-muted); }
.vp-meta-item { display: inline-flex; align-items: center; gap: .375rem; }
.vp-meta-item svg { color: var(--text-subtle); }
.vp-meta-item a { color: var(--primary); text-decoration: none; }
.vp-meta-item a:hover { text-decoration: underline; }

.vp-header-price { display: flex; align-items: baseline; gap: .375rem; }
.vp-header-price-from { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.vp-header-price-value { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--text); line-height: 1; }
.vp-header-price-unit { font-size: .9375rem; color: var(--text-muted); }
.vp-header-price-request { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--text-muted); }

/* Shown to the organisation's own team while the profile is a draft */
.vp-notice {
  display: inline-flex; flex-wrap: wrap; gap: .375rem;
  margin: 0 0 1rem;
  padding: .375rem .875rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  font-size: .8125rem;
  color: var(--text);
}
.vp-notice a { color: var(--primary); font-weight: 500; }

/* Body grid */
.vp-body { padding-bottom: 3.5rem; }
.vp-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 960px) { .vp-grid { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; } }

.vp-main { display: grid; gap: 2rem; }
.vp-side { position: sticky; top: calc(var(--nav-height, 76px) + 1rem); display: grid; gap: 1rem; }
@media (max-width: 959px) { .vp-side { position: static; } }

/* Gallery */
.vp-gallery { display: grid; gap: .5rem; }
.vp-gallery-main {
  position: relative;
  padding: 0; margin: 0; border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.vp-gallery-main:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.vp-gallery-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .15s var(--ease), transform .35s var(--ease);
}
.vp-gallery-main:hover img { transform: scale(1.02); }

.vp-gallery-zoom {
  position: absolute;
  right: .875rem; bottom: .875rem;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(21, 0, 44, .6);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background .2s var(--ease);
}
.vp-gallery-main:hover .vp-gallery-zoom { background: var(--primary); }

.vp-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.vp-gallery-thumb {
  padding: 0; border: 2px solid transparent;
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: none;
  aspect-ratio: 16 / 10;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.vp-gallery-thumb:hover { border-color: var(--primary-soft); transform: translateY(-1px); }
.vp-gallery-thumb:focus-visible { border-color: var(--primary); outline: none; }
.vp-gallery-thumb.is-active { border-color: var(--primary); }
.vp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.vp-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 3rem;
  background: rgba(10, 0, 24, .92);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.vp-lightbox[hidden] { display: none; }
.vp-lightbox.is-open { opacity: 1; }

.vp-lightbox-stage {
  position: relative;
  margin: 0;
  max-width: min(100%, 1200px);
  max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.vp-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  animation: vp-lb-in .25s ease both;
}
@keyframes vp-lb-in {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

.vp-lightbox-caption {
  font-family: var(--font-display);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .05em;
}

.vp-lightbox-close,
.vp-lightbox-nav {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.vp-lightbox-close:hover,
.vp-lightbox-nav:hover { background: rgba(255, 255, 255, .22); }
.vp-lightbox-close:focus-visible,
.vp-lightbox-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.vp-lightbox-close { top: 1.25rem; right: 1.25rem; }
.vp-lightbox-nav { top: 50%; transform: translateY(-50%); }
.vp-lightbox-prev { left: 1.25rem; }
.vp-lightbox-next { right: 1.25rem; }
.vp-lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 640px) {
  .vp-lightbox { padding: 3.5rem .75rem; }
  .vp-lightbox-close,
  .vp-lightbox-nav { width: 40px; height: 40px; }
  .vp-lightbox-close { top: .75rem; right: .75rem; }
  .vp-lightbox-prev { left: .5rem; }
  .vp-lightbox-next { right: .5rem; }
  .vp-lightbox-stage img { max-height: 70vh; }
}

/* Content blocks */
.vp-block {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}
.vp-block-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}

/* Specs grid */
.vp-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .vp-specs { grid-template-columns: repeat(4, 1fr); } }
.vp-spec { display: flex; flex-direction: column; gap: .25rem; padding: .5rem 0; }
.vp-spec-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--primary-softer); color: var(--primary); margin-bottom: .25rem; }
.vp-spec-label { font-size: .75rem; color: var(--text-muted); }
.vp-spec-value { font-size: .875rem; font-weight: 600; color: var(--text); }

/* Feature list */
.vp-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .625rem; }
@media (min-width: 640px) { .vp-features { grid-template-columns: 1fr 1fr; } }
.vp-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: .9375rem; color: var(--text); }
.vp-features svg { flex-shrink: 0; margin-top: .25rem; color: var(--primary); }

/* Pricing table */
.vp-pricing { display: grid; gap: .625rem; }
.vp-pricing-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .875rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}
.vp-pricing-label { display: block; font-weight: 600; color: var(--text); font-size: .9375rem; }
.vp-pricing-note { display: block; font-size: .75rem; color: var(--text-muted); }
.vp-pricing-value { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.vp-pricing-unit { font-size: .75rem; font-weight: 400; color: var(--text-muted); }

/* Rate card — one group per service (legacy expanded view) */
.vp-rate-group + .vp-rate-group { margin-top: 1.5rem; }
.vp-rate-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .625rem; }
.vp-rate-title { margin: 0; font-family: var(--font-display); font-size: .9375rem; font-weight: 600; color: var(--text); }
.vp-rate-headline { font-family: var(--font-display); font-weight: 700; color: var(--text); white-space: nowrap; }
.vp-rate-empty { margin: 0; font-size: .875rem; color: var(--text-muted); }
.vp-block-text { margin: 0; font-size: .9375rem; line-height: 1.7; color: var(--text-muted); }

/* Minimal rate cards — one row per service, title + subtitle left, big price right */
.vp-rate-list {
  display: grid;
  gap: .75rem;
}

.vp-rate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.vp-rate-card:hover {
  border-color: rgba(124, 81, 250, .35);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.vp-rate-card-body { min-width: 0; }

.vp-rate-card-title {
  margin: 0 0 .2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.vp-rate-card-sub {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.vp-rate-card-price {
  display: inline-flex;
  align-items: baseline;
  gap: .15rem;
  white-space: nowrap;
}

.vp-rate-card-amount {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.vp-rate-card-unit {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.vp-rate-card-request {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.vp-rate-card-note {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .5rem;
  padding: .1875rem .5rem;
  font-size: .75rem;
  font-weight: 500;
  color: #0a7d3d;
  background: rgba(16, 185, 129, .1);
  border-radius: 999px;
  line-height: 1.3;
}

.vp-rate-card-note i {
  font-size: .6875rem;
}

@media (max-width: 480px) {
  .vp-rate-card { padding: 1rem 1.15rem; gap: .6rem; }
  .vp-rate-card-title { font-size: 1rem; }
}

/* Terms footer under the rate list */
.vp-rate-terms { margin-top: 1.5rem; }
.vp-rate-terms-title {
  margin: 0 0 .625rem;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Sticky booking widget */
.vp-booking {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -28px rgba(21, 0, 44, .35);
}
.vp-booking-price { display: flex; align-items: baseline; gap: .375rem; }
.vp-booking-price-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); line-height: 1; }
.vp-booking-price-unit { font-size: .9375rem; color: var(--text-muted); }
.vp-booking-sub { margin: .375rem 0 1.25rem; font-size: .8125rem; color: var(--text-muted); }

.vp-booking-form { display: grid; gap: .5rem; }
.vp-booking-field { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.vp-booking-field label { font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0; }
[data-step="1"], [data-step="2"] { display: grid; gap: .5rem; }
.vp-booking-field select,
.vp-booking-field input {
  padding: .5625rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
  background: var(--surface);
  min-width: 0;
}
.vp-booking-field select:focus,
.vp-booking-field input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.vp-booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }

/* Enquiry card: service switch and contact fallbacks */
.vp-booking-price-request { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--text); }
/* One per service; the enquiry script shows the selected one */
.vp-booking-price-option { display: inline-flex; align-items: baseline; gap: .375rem; }
.vp-booking-price-option[hidden] { display: none; }
.vp-service-tabs { display: flex; width: 100%; }
.vp-service-tabs .cp-tab { flex: 1; text-align: center; cursor: pointer; }
.vp-service-tabs .cp-tab:focus-within { outline: 2px solid var(--primary); outline-offset: 1px; }
.vp-booking-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1rem; font-size: .8125rem; }
.vp-booking-contact a { color: var(--primary); text-decoration: none; }
.vp-booking-contact a:hover { text-decoration: underline; }

/* Booking form: textarea + optional label + honeypot + toast/error/quote/spinner */
.vp-booking-field textarea {
  padding: .5625rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  resize: vertical;
  min-height: 3rem;
}
.vp-booking-field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.vp-booking-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-subtle); }
.vp-booking-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }

.vp-booking-error { font-size: .75rem; color: #b3261e; margin-top: -.125rem; }
.vp-booking-availability {
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  background: #fef3c7;
  color: #92400e;
  font-size: .8125rem;
  border: 1px solid #fde68a;
}
.vp-booking-toast {
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  background: #fee2e2;
  color: #991b1b;
  font-size: .8125rem;
  border: 1px solid #fecaca;
}
.vp-booking-quote {
  display: grid;
  gap: .125rem;
  padding: .75rem .875rem;
  border-radius: var(--radius-sm);
  background: rgba(21, 0, 44, .04);
  border: 1px solid var(--border);
}
.vp-booking-quote-label { font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.vp-booking-quote-value { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.vp-booking-quote-note { font-size: .75rem; color: var(--text-subtle); }

.vp-booking-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: vp-booking-spin .6s linear infinite;
  vertical-align: middle;
}
@keyframes vp-booking-spin { to { transform: rotate(360deg); } }

/* ── Date picker (flatpickr), themed to the site ──────────────────────── */
/* flatpickr's own stylesheet loads after this one, so every calendar rule is
   scoped under .vp-datepicker (added in the page script) to outrank it. */
.vp-booking-field input.flatpickr-input[readonly] {
  cursor: pointer;
  padding-right: 2.25rem;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a5a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") no-repeat right .75rem center;
}

.vp-datepicker.flatpickr-calendar {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
}
.vp-datepicker.flatpickr-calendar.arrowTop::before,
.vp-datepicker.flatpickr-calendar.arrowTop::after,
.vp-datepicker.flatpickr-calendar.arrowBottom::before,
.vp-datepicker.flatpickr-calendar.arrowBottom::after { display: none; }

.vp-datepicker .flatpickr-months .flatpickr-month { color: var(--text); fill: var(--text); }
.vp-datepicker .flatpickr-current-month { font-family: var(--font-display); font-size: 1rem; }
.vp-datepicker .flatpickr-current-month .cur-month,
.vp-datepicker .flatpickr-current-month input.cur-year { font-weight: 600; }
.vp-datepicker .flatpickr-months .flatpickr-prev-month,
.vp-datepicker .flatpickr-months .flatpickr-next-month { color: var(--text-muted); fill: var(--text-muted); }
.vp-datepicker .flatpickr-months .flatpickr-prev-month:hover svg,
.vp-datepicker .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--primary); }

.vp-datepicker span.flatpickr-weekday { font-size: .75rem; font-weight: 500; color: var(--text-subtle); }

.vp-datepicker .flatpickr-day { border-radius: var(--radius-sm); color: var(--text); }
.vp-datepicker .flatpickr-day:hover,
.vp-datepicker .flatpickr-day:focus { background: var(--primary-soft); border-color: var(--primary-soft); }
.vp-datepicker .flatpickr-day.today { border-color: var(--primary-light); }
.vp-datepicker .flatpickr-day.today:hover,
.vp-datepicker .flatpickr-day.today:focus { background: var(--primary-soft); border-color: var(--primary-light); color: var(--text); }
.vp-datepicker .flatpickr-day.selected,
.vp-datepicker .flatpickr-day.selected:hover,
.vp-datepicker .flatpickr-day.selected:focus { background: var(--primary); border-color: var(--primary); color: #fff; }
.vp-datepicker .flatpickr-day.flatpickr-disabled,
.vp-datepicker .flatpickr-day.flatpickr-disabled:hover,
.vp-datepicker .flatpickr-day.prevMonthDay,
.vp-datepicker .flatpickr-day.nextMonthDay { color: var(--text-subtle); background: transparent; border-color: transparent; }
.vp-datepicker .flatpickr-day.flatpickr-disabled { opacity: .45; }

.vp-booking-note { margin: .75rem 0 0; font-size: .75rem; text-align: center; color: var(--text-muted); }

/* Operator card */
.vp-operator {
  display: flex; align-items: center; gap: .875rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.vp-operator .cp-hero-mark { background: var(--primary); color: #fff; box-shadow: none; }
.vp-operator .cp-hero-mark-logo { background: #fff; border: 1px solid var(--border); }
.vp-operator > div { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.vp-operator-label { font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.vp-operator-name { font-weight: 600; color: var(--text); text-decoration: none; }
.vp-operator-name:hover { color: var(--primary); }
.vp-operator-meta { font-size: .75rem; color: var(--text-muted); }

/* ── WhatsApp floating action button (tenant pages) ───────────────────── */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .375rem .875rem .375rem .375rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .55), 0 4px 10px rgba(0, 0, 0, .12);
  text-decoration: none;
  font-family: var(--font-display);
  line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.wa-fab:hover,
.wa-fab:focus-visible {
  color: #fff;
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -8px rgba(37, 211, 102, .6), 0 6px 14px rgba(0, 0, 0, .18);
  outline: none;
}

.wa-fab-icon {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.wa-fab-body {
  display: flex;
  flex-direction: column;
  gap: .0625rem;
  max-width: 14rem;
  min-width: 0;
}

.wa-fab-name {
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-fab-cta {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 640px) {
  .wa-fab {
    right: 1rem;
    bottom: 1rem;
    padding: .375rem;
  }
  .wa-fab-body { display: none; }
}

/* ==========================================================================
   Company pages — built in the admin Page Builder, served at /{company}/{page}.
   Markup: resources/views/frontend/tenant/page.blade.php and sections/*.
   The builder's preview frame adds .pb-page-preview and data-pb-section.
   ========================================================================== */

/* ── Shared section parts ─────────────────────────────────────────────── */
.pb-section { padding: 4.5rem 0; }
@media (max-width: 767px) { .pb-section { padding: 3rem 0; } }
.pb-bg-plain { background: var(--surface); }
.pb-bg-tint  { background: var(--surface-sunken); }

.pb-head { max-width: 720px; margin-bottom: 2.5rem; }
.pb-head-center { margin-inline: auto; text-align: center; }

.pb-eyebrow {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary);
}
.pb-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text);
}
.pb-intro { margin: .875rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--text-muted); }
.pb-copy  { margin: 1rem 0 0; font-size: 1.0625rem; line-height: 1.75; color: var(--text-muted); }
.pb-align-center { text-align: center; }

.pb-link { font-weight: 500; color: var(--primary); text-decoration: none; white-space: nowrap; }
.pb-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.pb-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pb-align-center .pb-actions,
.pb-hero-center .pb-actions,
.pb-cta .pb-actions { justify-content: center; }
.pb-actions:empty { display: none; }

.pb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: .9375rem; font-weight: 500; line-height: 1.2;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.pb-btn:hover { transform: translateY(-1px); }
.pb-btn-primary { background: var(--primary); color: #fff; }
.pb-btn-primary:hover { background: var(--primary-dark); color: #fff; }
.pb-btn-light { background: #fff; color: var(--deep-iris); }
.pb-btn-light:hover { background: var(--primary-soft); color: var(--deep-iris); }
.pb-btn-ghost { border-color: var(--border-strong); background: transparent; color: var(--text); }
.pb-btn-ghost:hover { border-color: var(--text); color: var(--text); }
.pb-btn-ghost-light { border-color: rgba(255, 255, 255, .4); background: transparent; color: #fff; }
.pb-btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.pb-hero {
  position: relative;
  isolation: isolate;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--deep-iris);
  color: #fff;
}
.pb-hero-tall    { min-height: clamp(420px, 70vh, 680px); padding: 5rem 0; }
.pb-hero-compact { padding: 4rem 0; }
.pb-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pb-hero-wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 81, 250, .45) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(216, 96, 197, .28) 0%, transparent 55%);
}
.pb-hero-has-image .pb-hero-wash {
  background: linear-gradient(90deg, rgba(21, 0, 44, .88) 0%, rgba(21, 0, 44, .55) 55%, rgba(21, 0, 44, .25) 100%);
}
.pb-hero-center.pb-hero-has-image .pb-hero-wash { background: rgba(21, 0, 44, .62); }

.pb-hero-inner { position: relative; width: 100%; }
.pb-hero-left .pb-hero-inner > * { max-width: 680px; }
.pb-hero-center .pb-hero-inner { text-align: center; }
.pb-hero-center .pb-hero-inner > * { max-width: 760px; margin-inline: auto; }

.pb-hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .375rem .875rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.pb-hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -.01em;
  color: #fff;
}
.pb-hero-lead { margin: 1.25rem 0 0; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .82); }

/* ── Text ─────────────────────────────────────────────────────────────── */
.pb-text-narrow { max-width: 760px; margin-inline: auto; }

/* ── Image + text ─────────────────────────────────────────────────────── */
.pb-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .pb-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .pb-split-image-right .pb-split-media { order: 2; }
  .pb-split-solo { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
}
.pb-split-media img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.pb-placeholder {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  background: var(--surface-sunken);
  font-size: 2rem;
  color: var(--text-subtle);
}

/* ── Spacer ───────────────────────────────────────────────────────────── */
.pb-spacer-sm { padding: 1rem 0; }
.pb-spacer-md { padding: 2.5rem 0; }
.pb-spacer-lg { padding: 4.5rem 0; }
.pb-rule { margin: 0; border: 0; border-top: 1px solid var(--border); opacity: 1; }

/* ── Grids: features and gallery ──────────────────────────────────────── */
.pb-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px)  { .pb-cols-2, .pb-cols-3, .pb-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .pb-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .pb-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.pb-feature {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.pb-bg-plain .pb-feature { border-color: transparent; background: var(--surface-sunken); }
.pb-feature-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  font-size: 1.125rem;
  color: var(--primary);
}
.pb-feature-title { margin: 0 0 .5rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; color: var(--text); }
.pb-feature-text  { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--text-muted); }

@media (max-width: 639px) { .pb-gallery { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
.pb-gallery-item { margin: 0; }
.pb-gallery-item a { display: block; overflow: hidden; border-radius: var(--radius); }
.pb-gallery-item img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.pb-gallery-item a:hover img { transform: scale(1.03); }
.pb-gallery-caption { padding: .625rem .125rem 0; font-size: .875rem; color: var(--text-muted); }

/* ── Numbers ──────────────────────────────────────────────────────────── */
.pb-stats { padding: 3.5rem 0; }
.pb-stats-dark { background: var(--deep-iris); color: #fff; }
.pb-stats-tint { background: var(--primary-softer); }
.pb-stats-title {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text);
}
.pb-stats-dark .pb-stats-title { color: #fff; }
.pb-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; margin: 0; }
.pb-stat { display: flex; flex-direction: column-reverse; align-items: center; gap: .375rem; text-align: center; }
.pb-stat-value { margin: 0; font-family: var(--font-serif); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; color: var(--primary); }
.pb-stats-dark .pb-stat-value { color: #fff; }
.pb-stat-label { font-size: .875rem; font-weight: 400; color: var(--text-muted); }
.pb-stats-dark .pb-stat-label { color: var(--text-on-dark-muted); }

/* ── Video ────────────────────────────────────────────────────────────── */
.pb-video {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  background: var(--deep-iris);
}
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Contact ──────────────────────────────────────────────────────────── */
.pb-contact { display: grid; gap: 2rem; }
@media (min-width: 900px) { .pb-contact-has-map { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.pb-contact-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pb-contact-row { display: flex; align-items: flex-start; gap: .875rem; padding: .875rem 0; border-bottom: 1px solid var(--border); }
.pb-contact-row:last-child { border-bottom: 0; }
.pb-contact-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
}
.pb-contact-label { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); }
.pb-contact-value { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
a.pb-contact-value:hover { color: var(--primary); }
.pb-map { min-height: 320px; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface-sunken); }
.pb-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ── Call to action ───────────────────────────────────────────────────── */
.pb-cta-wrap { padding: 3rem 0; }
.pb-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  text-align: center;
}
.pb-cta-violet { background: var(--primary); color: #fff; }
.pb-cta-violet::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gradient-violet-twilight); opacity: .6; }
.pb-cta-dark  { background: var(--deep-iris); color: #fff; }
.pb-cta-light { border: 1px solid var(--border); background: var(--primary-softer); color: var(--text); }
.pb-cta-title {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400; line-height: 1.15;
  color: var(--text);
}
.pb-cta-violet .pb-cta-title,
.pb-cta-dark .pb-cta-title { color: #fff; }
.pb-cta-text { max-width: 600px; margin: 1rem auto 0; font-size: 1.0625rem; opacity: .85; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.pb-faq { max-width: 820px; margin-inline: auto; }
.pb-faq-item { border-bottom: 1px solid var(--border); }
.pb-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.pb-faq-item summary::-webkit-details-marker { display: none; }
.pb-faq-item summary::after {
  content: '+';
  display: grid; place-items: center; flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  font-size: 1.25rem; line-height: 1;
  color: var(--primary);
  transition: transform .2s var(--ease);
}
.pb-faq-item[open] summary::after { transform: rotate(45deg); }
.pb-faq-answer { margin: 0; padding: 0 3rem 1.25rem 0; line-height: 1.7; color: var(--text-muted); }

/* ── Custom HTML ──────────────────────────────────────────────────────── */
.pb-custom-normal { padding: 3rem 0; }
/* Paint containment clips the section and anchors position: fixed inside it,
   so a company's inline styles cannot draw over the rest of the page. */
.pb-custom-body { position: relative; contain: paint; }
.pb-custom-body img { max-width: 100%; height: auto; }
.pb-custom-body iframe { max-width: 100%; border: 0; }

/* ── Empty states ─────────────────────────────────────────────────────── */
.pb-empty { padding: 5rem 0; text-align: center; }
.pb-empty-title { margin: 0; font-family: var(--font-serif); font-weight: 400; }
.pb-empty-text { margin: 1rem 0 0; color: var(--text-muted); }
.pb-hint-wrap { padding: 2rem 0; }
.pb-hint {
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  margin: 0;
  padding: 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-sunken);
  font-size: .9375rem;
  color: var(--text-muted);
}

/* ── Builder preview frame ────────────────────────────────────────────── */
.pb-page-preview .pb-block { position: relative; cursor: pointer; }
.pb-page-preview .pb-block::after {
  content: '';
  position: absolute; inset: 0; z-index: 20;
  outline: 2px solid transparent;
  outline-offset: -2px;
  pointer-events: none;
  transition: outline-color .15s var(--ease), background-color .15s var(--ease);
}
.pb-page-preview .pb-block::before {
  content: attr(data-pb-label);
  position: absolute; top: .625rem; left: .625rem; z-index: 21;
  padding: .25rem .625rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  font-size: .75rem; font-weight: 500;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s var(--ease);
}
.pb-page-preview .pb-block:hover::after { outline-color: rgba(99, 7, 248, .45); }
.pb-page-preview .pb-block-selected::after { outline-color: var(--primary); background-color: rgba(99, 7, 248, .04); }
.pb-page-preview .pb-block:hover::before,
.pb-page-preview .pb-block-selected::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pb-btn:hover { transform: none; }
  .pb-gallery-item a:hover img { transform: none; }
}

/* The builder marks its preview document; the cookie notice would cover the page there.
   script.js shows the banner with an inline style, hence !important. */
.pb-preview-frame #cookie-banner { display: none !important; }

/* ==========================================================================
   TENANT NAVBAR — per-organisation navbar for public tenant pages
   (company profile, vehicle detail, page-builder pages).
   Replaces the Bookrenia navbar. See tenant-navbar.blade.php.
   ========================================================================== */

.tn-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.tn-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.tn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}
.tn-brand:hover { opacity: 0.75; text-decoration: none; color: var(--text); }

.tn-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-sunken);
}

.tn-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--primary) 0%, var(--midnight-600) 130%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.tn-brand-name {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tn-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.tn-menu::-webkit-scrollbar { display: none; }

.tn-menu-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tn-menu-link:hover {
  color: var(--text);
  background: var(--surface-sunken);
  text-decoration: none;
}
.tn-menu-link-active {
  color: var(--primary);
  background: var(--surface-sunken);
}

.tn-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.tn-action i { font-size: 0.95rem; }
.tn-action:hover { transform: translateY(-1px); text-decoration: none; }

.tn-action-contact {
  background: var(--primary);
  color: #fff;
}
.tn-action-contact:hover { background: var(--primary-dark, var(--midnight-600)); color: #fff; }

/* Minimal tenant footer — just a copyright + "Powered by" line */
.tn-footer {
  padding: 1.25rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--text-muted);
}
.tn-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.tn-footer-powered {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s ease;
}
.tn-footer-powered:hover { color: var(--primary); text-decoration: none; }
.tn-footer-powered strong { color: var(--text); font-weight: 600; }
.tn-footer-powered:hover strong { color: var(--primary); }

@media (max-width: 960px) {
  .tn-menu { display: none; }
}

@media (max-width: 640px) {
  .tn-brand-name { max-width: 140px; }
  .tn-action span { display: none; }
  .tn-action {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }
}

/* ==========================================================================
   DUBAI RTA READINESS CHECKLIST — scoped page styles
   Shares tokens with the rest of the site: no hardcoded colours, spacing
   or radii. Single-dash class names only.
   ========================================================================== */

/* --- Hero --------------------------------------------------------------- */
.rta-hero {
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
  background:
    radial-gradient(ellipse 60% 55% at 82% 30%, rgba(124, 81, 250, .28) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 12% 90%, rgba(255, 181, 206, .18) 0%, transparent 60%),
    var(--midnight);
  position: relative;
  overflow: hidden;
}

.rta-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.35rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-on-dark);
}
.rta-hero-eyebrow i { color: var(--primary-light); }

.rta-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.1rem;
}

.rta-hero-subtitle {
  max-width: 620px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
}

.rta-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.rta-hero-disclaimer {
  display: inline-flex;
  align-items: flex-start;
  gap: .5rem;
  max-width: 620px;
  padding: .75rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .04);
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}
.rta-hero-disclaimer i { margin-top: .15rem; color: var(--primary-light); }

/* Hero mock card */
.rta-hero-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  /* Solid tinted surface — avoids backdrop-filter repaints against the
     hero's gradient background, which caused whole-card flicker whenever
     a child element animated. */
  background: linear-gradient(160deg, #2a0a55 0%, #1a0338 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-xl);
  color: var(--text-on-dark);
  /* Clip child animations so nothing spills outside the card — this is
     what stops the whole-hero flicker on mobile when child items animate
     in with a translate. */
  overflow: hidden;
  /* Promote the card to its own compositor layer so child animations
     never invalidate the hero's paint region. */
  transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
}

/* Mobile: make sure the hero, its column and the card all clip so any
   animation transform on child rows can't paint over the section edge
   and trigger the whole-hero repaint flicker. */
@media (max-width: 991.98px) {
  .rta-hero { overflow: hidden; }
  .rta-hero .row > [class*="col-"] { overflow: hidden; }
  .rta-hero-card { overflow: hidden; }
}

.rta-hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.rta-hero-card-title { font-size: .95rem; font-weight: 700; color: #fff; }

.rta-hero-card-pill {
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  background: rgba(124, 81, 250, .25);
  border: 1px solid rgba(124, 81, 250, .5);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.rta-hero-card-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.rta-hero-card-line:last-of-type { border-bottom: none; }
.rta-hero-card-line span { color: var(--text-on-dark-muted); }
.rta-hero-card-line b { color: #fff; font-weight: 600; }

.rta-hero-card-sig {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.rta-hero-card-sig-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: .35rem;
}

.rta-hero-card-sig-meta {
  margin-top: .35rem;
  font-size: .75rem;
  color: var(--text-on-dark-muted);
}

/* --- "What is the RTA?" explainer -------------------------------------- */
.rta-explainer-section {
  padding: 2.5rem 0 0;
  background: var(--background);
}

.rta-explainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .rta-explainer {
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    padding: 2rem 2.25rem;
    align-items: start;
  }
}

.rta-explainer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--primary) 0%, var(--midnight-600) 130%);
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.rta-explainer-body .section-tag { margin-bottom: .5rem; }

.rta-explainer-title {
  margin-bottom: .65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--midnight);
}

.rta-explainer-body p {
  margin: 0 0 .75rem;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.rta-explainer-body p:last-child { margin-bottom: 0; }
.rta-explainer-body b { color: var(--text); font-weight: 700; }

.rta-explainer-note {
  display: flex;
  gap: .55rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  border-left: 3px solid var(--primary);
  font-size: .85rem !important;
  line-height: 1.6 !important;
}
.rta-explainer-note i { flex-shrink: 0; margin-top: .15rem; color: var(--primary); }
.rta-explainer-note a { color: var(--primary); font-weight: 600; }
.rta-explainer-note a:hover { color: var(--primary-dark); text-decoration: underline; }

/* --- Intro grid --------------------------------------------------------- */
.rta-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
@media (min-width: 640px)  { .rta-intro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .rta-intro-grid { grid-template-columns: repeat(2, 1fr); } }

.rta-intro-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}

.rta-intro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .85rem;
}

/* --- Scorecard ---------------------------------------------------------- */
.rta-scorecard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .rta-scorecard { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .rta-scorecard { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .rta-scorecard { grid-template-columns: repeat(4, 1fr); } }

.rta-score-card {
  display: block;
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
  color: inherit;
}
.rta-score-card:hover {
  border-color: rgba(124, 81, 250, .5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.rta-score-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.rta-score-num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-subtle);
}

.rta-score-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .9rem;
}

.rta-score-title {
  margin-bottom: .85rem;
  font-size: .975rem;
  font-weight: 700;
  color: var(--midnight);
}

.rta-score-options {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.rta-opt {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.rta-opt i { font-size: .65rem; }
.rta-opt-ready   { background: var(--success-soft); color: var(--success); border-color: rgba(23, 135, 91, .25); }
.rta-opt-review  { background: var(--warning-soft); color: var(--warning); border-color: rgba(168, 106, 0, .25); }
.rta-opt-missing { background: var(--danger-soft);  color: var(--danger);  border-color: rgba(192, 48, 74, .25); }

.rta-scorecard-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  max-width: 780px;
  margin: 2rem auto 0;
  padding: .9rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--warning-soft);
  color: var(--warning);
  font-size: .85rem;
  line-height: 1.55;
}
.rta-scorecard-note i { margin-top: .15rem; }

/* --- Checklist blocks --------------------------------------------------- */
.rta-block {
  padding: 2.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.rta-block-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rta-block-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--primary) 0%, var(--midnight-600) 130%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rta-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--midnight);
  margin-top: .25rem;
}

.rta-block-lead {
  max-width: 780px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.rta-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
}
@media (min-width: 640px) { .rta-check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .rta-check-grid { grid-template-columns: repeat(3, 1fr); } }

.rta-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
}
.rta-check:hover { background: var(--primary-softer); border-color: rgba(124, 81, 250, .3); }

.rta-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.rta-check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
  position: relative;
}
.rta-check-box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .16s var(--ease);
}
.rta-check.is-checked .rta-check-box { background: var(--success); border-color: var(--success); }
.rta-check.is-checked .rta-check-box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.rta-check.is-checked .rta-check-text { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(90, 90, 114, .4); }

.rta-check-text {
  font-size: .9rem;
  line-height: 1.45;
  color: var(--text);
}

/* Bookrenia inline "connection" callout */
.rta-connect {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--primary-softer);
  border-left: 3px solid var(--primary);
}

.rta-connect-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .35rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.rta-connect p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Informational / warning callouts inside a block */
.rta-callout {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: .9rem;
  line-height: 1.6;
}
.rta-callout i { flex-shrink: 0; margin-top: .1rem; font-size: 1rem; }
.rta-callout b  { font-weight: 700; }
.rta-callout-warning { background: var(--warning-soft); color: var(--warning); }
.rta-callout-info    { background: var(--primary-soft); color: var(--primary-dark); }

/* Mid-page CTA */
.rta-mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  margin: 1.5rem 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 90% at 90% 30%, rgba(124, 81, 250, .35) 0%, transparent 65%),
    var(--midnight);
  color: #fff;
}
.rta-mid-cta h3 {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.rta-mid-cta p { margin: 0; font-size: .9rem; color: var(--text-on-dark-muted); max-width: 520px; }

/* --- Readiness levels --------------------------------------------------- */
.rta-levels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px)  { .rta-levels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .rta-levels { grid-template-columns: repeat(4, 1fr); } }

.rta-level {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.rta-level:hover { border-color: rgba(124, 81, 250, .4); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.rta-level-head { margin-bottom: .85rem; }

.rta-level-badge {
  display: inline-block;
  padding: .25rem .7rem;
  margin-bottom: .75rem;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.rta-level-badge-top { background: var(--success-soft); color: var(--success); }

.rta-level-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--midnight);
}
.rta-level p { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--text-muted); }

.rta-level-top { border-color: rgba(23, 135, 91, .35); background: linear-gradient(160deg, var(--success-soft) 0%, var(--surface) 90%); }

/* --- Common problems ---------------------------------------------------- */
.rta-problems {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .rta-problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .rta-problems { grid-template-columns: repeat(3, 1fr); } }

.rta-problem {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.rta-problem:hover { border-color: rgba(192, 48, 74, .3); box-shadow: var(--shadow-md); }

.rta-problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: .85rem;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: .95rem;
}

.rta-problem-title {
  margin-bottom: .35rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--midnight);
}

.rta-problem-desc { font-size: .85rem; line-height: 1.6; color: var(--text-muted); margin: 0; }

.rta-problems-lead {
  max-width: 720px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* --- Bookrenia modules (dark) ------------------------------------------- */
.lp-section-dark {
  background:
    radial-gradient(ellipse 60% 70% at 10% 10%, rgba(124, 81, 250, .28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 90%, rgba(255, 181, 206, .12) 0%, transparent 55%),
    var(--midnight);
  color: var(--text-on-dark);
}

.rta-modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .rta-modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .rta-modules { grid-template-columns: repeat(3, 1fr); } }

.rta-module {
  position: relative;
  display: block;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  color: var(--text-on-dark);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.rta-module-link:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(124, 81, 250, .6);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.rta-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: .9rem;
  border-radius: var(--radius-sm);
  background: rgba(124, 81, 250, .18);
  color: var(--primary-light);
  font-size: 1rem;
}

.rta-module-title {
  margin-bottom: .35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.rta-module-desc { font-size: .85rem; line-height: 1.6; color: var(--text-on-dark-muted); margin: 0; }

.rta-module-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.35rem;
  color: var(--primary-light);
  font-size: .75rem;
  opacity: 0;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.rta-module-link:hover .rta-module-arrow { opacity: 1; transform: translateX(3px); }

.rta-modules-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* --- Final CTA ---------------------------------------------------------- */
.rta-final-cta {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(124, 81, 250, .35) 0%, transparent 60%),
    var(--midnight);
  overflow: hidden;
  text-align: center;
}

.rta-final-cta-glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255, 181, 206, .18) 0%, transparent 60%);
  pointer-events: none;
}

.rta-final-cta .section-tag { color: var(--primary-light); position: relative; z-index: 1; }

.rta-final-cta-title {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: .5rem auto 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.rta-final-cta-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark-muted);
}

.rta-final-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* --- FAQ (scoped tweak) ------------------------------------------------- */
.rta-faq { max-width: 860px; margin: 0 auto; }

/* --- Sources + related linking ----------------------------------------- */
.rta-sources { list-style: none; padding: 0; margin: 1rem 0 0; }
.rta-sources li {
  padding: 1rem 1.15rem;
  margin-bottom: .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color .2s var(--ease);
}
.rta-sources li:hover { border-color: rgba(124, 81, 250, .35); }
.rta-sources a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  color: var(--primary);
}
.rta-sources a:hover { color: var(--primary-dark); text-decoration: underline; }
.rta-sources span {
  display: block;
  margin-top: .3rem;
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.rta-related {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--primary-softer);
}
.rta-related h3 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--midnight);
}
.rta-related ul { list-style: none; padding: 0; margin: 0; }
.rta-related li { margin-bottom: .5rem; }
.rta-related a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}
.rta-related a i { font-size: .7rem; color: var(--primary); transition: transform .2s var(--ease); }
.rta-related a:hover { color: var(--primary-dark); text-decoration: none; }
.rta-related a:hover i { transform: translateX(3px); }

/* --- Disclaimer -------------------------------------------------------- */
.rta-disclaimer {
  display: flex;
  gap: .9rem;
  max-width: 860px;
  margin: 3rem auto 0;
  padding: 1.2rem 1.4rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  color: var(--text-muted);
}
.rta-disclaimer i { margin-top: .2rem; color: var(--text-muted); }
.rta-disclaimer p { margin: 0; font-size: .8125rem; line-height: 1.65; }

/* --- Per-block progress chip (injected by JS) --------------------------- */
.rta-block-head { flex-wrap: wrap; }

.rta-block-chip {
  margin-left: auto;
  min-width: 160px;
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.rta-block-chip.is-active { border-color: rgba(124, 81, 250, .4); background: var(--primary-softer); }
.rta-block-chip.is-full   { border-color: var(--success); background: var(--success-soft); }

.rta-block-chip-num {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .35rem;
  white-space: nowrap;
}
.rta-block-chip-num b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--midnight);
}
.rta-block-chip.is-full .rta-block-chip-num b { color: var(--success); }

.rta-block-chip-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.rta-block-chip-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width .35s var(--ease);
}
.rta-block-chip.is-full .rta-block-chip-bar span { background: var(--success); }

@media (max-width: 640px) {
  .rta-block-chip { margin-left: 0; width: 100%; }
}

/* --- Floating live-score panel ----------------------------------------- */
.rta-score-panel {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 55;
  width: 300px;
  max-width: calc(100vw - 2rem);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(124, 81, 250, .35) 0%, transparent 65%),
    var(--midnight);
  color: #fff;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.rta-score-panel.is-visible { opacity: 1; transform: translateY(0); }
.rta-score-panel[hidden] { display: none; }

.rta-score-panel-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: .7rem;
  cursor: pointer;
  transition: background-color .16s var(--ease);
}
.rta-score-panel-close:hover { background: rgba(255, 255, 255, .2); }

.rta-score-panel-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: .35rem;
}

.rta-score-panel-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: .75rem;
}
.rta-score-panel-total {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  margin-left: .25rem;
}

.rta-score-panel-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  margin-bottom: .75rem;
}
.rta-score-panel-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--rose));
  transition: width .35s var(--ease);
}

.rta-score-panel-tier {
  font-size: .8rem;
  line-height: 1.45;
  color: var(--text-on-dark-muted);
  margin-bottom: .9rem;
}

.rta-score-panel-cta { width: 100%; justify-content: center; }
.rta-score-panel-cta i { margin-right: .35rem; }

/* On mobile the score panel and the sticky demo pill would collide — push
   the score panel above the pill. */
@media (max-width: 767px) {
  .rta-score-panel { bottom: 4.75rem; right: .75rem; left: .75rem; width: auto; }
}

/* --- Sticky mobile CTA -------------------------------------------------- */
.rta-sticky-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: var(--shadow-primary);
  z-index: 60;
}
.rta-sticky-cta:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
@media (max-width: 767px) { .rta-sticky-cta { display: inline-flex; } }

/* --- Responsive tightening --------------------------------------------- */
@media (max-width: 640px) {
  .rta-block { padding: 1.5rem 1.25rem; }
  .rta-block-num { width: 46px; height: 46px; font-size: 1rem; }
  .rta-mid-cta { padding: 1.4rem 1.25rem; }
  .rta-final-cta { padding: 2.25rem 1.5rem; }
}
