/* ============================================================
   AccessOS Page Styles
   ============================================================

   Extends brand-tokens.css (shared DNA) + brand-tokens-accessos.css
   (steel accent + display treatment overrides).

   Section order matches index.html:
   0. Fonts + base
   1. Utility (container, buttons, eyebrows)
   2. Nav
   3. Hero + mockup
   4. Section base
   5. Modules grid
   6. Multi-tenant + roles matrix
   7. How it works (routes)
   8. Pricing tiers
   9. Security grid
   10. Partner flow
   11. CTA
   12. Footer
   13. Motion (scroll reveal + hero live animation)
   ============================================================ */

/* ---------- 0. FONTS ---------- */

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-weight: var(--fw-medium);
}

::selection {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ---------- 1. UTILITY ---------- */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.eyebrow--accent { color: var(--accent); }
.eyebrow--on-dark { color: rgba(255, 255, 255, 0.7); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.btn--ghost:hover {
  color: var(--accent);
}

.btn--lg {
  font-size: var(--fs-md);
  padding: var(--space-4) var(--space-7);
}

/* ---------- 2. NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-6);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav__cg-link {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--transition-fast) var(--ease-out);
}

.nav__cg-link:hover {
  opacity: 0.7;
}

.nav__cg-link img {
  display: block;
}

.nav__separator {
  color: var(--line-strong);
  font-weight: var(--fw-medium);
  user-select: none;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--navy);
  letter-spacing: var(--ls-tight);
  text-decoration: none;
  transition: color var(--transition-fast) var(--ease-out);
}

.nav__wordmark:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast) var(--ease-out);
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__cta {
  background: var(--navy);
  color: var(--text-inverse) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  transition: background var(--transition) var(--ease-out) !important;
}

.nav__cta:hover {
  background: var(--accent) !important;
  color: var(--accent-fg) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--transition) var(--ease-out);
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav__links.is-open { display: flex; }

  .nav__links li a {
    display: block;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    text-align: center;
    margin-top: var(--space-3);
  }
}

/* ---------- 3. HERO + MOCKUP ---------- */

.hero {
  position: relative;
  padding: var(--space-9) 0 var(--space-10);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%,
    rgba(50, 120, 161, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

.hero__content { }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-hero);
  letter-spacing: var(--ls-hero);
  line-height: 0.95;
  color: var(--navy);
  margin: 0 0 var(--space-5);
}

.hero__title span {
  white-space: nowrap;
}

/* Mobile: allow wrapping and scale headline down so it fits ~360px */
@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.02;
  }
  .hero__title span {
    white-space: normal;
  }
}

.hero__lede {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0 0 var(--space-7);
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Trust bar below CTAs */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-tertiary);
  font-weight: var(--fw-medium);
}

.hero__trust li {
  position: relative;
  padding-left: var(--space-4);
}

.hero__trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero mockup dashboard card */

.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

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

.mockup--dashboard {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-product);
  position: relative;
}

.mockup__stripe {
  height: 3px;
  background: linear-gradient(90deg,
    var(--sky-old, #56B4E9) 0%,
    var(--accent) 45%,
    var(--accent-vivid) 100%);
}

.mockup__header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup__title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.mockup__sep {
  opacity: 0.4;
}

.mockup__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.mockup__dot--live {
  background: var(--status-success);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.mockup__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: var(--ls-tight);
}

.mockup__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup__stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--accent-vivid);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  transition: transform var(--transition-fast) var(--ease-out);
}

.mockup__stat-num.mockup__tick {
  transform: scale(1.15);
}

.mockup__stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.mockup__activity {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 200px;
}

.mockup__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

.mockup__row:last-child { border-bottom: none; }

.mockup__row-new {
  animation: rowIn 0.4s var(--ease-out) forwards;
}

@keyframes rowIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mockup__badge {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
}

.mockup__badge--in {
  background: rgba(5, 150, 105, 0.15);
  color: #4ADE80;
}

