/* ============================================================================
   ParkPlus.AI — public website theme (light / clean yellow)
   ----------------------------------------------------------------------------
   Replaces glass-theme.css + styles.css. Every class name the existing pages
   use (glass-card, input-glass, btn-glass-primary, alert-glass-*, ...) is
   still defined here, so the resident registration wizard and the contact
   form keep working with their markup untouched — only the look changed.
   ============================================================================ */

:root {
  /* ground */
  --paper: #ffffff;
  --paper-2: #f7f6f2;
  --paper-3: #efede7;
  /* ink */
  --ink: #0f1629;
  --ink-2: #3b4358;
  --ink-3: #676f83;
  --ink-4: #9298a8;
  --line: #e4e2db;
  --line-2: #d3d0c7;
  /* yellow — the token names date from the amber round, the values are the
     clean yellow. Yellow is only ever a FILL (buttons, markers, bands, tiles)
     and always carries ink text; accent text and icons are ink, never yellow
     (a dark yellow reads as mustard on white). */
  --amber: #ffd60a;
  --amber-2: #ffe033;
  --amber-3: #e6c200;
  --amber-deep: #0f1629;
  --amber-ink: #0f1629;
  --amber-soft: #fff3b0;
  --amber-tint: #fffae3;
  --amber-glow: rgba(255, 214, 10, 0.4);
  /* dark blocks */
  --navy: #17150f;
  --navy-2: #26231b;
  --navy-line: rgba(255, 255, 255, 0.1);
  /* semantic */
  --green: #15803d;
  --green-soft: #dcfce7;
  --red: #b91c1c;
  --red-soft: #fee2e2;
  --blue: #1d4ed8;
  --blue-soft: #dbeafe;

  --font-display: 'Bricolage Grotesque', 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-plate: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 22, 41, 0.06), 0 2px 8px -2px rgba(15, 22, 41, 0.08);
  --shadow-md: 0 1px 2px rgba(15, 22, 41, 0.05), 0 14px 32px -14px rgba(15, 22, 41, 0.22);
  --shadow-lg: 0 2px 4px rgba(15, 22, 41, 0.05), 0 30px 60px -24px rgba(15, 22, 41, 0.3);
  --shadow-amber: 0 10px 28px -10px rgba(255, 214, 10, 0.6);

  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* kept for old templates that reference them inline */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3rem;
  --leading-relaxed: 1.65;
  --radius-2xl-legacy: 12px;
  --btn-primary-gradient: linear-gradient(135deg, #ffe033 0%, #ffd60a 100%);
  --color-primary: #0f1629;
  --color-primary-light: #0f1629;
  --color-info-light: #1d4ed8;
  --color-success: #15803d;
  --color-success-light: #15803d;
  --color-warning: #8a6300;
  --color-danger: #b91c1c;
  --color-danger-light: #b91c1c;
  --text-primary: #0f1629;
  --text-secondary: #3b4358;
  --text-muted: #676f83;
  --glass-bg-dark: #ffffff;
  --glass-border: #e4e2db;
}

/* ---------------------------------------------------------------- base --- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-2); }
/* links inside running text: ink with a yellow underline (styled anchors all carry a class) */
:where(p, li, .faq__body, .contact-tile, .glass-card) a:not([class]) {
  font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber);
  text-decoration-thickness: 2px; text-underline-offset: 0.16em;
}
:where(p, li, .faq__body, .contact-tile, .glass-card) a:not([class]):hover { text-decoration-color: var(--ink); }
.site-header a, .mobile-menu-glass a, .mobile-menu-card a, .footer-glass a, .resident-strip a { text-decoration: none; }
::selection { background: var(--amber-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }

.container-xl, .container { max-width: 1200px; }
.main-content-padded { padding-top: calc(var(--header-h) + 12px); }

/* Bootstrap colour hooks the old pages and the knowledge base use */
.btn-primary, .btn-info {
  --bs-btn-bg: var(--amber); --bs-btn-border-color: var(--amber); --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: var(--amber-2); --bs-btn-hover-border-color: var(--amber-2); --bs-btn-hover-color: var(--ink);
  --bs-btn-active-bg: var(--amber-3); --bs-btn-active-border-color: var(--amber-3); --bs-btn-active-color: var(--ink);
  font-weight: 700;
}
.btn-outline-primary {
  --bs-btn-color: var(--amber-deep); --bs-btn-border-color: var(--amber-3);
  --bs-btn-hover-bg: var(--amber); --bs-btn-hover-border-color: var(--amber); --bs-btn-hover-color: var(--ink);
  font-weight: 600;
}
.btn-secondary {
  --bs-btn-bg: var(--paper-2); --bs-btn-border-color: var(--line-2); --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: var(--paper-3); --bs-btn-hover-border-color: var(--line-2); --bs-btn-hover-color: var(--ink);
}
.text-primary, .text-info { color: var(--amber-deep) !important; }
.border-secondary { --bs-border-color: var(--line); border-color: var(--line) !important; }
.link-dark { color: var(--ink) !important; }
.link-dark:hover { color: var(--ink-2) !important; }
.list-group-item { border-color: var(--line); }
.list-group-item-action:hover { background: var(--amber-tint); }
.breadcrumb { font-size: 0.9rem; }
.form-control, .form-select { border-color: var(--line-2); border-radius: var(--radius-md); padding: 0.7rem 0.9rem; }
.form-control:focus, .form-select:focus { border-color: var(--amber-3); box-shadow: 0 0 0 4px var(--amber-soft); }
.modal-content { border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.modal-header { border-bottom-color: var(--line); }
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--amber-tint); color: var(--ink); }
.alert { border-radius: var(--radius-md); }
.card { border-color: var(--line); border-radius: var(--radius-lg); }
.form-check-input:checked { background-color: var(--amber-3); border-color: var(--amber-3); }
.form-check-input:focus { border-color: var(--amber-3); box-shadow: 0 0 0 4px var(--amber-soft); }
.progress-bar { background: var(--amber); }

