/* ==========================================================================
   Bodhi, site.css
   Dark sections: navy gradient with white and light-blue accents. Light sections: white with Bodhi Blue headings and tint cards.
   Gold is reserved for the five stars (--star). Will, Nov 20 2026: "drop the gold and only use it for 5 stars".
   Tokens first; every component reads from them.
   ========================================================================== */

:root {
  /* 2026 deck palette (Platform Overview 2026, brochure, proposals) */
  --navy-900: #0B1D2E;
  --navy-800: #0E2438;
  --navy-700: #1B3A5F;
  --charcoal: #1C1F2A;
  --card: #FFFFFF;
  --card-2: #F4F7FB;

  --bodhi-blue: #01426A;
  --accent: #C8D8EB;        /* light blue on dark */
  --accent-deep: #01426A;   /* Bodhi Blue on white */
  --star: #F5B829;          /* the only gold on the site: the five stars */
  --light-blue: #C8D8EB;
  --gold: #C8D8EB;          /* legacy name, now the light-blue accent */
  --gold-deep: #01426A;
  --gray: #75787B;

  --paper: #FFFFFF;
  --paper-2: #F4F7FB;
  --line-dark: rgba(200, 216, 235, 0.16);
  --line-light: #DFE7F1;
  --line-tint: #C8D8EB;

  --ink: #1C1F2A;
  --ink-2: #4A5463;
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-2: rgba(255, 255, 255, 0.78);

  --ok: #2FBF71;
  --warn: #F5B829;
  --crit: #E5484D;

  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mono: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --fs-0: 0.8125rem;
  --fs-1: 1rem;
  --fs-2: 1.1875rem;
  --fs-3: 1.5rem;
  --fs-4: 2rem;
  --fs-5: 2.75rem;
  --fs-6: clamp(2.5rem, 5.2vw, 4.25rem);

  --measure: 62ch;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 8px;
  --shadow: 0 24px 60px rgba(5, 18, 33, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink-on-dark);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #fff; outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.measure { max-width: var(--measure); }

/* --- Type roles ------------------------------------------------------- */
.eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
:is(.on-light,.on-light-2) .eyebrow { color: var(--bodhi-blue); }
.h-display { font-size: var(--fs-6); font-weight: 700; line-height: 1.06; }
:is(.on-light,.on-light-2) :is(.h-display,.h-1,.h-2) { color: var(--bodhi-blue); }
.h-1 { font-size: var(--fs-5); font-weight: 700; line-height: 1.12; }
.h-2 { font-size: clamp(1.75rem, 3.2vw, var(--fs-4)); font-weight: 600; line-height: 1.14; }
.h-3 { font-size: var(--fs-3); font-weight: 600; line-height: 1.22; }
.h-4 { font-size: var(--fs-2); font-weight: 600; line-height: 1.28; }
.lead { font-size: 1.25rem; line-height: 1.5; }
.muted { color: var(--ink-on-dark-2); }
:is(.on-light,.on-light-2) .muted { color: var(--ink-2); }
.tnum { font-variant-numeric: tabular-nums; }
.gold { color: var(--gold); }
:is(.on-light,.on-light-2) .gold { color: var(--bodhi-blue); }

/* --- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--display); font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em;
  padding: 0.9em 1.5em; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: #fff; color: var(--navy-900); }
.btn-gold:hover { background: #E8EEF5; }
:is(.on-light,.on-light-2) .btn-gold { background: var(--bodhi-blue); color: #fff; }
:is(.on-light,.on-light-2) .btn-gold:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--ink-on-dark); }
.btn-ghost:hover { border-color: var(--ink-on-dark); }
:is(.on-light,.on-light-2) .btn-ghost { border-color: rgba(1, 66, 106, 0.35); color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .btn-ghost:hover { border-color: var(--bodhi-blue); }
.btn-navy { background: var(--bodhi-blue); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-lg { font-size: 1.0625rem; padding: 1.05em 1.8em; }
.btn .arrow { transition: transform 140ms ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 29, 46, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 46px; width: auto; display: block; }
@media (max-width: 560px) { .brand img { height: 38px; } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--display); font-size: 0.875rem; font-weight: 600;
  padding: 0.55em 0.85em; border-radius: var(--radius); color: var(--ink-on-dark-2);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink-on-dark); background: rgba(255, 255, 255, 0.08); }
.nav-links a.ext::after { content: " ↗"; font-size: 0.8em; opacity: 0.7; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .login { font-family: var(--display); font-size: 0.875rem; font-weight: 600; padding: 0.55em 0.85em; color: var(--ink-on-dark-2); }
.nav-actions .login:hover { color: var(--ink-on-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--ink-on-dark);
  border-radius: var(--radius); padding: 8px 10px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 0.8125rem;
}
/* Dropdowns */
.has-menu { position: relative; }
.menu-btn {
  font-family: var(--display); font-size: 0.875rem; font-weight: 600; background: none; border: 0; cursor: pointer;
  padding: 0.55em 0.85em; border-radius: var(--radius); color: var(--ink-on-dark-2); display: inline-flex; align-items: center; gap: 4px;
}
.menu-btn .caret { font-size: 0.75em; transition: transform 140ms ease; }
.has-menu:hover .menu-btn, .has-menu.open .menu-btn, .menu-btn[aria-current="page"] { color: var(--ink-on-dark); background: rgba(255, 255, 255, 0.08); }
.has-menu.open .menu-btn .caret { transform: rotate(180deg); }
.menu {
  position: absolute; left: 0; top: calc(100% + 10px); width: 380px; padding: 8px;
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; box-shadow: var(--shadow);
  display: none; z-index: 60;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.open .menu { display: block; }
@media (hover: hover) and (min-width: 901px) { .has-menu:hover .menu, .has-menu:focus-within .menu { display: block; } }
.menu-item { display: grid; gap: 3px; padding: 12px 14px; border-radius: 6px; color: var(--ink-on-dark); }
.menu-item:hover { background: rgba(255, 255, 255, 0.08); }
.menu-item .mi-title { font-family: var(--display); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.menu-item .mi-desc { font-family: var(--body); font-size: 0.85rem; color: var(--ink-on-dark-2); line-height: 1.35; }
.menu-item.featured { background: rgba(200, 216, 235, 0.10); border: 1px solid rgba(200, 216, 235, 0.35); margin-bottom: 6px; }
.menu-item.featured:hover { background: rgba(200, 216, 235, 0.16); }
.mi-badge { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-900); background: var(--accent); padding: 2px 6px; border-radius: 3px; }
.menu-rest { display: grid; }

/* --- Sections --------------------------------------------------------- */
.section { padding-block: clamp(52px, 6.5vw, 84px); }
.section.tight { padding-block: clamp(36px, 5vw, 56px); }
.on-dark { background: linear-gradient(135deg, #0B1D2E 0%, #0E2438 55%, #1B3A5F 100%); color: var(--ink-on-dark); }
.on-dark-2 { background: linear-gradient(160deg, #0E2438 0%, #0B1D2E 100%); color: var(--ink-on-dark); }
.on-light { background: var(--paper); color: var(--ink); }
.on-light-2 { background: var(--paper-2); color: var(--ink); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.section-head .lead { max-width: var(--measure); }
.rule { height: 1px; background: var(--line-dark); border: 0; margin: 0; }
:is(.on-light,.on-light-2) .rule { background: var(--line-light); }

/* --- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 5.5vw, 72px) clamp(40px, 5vw, 64px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .lead { max-width: 54ch; color: var(--ink-on-dark-2); }
.hero-copy .h-display .gold { display: inline; }
.hero-note { font-size: var(--fs-0); color: var(--ink-on-dark-2); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Subpage hero (no panel) */
.hero-simple { padding-block: clamp(44px, 5.5vw, 72px) clamp(36px, 4.5vw, 56px); }
.hero-simple .hero-copy { max-width: 820px; }

/* --- Ops panel (the hero object) ------------------------------------- */
.ops {
  background: linear-gradient(180deg, #0E2438, #0B1D2E);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-family: var(--body);
  font-size: 0.8rem;
  color: var(--ink-on-dark);
  overflow: hidden;
}
.ops-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.ops-bar .title { font-family: var(--display); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.04em; }
.ops-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-on-dark-2); }
.ops-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 191, 113, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,113,.55);} 70% { box-shadow: 0 0 0 8px rgba(47,191,113,0);} 100% { box-shadow: 0 0 0 0 rgba(47,191,113,0);} }
.ops-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.ops-rooms { padding: 14px 16px; border-right: 1px solid var(--line-dark); }
.ops-label { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-on-dark-2); margin-bottom: 10px; display: flex; justify-content: space-between; }
.room-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.room {
  aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.16);
  display: grid; place-items: center; font-size: 0.6rem; color: rgba(255, 255, 255, 0.55);
}
.room.ok { background: rgba(47, 191, 113, 0.32); color: #DFF7E9; }
.room.warn { background: rgba(200, 216, 235, 0.55); color: #1C1F2A; font-weight: 600; }
.room.crit { background: rgba(229, 72, 77, 0.75); color: #fff; font-weight: 600; }
.room.vacant { background: rgba(255, 255, 255, 0.08); }
.ops-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: var(--ink-on-dark-2); font-size: 0.68rem; }
.ops-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.ops-legend .l-ok::before { background: rgba(47,191,113,.7); }
.ops-legend .l-warn::before { background: var(--warn); }
.ops-legend .l-crit::before { background: var(--crit); }
.ops-legend .l-vac::before { background: rgba(255, 255, 255, .18); }
.ops-feed { padding: 14px 16px; display: grid; gap: 8px; align-content: start; }
.alert { display: grid; grid-template-columns: 6px 1fr; gap: 10px; padding: 8px 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); line-height: 1.35; }
.alert .stripe { border-radius: 2px; background: var(--warn); }
.alert.crit .stripe { background: var(--crit); }
.alert.ok .stripe { background: var(--ok); }
.alert b { font-weight: 600; color: var(--ink-on-dark); }
.alert .what { color: var(--ink-on-dark-2); }
.alert .act { color: var(--ok); }
.ops-foot { padding: 10px 16px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; color: var(--ink-on-dark-2); font-size: 0.7rem; }
.ops-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .ops-body { grid-template-columns: 1fr; }
  .ops-rooms { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .room-grid { grid-template-columns: repeat(8, 1fr); }
}

/* --- Logo bar --------------------------------------------------------- */
.logos { padding-block: 28px 36px; border-top: 1px solid var(--line-dark); }
.logos .label { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: baseline; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 44px; width: auto; flex: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee-track img.dup { display: none; } .marquee { mask-image: none; -webkit-mask-image: none; } }
@media (max-width: 560px) { .marquee-track img { height: 34px; } }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.wordmark.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0.06em; }

/* --- Stats ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.stat { padding: 26px 26px 24px; border-right: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat .num small { font-size: 0.5em; font-weight: 700; letter-spacing: 0; margin-left: 0.15em; }
.stat .cap { margin-top: 10px; color: var(--ink-on-dark-2); font-size: 0.95rem; line-height: 1.3; }
:is(.on-light,.on-light-2) .stats { border-color: var(--line-light); }
:is(.on-light,.on-light-2) .stat { border-color: var(--line-light); background: var(--card-2); }
:is(.on-light,.on-light-2) .stat .num { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .stat .cap { color: var(--ink-2); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } :is(.on-light,.on-light-2) .stat:nth-child(-n+2) { border-bottom-color: var(--line-light); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0 !important; border-bottom: 1px solid var(--line-dark); } .stat:last-child { border-bottom: 0; } }

/* --- Three pillars ---------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--bodhi-blue); }
.pillar { padding: 32px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line-light); }
.pillar .h-3 { color: var(--bodhi-blue); }
.pillar ul { display: grid; gap: 8px; color: var(--ink-2); }
.pillar li { padding-left: 18px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--accent-deep); }
.pillar .proof { font-family: var(--display); font-weight: 700; font-size: 0.875rem; color: var(--ink); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); } }

/* --- Reviews section -------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fails { display: grid; gap: 2px; }
.fail { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: rgba(255, 255, 255, 0.05); border-left: 3px solid var(--crit); }
.fail .k { font-family: var(--display); font-size: 0.72rem; color: var(--ink-on-dark-2); }
.fail .t { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.fail .s { font-family: var(--display); font-size: 0.72rem; color: var(--warn); white-space: nowrap; }
.fail.caught { border-left-color: var(--ok); }
.fail.caught .s { color: var(--ok); }
.review-stats { display: grid; gap: 18px; margin-top: 28px; }
.review-stat { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.review-stat .num { font-family: var(--display); font-weight: 700; font-size: 2.25rem; color: #fff; line-height: 1; }
.review-stat p { color: var(--ink-on-dark-2); }
.cite { font-size: var(--fs-0); color: var(--ink-on-dark-2); }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* --- Property map (platform, not features) --------------------------- */
.property { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.space { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.space .h-4 { color: var(--bodhi-blue); }
.space p { color: var(--ink-2); font-size: 0.975rem; }
.space .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--display); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: var(--card-2); color: var(--bodhi-blue); border: 1px solid var(--line-light); }
@media (min-width: 961px) { .property.five { grid-template-columns: repeat(5, 1fr); } .property.five .space { padding: 20px 18px; } }
@media (max-width: 960px) { .property { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .property { grid-template-columns: 1fr; } }

.integrations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.integ { font-family: var(--display); font-weight: 700; font-size: 0.8125rem; padding: 14px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--card); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.integ::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bodhi-blue); flex: none; }
.on-dark .integ::before, .on-dark-2 .integ::before { background: var(--gold); }
.on-dark .integ, .on-dark-2 .integ { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); color: var(--ink-on-dark); }
@media (max-width: 960px) { .integrations { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .integrations { grid-template-columns: repeat(2, 1fr); } }

/* --- Verticals (built for hotels, runs anywhere) -------------------- */
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vertical { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px 24px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); color: var(--ink-on-dark); transition: transform 140ms ease, border-color 140ms ease; }
.vertical:hover { transform: translateY(-2px); border-color: rgba(200, 216, 235, 0.5); }
.vertical .kind { font-family: var(--display); font-size: 0.8125rem; font-weight: 600; color: var(--gold); }
.vertical p { color: var(--ink-on-dark-2); font-size: 0.975rem; }
.vertical .more { font-family: var(--display); font-weight: 700; font-size: 0.875rem; color: var(--accent); }
:is(.on-light,.on-light-2) .vertical { background: var(--card); border-color: var(--line-light); color: var(--ink); }
:is(.on-light,.on-light-2) .vertical .kind { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .vertical p { color: var(--ink-2); }
:is(.on-light,.on-light-2) .vertical .more { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .vertical:hover { border-color: var(--bodhi-blue); box-shadow: 0 14px 34px rgba(1, 66, 106, 0.12); }
@media (max-width: 860px) { .verticals { grid-template-columns: 1fr; } }

/* Callout strip (hospitality-first note on vertical pages) */
.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); }
:is(.on-light,.on-light-2) .callout { background: var(--card-2); border-color: var(--line-light); }
:is(.on-light,.on-light-2) .callout .k { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .callout p { color: var(--ink-2); }
:is(.on-light,.on-light-2) .callout p b { color: var(--ink); }
.callout .k { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.callout p { color: var(--ink-on-dark-2); }
.callout p b { color: var(--ink-on-dark); font-weight: 600; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* --- AI trio ---------------------------------------------------------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agent { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); border-radius: 8px; padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.agent .who { font-family: var(--display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.agent ul { display: grid; gap: 8px; color: var(--ink-on-dark-2); font-size: 0.975rem; }
.agent li { padding-left: 16px; position: relative; }
.agent li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 2px; background: var(--accent); }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }
.infra { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px 26px; border: 1px solid var(--line-dark); border-radius: 8px; background: rgba(255,255,255,0.05); }
.badge-soc { font-family: var(--display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: #0B1D2E; background: var(--accent); padding: 10px 14px; border-radius: 4px; text-align: center; line-height: 1.15; }
.infra p { color: var(--ink-on-dark-2); }
.infra p b { color: var(--ink-on-dark); font-weight: 600; }
@media (max-width: 560px) { .infra { grid-template-columns: 1fr; } }

/* --- Testimonials ----------------------------------------------------- */
.quotes { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.quote { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 28px 26px 24px; display: grid; grid-template-rows: 1fr auto; gap: 24px; }
.quote.lead-quote { background: var(--bodhi-blue); color: #fff; border-color: transparent; }
.quote blockquote { margin: 0; font-size: 1.125rem; line-height: 1.45; }
.quote.lead-quote blockquote { font-size: 1.35rem; font-family: var(--display); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.quote blockquote::before { content: "“"; color: var(--gold); font-family: var(--display); font-weight: 600; margin-right: 2px; }
.quote figcaption { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.quote figcaption .qlogo { order: -1; }
.quote.lead-quote figcaption { border-top-color: rgba(255,255,255,0.18); }
.quote .who { font-family: var(--display); font-size: 0.8125rem; line-height: 1.35; }
.quote .who b { display: block; font-weight: 700; }
.quote .who span { color: var(--ink-2); }
.quote.lead-quote .who span { color: rgba(255,255,255,0.66); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* --- ROI band --------------------------------------------------------- */
.roi-band { background: linear-gradient(135deg, #0B1D2E, #1B3A5F); color: var(--ink-on-dark); padding-block: clamp(36px, 4.5vw, 56px); }
.roi-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.roi-band .h-1 { letter-spacing: -0.03em; }
.roi-band .stars { font-size: 1.25rem; letter-spacing: 0.18em; margin-bottom: 12px; color: var(--star); }
.roi-band p { font-size: 1.2rem; max-width: 46ch; margin-top: 10px; color: var(--ink-on-dark-2); }
.roi-band .btn { background: #fff; color: var(--navy-900); }
.roi-band .btn:hover { background: #E8EEF5; }
@media (max-width: 760px) { .roi-band .wrap { grid-template-columns: 1fr; } }

/* --- Closing CTA ------------------------------------------------------ */
.closer { text-align: left; }
.closer .h-display { max-width: 16ch; font-size: clamp(2.1rem, 3.8vw, 3.25rem); }
.closer .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.closer .grid p { color: var(--ink-on-dark-2); max-width: 44ch; }
@media (max-width: 860px) { .closer .grid { grid-template-columns: 1fr; } }

/* --- Feature lists (hospitality / platform) --------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .copy { display: grid; gap: 16px; }
.split .copy p { color: var(--ink-2); }
.on-dark .split .copy p, .on-dark-2 .split .copy p { color: var(--ink-on-dark-2); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin-top: 6px; }
.checks li { font-size: 0.975rem; padding-left: 22px; position: relative; color: var(--ink); }
.on-dark .checks li, .on-dark-2 .checks li { color: var(--ink-on-dark); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 11px; height: 6px; border-left: 2px solid var(--bodhi-blue); border-bottom: 2px solid var(--bodhi-blue); transform: rotate(-45deg); }
.on-dark .checks li::before, .on-dark-2 .checks li::before { border-color: var(--gold); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .checks { grid-template-columns: 1fr; } }

/* Phone mock */
.phone { width: min(300px, 80%); margin-inline: auto; background: #0B1D2E; border: 6px solid #1B3A5F; border-radius: 34px; padding: 18px 14px; box-shadow: var(--shadow); font-family: var(--display); color: var(--ink-on-dark); }
.phone .ph-top { display: flex; justify-content: space-between; font-family: var(--display); font-size: 0.65rem; color: var(--ink-on-dark-2); margin-bottom: 14px; }
.phone .ph-title { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.phone .ph-sub { font-family: var(--body); color: var(--ink-on-dark-2); font-size: 0.8rem; margin-top: 2px; }
.phone .ph-key { margin: 14px 0; padding: 18px 14px; border-radius: 12px; background: var(--accent); color: #0B1D2E; font-weight: 600; text-align: center; font-size: 0.95rem; letter-spacing: 0.04em; }
.phone .ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone .ph-tile { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 10px; font-size: 0.72rem; font-weight: 600; }
.phone .ph-tile small { display: block; font-family: var(--display); font-weight: 400; color: var(--ink-on-dark-2); margin-top: 4px; font-size: 0.62rem; }
.phone .ph-req { margin-top: 10px; font-size: 0.72rem; font-weight: 600; padding: 10px 12px; border-radius: 10px; background: rgba(200, 216, 235, 0.14); }
.phone .ph-req small { display: block; font-family: var(--display); font-weight: 400; color: var(--ink-on-dark-2); margin-top: 3px; font-size: 0.62rem; }

/* Energy math block */
.math { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.math-card { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 26px 24px; display: grid; gap: 8px; }
.math-card .num { font-family: var(--display); font-weight: 600; font-size: 2.4rem; color: var(--bodhi-blue); line-height: 1; letter-spacing: -0.04em; }
.math-card .lbl { font-family: var(--display); font-weight: 700; font-size: 0.9rem; }
.math-card p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .math { grid-template-columns: 1fr; } }
.footnote { font-size: var(--fs-0); color: var(--ink-2); margin-top: 16px; }

/* Team grid */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { border-top: 2px solid var(--accent); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.role .h-4 { font-size: 1.05rem; }
.role p { color: var(--ink-on-dark-2); font-size: 0.975rem; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--display); font-weight: 700; font-size: 0.8125rem; color: var(--accent); }
.step .h-4 { color: var(--bodhi-blue); }
.step p { color: var(--ink-2); font-size: 0.975rem; }
.on-dark .step, .on-dark-2 .step { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.on-dark .step .h-4, .on-dark-2 .step .h-4 { color: var(--ink-on-dark); }
.on-dark .step p, .on-dark-2 .step p { color: var(--ink-on-dark-2); }
.on-dark .step::before, .on-dark-2 .step::before { color: var(--accent); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Hardware */
.hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hw-card { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.hw-card .h-4 { color: var(--bodhi-blue); }
.hw-card p { color: var(--ink-2); font-size: 0.975rem; }
.hw-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
@media (max-width: 860px) { .hw { grid-template-columns: 1fr; } }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.story { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 26px; transition: transform 140ms ease, box-shadow 140ms ease; }
.story:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(1, 66, 106, 0.12); }
.story .meta { font-family: var(--display); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.story .h-3 { color: var(--bodhi-blue); }
.story p { color: var(--ink-2); }
.story .more { font-family: var(--display); font-weight: 600; font-size: 0.875rem; color: var(--bodhi-blue); }
@media (max-width: 760px) { .stories { grid-template-columns: 1fr; } }

/* --- Demo form -------------------------------------------------------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { background: var(--card); border: 1px solid var(--line-light); border-radius: 10px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; color: var(--ink); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--display); font-weight: 700; font-size: 0.8125rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 0.7em 0.85em; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--card); color: var(--ink); width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bodhi-blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-2); }
.check input { margin-top: 4px; }
.form .fine { font-size: var(--fs-0); color: var(--ink-2); }
.form-success { display: grid; gap: 12px; padding: 12px 0; }
.form-success .h-3 { color: var(--bodhi-blue); }
.next { display: grid; gap: 22px; }
.next .step { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.contact { display: grid; gap: 6px; font-size: 1rem; color: var(--ink-on-dark-2); }
.contact a { color: var(--ink-on-dark); font-weight: 600; }
.contact a:hover { color: var(--accent); }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* --- Footer ----------------------------------------------------------- */
.site-footer { background: #081524; color: var(--ink-on-dark-2); border-top: 1px solid var(--line-dark); padding-block: 44px 28px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand { display: grid; gap: 16px; align-content: start; max-width: 40ch; }
.foot-brand img { height: 28px; width: auto; }
.foot-col h4 { font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-on-dark); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 8px; }
.foot-col a:hover { color: var(--ink-on-dark); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: var(--fs-0); }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-bottom a:hover { color: var(--ink-on-dark); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* --- Motion ----------------------------------------------------------- */
.rise { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: 80ms; } .rise.d2 { animation-delay: 160ms; } .rise.d3 { animation-delay: 260ms; }
@keyframes rise { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* --- Preview-router support (single-file preview only) --------------- */
[data-page] { display: none; }
[data-page].active { display: block; }

/* --- Product imagery ---------------------------------------------------- */
.shot { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.18); background: #0B1D2E; }
.shot img { width: 100%; height: auto; display: block; }
:is(.on-light,.on-light-2) .shot { border-color: var(--line-light); box-shadow: 0 18px 44px rgba(1, 66, 106, 0.14); }
.phone-shot { width: min(320px, 78%); margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }
.phone-shot img { width: 100%; height: auto; }
.phone-pair { display: flex; justify-content: center; align-items: flex-end; gap: 4%; }
.phone-pair .phone-shot { width: 44%; margin: 0; }
.diagram { background: #fff; border: 1px solid var(--line-light); border-radius: 10px; padding: clamp(8px, 1.5vw, 16px); }
.diagram img { width: 100%; height: auto; }
.hero.has-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--hero-bg); background-size: cover; background-position: right center; opacity: 0.22;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 45%, #000 100%);
}
.hero.has-bg .wrap { position: relative; z-index: 1; }

.styles-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.styles-row figure { margin: 0; display: grid; gap: 8px; justify-items: center; }
.styles-row img { width: 100%; height: auto; max-width: 200px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3)); }
.styles-row figcaption { font-family: var(--display); font-size: 0.72rem; color: var(--ink-2); }
.on-dark .styles-row figcaption, .on-dark-2 .styles-row figcaption { color: var(--ink-on-dark-2); }
@media (max-width: 640px) { .styles-row { grid-template-columns: repeat(2, 1fr); } }

.hw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hw-item { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 20px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.hw-item .pic { width: 96px; height: 96px; display: grid; place-items: center; background: #fff; border-radius: 8px; }
.hw-item .pic img { max-width: 84px; max-height: 84px; width: auto; height: auto; }
.hw-item h3 { color: var(--bodhi-blue); font-size: 1rem; }
.hw-item p { color: var(--ink-2); font-size: 0.92rem; margin-top: 4px; }
@media (max-width: 960px) { .hw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hw-grid { grid-template-columns: 1fr; } }

.pms-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pms-chips span { font-family: var(--display); font-weight: 700; font-size: 0.8125rem; padding: 7px 12px; border-radius: 4px; border: 1px solid var(--line-light); background: var(--card); color: var(--bodhi-blue); }
.pms-chips span.more { border-style: dashed; color: var(--accent-deep); }
.on-dark .pms-chips span, .on-dark-2 .pms-chips span { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--ink-on-dark); }
.on-dark .pms-chips span.more, .on-dark-2 .pms-chips span.more { color: var(--accent); }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.fcard h3 { color: var(--bodhi-blue); font-size: 1.05rem; }
.fcard p { color: var(--ink-2); font-size: 0.95rem; }
.on-dark .fcard, .on-dark-2 .fcard { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); }
.on-dark .fcard h3, .on-dark-2 .fcard h3 { color: var(--ink-on-dark); }
.on-dark .fcard p, .on-dark-2 .fcard p { color: var(--ink-on-dark-2); }
@media (max-width: 860px) { .feature-cards { grid-template-columns: 1fr; } }

/* --- Pricing ------------------------------------------------------------ */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { position: relative; background: var(--card); border: 1px solid var(--line-light); border-radius: 10px; padding: 30px 26px 26px; display: grid; gap: 10px; align-content: start; text-align: center; }
.tier.featured { background: linear-gradient(180deg, #0E2438, #0B1D2E); color: var(--ink-on-dark); border-color: transparent; box-shadow: var(--shadow); }
.tier .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: #0B1D2E; padding: 6px 12px; border-radius: 4px; white-space: nowrap; }
.tier .name { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.tier.featured .name { color: var(--ink-on-dark-2); }
.tier .price { font-family: var(--display); font-weight: 600; font-size: 3.25rem; line-height: 1; color: var(--bodhi-blue); letter-spacing: -0.04em; }
.tier.featured .price { color: #fff; }
.tier .per { font-family: var(--display); font-size: 0.8125rem; color: var(--ink-2); }
.tier.featured .per { color: var(--ink-on-dark-2); }
.tier .desc { color: var(--ink-2); font-size: 0.975rem; margin-top: 6px; }
.tier.featured .desc { color: var(--ink-on-dark-2); }
.tier .btn { margin-top: 12px; justify-self: center; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } .tier.featured { order: -1; } }

.matrix-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line-light); border-radius: 10px; background: var(--card); }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.matrix th, .matrix td { padding: 13px 16px; border-bottom: 1px solid var(--line-light); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.matrix thead th { font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--bodhi-blue); background: var(--card-2); }
.matrix thead th.pro { color: var(--bodhi-blue); }
.matrix tbody tr:nth-child(even) td { background: var(--card-2); }
.matrix td.pro { background: rgba(200, 216, 235, 0.18) !important; }
.matrix .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bodhi-blue); color: #fff; font-weight: 600; font-size: 0.8rem; }
.matrix .no { color: var(--gray); }
.matrix .enh { font-family: var(--display); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bodhi-blue); color: #fff; padding: 4px 8px; border-radius: 4px; }

.ca-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ca { background: var(--card); border: 1px solid var(--line-light); border-radius: 10px; padding: 26px 22px; text-align: center; display: grid; gap: 8px; align-content: start; }
.ca .name { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.ca .price { font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--bodhi-blue); letter-spacing: -0.04em; }
.ca .per { font-family: var(--display); font-size: 0.8125rem; color: var(--ink-2); }
.ca .rooms { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-light); font-size: 0.95rem; color: var(--ink-2); }
.ca .rooms b { color: var(--ink); }
@media (max-width: 960px) { .ca-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ca-tiers { grid-template-columns: 1fr; } }

.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); border-radius: 10px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.addon .flag { font-family: var(--display); font-weight: 600; font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: #0B1D2E; background: var(--accent); padding: 5px 9px; border-radius: 4px; justify-self: start; }
.addon .flag.opt { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.addon p { color: var(--ink-on-dark-2); font-size: 0.975rem; }
.addon .fine { font-size: var(--fs-0); font-style: italic; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr; } }

/* --- Video carousel ------------------------------------------------------ */
.carousel { position: relative; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.video { flex: 0 0 min(420px, 84%); scroll-snap-align: start; display: grid; gap: 10px; }
.video .frame { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: var(--shadow); cursor: pointer; }
.video .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .poster { position: absolute; inset: 0; display: grid; align-content: end; padding: 18px; gap: 6px; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85)); }
.video .poster .kind { font-family: var(--display); font-size: 0.8125rem; color: var(--accent); }
.video .poster .t { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink-on-dark); line-height: 1.25; }
.video .play { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform 140ms ease; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.video .play::after { content: ""; border-left: 15px solid #0B1D2E; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video .frame:hover .play { transform: scale(1.08); }
.video .frame.playing .poster, .video .frame.playing .play, .video .frame.playing img { display: none; }
.video .meta { display: grid; gap: 4px; font-size: 0.95rem; color: var(--ink-on-dark-2); padding: 0 2px; }
.video .meta .kind { font-family: var(--display); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); }
.video .meta b { color: var(--ink-on-dark); font-family: var(--display); font-weight: 700; line-height: 1.3; }
:is(.on-light,.on-light-2) .video .meta { color: var(--ink-2); } :is(.on-light,.on-light-2) .video .meta b { color: var(--ink); }
.car-nav { display: flex; gap: 8px; }
.car-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: none; color: var(--ink-on-dark); cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; }
.car-btn:hover { border-color: var(--accent); color: var(--accent); }
:is(.on-light,.on-light-2) .car-btn { border-color: rgba(1, 66, 106, 0.35); color: var(--bodhi-blue); }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.section-head.row > div { display: grid; gap: 14px; max-width: 760px; }
.section-head.row > .car-nav { display: flex; flex: none; }
@media (max-width: 640px) { .section-head.row { flex-direction: column; align-items: start; } }
@media (min-width: 861px) { .feature-cards.two { grid-template-columns: repeat(2, 1fr); } }

/* --- 2026 deck components ------------------------------------------------ */
/* Audience cards (What Bodhi is) */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud { background: var(--card-2); border: 1px solid var(--line-light); border-radius: 10px; padding: 24px 24px 22px; display: grid; gap: 8px; align-content: start; }
.aud .who { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bodhi-blue); }
.aud h3 { color: var(--bodhi-blue); font-size: 1.2rem; }
.aud p { color: var(--ink-2); font-size: 0.975rem; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }
.staff-band { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 24px 28px; border-radius: 10px; background: linear-gradient(135deg, #0B1D2E, #1B3A5F); color: #fff; }
.staff-band .h-3 { font-size: 1.35rem; }
.staff-band .h-3 .gold { color: var(--gold); }
.staff-band p { color: var(--ink-on-dark-2); }
@media (max-width: 760px) { .staff-band { grid-template-columns: 1fr; } }

/* Module sections (Care, Fresh): lead + tiles + strip + phone */
.module { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.module .lead-line { font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.module .lead-line b { color: var(--bodhi-blue); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.tile { background: var(--card-2); border: 1px solid var(--line-light); border-radius: 8px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.tile h3 { color: var(--bodhi-blue); font-size: 1.05rem; }
.tile p { color: var(--ink-2); font-size: 0.95rem; }
.strip { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 1.05rem; line-height: 1.4; }
.strip b { display: block; color: var(--ink); }
.strip span { color: var(--ink-2); }
.module .phone-shot { width: min(300px, 90%); }
@media (max-width: 860px) { .module { grid-template-columns: 1fr; } .tiles { grid-template-columns: 1fr; } }

/* Lens scan readout */
.scan { background: var(--card-2); border: 1px solid var(--line-light); border-radius: 10px; padding: 24px; }
.scan .k { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bodhi-blue); margin-bottom: 14px; }
.scan dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin: 0; }
.scan div { padding: 12px 0; border-top: 1px solid var(--line-tint); }
.scan dt { font-family: var(--display); font-weight: 700; color: var(--bodhi-blue); font-size: 0.975rem; }
.scan dd { margin: 2px 0 0; color: var(--ink-2); font-size: 0.925rem; }
@media (max-width: 760px) { .scan dl { grid-template-columns: 1fr; } }
.lens-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: 28px; }
.lens-row .phone-shot { width: 220px; margin: 0; }
.lens-row .result { max-width: 360px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-light); }
.lens-row .result img { width: 100%; height: auto; }
.lens-row .cap { font-family: var(--display); font-weight: 700; color: var(--bodhi-blue); margin-top: 10px; }
@media (max-width: 760px) { .lens-row { grid-template-columns: 1fr; } .lens-row .phone-shot { width: 200px; } }

/* Three phones (apps) */
.phones-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.phones-3 figure { margin: 0; display: grid; grid-template-rows: auto auto; gap: 10px; justify-items: center; text-align: center; }
.phones-3 img { width: min(240px, 100%); aspect-ratio: 560 / 1110; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(5,18,33,0.3)); }
.phones-3 figcaption b { display: block; font-family: var(--display); font-weight: 700; color: var(--bodhi-blue); margin-bottom: 4px; }
.phones-3 figcaption span { color: var(--ink-2); font-size: 0.95rem; }
.on-dark .phones-3 figcaption b, .on-dark-2 .phones-3 figcaption b { color: #fff; }
.on-dark .phones-3 figcaption span, .on-dark-2 .phones-3 figcaption span { color: var(--ink-on-dark-2); }
@media (max-width: 760px) { .phones-3 { grid-template-columns: 1fr; } }

/* Numbered floor plans */
.plan { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.plan .diagram { padding: 0; border: 0; background: transparent; }
.plan ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.plan li { break-inside: avoid; display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: baseline; padding: 4px 0; font-size: 0.95rem; color: var(--ink); }
.plan li i { font-style: normal; font-family: var(--display); font-weight: 700; color: var(--bodhi-blue); }
.on-dark .plan li, .on-dark-2 .plan li { color: var(--ink-on-dark); }
.on-dark .plan li i, .on-dark-2 .plan li i { color: var(--gold); }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } .plan ol { columns: 1; } }
@media (max-width: 520px) { .plan ol { columns: 1; } }

/* Proof cards (SOC 2, ROI) */
.proof-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--card-2); border: 1px solid var(--line-light); border-radius: 10px; padding: 22px 24px; }
.pcard img { width: 150px; height: auto; }
.pcard h3 { color: var(--bodhi-blue); font-size: 1.1rem; }
.pcard p { color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }
.pcard a { color: var(--bodhi-blue); font-weight: 600; }
.on-dark .pcard, .on-dark-2 .pcard { background: rgba(255,255,255,0.05); border-color: var(--line-dark); }
.on-dark .pcard h3, .on-dark-2 .pcard h3 { color: #fff; }
.on-dark .pcard p, .on-dark-2 .pcard p { color: var(--ink-on-dark-2); }
.on-dark .pcard a, .on-dark-2 .pcard a { color: var(--gold); }
.pcard .badge-wrap { background: #fff; border-radius: 8px; padding: 10px 12px; }
.pcard .roi-mark { width: 92px; height: 92px; border-radius: 8px; background: var(--bodhi-blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
@media (max-width: 760px) { .proof-cards { grid-template-columns: 1fr; } .pcard { grid-template-columns: 1fr; } }

/* Marquee typed wordmarks (no logo file yet) */
.marquee-track .wm { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; white-space: nowrap; flex: none; }

/* Module teaser cards (homepage) */
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mod { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px; align-items: center; background: var(--card-2); border: 1px solid var(--line-light); border-radius: 10px; padding: 24px; }
.mod .k { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bodhi-blue); }
.mod h3 { color: var(--bodhi-blue); font-size: 1.35rem; margin-top: 4px; }
.mod p { color: var(--ink-2); font-size: 0.975rem; margin-top: 8px; }
.mod .more { display: inline-block; margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 0.875rem; color: var(--bodhi-blue); }
.mod img { width: 150px; height: auto; filter: drop-shadow(0 14px 24px rgba(5,18,33,0.3)); }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mod { grid-template-columns: 1fr; } .mod img { justify-self: center; } }
.ops-foot b { color: #fff; }
.on-dark .lead-line, .on-dark-2 .lead-line { color: #fff; }
.on-dark .module .phone-shot, .on-dark-2 .module .phone-shot { filter: drop-shadow(0 24px 40px rgba(0,0,0,0.5)); }

.monitor img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45)); }
.monitor { max-width: 1100px; margin-inline: auto; }

/* Platform menu: two columns, and anchor targets clear the sticky header */
.menu.menu-wide { width: 560px; }
.menu-cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .menu-cols { grid-template-columns: 1fr; } }
section[id] { scroll-margin-top: 96px; }

/* Products menu: three grouped columns */
/* Grouped dropdowns (Solutions and Products share this look) */
.menu.menu-grid { display: none; gap: 8px; padding: 14px; left: 50%; transform: translateX(-40%); }
.menu.menu-grid.cols-3 { width: min(880px, calc(100vw - 2 * var(--gutter))); grid-template-columns: repeat(3, 1fr); }
.menu.menu-grid.cols-2 { width: min(640px, calc(100vw - 2 * var(--gutter))); grid-template-columns: repeat(2, 1fr); transform: translateX(-30%); }
.has-menu.open .menu.menu-grid { display: grid; }
@media (hover: hover) and (min-width: 901px) { .has-menu:hover .menu.menu-grid, .has-menu:focus-within .menu.menu-grid { display: grid; } }
.has-menu.suppress .menu, .has-menu.suppress:hover .menu, .has-menu.suppress:focus-within .menu { display: none; }
.menu-group { display: grid; align-content: start; }
.menu-head { font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); padding: 8px 14px 6px; }

/* Mobile nav (after the dropdown rules so these win the cascade) */
@media (max-width: 900px) {
  .nav-links, .nav-actions .login { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Open nav sits in normal flow under the bar (no inner scroll area, which phones and embedded
     frames clip), so the page itself scrolls through a long menu. The header stops being sticky while open. */
  .site-header.nav-open { position: relative; background: var(--navy-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open { flex-wrap: wrap; height: auto; row-gap: 0; }
  .nav.open .brand, .nav.open .nav-actions { height: 84px; display: flex; align-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: static; flex: 0 0 calc(100% + 2 * var(--gutter)); order: 3;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 20px;
    background: var(--navy-900); border-top: 1px solid var(--line-dark);
  }
  .nav.open .nav-links > a { padding: 14px 6px; font-size: 1rem; border-top: 1px solid var(--line-dark); }
  /* Solutions and Products become accordions */
  .has-menu { display: block; border-top: 1px solid var(--line-dark); }
  .has-menu:first-child { border-top: 0; }
  .menu-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 6px; font-size: 1rem; color: var(--ink-on-dark); border-radius: 0; }
  .has-menu:hover .menu-btn { background: none; }
  .has-menu.open .menu-btn { background: none; color: var(--gold); }
  .menu, .menu.menu-grid, .menu.menu-grid.cols-2, .menu.menu-grid.cols-3 { display: none; position: static; width: auto; max-width: none; padding: 0 0 10px; background: none; border: 0; box-shadow: none; transform: none; left: auto; grid-template-columns: 1fr; gap: 0; }
  .has-menu.open .menu, .has-menu.open .menu.menu-grid { display: block; }
  .menu-group + .menu-group { margin-top: 6px; }
  .menu-head { padding: 10px 6px 2px; }
  .menu-item { padding: 10px 6px; gap: 2px; }
  .menu-item .mi-desc { display: none; }
}

}
.mobile-only { display: none; }
@media (max-width: 900px) { .mobile-only { display: block; } }

/* Dark-section components now used on light sections */
:is(.on-light,.on-light-2) :is(.agent, .addon, .infra, .vertical, .pcard) { background: #fff; border-color: var(--line-light); color: var(--ink); box-shadow: none; }
:is(.on-light,.on-light-2) :is(.agent ul, .agent .muted, .addon p, .infra p, .vertical p, .pcard p) { color: var(--ink-2); }
:is(.on-light,.on-light-2) :is(.agent .h-3, .addon .h-4, .vertical .h-3, .pcard h3) { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) :is(.agent .who, .vertical .kind, .vertical .more, .pcard a) { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .agent li::before { background: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .infra p b { color: var(--ink); }
:is(.on-light,.on-light-2) .badge-soc { background: var(--bodhi-blue); color: #fff; }
:is(.on-light,.on-light-2) .addon .flag { background: var(--bodhi-blue); color: #fff; }
:is(.on-light,.on-light-2) .addon .flag.opt { background: transparent; color: var(--bodhi-blue); border: 1px solid var(--bodhi-blue); }
:is(.on-light,.on-light-2) .vertical:hover { border-color: var(--bodhi-blue); box-shadow: 0 14px 34px rgba(1,66,106,0.12); }
:is(.on-light,.on-light-2) .review-stat { border-top-color: var(--line-light); }
:is(.on-light,.on-light-2) .review-stat .num { color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .review-stat p, :is(.on-light,.on-light-2) .cite { color: var(--ink-2); }
:is(.on-light,.on-light-2) .module .phone-shot { filter: drop-shadow(0 18px 30px rgba(1,66,106,0.18)); }
:is(.on-light,.on-light-2) .role { border-top-color: var(--bodhi-blue); }
:is(.on-light,.on-light-2) .role p { color: var(--ink-2); }
:is(.on-light,.on-light-2) .role .h-4 { color: var(--bodhi-blue); }
.on-light-2 :is(.aud, .tile, .fcard, .space, .step, .pcard, .mod, .story, .scan, .agent, .vertical, .hw-card, .hw-item, .quote, .math-card, .ca, .tier, .stat) { background: #fff; }
.on-light-2 .quote.lead-quote { background: var(--bodhi-blue); }
.on-light-2 .tier.featured { background: linear-gradient(180deg, #0E2438, #0B1D2E); }
/* Hero: keep the deck gradient but drop the grid pattern */
.hero::before { display: none; }

/* Featured video in the hero */
.hero-video .video { display: grid; gap: 12px; }
.hero-video .frame { border-radius: 12px; border: 1px solid rgba(200,216,235,0.22); box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.hero-video .play { right: auto; bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; }
.hero-video .play::after { border-left-width: 22px; border-top-width: 13px; border-bottom-width: 13px; margin-left: 6px; }
.hero-video .frame:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.hero-video .meta .kind { color: var(--gold); }
.hero-video .meta b { color: #fff; font-size: 1rem; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-video { max-width: 560px; } }

/* Hero video carousel (v9.1): one large frame, thumbnail strip, prev/next */
.hero-video { display: grid; gap: 14px; }
.hero-slides { position: relative; }
.hero-slide { flex: none; width: 100%; }
.hero-slide[hidden] { display: none; }
.hero-car-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; align-items: center; }
.hero-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.hero-thumbs::-webkit-scrollbar { display: none; }
.hero-thumb { flex: 0 0 auto; width: 88px; aspect-ratio: 16 / 9; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--navy-900); cursor: pointer; opacity: 0.55; transition: opacity 140ms ease, border-color 140ms ease; }
.hero-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-thumb:hover { opacity: 0.9; }
.hero-thumb.is-active { opacity: 1; border-color: #fff; }
.hero-thumb:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-car-count { margin: 0; font-family: var(--display); font-size: 0.8125rem; font-weight: 500; color: var(--ink-on-dark-2); text-align: center; }
@media (max-width: 560px) { .hero-thumb { width: 72px; } .hero-car-bar { gap: 8px; grid-template-columns: 40px minmax(0, 1fr) 40px; } .hero-car-bar .car-btn { width: 40px; height: 40px; } }

/* ===== Ported pages (About, News, Customer stories, Dealers, Legal) ===== */
.hero-short { padding-block: clamp(44px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.hero .eyebrow a { color: inherit; text-decoration: none; }
.hero .eyebrow a:hover { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu.menu-grid.cols-1 { width: 320px; grid-template-columns: 1fr; left: 0; transform: none; }

/* About */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.mv { display: grid; gap: 14px; align-content: start; }
.mv p { color: var(--ink-2); max-width: var(--measure); }
.property.four { grid-template-columns: repeat(4, 1fr); }
.space.link { text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.space.link:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(1, 66, 106, 0.12); }
.space.link .more { font-family: var(--display); font-weight: 600; font-size: 0.875rem; color: var(--bodhi-blue); margin-top: 4px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { display: grid; grid-template-rows: auto auto auto 1fr; justify-items: start; gap: 2px; background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 140ms ease, box-shadow 140ms ease; }
.person:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(1, 66, 106, 0.12); }
.person img { width: 100%; height: auto; display: block; justify-self: stretch; align-self: start; background: var(--navy-900); margin-bottom: 14px; }
.person b { font-family: var(--display); font-size: 1.1rem; color: var(--bodhi-blue); padding: 0 20px; }
.person span { color: var(--ink-2); font-size: 0.95rem; padding: 0 20px; }
.person em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 0.8125rem; color: var(--bodhi-blue); padding: 10px 20px 20px; align-self: end; }
.partners-card { background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; padding: 24px; display: grid; gap: 14px; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; align-items: center; }
.partners img { width: 100%; height: 44px; object-fit: contain; filter: brightness(0) opacity(0.6); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .property.four, .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .property.four, .team { grid-template-columns: 1fr; } .partners { grid-template-columns: repeat(2, 1fr); } }

/* News index and cards */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ngrid.three { grid-template-columns: repeat(3, 1fr); }
.ncard { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 140ms ease, box-shadow 140ms ease; }
.ncard:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(1, 66, 106, 0.12); }
.ncard .pic { display: block; aspect-ratio: 16 / 9; background: var(--navy-900); overflow: hidden; }
.ncard .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ncard .type-card { display: grid; align-content: end; height: 100%; padding: 20px; background: linear-gradient(135deg, #0B1D2E 0%, #1B3A5F 100%); }
.ncard .type-card b { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.1rem; line-height: 1.25; }
.ncard .type-card::before { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); margin-bottom: 12px; }
.ncard .meta { font-family: var(--display); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); padding: 8px 20px 0; }
.ncard .h-3 { color: var(--bodhi-blue); padding: 0 20px; font-size: 1.15rem; }
.ncard p { color: var(--ink-2); padding: 0 20px; font-size: 0.95rem; }
.ncard .more { font-family: var(--display); font-weight: 600; font-size: 0.875rem; color: var(--bodhi-blue); padding: 0 20px 20px; }
.ncard.big { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
.ncard.big .pic { grid-row: 1 / span 4; aspect-ratio: auto; min-height: 320px; }
.ncard.big .meta { padding-top: 24px; }
.ncard.big .h-3 { font-size: 1.6rem; }
.ncard.big p { font-size: 1.05rem; }
@media (max-width: 900px) { .ngrid, .ngrid.three { grid-template-columns: 1fr 1fr; } .ncard.big { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; } .ncard.big .pic { grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 600px) { .ngrid, .ngrid.three { grid-template-columns: 1fr; } }

/* Article body (news + stories) */
.article-title { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22ch; }
.article-hero { max-width: 880px; margin: 0 auto 36px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-light); }
.article-hero img { display: block; width: 100%; height: auto; }
.article { max-width: 720px; margin: 0 auto; color: var(--ink); font-size: 1.075rem; line-height: 1.7; }
.article > * + * { margin-top: 1.1em; }
.article h2, .article h3, .article h4, .article h5 { font-family: var(--display); color: var(--bodhi-blue); line-height: 1.25; margin-top: 1.8em; }
.article h2 { font-size: 1.6rem; } .article h3 { font-size: 1.35rem; } .article h4, .article h5 { font-size: 1.15rem; }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article ul, .article ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.legal ul { list-style: disc; }
.article li::marker { color: var(--bodhi-blue); }
.article a { color: var(--bodhi-blue); font-weight: 600; }
.article img { max-width: 100%; height: auto; border-radius: 8px; }
.article figure { margin: 1.6em 0; }
.article blockquote { border-left: 3px solid var(--gold); padding-left: 1em; color: var(--ink-2); font-style: italic; }
.article strong { color: var(--ink); }
.article-foot { max-width: 720px; margin: 40px auto 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line-light); padding-top: 24px; }

/* Customer story hero */
.story-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.story-photo { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(200,216,235,0.22); box-shadow: 0 30px 60px rgba(0,0,0,0.45); aspect-ratio: 4 / 3; }
.story-photo img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-photo .story-logo { position: absolute; left: 16px; bottom: 16px; width: auto; height: 44px; padding: 8px 12px; background: rgba(11,29,46,0.85); border-radius: 6px; box-sizing: content-box; object-fit: contain; }
@media (max-width: 900px) { .story-hero { grid-template-columns: 1fr; } }

/* Dealer directory */
.dir-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }
.dir-tabs { display: flex; gap: 6px; }
.dir-tab { font-family: var(--display); font-weight: 600; font-size: 0.9rem; padding: 10px 16px; border-radius: 4px; border: 1px solid var(--line-light); background: var(--card); color: var(--ink-2); cursor: pointer; }
.dir-tab.is-active { background: var(--bodhi-blue); border-color: var(--bodhi-blue); color: #fff; }
.dir-tab span { opacity: 0.7; font-weight: 500; margin-left: 4px; }
.dir-search input { font: inherit; font-family: var(--display); font-size: 0.95rem; padding: 11px 14px; border: 1px solid var(--line-light); border-radius: 4px; width: min(360px, 80vw); background: var(--card); color: var(--ink); }
.dir-search input:focus { outline: 2px solid var(--bodhi-blue); outline-offset: 1px; }
.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dgrid[hidden] { display: none; }
.dcard { display: grid; gap: 3px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line-light); border-radius: 8px; font-size: 0.95rem; color: var(--ink-2); align-content: start; }
.dcard[hidden] { display: none; }
.dcard b { font-family: var(--display); color: var(--bodhi-blue); font-size: 1rem; margin-bottom: 4px; }
.dcard a { color: var(--ink-2); word-break: break-all; }
.dcard a.site { color: var(--bodhi-blue); font-family: var(--display); font-weight: 600; font-size: 0.85rem; margin-top: 6px; word-break: normal; }
.dcard .loc { color: var(--ink); }
.dir-empty { margin-top: 24px; color: var(--ink-2); }
.dir-empty a { color: var(--bodhi-blue); font-weight: 600; }
@media (max-width: 900px) { .dgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dgrid { grid-template-columns: 1fr; } }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; color: var(--ink-2); line-height: 1.7; }
.legal > * + * { margin-top: 1em; }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.3em; display: grid; gap: 0.4em; }
.legal a { color: var(--bodhi-blue); word-break: break-word; }

/* Stat grids with 2 or 3 columns: responsive, no inline column counts */
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stats.two { grid-template-columns: repeat(2, 1fr); }
.stats.two .stat:nth-child(2) { border-right: 0; }
@media (max-width: 860px) {
  .stats.three { grid-template-columns: 1fr; }
  .stats.three .stat { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .stats.three .stat:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .stats.two { grid-template-columns: 1fr; } .stats.two .stat { border-bottom: 1px solid var(--line-light); } .stats.two .stat:last-child { border-bottom: 0; } }

/* Pricing matrix on phones: compact columns, sticky feature column, swipe hint */
.matrix-hint { display: none; }
@media (max-width: 700px) {
  .matrix { min-width: 0; width: 100%; table-layout: fixed; font-size: 0.8125rem; }
  .matrix th, .matrix td { padding: 11px 8px; }
  .matrix th:first-child, .matrix td:first-child { width: 46%; padding-left: 14px; }
  .matrix thead th { font-size: 0.65rem; letter-spacing: 0.04em; }
  .matrix .yes { width: 20px; height: 20px; font-size: 0.72rem; }
  .matrix .enh { font-size: 0.55rem; padding: 3px 5px; letter-spacing: 0.02em; white-space: normal; display: inline-block; line-height: 1.15; max-width: 100%; }
  .matrix td { overflow-wrap: anywhere; }
}

/* Brand marquee: the hardware and software Bodhi runs over (platform integrations, homepage) */
.brands { padding-block: 8px 12px; margin-bottom: 28px; }
.brands .label { font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bodhi-blue); margin-bottom: 16px; }
.brands .marquee-track { animation-duration: 56s; gap: clamp(36px, 5vw, 64px); }
.brands .marquee-track img { height: 48px; width: auto; filter: brightness(0) opacity(0.62); }
.brands .wm { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(28, 31, 42, 0.62); white-space: nowrap; }
.brands.on-dark { background: none; }
.brands.on-dark .label { color: var(--accent); }
.brands.on-dark .marquee-track img { filter: none; opacity: 0.85; }
.brands.on-dark .wm { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 560px) { .brands .marquee-track img { height: 26px; } .brands .wm { font-size: 0.9rem; } }


/* Policy pages (security) */
.policy h2 { font-family: var(--display); color: var(--bodhi-blue); font-size: 1.35rem; margin-top: 2.2em; }
.policy code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--card-2); padding: 1px 5px; border-radius: 3px; }
.policy-table { width: 100%; max-width: 420px; border-collapse: collapse; margin: 0.5em 0 1em; font-size: 0.95rem; }
.policy-table th, .policy-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-light); }
.policy-table th { font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--bodhi-blue); }
.policy-table td:first-child { font-weight: 600; color: var(--ink); }
.policy-foot { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--line-light); font-size: 0.95rem; }

/* Customer logo on testimonial cards: bottom right, next to the attribution */
.quote .qlogo { height: 20px; width: auto; max-width: 170px; object-fit: contain; object-position: left; justify-self: start; opacity: 0.85; }
.quote .qlogo.wide { height: 20px; }
.quote.lead-quote .qlogo { height: 24px; opacity: 0.95; }