.mockup__badge--out {
  background: rgba(150, 150, 170, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.mockup__name {
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--fw-medium);
  font-size: var(--fs-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup__time {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. SECTION BASE ---------- */

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--navy-deep);
  color: var(--text-inverse);
}

.section--tinted {
  background: var(--paper-alt);
}

.section__intro {
  max-width: 720px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: var(--navy);
  margin: 0 0 var(--space-4);
}

.section__title--on-dark { color: var(--white); }

.section__lede {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0;
}

.section__lede--on-dark { color: rgba(255, 255, 255, 0.65); }

/* ---------- 5. MODULES GRID ---------- */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

/* Center the 7th module (Facilities) when grid renders 3 columns → orphan at bottom */
@media (min-width: 900px) and (max-width: 1279px) {
  .modules-grid > .module-card:nth-child(7):last-child {
    grid-column: 2 / 3;
  }
}

/* Wider viewports: 4-col grid → 3 orphans, center middle 2 */
@media (min-width: 1280px) {
  .modules-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .modules-grid > .module-card:nth-child(5) { grid-column: 1 / 2; }
  .modules-grid > .module-card:nth-child(6) { grid-column: 2 / 3; }
  .modules-grid > .module-card:nth-child(7) { grid-column: 3 / 4; }
}

.module-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--transition) var(--ease-out),
              transform var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out);
}

.module-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.module-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.module-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin: 0 0 var(--space-2);
  letter-spacing: var(--ls-tight);
}

.module-card__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- 6. MULTI-TENANT + ROLES ---------- */

.tenant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-9);
}

.tenant-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.tenant-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin: 0 0 var(--space-3);
  letter-spacing: var(--ls-tight);
}

.tenant-card__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.roles {
  margin-top: var(--space-8);
}

.roles__title {
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin: 0 0 var(--space-6);
  letter-spacing: var(--ls-tight);
}

.roles__wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.roles__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: var(--fs-sm);
}

.roles__table thead th {
  padding: var(--space-4);
  text-align: center;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.roles__head-role {
  text-align: left !important;
  padding-left: var(--space-5) !important;
}

.roles__table tbody td {
  padding: var(--space-4);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.roles__table tbody tr:last-child td { border-bottom: none; }

.roles__role {
  text-align: left !important;
  padding-left: var(--space-5) !important;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roles__role strong {
  color: var(--white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}

.roles__role span {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
}

.cell {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

.cell--full {
  background: var(--accent);
}

.cell--read {
  background: rgba(50, 120, 161, 0.4);
}

.cell--scoped {
  background: transparent;
  border: 2px solid var(--accent);
}

.cell--none {
  background: transparent;
  border: 2px dashed rgba(255, 255, 255, 0.15);
}

.roles__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: center;
  margin-top: var(--space-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}

.roles__legend span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ---------- 7. HOW IT WORKS (ROUTES) ---------- */

.routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.route {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--transition) var(--ease-out),
              transform var(--transition) var(--ease-out);
}

.route:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.route__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.route__num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--accent);
  line-height: 1;
  letter-spacing: var(--ls-tight);
}

.route__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin: 0;
  letter-spacing: var(--ls-tight);
}

.route__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.route__steps li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: var(--fw-medium);
}

.route__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.route__note {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-style: italic;
}

.routes__footnote {
  text-align: center;
  margin-top: var(--space-7);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

/* ---------- 8. PRICING ---------- */

/* ============================================================
   PRICING TIERS — clean grid rewrite
   Structure: name / price / tagline / inherit / features / cta
   All tiers use identical HTML skeleton so rows align by grid.
   ============================================================ */

/* Tighten the pricing section so cards + compare-plans button fit in one viewport */
#pricing {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

#pricing .section__intro {
  margin-bottom: var(--space-5);
}