/* Contact-form spam trap: kept OFF-SCREEN, never display:none (bots skip hidden inputs). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------- header --- */
/* Floating "island" bar: inset from the top, rounded, frosted. */
.site-header { padding: 12px 12px 0; pointer-events: none; }
.header-glass {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
  padding: 0 0.5rem 0 1.1rem !important;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(15, 22, 41, 0.08);
  box-shadow: 0 10px 30px -18px rgba(15, 22, 41, 0.35), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.header-glass.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 22, 41, 0.1);
  box-shadow: 0 14px 34px -16px rgba(15, 22, 41, 0.45);
}
.header-logo { display: flex; align-items: center; }
.logo-header { height: 2.1rem; width: auto; display: block; }
.logo-mobile { height: 2rem; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.nav-link-glass {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.8rem !important;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; color: var(--ink-2);
  transition: color 0.2s;
}
.site-nav .nav-link-glass::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.32rem; height: 2.5px; border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0); transform-origin: left center; transition: transform 0.28s var(--ease);
}
.site-nav .nav-link-glass:hover, .site-nav .nav-link-glass.active { color: var(--ink); }
.site-nav .nav-link-glass:hover::after, .site-nav .nav-link-glass.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.35rem; }
.nav-resident { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.85rem; border-radius: var(--radius-full); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.nav-resident i { color: var(--amber-deep); }
.nav-resident:hover { background: var(--amber-tint); color: var(--ink); }
.btn-nav { padding: 0.65rem 1.2rem; font-size: 0.92rem; }

.mobile-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 0; border-radius: var(--radius-full);
  background: transparent; color: var(--ink);
}
.mobile-menu-toggle:hover { background: var(--amber-tint); }