#pricing .pricing__note {
  margin-top: var(--space-4);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  align-items: stretch;
}

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: grid;
  grid-template-rows:
    auto           /* 1. name */
    auto           /* 2. price */
    min-content    /* 3. tagline (fixed slot via min-height) */
    auto           /* 4. inherit divider text */
    1fr            /* 5. features (grows to fill) */
    auto;          /* 6. cta */
  gap: var(--space-3);
  transition: border-color var(--transition) var(--ease-out),
              transform var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out);
  position: relative;
}

.tier:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tier--builder {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.tier--popular {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow);
}


.tier__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(50, 120, 161, 0.15);
  color: var(--accent);
}

.tier__badge--accent {
  background: var(--accent);
  color: var(--accent-fg);
}

.tier__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin: 0;
  letter-spacing: var(--ls-tight);
}

.tier__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tier__price-value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--navy);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}

.tier__price-unit {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-weight: var(--fw-medium);
}

.tier__tagline {
  margin: 0;
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.35;
  min-height: calc(1.35em * 2 + var(--space-2));
}

.tier__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tier__features > li {
  padding-left: 1.75rem;
  position: relative;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-primary);
}

/* Refined checkmark: SVG rendered via mask, adopts currentColor via background */
.tier__features > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><path d='M10 2a8 8 0 100 16 8 8 0 000-16zm4.28 6.28l-5 5a.75.75 0 01-1.06 0l-2.5-2.5a.75.75 0 111.06-1.06L8.75 11.69l4.47-4.47a.75.75 0 111.06 1.06z' fill='black'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><path d='M10 2a8 8 0 100 16 8 8 0 000-16zm4.28 6.28l-5 5a.75.75 0 01-1.06 0l-2.5-2.5a.75.75 0 111.06-1.06L8.75 11.69l4.47-4.47a.75.75 0 111.06 1.06z' fill='black'/></svg>") no-repeat center / contain;
}

.tier__features > li strong {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

/* Divider label ("Everything in X, plus:" / "Free tier includes:") — always visible on every tier */
.tier__inherit {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--line-strong);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* Enterprise-only bullets: slightly heavier visual weight to signal premium */
.tier__features--enterprise > li::before {
  background: var(--accent-vivid);
}

.tier__features--enterprise > li {
  color: var(--navy);
}

.tier__chip {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-fg);
  line-height: 1;
}

.tier__cta {
  margin-top: auto;
  width: 100%;
}

.pricing--three {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.pricing--two {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 720px) {
  .pricing--two { grid-template-columns: 1fr; }
}

.pricing__note {
  text-align: center;
  margin-top: var(--space-6);
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
}

/* ---------- Pricing compare table ---------- */

.pricing-compare {
  max-width: 1080px;
  margin: var(--space-5) auto 0;
  scroll-margin-top: 80px;
}

.pricing-compare__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--navy);
  letter-spacing: var(--ls-tight);
  text-align: center;
  margin: 0 0 var(--space-5);
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--transition) var(--ease-out),
              background var(--transition) var(--ease-out);
}

.pricing-compare__title::-webkit-details-marker { display: none; }

.pricing-compare__title:hover {
  border-color: var(--accent);
  background: var(--paper);
}

.pricing-compare__chevron {
  color: var(--accent);
  transition: transform var(--transition) var(--ease-out);
}

.pricing-compare[open] .pricing-compare__chevron {
  transform: rotate(180deg);
}

.pricing-compare__wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.pricing-compare__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  color: var(--text-primary);
}

.pricing-compare__table thead th {
  padding: var(--space-5) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--navy);
  text-align: center;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

.pricing-compare__table thead th.pricing-compare__feature {
  text-align: left;
  color: var(--text-tertiary);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
}

.pricing-compare__table tbody th[scope=row] {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  border-bottom: 1px solid var(--line);
}

.pricing-compare__table tbody td {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: var(--text-primary);
}

.pricing-compare__table tbody td[aria-label="Included"] {
  color: var(--accent);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
}

.pricing-compare__table .pricing-compare__no {
  color: var(--text-tertiary);
  font-weight: var(--fw-medium);
}

.pricing-compare__group th {
  padding: var(--space-4) var(--space-4) var(--space-2);
  text-align: left;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: var(--accent);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.pricing-compare__group:first-child th {
  border-top: none;
}

/* Highlight the Standard column subtly */
.pricing-compare__col-popular {
  background: rgba(50, 120, 161, 0.04);
}

.pricing-compare__table thead th.pricing-compare__col-popular {
  background: rgba(50, 120, 161, 0.10);
  color: var(--accent);
}

@media (max-width: 720px) {
  .pricing-compare__table thead th,
  .pricing-compare__table tbody th[scope=row],
  .pricing-compare__table tbody td {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-xs);
  }
}

/* ---------- 9. SECURITY GRID ---------- */

/* Anchor stat bar — refined typographic proof-points above the grid */
.security-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin: 0 0 var(--space-7);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(50, 120, 161, 0.02) 0%, transparent 100%);
}

.security-stat {
  padding: 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid var(--line);
}

.security-stat:first-child {
  border-left: none;
}

.security-stat__label {
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--accent);
}

.security-stat__value {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
  line-height: 1.2;
}

.security-stat__note {
  font-size: var(--fs-xs);
  font-family: var(--font-mono, "SF Mono", monospace);
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .security-stats { grid-template-columns: 1fr; }
  .security-stat { border-left: none; border-top: 1px solid var(--line); padding: var(--space-4) var(--space-5); }
  .security-stat:first-child { border-top: none; padding-top: 0; }
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.security-item {
  padding: var(--space-5);
  border-left: 3px solid var(--accent);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.security-item__icon {
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.security-item__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin: 0 0 var(--space-2);
  letter-spacing: var(--ls-tight);
}

.security-item__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- 10. PARTNER FLOW ---------- */

.partner-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  counter-reset: partner;
}

.partner-step {
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  position: relative;
}

.partner-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
}

.partner-step__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--white);
  margin: 0 0 var(--space-2);
  letter-spacing: var(--ls-tight);
}

.partner-step__desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--lh-normal);
  margin: 0;
}

/* ---------- 11. CTA ---------- */

.section--cta {
  background: var(--navy);
  color: var(--text-inverse);
  text-align: center;
  padding: var(--space-10) 0;
}

.cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: var(--white);
  margin: 0 0 var(--space-4);
}

.cta__lede {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto var(--space-7);
  max-width: 560px;
  line-height: var(--lh-relaxed);
}

.cta__meta {
  margin-top: var(--space-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: var(--ls-wide);
}

/* ---------- 12. FOOTER ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
}

.footer__inner {
  padding: var(--space-8) var(--container-px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
}

@media (max-width: 720px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: var(--ls-tight);
  text-decoration: none;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  margin: var(--space-2) 0 0;
}

.footer__tagline a {
  color: var(--accent-vivid);
  text-decoration: none;
}

.footer__tagline a:hover { text-decoration: underline; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 540px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__col a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition-fast) var(--ease-out);
}

.footer__col a:hover {
  color: var(--accent-vivid);
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-4) 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal p { margin: 0; }

/* ---------- 13. MOTION ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PRODUCT TOUR (See it in action) — new section
   ============================================================ */

.section--tour {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.tour-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out),
              border-color var(--transition) var(--ease-out);
}

.tour-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-subtle);
}

.tour-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: var(--navy);
  color: var(--white);
  gap: var(--space-3);
}

.tour-panel__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--accent-vivid);
}

.tour-panel__crumb {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.tour-panel__body {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}

.tour-panel__foot {
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  font-style: italic;
  background: var(--paper-alt);
}

/* Visitor rows */
.tour-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
}

.tour-row:last-child { border-bottom: none; }

.tour-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  letter-spacing: 0;
}