/* Mobile menu: white sheet, big editorial links, navy action card */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 18, 48, 0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1040;
}
.mobile-menu-overlay.show { opacity: 1; visibility: visible; }
.mobile-menu-glass {
  position: fixed; top: 0; left: 0;
  width: min(420px, 100vw);
  height: 100vh; height: 100dvh;           /* dvh tracks the collapsing mobile toolbar */
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 24px 0 60px -30px rgba(11, 18, 48, 0.5);
  transform: translateX(-100%);
  transition: transform 0.42s var(--ease);
  z-index: 1050;
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-menu-glass::before {
  content: ""; position: absolute; top: -140px; right: -160px; width: 400px; height: 400px;
  background: radial-gradient(closest-side, rgba(255, 214, 10, 0.32), rgba(255, 214, 10, 0));
  pointer-events: none;
}
.mobile-menu-glass::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 320px;
  background-image: radial-gradient(rgba(15, 22, 41, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0));
  pointer-events: none;
}
.mobile-menu-glass.show { transform: translateX(0); }
.mobile-menu-header {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1rem 0.5rem 1.35rem;
}
.mobile-menu-close {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  border: 0; background: var(--ink); color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.mobile-menu-close:hover { transform: rotate(90deg); }
/* The sheet is a flex column that scrolls. Its children must never shrink: the card
   has overflow:hidden, so flexbox would otherwise squeeze it to fit a short phone
   viewport and clip its bottom instead of letting the sheet scroll. */
.mobile-menu-header, .mobile-menu-body, .mobile-menu-card { flex-shrink: 0; }
.mobile-menu-body { position: relative; z-index: 1; padding: 1rem 1.35rem 1.25rem; }
.mobile-menu-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--amber-deep);
  margin-bottom: 0.25rem;
}
.mobile-menu-eyebrow::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--amber); }
.mobile-menu-nav { list-style: none; margin: 0; padding: 0; }
.mobile-menu-nav li {
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-menu-glass.show .mobile-menu-nav li { opacity: 1; transform: none; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(2) { transition-delay: 0.17s; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(4) { transition-delay: 0.27s; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(6) { transition-delay: 0.37s; }
.mobile-menu-glass.show .mobile-menu-nav li:nth-child(7) { transition-delay: 0.42s; }
.mobile-menu-nav .nav-link-glass {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 0 !important; border-radius: 0;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink);
}
.mobile-menu-nav .nav-link-glass span { position: relative; }
.mobile-menu-nav .nav-link-glass.active span {
  background: linear-gradient(transparent 60%, var(--amber) 60%, var(--amber) 92%, transparent 92%);
}
.mobile-menu-nav .nav-link-glass i {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber-tint); color: var(--amber-deep); font-size: 0.8rem;
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.mobile-menu-nav .nav-link-glass:hover i, .mobile-menu-nav .nav-link-glass:active i, .mobile-menu-nav .nav-link-glass.active i {
  background: var(--amber); color: var(--ink); transform: translateX(3px);
}
.mobile-menu-card {
  position: relative; overflow: hidden;
  margin: auto 1rem 1rem; padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--navy); color: #fff;
  box-shadow: var(--shadow-lg);
}
.mobile-menu-card::before {
  content: ""; position: absolute; left: -30%; top: -60%; width: 70%; height: 200%;
  background: radial-gradient(closest-side, rgba(255, 214, 10, 0.3), rgba(255, 214, 10, 0));
  pointer-events: none;
}
.mobile-menu-card > * { position: relative; }
.mobile-menu-card__eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--amber); margin: 0 0 0.7rem; }
.mobile-menu-card .btn-glass-primary { width: 100%; padding: 0.95rem 1.25rem; font-size: 1rem; }
.mobile-menu-card__link {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: 0.9rem; padding: 0.35rem 0;
  color: #fff; font-weight: 700; font-size: 0.95rem;
}
.mobile-menu-card__link:hover { color: #fff; }
.mobile-menu-card__link i:first-child { color: var(--amber); }
.mobile-menu-card__link i:last-child { margin-left: auto; color: var(--amber); font-size: 0.8rem; }
.mobile-menu-card__contact {
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; font-size: 0.88rem;
}
.mobile-menu-card__contact a { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.mobile-menu-card__contact a:hover { color: var(--amber); }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-glass, .mobile-menu-overlay, .mobile-menu-nav li { transition: none; }
  .mobile-menu-nav li { opacity: 1; transform: none; }
}
/* keep these two button variants (used on the contact page) */
.btn-ink { background: var(--ink); color: var(--amber); }
.btn-ink:hover { background: var(--navy-2); color: var(--amber); transform: translateY(-2px); }
.btn-paper { background: #fff; color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* -------------------------------------------------------------- buttons --- */
.btn-glass, .btn-glass-primary, .btn-glass-secondary, .btn-glass-success, .btn-glass-danger, .btn-glass-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-glass-primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-amber); }
.btn-glass-primary:hover { background: var(--amber-2); color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 214, 10, 0.7); }
.btn-glass-primary:active { transform: translateY(0); }
.btn-glass, .btn-glass-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-glass:hover, .btn-glass-secondary:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-glass-success { background: var(--green); color: #fff; }
.btn-glass-success:hover { background: #166534; color: #fff; transform: translateY(-2px); }
.btn-glass-danger { background: var(--red); color: #fff; }
.btn-glass-danger:hover { background: #991b1b; color: #fff; }
.btn-glass-warning { background: var(--amber-soft); color: var(--amber-ink); border-color: var(--amber-3); }
.btn-glass-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-glass-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); }
.btn-play .play-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--amber);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
.w-100 { width: 100%; }

/* ---------------------------------------------------------- forms/cards --- */
.glass-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.glass-card .card-header { border-bottom: 1px solid var(--line); }
.glass-card-hover { transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.glass-card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.divider-glass { height: 1px; background: var(--line); margin: 1.25rem 0; }
.form-label-glass { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.4rem; }
.form-text-glass { font-size: 0.85rem; color: var(--ink-3); }
.input-glass, .textarea-glass, .select-glass {
  display: block;
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-glass::placeholder, .textarea-glass::placeholder { color: var(--ink-4); }
.input-glass:focus, .textarea-glass:focus, .select-glass:focus {
  outline: none; border-color: var(--amber-3); box-shadow: 0 0 0 4px var(--amber-soft);
}
.input-glass:disabled, .input-glass[readonly] { background: var(--paper-2); color: var(--ink-3); }
.select-glass {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233b4358' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 6.2a.75.75 0 0 1 1.06 0L8 8.55l2.34-2.35a.75.75 0 1 1 1.06 1.06l-2.87 2.87a.75.75 0 0 1-1.06 0L4.6 7.26a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem;
}
.list-group-glass { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.list-group-glass .list-group-item { background: var(--paper); color: var(--ink-2); border-color: var(--line); }

/* alerts */
.alert-glass, .alert-glass-info, .alert-glass-success, .alert-glass-warning, .alert-glass-danger {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 0.95rem;
  color: var(--ink);
}
.alert-glass-info { background: var(--blue-soft); border-color: #bfdbfe; }
.alert-glass-success { background: var(--green-soft); border-color: #bbf7d0; }
.alert-glass-warning { background: var(--amber-tint); border-color: #ffe98a; }
.alert-glass-danger { background: var(--red-soft); border-color: #fecaca; }
.alert-glass-danger h5 { color: var(--red); }
.alert-glass-danger .text-glass-muted { color: var(--ink-2); }

/* text helpers the old pages use */
.text-glass-primary { color: var(--ink) !important; }
.text-glass-secondary { color: var(--ink-2) !important; }
.text-glass-muted { color: var(--ink-3) !important; }
.text-glass-accent { color: var(--amber-deep) !important; }
.fs-xs { font-size: 0.75rem; }
.fs-sm { font-size: 0.875rem; }
.fs-base { font-size: 1rem; }
.fs-lg { font-size: 1.125rem; }
.fs-xl { font-size: 1.25rem; }
.badge-glass, .badge-glass-success, .badge-glass-info, .badge-glass-warning, .badge-glass-danger, .badge-glass-secondary {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.65rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.badge-glass-success { background: var(--green-soft); color: var(--green); border-color: #bbf7d0; }
.badge-glass-warning { background: var(--amber-soft); color: var(--amber-ink); border-color: #ffe98a; }
.badge-glass-danger { background: var(--red-soft); color: var(--red); border-color: #fecaca; }
.badge-glass-info { background: var(--blue-soft); color: var(--blue); border-color: #bfdbfe; }

/* ---------------------------------------------------------- sections ---- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-glass, .band-soft { background: var(--paper-2); }
.band-amber { background: linear-gradient(180deg, var(--amber-tint) 0%, #fff 100%); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); flex: none; }
.band-navy .eyebrow { color: var(--amber); }

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--ink-3);
  max-width: 44rem;
  margin: 0 auto 2.75rem;
  line-height: 1.6;
}
.section-subtitle.start { margin-left: 0; }

/* yellow marker behind a key phrase — animates in when revealed */
.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -0.08em; right: -0.08em; bottom: 0.06em;
  height: 0.42em; background: var(--amber); z-index: -1; border-radius: 3px;
  transform-origin: left center; transform: scaleX(0);
  transition: transform 0.7s var(--ease) 0.25s;
}
.in .hl::after, .hl.in::after { transform: scaleX(1); }
.band-navy .hl::after { background: var(--amber); opacity: 0.85; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hl::after { transform: scaleX(1); transition: none; }
}

/* ------------------------------------------------------------- hero ------ */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255, 214, 10, 0.28), rgba(255, 214, 10, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15, 22, 41, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 85%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-subtitle { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 36rem; line-height: 1.6; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9rem; color: var(--ink-3); font-weight: 600; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-proof i { color: var(--green); }

/* ------------------------------------------------------- scan demo ------- */
.scan-demo {
  position: relative;
  border-radius: var(--radius-2xl);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 22, 41, 0.04);
  overflow: hidden;
  color: #fff;
  aspect-ratio: 4 / 4.6;
  max-width: 520px;
  margin-left: auto;
}
.scan-demo__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(180deg, rgba(11, 18, 48, 0.9), rgba(11, 18, 48, 0));
}
.scan-demo__bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25); display: inline-block; margin-right: 0.45rem; }
.scan-demo__sim { font-size: 0.7rem; padding: 0.2rem 0.55rem; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.12); color: rgba(255,255,255,0.85); letter-spacing: 0.08em; }
.scan-demo__photo { position: absolute; inset: 0; background-size: cover; background-position: center 40%; filter: saturate(0.9) brightness(0.85); transform: scale(1.02); transition: transform 6s linear; }
.scan-demo.is-scanning .scan-demo__photo { transform: scale(1.08); }
.scan-demo__vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,48,0.15) 0%, rgba(11,18,48,0) 35%, rgba(11,18,48,0.75) 100%); }
.scan-demo__frame {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 62%; aspect-ratio: 2 / 1.05;
  border-radius: 10px;
  pointer-events: none;
}
.scan-demo__frame::before, .scan-demo__frame::after, .scan-demo__frame i::before, .scan-demo__frame i::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--amber);
}
.scan-demo__frame::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.scan-demo__frame::after { top: -3px; right: -3px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.scan-demo__frame i::before { bottom: -3px; left: -3px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.scan-demo__frame i::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scan-demo__plate {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  padding: 0.35em 0.75em;
  background: #f4f4f0; color: #1b2233;
  border: 3px solid #d8d8d0; border-radius: 6px;
  font-family: var(--font-plate); font-weight: 700; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: 0.08em; line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.scan-demo__plate small { display: block; font-size: 0.28em; letter-spacing: 0.3em; text-align: center; color: #5a6070; margin-bottom: 0.1em; font-family: var(--font-body); font-weight: 800; }
.scan-demo__line {
  position: absolute; left: 12%; right: 12%; top: 20%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 214, 10,0) 0%, var(--amber) 20%, #fff7c2 50%, var(--amber) 80%, rgba(255, 214, 10,0) 100%);
  box-shadow: 0 0 18px 4px var(--amber-glow), 0 0 40px 10px rgba(255, 214, 10,0.2);
  opacity: 0; z-index: 2;
}
.scan-demo.is-scanning .scan-demo__line { animation: scan-sweep 1.6s var(--ease) 1; }
@keyframes scan-sweep {
  0% { top: 20%; opacity: 0; }
  8% { opacity: 1; }
  50% { top: 68%; }
  92% { opacity: 1; }
  100% { top: 20%; opacity: 0; }
}
.scan-demo__result {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.scan-demo.has-result .scan-demo__result { transform: none; opacity: 1; }
.scan-demo__status { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.scan-demo__status .ic { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #fff; flex: none; }
.scan-demo[data-state="valid"] .ic { background: var(--green); }
.scan-demo[data-state="none"] .ic { background: var(--red); }
.scan-demo[data-state="guest"] .ic { background: var(--amber-3); color: var(--ink); }
.scan-demo__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-2); }
.scan-demo__meta b { color: var(--ink); }
.scan-demo__actions { display: flex; gap: 0.5rem; margin-top: 0.7rem; }
.scan-demo__actions .chip { flex: 1; text-align: center; padding: 0.45rem 0.6rem; border-radius: var(--radius-md); font-size: 0.8rem; font-weight: 800; border: 1.5px solid var(--line-2); color: var(--ink); }
.scan-demo__actions .chip.danger { background: var(--red); border-color: var(--red); color: #fff; }
.scan-demo__actions .chip.amber { background: var(--amber); border-color: var(--amber); }
.scan-demo__replay {
  position: absolute; right: 0.9rem; top: 3.1rem; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(11,18,48,0.55); color: #fff; backdrop-filter: blur(6px);
}
.scan-demo__replay:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.scan-demo__dots { position: absolute; left: 1rem; top: 3.25rem; z-index: 4; display: flex; gap: 6px; }
.scan-demo__dots span { width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.3); }
.scan-demo__dots span.on { background: var(--amber); }
.floating-chip {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.8rem; border-radius: var(--radius-full);
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); font-size: 0.82rem; font-weight: 700;
  animation: float 6s ease-in-out infinite;
}
.floating-chip i { color: var(--amber-deep); }
.floating-chip.c1 { left: 0.75rem; top: 22%; animation-delay: -1s; }
.floating-chip.c2 { right: 0.75rem; top: 56%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) {
  .scan-demo { margin: 2rem auto 0; max-width: 440px; aspect-ratio: 4 / 4.4; }
  .floating-chip.c1 { left: 0.5rem; }
  .floating-chip.c2 { right: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-chip { animation: none; }
  .scan-demo.is-scanning .scan-demo__line { animation: none; opacity: 0; }
}

/* ------------------------------------------------------ logo marquee ----- */
.logo-ticker-section { padding: 2.25rem 0 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.logo-ticker-title { text-align: center; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.5rem; }
.logo-ticker-wrapper { position: relative; width: 100%; overflow: hidden; }
.logo-ticker-wrapper::before, .logo-ticker-wrapper::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.logo-ticker-wrapper::before { left: 0; background: linear-gradient(90deg, var(--paper), rgba(255,255,255,0)); }
.logo-ticker-wrapper::after { right: 0; background: linear-gradient(270deg, var(--paper), rgba(255,255,255,0)); }
.logo-ticker-track { display: flex; align-items: center; gap: 4.5rem; width: max-content; animation: logo-ticker-scroll 55s linear infinite; }
.logo-ticker-track:hover { animation-play-state: paused; }
.logo-ticker-item { flex: none; display: flex; align-items: center; justify-content: center; height: 44px; }
.logo-ticker-item img { max-height: 44px; max-width: 160px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
.logo-ticker-item img:hover { filter: none; opacity: 1; }
@keyframes logo-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 2rem; } }

/* ------------------------------------------------------------ stats ------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.stat { background: var(--paper); padding: 1.75rem 1.5rem; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat__num small { font-size: 0.5em; color: var(--ink-3); margin-left: 0.1em; }
.stat__label { margin-top: 0.5rem; font-weight: 600; color: var(--ink-2); }
.stat__sub { font-size: 0.85rem; color: var(--ink-3); }
@media (max-width: 767.98px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------ how it works ----- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 3px; border-radius: 2px;
  background: var(--line);
}
.steps::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform-origin: left center; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.3s;
}
.steps.in::after { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 0.5rem; display: flex; flex-direction: column; }
.step__num {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 3px solid var(--line-2);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--ink);
  position: relative; z-index: 1;
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease);
}
.steps.in .step__num { border-color: var(--amber); background: var(--amber-tint); }
.steps.in .step:nth-child(1) .step__num { transition-delay: 0.2s; }
.steps.in .step:nth-child(2) .step__num { transition-delay: 0.9s; }
.steps.in .step:nth-child(3) .step__num { transition-delay: 1.6s; }
.step h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); margin: 0; }
.step__pic { margin-top: auto; padding-top: 1.25rem; box-sizing: content-box; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }
}

/* ---------------------------------------------------- solutions tabs ----- */
.tabs { display: flex; gap: 0.4rem; padding: 0.35rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-full); width: max-content; max-width: 100%; margin: 0 auto 2.5rem; overflow-x: auto; }
.tab {
  border: 0; background: transparent; padding: 0.7rem 1.25rem; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.95rem; color: var(--ink-2); white-space: nowrap; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.tab i { color: var(--amber-deep); }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.tab.active i { color: var(--amber); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panel-in 0.55s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.solution { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.solution__pic { position: relative; border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.solution__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.solution__pic .tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,0.94); color: var(--ink); border-radius: var(--radius-md);
  padding: 0.55rem 0.8rem; font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.solution__pic .tag i { color: var(--amber-deep); }
.solution h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.75rem; }
.solution p.lead-copy { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1.25rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-2); }
.checks li i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-ink); font-size: 0.7rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.15rem; }
.checks li b { color: var(--ink); }
@media (max-width: 991.98px) {
  .solution { grid-template-columns: 1fr; gap: 1.75rem; }
  .solution__pic { aspect-ratio: 16 / 10; }
  .tabs { width: 100%; justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  .tabs { flex-wrap: wrap; justify-content: center; border-radius: var(--radius-xl); overflow: visible; }
  .tab { flex: 1 1 auto; justify-content: center; }
}

/* ---------------------------------------------------- product showcase --- */
.showcase { position: relative; }
.showcase__img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(15,22,41,0.25)); }
.showcase .floating-chip { animation-duration: 7s; }
.showcase .floating-chip.s1 { left: 0; top: 4%; }
.showcase .floating-chip.s2 { right: 0; top: 0; animation-delay: -2s; }
.showcase .floating-chip.s3 { left: 0; bottom: 2%; animation-delay: -4s; }
.showcase .floating-chip.s4 { right: 0; bottom: 6%; animation-delay: -5.5s; }
@media (max-width: 767.98px) { .showcase .floating-chip { display: none; } }
.store-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 44px; width: auto; }

/* -------------------------------------------------------- feature bento -- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 1.25rem; }
.feature-card {
  position: relative;
  background: linear-gradient(160deg, #fff 0%, #fff 55%, var(--amber-tint) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(230, 194, 0, 0.6); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h5, .feature-card h4 { position: relative; font-size: 1.2rem; margin-bottom: 0.45rem; }
.feature-card p { position: relative; color: var(--ink-2); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.feature-card__mark {
  position: absolute; right: -0.35em; bottom: -0.3em;
  font-size: 7rem; line-height: 1;
  color: rgba(255, 214, 10, 0.13);
  transform: rotate(-12deg);
  transition: transform 0.5s var(--ease), color 0.4s;
  pointer-events: none;
}
.feature-card:hover .feature-card__mark { transform: rotate(-4deg) scale(1.08) translate(-4px, -4px); color: rgba(255, 214, 10, 0.22); }
.feature-card__for {
  position: absolute; top: 1.15rem; right: 1.15rem; z-index: 1;
  display: inline-flex; align-items: center;
  padding: 0.28rem 0.6rem; border-radius: var(--radius-full);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber-ink); background: var(--amber-soft);
}
.feature-card__for.on-photo { top: 1.25rem; left: 1.25rem; right: auto; background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.feature-icon {
  position: relative;
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--ink); font-size: 1.3rem;
  box-shadow: 0 10px 22px -10px rgba(255, 214, 10, 0.8);
  transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-icon { transform: translateY(-2px) rotate(-4deg); }
.feature-card.wide { grid-column: span 2; }
.feature-card.photo { padding: 0; min-height: 280px; color: #fff; display: flex; align-items: flex-end; background: var(--navy); }
.feature-card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.feature-card.photo:hover img { transform: scale(1.04); }
.feature-card.photo .cap { position: relative; padding: 1.5rem; width: 100%; background: linear-gradient(180deg, rgba(23,21,15,0) 0%, rgba(23,21,15,0.88) 70%); }
.feature-card.photo .cap h4 { color: #fff; }
.feature-card.photo .cap p { color: rgba(255,255,255,0.85); }
.feature-section-group { margin-top: 3rem; }
.feature-section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.feature-section-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--amber); font-size: 1.25rem; }
.feature-section-title { font-size: 1.5rem; margin: 0; }
.feature-section-subtitle { margin: 0; color: var(--ink-3); font-size: 0.95rem; }
@media (max-width: 991.98px) { .bento { grid-template-columns: repeat(2, 1fr); } .feature-card.wide { grid-column: span 2; } }
@media (max-width: 575.98px) { .bento { grid-template-columns: 1fr; } .feature-card.wide { grid-column: span 1; } }

/* ------------------------------------------------------- resident band --- */
.phone {
  width: 280px; margin: 0 auto;
  border-radius: 40px; padding: 12px;
  background: var(--ink); box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3150;
}
.phone__screen { border-radius: 30px; background: var(--paper); overflow: hidden; min-height: 500px; display: flex; flex-direction: column; }
.phone__top { background: var(--amber); padding: 1.4rem 1rem 0.9rem; font-weight: 800; font-family: var(--font-display); color: var(--ink); }
.phone__top small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; opacity: 0.8; letter-spacing: 0.06em; text-transform: uppercase; }
.phone__body { padding: 1rem; display: grid; gap: 0.7rem; font-size: 0.8rem; }
.phone__field { border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0.5rem 0.65rem; color: var(--ink-3); background: #fff; }
.phone__field b { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4); }
.phone__field span { color: var(--ink); font-weight: 600; }
.phone__field.plate span { font-family: var(--font-plate); font-size: 1.15rem; letter-spacing: 0.1em; }
.phone__prog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.phone__prog i { display: block; height: 100%; width: 60%; background: var(--amber); border-radius: 3px; animation: prog 3.5s var(--ease) infinite alternate; }
@keyframes prog { from { width: 25%; } to { width: 85%; } }
.phone__btn { margin-top: 0.3rem; background: var(--amber); color: var(--ink); text-align: center; border-radius: 999px; padding: 0.6rem; font-weight: 800; }
.qr-card { display: flex; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.qr-card svg { flex: none; }

/* -------------------------------------------------------- integrations --- */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.pill i { color: var(--amber-deep); }

/* --------------------------------------------------------------- faq ----- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); margin-bottom: 0.75rem; overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.faq details[open] { border-color: var(--amber-3); box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-ink); display: inline-flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease), background 0.3s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--amber); color: var(--ink); }
.faq .faq__body { padding: 0 1.25rem 1.25rem; color: var(--ink-2); line-height: 1.65; }

/* ------------------------------------------------------------- CTA band -- */
.cta-band { position: relative; overflow: hidden; background: var(--amber); color: var(--ink); }
.cta-band::before { content: ""; position: absolute; right: -12%; top: -70%; width: 55%; height: 240%; background: radial-gradient(closest-side, rgba(230, 180, 0, 0.45), rgba(230, 180, 0, 0)); pointer-events: none; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 22, 41, 0.14) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.9)); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.9)); pointer-events: none; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--ink); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band .section-title { color: var(--ink); }
.cta-band p { color: rgba(15, 22, 41, 0.78); }
.cta-band .btn-glass-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(15, 22, 41, 0.6); }
.cta-band .btn-glass-primary:hover { background: var(--navy-2); color: #fff; }
.cta-band .phone-link { color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.cta-band .phone-link:hover { color: rgba(15, 22, 41, 0.7); }

/* -------------------------------------------------------------- footer --- */
.footer-glass { background: var(--navy); color: rgba(255,255,255,0.75); border-top: 1px solid var(--navy-line); }
.footer-glass a { color: rgba(255,255,255,0.75); }
.footer-glass a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-col h6 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid var(--navy-line); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer-glass .text-glass-muted { color: rgba(255,255,255,0.6) !important; }
@media (max-width: 767.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------ contact page ----- */
.contact-info { display: grid; gap: 1rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.contact-tile .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.contact-tile b { display: block; color: var(--ink); }
.contact-tile a { color: var(--ink); font-weight: 600; }
.contact-tile a:hover { color: var(--ink-2); }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; counter-reset: s; }
.next-steps li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--ink-2); }
.next-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--amber); font-weight: 800; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; }
.resident-notice { border: 1.5px solid var(--amber-3); background: var(--amber-tint); border-radius: var(--radius-xl); padding: 1.25rem 1.5rem; }
.resident-notice h2 { font-size: 1.15rem; margin: 0 0 0.35rem; display: flex; align-items: center; gap: 0.6rem; }
.resident-notice h2 i { color: var(--red); }
.resident-notice p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------ resident/legacy pages --- */
.pricing-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pricing-card .card-title { color: var(--ink); }
.pricing-card .card-text { color: var(--ink-2); }
.knowledge-base-section { background: var(--paper-2) !important; }
.wizard-head { background: var(--amber); color: var(--ink); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.resident-login-card { background: var(--paper); }

/* -------------------------------------------------------- video modal ---- */
.video-modal .modal-content { background: #000; border: 0; }
.video-modal .ratio { border-radius: var(--radius-xl); overflow: hidden; }
.video-modal .btn-close { position: absolute; right: -0.25rem; top: -2.5rem; filter: invert(1); opacity: 0.9; }
.video-poster { position: relative; display: block; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); cursor: pointer; }
.video-poster img { width: 100%; display: block; transition: transform 0.8s var(--ease); }
.video-poster:hover img { transform: scale(1.03); }
.video-poster .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; background: var(--amber); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; padding-left: 6px;
  box-shadow: 0 0 0 12px rgba(255, 214, 10,0.25), var(--shadow-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.video-poster:hover .play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 18px rgba(255, 214, 10,0.25), var(--shadow-lg); }
.video-poster .len { position: absolute; right: 1rem; bottom: 1rem; background: rgba(11,18,48,0.75); color: #fff; padding: 0.3rem 0.6rem; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }

/* ------------------------------------------------------------ utilities -- */
.mw-30 { max-width: 30rem; }
.mw-36 { max-width: 36rem; }
.text-ink-2 { color: var(--ink-2); }
.text-ink-3 { color: var(--ink-3); }
.bg-amber { background: var(--amber); }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.shadow-soft { box-shadow: var(--shadow-md); }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-fade-in { animation: fadeIn 0.6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* anchored sections clear the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

/* ----------------------------------------------------------- trusted by --- */
.trust { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #fff 0%, var(--amber-tint) 100%); border-top: 1px solid var(--line); overflow: hidden; }
.trust__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.trust__head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 0; }
.trust__head p { max-width: 26rem; color: var(--ink-3); }
.trust__row { position: relative; overflow: hidden; padding: 0.4rem 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trust__row + .trust__row { margin-top: 0.6rem; }
.trust__track { display: flex; gap: 1rem; width: max-content; padding: 0 0.5rem; animation: logo-ticker-scroll 60s linear infinite; }
.trust__row.rev .trust__track { animation-direction: reverse; animation-duration: 70s; }
.trust__row:hover .trust__track { animation-play-state: paused; }
.trust__card {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 196px; height: 88px; padding: 0 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.trust__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--amber-3); }
.trust__card img { max-height: 46px; max-width: 150px; width: auto; object-fit: contain; }
@media (max-width: 767.98px) {
  .trust__head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust__card { width: 160px; height: 76px; }
  .trust__card img { max-height: 38px; max-width: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .trust__row { mask-image: none; -webkit-mask-image: none; }
}

/* ------------------------------------------------- page hero bands (contact/support) --- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--amber-tint) 0%, #fff 100%); }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; background: radial-gradient(closest-side, rgba(255, 214, 10, 0.3), rgba(255, 214, 10, 0)); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 22, 41, 0.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0) 80%); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .section-title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.photo-card { position: relative; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card .tag { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,0.94); color: var(--ink); border-radius: var(--radius-md); padding: 0.55rem 0.8rem; font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; gap: 0.5rem; }
.photo-card .tag i { color: var(--amber-deep); }
.contact-tile { background: #fff; box-shadow: var(--shadow-sm); }
.resident-strip { background: var(--navy); color: #fff; }
.resident-strip h3 { color: #fff; margin: 0 0 0.25rem; font-size: 1.35rem; }
.resident-strip p { color: rgba(255,255,255,0.72); margin: 0; }

/* tall vertical wordmarks get more height in the logo cards */
.trust__card img[src*="borger"] { max-height: 72px; }