.tour-avatar--alt { background: #7A5B9C; } /* purple accent */
.tour-avatar--muted { background: #8899AA; }

.tour-row__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tour-row__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy);
}

.tour-row__meta {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.tour-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.tour-tag--wait {
  background: rgba(217, 119, 6, 0.12);
  color: #B45309;
}

.tour-tag--approved {
  background: rgba(5, 150, 105, 0.12);
  color: var(--status-success);
}

/* Zone list */
.tour-zone {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
}

.tour-zone:last-child { border-bottom: none; }

.tour-zone__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tour-zone__dot--open { background: var(--status-success); }
.tour-zone__dot--members { background: var(--accent); }
.tour-zone__dot--restricted { background: var(--status-warning); }
.tour-zone__dot--secure { background: var(--status-danger); }

.tour-zone__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tour-zone__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy);
}

.tour-zone__meta {
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
}

.tour-zone__count {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-medium);
}

/* Audit log filters + rows */
.tour-panel__filters {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5) 0;
  flex-wrap: wrap;
}

.tour-chip {
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper-alt);
  color: var(--text-secondary);
  font-weight: var(--fw-medium);
  border: 1px solid var(--line);
}

.tour-chip--active {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}

.tour-log {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.tour-log:last-child { border-bottom: none; }

.tour-log__time {
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xs);
  flex-shrink: 0;
  padding-top: 2px;
}

.tour-log__event {
  color: var(--text-primary);
  line-height: var(--lh-normal);
}

.tour-log__event strong {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

.tour__footnote {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-top: var(--space-6);
}

.tour__footnote a {
  color: var(--accent);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.tour__footnote a:hover {
  color: var(--accent-hover);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.section--faq {
  background: var(--paper);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Group subheader — editorial magazine style with numeric prefix */
.faq__group-title {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin: var(--space-7) 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
}

.faq__group-title:first-child {
  margin-top: 0;
}

.faq__group-num {
  font-family: var(--font-mono, "SF Mono", monospace);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  align-self: center;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition) var(--ease-out);
}

.faq__item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  padding: var(--space-4) var(--space-5);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  transition: color var(--transition-fast) var(--ease-out);
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--transition) var(--ease-out);
  flex-shrink: 0;
  margin-top: -4px;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq__q:hover {
  color: var(--accent);
}

.faq__a {
  padding: 0 var(--space-5) var(--space-5);
  animation: faqOpen 0.3s var(--ease-out);
}

.faq__a p {
  margin: 0;
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

.faq__a p + p,
.faq__a ul + p,
.faq__a p + ul {
  margin-top: var(--space-3);
}

.faq__a ul {
  margin: var(--space-3) 0 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

.faq__a ul li {
  margin-bottom: var(--space-2);
}

.faq__a ul li:last-child {
  margin-bottom: 0;
}

.faq__a strong {
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER — expanded to 4 columns
   ============================================================ */

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 480px) {
  .footer__cols {
    grid-template-columns: 1fr;
  }
}

.footer__inner {
  grid-template-columns: 1fr 3fr;
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

.footer__soon {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--fs-sm);
  font-style: italic;
  cursor: default;
}

.footer__hint {
  display: inline-block;
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
}

/* ============================================================
   HERO — Try it live note (added 29/07/2026)
   ============================================================ */

.hero__try-note {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

/* ============================================================
   HERO — real product screenshot (replaced CSS mockup 29/07/2026)
   ============================================================ */

/* ============================================================
   HERO COMPOSITION — layered product across 3 surfaces
   ============================================================ */

.hero__composition {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: 460px;
  isolation: isolate;
}

/* Ambient radial glow behind the composition */
.hero__glow {
  position: absolute;
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(circle at 60% 40%, rgba(50, 120, 161, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(74, 147, 190, 0.08) 0%, transparent 45%);
  z-index: 0;
  pointer-events: none;
  filter: blur(24px);
}

/* Base panel treatment — device chrome via border + shadow */
.hero__panel {
  position: absolute;
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  will-change: transform;
}

.hero__panel img {
  display: block;
  width: 100%;
  height: auto;
}

/* MAIN — the operations dashboard */
.hero__panel--main {
  top: 0;
  left: 3%;
  width: 82%;
  z-index: 2;
  transform: rotate(-1deg);
  box-shadow:
    0 40px 80px -30px rgba(10, 37, 64, 0.35),
    0 20px 40px -20px rgba(10, 37, 64, 0.25),
    0 4px 12px -4px rgba(10, 37, 64, 0.15);
}

.hero__composition:hover .hero__panel--main {
  transform: rotate(0deg) translateY(-4px);
}

/* KIOSK — wall-mounted tablet chassis (no phone camera/notch) */
.hero__panel--kiosk {
  bottom: 0;
  right: 2%;
  width: 32%;
  z-index: 3;
  transform: rotate(4deg);
  border-radius: 32px;
  padding: 8px;
  background: linear-gradient(150deg, #0a2540 0%, #061b2e 60%, #0a2540 100%);
  border: none;
  box-shadow:
    0 30px 60px -20px rgba(10, 37, 64, 0.45),
    0 12px 24px -12px rgba(10, 37, 64, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero__panel--kiosk img {
  border-radius: 24px;
}

.hero__composition:hover .hero__panel--kiosk {
  transform: rotate(2deg) translate(-4px, -6px);
}

/* MOBILE — the visitor's phone view */
.hero__panel--mobile {
  bottom: 0;
  left: 0;
  width: 22%;
  aspect-ratio: 9 / 16;
  z-index: 4;
  transform: rotate(-6deg);
  border-radius: 24px;
  padding: 5px;
  background: linear-gradient(150deg, #0a2540 0%, #061b2e 100%);
  border: none;
  box-shadow:
    0 25px 50px -15px rgba(10, 37, 64, 0.5),
    0 10px 20px -8px rgba(10, 37, 64, 0.35);
}

.hero__panel--mobile img {
  border-radius: 18px;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__composition:hover .hero__panel--mobile {
  transform: rotate(-4deg) translate(8px, -8px);
}

/* Small-viewport: collapse to primary panel only */
@media (max-width: 900px) {
  .hero__composition {
    aspect-ratio: auto;
    min-height: 0;
  }
  .hero__panel--main {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: rotate(0);
  }
  .hero__panel--kiosk,
  .hero__panel--mobile {
    display: none;
  }
  .hero__glow { display: none; }
}

.hero__live-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 37, 64, 0.92);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
}

.hero__live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: hero-pulse 2s infinite;
}

@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ============================================================
   PRODUCT TOUR — wide stacked layout (replaced CSS mockups 29/07/2026)
   ============================================================ */

.tour-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
  margin-bottom: var(--space-7);
}

.tour-step {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-8);
  align-items: center;
}

/* Grid items must shrink below intrinsic content size (fixes mobile overflow) */
.tour-step > * {
  min-width: 0;
}

.tour-step--reverse .tour-step__text { order: 2; }
.tour-step--reverse .tour-step__figure { order: 1; }

/* Hero panel — text stacked above full-width screenshot for a "wow moment" */
.tour-step--hero {
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top left, rgba(50, 120, 161, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(50, 120, 161, 0.03) 0%, transparent 100%),
    var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

/* Corner accent chip */
.tour-step--hero::before {
  content: 'FEATURED';
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: 0.6rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.tour-step--hero .tour-step__text {
  max-width: 720px;
}

.tour-step--hero .tour-step__title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: var(--ls-tighter);
}

.tour-step--hero .tour-step__desc {
  font-size: var(--fs-lg);
  max-width: 620px;
}

.tour-step--hero .tour-step__bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  max-width: 900px;
}

.tour-step--hero .tour-step__figure {
  width: 100%;
  transform: none;
}

.tour-step--hero .tour-step__figure img {
  max-width: 100%;
  height: auto;
}

.tour-step__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.tour-step__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 var(--space-4);
}

.tour-step__desc {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
}

.tour-step__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tour-step__bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: 1.5;
}

.tour-step__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.tour-step__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-product);
  border: 1px solid var(--line);
}

.tour-step__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.tour-step__figure figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .tour-step {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .tour-step--reverse .tour-step__text { order: unset; }
  .tour-step--reverse .tour-step__figure { order: unset; }
  .tour-stack { gap: var(--space-8); }
}

/* ============================================================
   GUEST EXPERIENCE section
   ============================================================ */

.section--guest {
  background: var(--paper);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.guest-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-7);
}

/* Phone-frame chassis around the portrait QR pass — matches "on your phone" narrative */
.guest-showcase__figure {
  position: relative;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  padding: 6px;
  border-radius: 40px;
  background: linear-gradient(150deg, #0a2540 0%, #061b2e 60%, #0a2540 100%);
  box-shadow:
    0 40px 80px -30px rgba(10, 37, 64, 0.5),
    0 18px 36px -18px rgba(10, 37, 64, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease-out);
}

.guest-showcase__figure:hover {
  transform: rotate(0deg) translateY(-4px);
}

/* Camera + speaker pill at top of chassis */
.guest-showcase__figure::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #061b2e;
  border-radius: 999px;
  z-index: 2;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Camera lens dot */
.guest-showcase__figure::after {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(50% + 34px);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 30% 30%, #1a3a5c 0%, #030f1a 70%);
  border-radius: 50%;
  z-index: 3;
}

.guest-showcase__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.guest-showcase__quote {
  position: relative;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tighter);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 var(--space-5);
  padding-left: var(--space-6);
}

/* Oversized accent quote-mark */
.guest-showcase__quote::before {
  content: '"';
  position: absolute;
  left: -0.1em;
  top: -0.3em;
  font-family: var(--font-display, inherit);
  font-size: 4em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  font-weight: var(--fw-bold);
}

.guest-showcase__body {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 var(--space-5);
}

.guest-showcase__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.guest-showcase__points li {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  line-height: 1.5;
  padding-left: var(--space-4);
  border-left: 3px solid var(--accent);
}

.guest-showcase__points strong {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

@media (max-width: 900px) {
  .guest-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ============================================================
   ROLES showcase — persona grid with real dashboards
   ============================================================ */

.section--roles-viz {
  background: var(--paper-alt);
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}

.persona-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  margin-top: var(--space-7);
}

.persona-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition) var(--ease-out),
              box-shadow var(--transition) var(--ease-out);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
}

.persona-card:nth-child(even) {
  grid-template-columns: 1fr 1.6fr;
}

.persona-card:nth-child(even) img {
  order: 2;
  border-bottom: none;
  border-left: 1px solid var(--line);
}

.persona-card:nth-child(even) figcaption {
  order: 1;
}

.persona-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.persona-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: none;
  border-right: 1px solid var(--line);
}

/* Reception Kiosk — portrait tablet UI in a dark chassis, on a white surface */
.persona-card:nth-child(2) img {
  width: auto;
  height: auto;
  max-height: 380px;
  max-width: 60%;
  margin: var(--space-6) auto;
  padding: 8px;
  border-radius: 28px;
  border-right: none;
  background: linear-gradient(150deg, #0a2540 0%, #061b2e 60%, #0a2540 100%);
  box-shadow:
    0 24px 48px -20px rgba(10, 37, 64, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.persona-card figcaption {
  padding: var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
}

.persona-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--accent);
}

.persona-card__desc {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .persona-card,
  .persona-card:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .persona-card:nth-child(even) img { order: unset; border-left: none; border-bottom: 1px solid var(--line); }
  .persona-card:nth-child(even) figcaption { order: unset; }
  .persona-card img { border-right: none; border-bottom: 1px solid var(--line); }
  .persona-card figcaption { padding: var(--space-5); }
}
