/* =====================================================
   Accelerator 365: Main CSS
   ===================================================== */

/* ── Variables ── */
:root {
  /* Brand accent */
  --red:      #D7372C;
  --red-dark: #A8231A;

  /* Surfaces */
  --navy:          #305CA0;
  --navy-deep:     #305CA0;
  --dark:          #0E0E10;
  --white:         #ffffff;
  --bg-light:      #FFFFFF;
  --bg-panel:      #F5F2ED;
  --bg-panel-deeper: #ECE7DF;
  --bg-footer:     #305CA0;

  /* Text */
  --muted:      #7A766F;
  --ink:        #0E0E10;
  --ink-soft:   #4A4843;
  --ink-muted:  #7A766F;

  /* On-dark text */
  --on-dark:      #FFFFFF;
  --on-dark-body: #D8D6D2;
  --on-dark-meta: #B5B1AC;

  /* Borders */
  --border:        #E5E0D8;
  --border-on-dark: rgba(255,255,255,0.10);

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  /* Radii */
  --radius:      8px;
  --radius-card: 10px;

  /* Layout */
  --max-w:    1240px;
  --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--dark);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.75em; }
h3 { font-size: 1.4rem; margin-bottom: 0.5em; }
h4 { font-size: 1rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Buttons (global) ── */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}
.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */

.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-bar {
  display: flex;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  position: relative; /* Mega-menu sub-menu anchors to this */
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  margin-right: 40px;
  line-height: 1;
}
.header-logo__link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}
.header-logo img,
.custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  flex-shrink: 0;
}
.header-logo__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  margin-top: 3px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  order: 3;
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */

.main-nav {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* Top-level UL */
.main-header-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  position: static; /* Critical: prevents sub-menu anchoring to UL */
}

/* Top-level LI */
.main-header-menu > li {
  position: relative; /* Regular dropdowns anchor here */
  display: flex;
  align-items: center;
}

/* Mega-menu parent: override to static so sub-menu anchors to .header-bar */
.main-header-menu > li.menu-item-has-mega-menu {
  position: static;
}

/* Top-level links */
.main-header-menu > li > a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: var(--header-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-header-menu > li > a:hover,
.main-header-menu > li:hover > a,
.main-header-menu > li:focus-within > a {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Chevron on items with submenus */
.main-header-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: 0.65;
  transition: transform 0.15s, opacity 0.15s;
  flex-shrink: 0;
}
.main-header-menu > li.menu-item-has-children:hover > a::after,
.main-header-menu > li.menu-item-has-children:focus-within > a::after {
  opacity: 1;
}

/* ── Regular dropdown sub-menu ── */
.main-header-menu > li > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  padding: 8px 0;
  list-style: none;
  z-index: 9999;
}
.main-header-menu > li:hover > .sub-menu,
.main-header-menu > li:focus-within > .sub-menu {
  display: block;
}

.main-header-menu > li > .sub-menu > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.main-header-menu > li > .sub-menu > li > a:hover {
  color: var(--red);
  background: #fafafa;
}

/* ── Mega-menu ── */
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu {
  /* Override dropdown styles */
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 900px;
  min-width: unset;
  padding: 20px 28px 28px;
  /* Grid */
  grid-template-columns: 1fr 1fr 1fr 0.6fr;
  align-items: start;
  gap: 0;
  /* Visual */
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  z-index: 9999;
}
.main-header-menu > li.menu-item-has-mega-menu:hover > .sub-menu,
.main-header-menu > li.menu-item-has-mega-menu:focus-within > .sub-menu {
  display: grid;
}

/* Column headings */
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading {
  list-style: none;
  padding: 0;
  border-right: 1px solid #f0f0f0;
}
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading:last-child {
  border-right: none;
}

/* Column heading label (non-clickable) */
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > a {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--red) !important;
  padding: 0 16px 8px 16px;
  margin-bottom: 2px;
  pointer-events: none;
  cursor: default;
  border-bottom: none !important;
  height: auto !important;
}

/* Column app list: always visible, static */
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu {
  display: block !important;
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  min-width: unset !important;
  list-style: none;
}
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li {
  list-style: none;
}
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li > a {
  display: block !important;
  padding: 4px 16px !important;
  font-size: 0.875rem !important;
  color: var(--dark) !important;
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
  border-bottom: none !important;
  height: auto !important;
  border-radius: 4px;
  transition: color 0.12s, background 0.12s;
}
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li > a:hover {
  color: var(--red) !important;
  background: #fafafa !important;
}

/* ── Mega-menu promo slot ── */
.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li.mega-promo-item {
  margin-top: 28px;
  margin-left: 16px;
  margin-right: 16px;
  list-style: none;
}

.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li.mega-promo-item > a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 14px 12px !important;
  background: #fff !important;
  border-top: 3px solid var(--red);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  text-decoration: none;
  height: auto !important;
  border-bottom: none !important;
  transition: box-shadow 0.15s;
}

.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li.mega-promo-item > a .promo-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li.mega-promo-item > a .promo-cta {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
}

.main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li.mega-promo-item > a:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
  background: #fff !important;
}

/* ── Cart toggle (header icon) ── */
.cart-toggle {
  flex-shrink: 0;
  margin-left: 16px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.cart-toggle:hover { color: var(--red); }

.cart-toggle__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.cart-toggle__count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.cart-toggle__count[hidden] { display: none; }

/* ── Cart overlay ── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  cursor: pointer;
}
.cart-overlay.is-open { display: block; }

/* ── Cart drawer ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  background: var(--white);
  z-index: 9001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.cart-drawer__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.cart-drawer__close:hover { color: var(--dark); background: var(--bg-panel); }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 32px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }

.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  display: block;
}

.cart-item__variant {
  font-size: 0.78rem;
  color: var(--muted);
}

.cart-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-item__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.cart-item__remove {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 2px 4px;
  border-radius: 3px;
  transition: color 0.15s;
}
.cart-item__remove:hover { color: var(--red); }

.cart-drawer__footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-shrink: 0;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-drawer__subtotal-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.cart-drawer__subtotal-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.btn-cart-checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  margin-bottom: 12px;
}
.btn-cart-checkout:hover { background: var(--red-dark); color: #fff; }

.cart-drawer__note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* ── Currency picker (custom dropdown) ── */
.currency-picker {
  flex-shrink: 0;
  margin-left: 16px;
  position: relative;
}

.currency-picker__btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.currency-picker__btn:hover {
  background: var(--bg-panel);
  border-color: var(--ink-muted);
  color: var(--ink);
}
.currency-picker__btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.currency-picker__flag { font-size: 1rem; line-height: 1; }
.currency-picker__code { letter-spacing: 0.03em; }

.currency-picker__chevron {
  width: 10px;
  height: 6px;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.currency-picker__btn[aria-expanded="true"] .currency-picker__chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.currency-picker__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 6px;
  list-style: none;
  z-index: 9999;
}
.currency-picker__menu.is-open { display: block; }

.currency-picker__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  transition: background 0.1s;
}
.currency-picker__option:hover  { background: var(--bg-panel); }
.currency-picker__option.is-active {
  background: var(--bg-panel);
  font-weight: 700;
  color: var(--dark);
}

.currency-picker__sym {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.5);
}

/* ── Footer inner container ── */
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Footer 5-column grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand column */
.footer-brand__logo {
  margin-bottom: 20px;
}

.footer-brand__logo img,
.footer-brand__logo .custom-logo {
  height: 36px !important;
  width: auto !important;
  max-width: none !important;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand__wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.footer-brand__tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin: 0;
}

/* Social icons */
.footer-brand__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-brand__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: background 0.15s, color 0.15s;
}
.footer-brand__social a:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.footer-brand__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Link columns */
.footer-links__heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links ul li a:hover {
  color: #fff;
}

/* Footer bottom bar */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
}

.footer-bottom__links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom__links a:hover {
  color: #fff;
}

.footer-bottom__links span[aria-hidden] {
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Hero (two-column)
   ═══════════════════════════════════════════════════ */

.app-hero {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 0;
  overflow: hidden;
}

/* Hero body: wraps content, holds the aurora overlay */
.hero-body {
  position: relative;
  padding: 72px 0 72px;
}

/* Three-glow aurora spotlight: masked at top and bottom so it
   doesn't bleed into the plain-navy nav bar above */
.hero-spotlight-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(900px 600px at 12% 20%, rgba(118,168,220,0.30), transparent 60%),
    radial-gradient(800px 700px at 88% 85%, rgba(118,168,220,0.24), transparent 60%),
    radial-gradient(700px 600px at 60% 40%, rgba(118,168,220,0.18), transparent 65%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

/* Hero content sits above the overlay */
.hero-body > .app-hero__grid {
  position: relative;
  z-index: 1;
}

.app-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.app-hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Category eyebrow pill */
.app-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-body);
  margin-bottom: 28px;
  width: fit-content;
}

.app-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--category-dot-color, var(--red));
  flex-shrink: 0;
}

/* Per-category dot colours */
.app-hero__eyebrow--content-creation  { --category-dot-color: #FED201; }
.app-hero__eyebrow--digital-workplace  { --category-dot-color: #CE2029; }
.app-hero__eyebrow--enterprise-readiness { --category-dot-color: #048BA8; }
.app-hero__eyebrow--solutions          { --category-dot-color: var(--red); }

.app-hero__name-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.app-hero__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

.app-hero__name {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  margin-bottom: 0;
  line-height: 1;
}

.app-hero__tagline {
  font-size: 1.375rem; /* 22px per spec */
  line-height: 1.45;
  font-weight: 400;
  color: var(--on-dark-body);
  margin-bottom: 20px;
  max-width: 520px;
}

.app-hero__description {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--on-dark-body);
  margin-bottom: 20px;
  max-width: 520px;
  opacity: 0.85;
}

/* ── Plan + price block ── */
.hero-plan-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

/* ── Plan toggle ── */
.price-toggle-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.price-toggle-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--on-dark-meta);
}

.price-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
  align-self: flex-start;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.price-toggle__btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
  border-radius: 6px;
  white-space: nowrap;
  font-family: inherit;
}
.price-toggle__btn.is-active {
  background: rgba(255,255,255,0.92);
  color: var(--dark);
}
.price-toggle__btn:hover:not(.is-active) {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.price-toggle__btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 2px;
}

/* ── Hero pricing ── */
.hero-pricing {
  margin-bottom: 0;
}

.hero-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin: 0;
  line-height: 1.15;
}
.hero-price .price-period {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--on-dark-meta);
  margin-left: 4px;
}

/* Show annual by default, hide lifetime */
.hero-price--lifetime { display: none; }
.btn-buy--lifetime    { display: none !important; }

/* When lifetime plan selected */
.app-hero.plan-lifetime .hero-price--annual { display: none; }
.app-hero.plan-lifetime .btn-buy--annual    { display: none !important; }
.app-hero.plan-lifetime .hero-price--lifetime { display: block; }
.app-hero.plan-lifetime .btn-buy--lifetime    { display: inline-block !important; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px;
}

.hero-try-free {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
  padding-bottom: 4px;
}
.hero-try-free:hover {
  color: #fff;
  text-decoration: underline;
}
.hero-try-free:focus-visible {
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 2px;
  border-radius: 2px;
}

.app-hero__image {
  position: relative;
}

.app-hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  display: block;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Hero featured image (transparent)
   ═══════════════════════════════════════════════════ */

.app-hero__image--featured {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero__image--featured img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Gallery (screenshots + video together)
   ═══════════════════════════════════════════════════ */

.app-gallery-section {
  background: var(--white);
  padding: 32px 0 0;
}

.gallery-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* Header row: label left, arrows right */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gallery-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
}

.gallery-arrow:hover:not(:disabled) {
  color: var(--dark);
  border-color: var(--ink-muted);
}

.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-viewport {
  overflow: hidden;
}

.app-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  /* Snap to 4-tile pages */
  scroll-snap-type: x mandatory;
}

.app-gallery::-webkit-scrollbar {
  display: none;
}

.app-gallery__item {
  position: relative;
  /* Show ~4 tiles: (100% - 3×16px gaps) / 4 */
  flex: 0 0 calc(25% - 12px);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--bg-panel);
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  aspect-ratio: 16 / 9;
  display: block;
  scroll-snap-align: start;
}

.app-gallery__item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

.app-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* Play button overlay on video thumbnail */
.app-gallery__item--video {
  position: relative;
}

.app-gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform 0.2s;
}

.app-gallery__item--video:hover .app-gallery__play {
  transform: translate(-50%, -50%) scale(1.12);
}

.app-gallery__play svg {
  width: 100%;
  height: 100%;
}

/* ── Gallery lightbox modal ── */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.gallery-modal__box {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.15s;
  z-index: 2;
}

.gallery-modal__close:hover {
  background: rgba(255,255,255,0.15);
}

.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  width: 48px;
  height: 64px;
  border-radius: 6px;
  transition: background 0.15s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal__prev { left: -64px; }
.gallery-modal__next { right: -64px; }

.gallery-modal__nav:hover {
  background: rgba(255,255,255,0.25);
}

.gallery-modal__nav:disabled {
  opacity: 0.2;
  cursor: default;
}

.gallery-modal__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85vh;
}

.gallery-modal__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  display: block;
}

.gallery-modal__video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.gallery-modal__video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Benefits ("Why we built")
   ═══════════════════════════════════════════════════ */

.app-benefits {
  background: var(--white);
  padding: 80px 0;
}

.app-benefits .container {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.app-benefits__left {
  padding-top: 4px;
}

/* Red rule + "THE STORY" eyebrow: matches FAQ eyebrow pattern */
.app-benefits__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 20px;
}

.app-benefits__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
  border-radius: 1px;
}

/* Two-tone heading: dark line 1, muted line 2 */
.app-benefits__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-benefits__title-primary {
  color: var(--dark);
  display: block;
}

.app-benefits__title-secondary {
  color: var(--ink-muted);
  display: block;
}

/* Right column: lead bold paragraph + body paragraphs */
.app-benefits__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-top: 4px;
}

.app-benefits__lead {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 20px;
}

.app-benefits__text p {
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.app-benefits__text p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Highlighted Feature Cards
   ═══════════════════════════════════════════════════ */

.app-features-cards {
  background: var(--bg-panel);
  padding: 80px 0;
}

/* Heading block: eyebrow then H2, stacked */
.app-features-cards__header {
  margin-bottom: 40px;
}

.app-features-cards__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.app-features-cards__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.app-features-cards__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
}

.app-features-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.feature-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.feature-card__num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.01em;
}

.feature-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* Visual area: real image or CSS illustration */
.feature-card__visual {
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-panel);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  flex-shrink: 0;
}

.feature-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ── CSS mock illustrations ── */
.feature-card__visual--mock {
  gap: 12px;
}

/*: Mock 1: Devices (laptop + phone): */
.fc-mock--devices {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.fc-device {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fc-device--laptop .fc-device__screen {
  width: 88px;
  height: 56px;
  background: #1F1F23;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.12);
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-device--phone .fc-device__screen {
  width: 34px;
  height: 60px;
  background: #1F1F23;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.12);
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fc-device__base {
  width: 50px;
  height: 4px;
  background: rgba(0,0,0,0.2);
  border-radius: 0 0 3px 3px;
  margin-top: 1px;
}

.fc-screen-row {
  height: 6px;
  border-radius: 2px;
  background: #2D2D33;
  flex: 1;
}

.fc-screen-row--red { background: #7A1812; }
.fc-screen-row--short { max-width: 60%; }

/*: Mock 2: Search + list: */
.fc-mock--search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.fc-search-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.fc-search-icon {
  font-size: 0.75rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.fc-search-text {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-list-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fc-list-row {
  height: 12px;
  border-radius: 3px;
  width: 100%;
}

.fc-list-row--red  { background: #D7372C; }
.fc-list-row--dark { background: #7A1812; }

/*: Mock 3: Rich-text editor: */
.fc-mock--editor {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.fc-editor-bar {
  height: 22px;
  background: #0E0E10;
  flex-shrink: 0;
}

.fc-editor-body {
  background: #fff;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fc-editor-row {
  height: 8px;
  border-radius: 2px;
}

.fc-editor-row--heading { background: #0E0E10; width: 55%; height: 10px; }
.fc-editor-row--red     { background: #D7372C; }
.fc-editor-row--body    { background: #ECE7DF; }
.fc-editor-row--wide    { width: 90%; }
.fc-editor-row--narrow  { width: 65%; }
.fc-editor-row--short   { width: 50%; }

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card__body {
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: FAQ (two-column, interactive accordion)
   ═══════════════════════════════════════════════════ */

.app-faq {
  padding: 80px 0;
  background: var(--white);
}

/* Two-column: sticky intro left, list right */
.app-faq__grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
  align-items: start;
}

.app-faq__intro {
  position: static;
}

/* Red rule + "FAQ" eyebrow */
.app-faq__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.app-faq__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
  border-radius: 1px;
}

.app-faq__heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 20px;
}

.app-faq__subtext {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

/* KB link in left column */
.faq-kb-link a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}

.faq-kb-link a:hover {
  text-decoration: underline;
  color: var(--red-dark);
}

/* FAQ list: bordered top */
.app-faq__list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

/* Item number */
.faq-toggle__num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  flex-shrink: 0;
  width: 24px;
  letter-spacing: 0.02em;
}

.faq-toggle__question {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq-toggle__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.faq-item.is-open .faq-toggle__icon {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer__inner {
  padding: 0 44px 24px 40px;
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}

.faq-answer__inner p { margin-bottom: 0.75em; }
.faq-answer__inner p:last-child { margin-bottom: 0; }

.entry-content {
  max-width: none;
}

.entry-content h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}
.entry-content h3 { margin-top: 1.25em; color: var(--dark); }
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
  list-style: disc;
}
.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.4em;
  font-size: 0.95rem;
  line-height: 1.6;
}
.entry-content ul li::marker { color: var(--red); }

/* ── Highlighted features: 3-column image-above layout ── */
.feature-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 28px;
}

.feature-col__image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}

.feature-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
  line-height: 1.25;
}

.feature-col p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── FAQ list ── */
.faq-list {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
  user-select: none;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q {
  color: var(--red);
}

.faq-item[open] .faq-item__q::after {
  content: '\2212'; /* minus */
}

.faq-item__a {
  padding: 0 4px 20px;
}

.faq-item__a p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Pricing
   ═══════════════════════════════════════════════════ */

.app-pricing {
  background: var(--bg-light);
  padding: 64px 0;
}

.app-pricing h2 {
  margin-bottom: 32px;
  color: var(--dark);
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  min-width: 220px;
  flex: 1;
  max-width: 320px;
}

.price-card--annual {
  border-color: var(--red);
}

.price-card h4 {
  margin: 0 0 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.price-amount {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: var(--dark);
  margin: 0 !important;
  line-height: 1.1;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.price-note {
  font-size: 0.8rem;
  color: #888;
  margin: 8px 0 0 !important;
}

.pricing-intro {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Annual + Lifetime choice layout */
.pricing-cards--choice {
  align-items: center;
}

.pricing-or {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0 4px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Buy section
   ═══════════════════════════════════════════════════ */

.buy-section {
  background: var(--bg-panel);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.buy-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.buy-section__heading {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.buy-section__note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.buy-section__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}

.shopify-buy-placeholder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-buy {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 2px solid var(--red);
}

.btn-buy.has-background {
  background: var(--red);
  color: #fff !important;
}

.btn-buy.has-background:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-buy.is-style-outline {
  background: transparent;
  color: var(--red);
}

.btn-buy.is-style-outline:hover {
  background: var(--red);
  color: #fff;
}


.try-free-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-left: 4px;
}
.try-free-link:hover { text-decoration: underline; }

.btn-try-free-cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  border: 2px solid var(--red);
}
.btn-try-free-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.buy-section__reassurance {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}

.buy-note {
  width: 100%;
  font-size: 0.8rem;
  color: #888;
  margin: 4px 0 0 !important;
}

/* ═══════════════════════════════════════════════════
   APP PAGE: Trust strip (WCAG, AppSource, Look Book)
   ═══════════════════════════════════════════════════ */

.trust-strip {
  background: var(--white);
  padding: 40px 0 56px;
}

.trust-strip__items {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.trust-item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

a.trust-item:hover .trust-item__text strong {
  color: var(--red);
}

/* Checkmark circle icon */
.trust-item__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}

/* Legacy icon style kept for back-compat */
.trust-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.2;
  color: var(--red);
}

.trust-item__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.trust-item__text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

/* ═══════════════════════════════════════════════════
   BLOCK EDITOR CONTENT (wp-content, regular pages)
   ═══════════════════════════════════════════════════ */

.site-main .wp-block-group {
  max-width: none;
}

/* Wide / full alignment in blocks */
.wp-block-group.alignfull,
.wp-block-columns.alignfull {
  max-width: 100vw;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Block editor styles for homepage and content pages */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.wp-block-column  { flex: 1; min-width: 200px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE: MOBILE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .gallery-wrap { padding: 0 24px; }
  .hero-body { padding: 48px 0 56px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Hide currency selector on mobile */
  .currency-picker { display: none !important; }
}

/* Menu button and stacked menu below 1200px, where the full desktop menu no longer fits */
@media (max-width: 1200px) {
  /* Show hamburger */
  .nav-toggle { display: flex; }

  /* Mobile nav */
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 9998;
    order: 4;
  }
  .main-nav.is-open { display: block; }

  .main-header-menu {
    flex-direction: column;
    align-items: stretch;
  }
  .main-header-menu > li {
    position: static;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .main-header-menu > li > a {
    height: auto;
    padding: 14px 20px;
    border-bottom: none;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
  }
  .main-header-menu > li > a:hover,
  .main-header-menu > li:hover > a,
  .main-header-menu > li:focus-within > a {
    color: #fff;
    border-bottom-color: transparent;
  }

  /* Mobile: show sub-menus inline */
  .main-header-menu > li > .sub-menu,
  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border-top: none !important;
    width: auto !important;
    transform: none !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    background: rgba(255,255,255,0.04) !important;
  }

  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu {
    background: transparent !important;
  }

  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > a {
    padding: 10px 20px 6px 28px !important;
    pointer-events: none;
  }

  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li > a {
    padding: 8px 20px 8px 36px !important;
    font-size: 0.85rem !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li.mega-promo-item > a {
    border-left: 3px solid var(--red) !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    margin: 4px 0 4px 20px;
  }

  .main-header-menu > li > .sub-menu > li > a {
    padding: 10px 20px 10px 32px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  /* App page mobile */
  .app-hero { padding: 40px 0; }
  .app-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .app-hero__image { order: -1; } /* Screenshot above text on mobile */
  .app-hero__tagline { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .hero-try-free { text-align: center; }
  .pricing-or { padding: 8px 0; }
  .gallery-wrap { padding: 0 16px; }
  .app-gallery__item { flex: 0 0 calc(50% - 8px); }
  .app-benefits { padding: 48px 0; }
  .app-benefits .container { grid-template-columns: 1fr; gap: 28px; }
  .app-benefits__text { font-size: 1rem; }
  .pricing-cards { flex-direction: column; }
  .price-card { max-width: none; }
  .shopify-buy-placeholder { flex-direction: column; align-items: stretch; }
  .btn-buy { text-align: center; }
  .try-free-link { text-align: center; margin-left: 0; }
  .buy-section__layout { grid-template-columns: 1fr; gap: 32px; }
  .buy-section { padding: 48px 0; }
  .buy-section__actions { align-items: stretch; width: 100%; }
  .trust-strip__items { flex-direction: column; }
  .trust-item { min-width: unset; }

  /* New sections: mobile */
  .app-features-cards { padding: 48px 0; }
  .app-features-cards__grid { grid-template-columns: 1fr; gap: 16px; }
  .app-features-cards__heading { margin-bottom: 28px; }

  .app-faq { padding: 48px 0; }
  .app-faq__grid { grid-template-columns: 1fr; gap: 40px; }

  .app-faq__heading { font-size: 2.25rem; }

  /* Footer: mobile */
  .footer-inner { padding: 0 20px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 0 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__tagline { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .container { padding: 0 20px; }
}

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


/* ═══════════════════════════════════════════════════
   HOMEPAGE (front-page.php)
   ═══════════════════════════════════════════════════ */

/* ── 1. Hero ── */
.hp-hero {
  background: var(--navy-deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 573px;
}

.hp-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 60px 0 52px;
  position: relative;
  z-index: 1;
}

.hp-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-body);
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
}

.hp-hero__breadcrumb::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hp-hero__heading {
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  margin: 0 0 24px;
}

.hp-hero__highlight,
.at-hero__highlight {
  position: relative;
  display: inline-block;
  color: #fff;
  padding: 0 14px 5px;
  font-style: normal;
}
.hp-hero__highlight::before,
.at-hero__highlight::before {
  content: '';
  position: absolute;
  inset: 0 0 10px;
  background: var(--red);
  transform: rotate(-3deg);
  border-radius: 4px;
  z-index: -1;
}

.hp-hero__sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.45;
  margin: 0 0 12px;
  max-width: 500px;
}

.hp-hero__body {
  font-size: 0.95rem;
  color: var(--on-dark-body);
  line-height: 1.65;
  margin: 0 0 40px;
  max-width: 480px;
}

.hp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}


.hp-hero__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.hp-hero__badges li {
  font-size: 0.78rem;
  color: var(--on-dark-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hp-badge__check {
  color: var(--on-dark-body);
  font-size: 0.85rem;
}

.hp-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero__image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  mix-blend-mode: screen;
}

/* ── 2. Logos ── */
.hp-logos {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.hp-logos__label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 24px;
}

.hp-logos__scroll {
  position: relative;
}
.hp-logos__scroll::before,
.hp-logos__scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.hp-logos__scroll::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
.hp-logos__scroll::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.hp-logos__row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 48px;
  overflow-x: auto;
  padding: 4px 80px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hp-logos__row::-webkit-scrollbar { display: none; }

.hp-logos__img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.5;
  display: block;
}

/* ── 3. Editorial ── */
.hp-editorial {
  background: #F5F2ED;
  padding: 88px 0;
}

.hp-editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hp-editorial__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}

.hp-editorial__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hp-editorial__heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
}

.hp-editorial__lead {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--dark);
  margin: 0 0 16px;
}

.hp-editorial__body-col p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 14px;
}

/* ── 4. Three tiers ── */
.hp-tiers {
  background: #fff;
  padding: 88px 0;
}

.hp-tiers__header {
  margin-bottom: 72px;
}

.hp-tiers__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}

.hp-tiers__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hp-tiers__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 12px;
}

.hp-tiers__sub {
  font-size: 0.97rem;
  color: #666;
  margin: 0;
}

.hp-tiers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hp-tier {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hp-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  text-decoration: none;
  color: inherit;
}
.hp-tier--featured:hover {
  box-shadow: 0 24px 56px rgba(14,26,31,0.28);
}

.hp-tier--featured {
  background: var(--navy-deep);
  border-color: transparent;
  color: var(--on-dark);
  box-shadow: 0 16px 48px rgba(14,26,31,0.2);
  padding-top: 48px;
  margin-top: -20px;
  margin-bottom: -20px;
}

.hp-tier__most-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.hp-tier__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.hp-tier--featured .hp-tier__label { color: rgba(255,255,255,0.55); }

.hp-tier__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.hp-tier--featured .hp-tier__name { color: #fff; }

.hp-tier__desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.55;
  margin: 0 0 20px;
}

.hp-tier--featured .hp-tier__desc { color: rgba(255,255,255,0.75); }

.hp-tier__features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.hp-tier__features li {
  font-size: 0.88rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-tier__features li span {
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hp-tier--featured .hp-tier__features li { color: rgba(255,255,255,0.85); }
.hp-tier--featured .hp-tier__features li span { color: var(--on-dark-body); }

.hp-tier__cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: color 0.15s;
}

.hp-tier__cta:hover { color: var(--red-dark); text-decoration: underline; }

/* ── 5. Stats ── */
.hp-stats {
  background: var(--navy-deep);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hp-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(900px 400px at 15% 50%, rgba(118,168,220,0.45), transparent 60%),
    radial-gradient(800px 400px at 85% 50%, rgba(118,168,220,0.38), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(118,168,220,0.28), transparent 65%);
}

.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hp-stat__num {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-align: center;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.hp-stat__num .hp-stat__plus {
  color: var(--red);
  font-size: 0.55em;
  vertical-align: super;
  display: inline-block;
  width: 0;
  overflow: visible;
}

.hp-stat__label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-top: 6px;
}

.hp-stat__sub {
  font-size: 0.78rem;
  color: var(--on-dark-meta);
}

/* ── 6. Apps grid ── */
.hp-apps {
  background: #fff;
  padding: 88px 0;
}

.hp-apps__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.hp-apps__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}

.hp-apps__eyebrow-rule {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hp-apps__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 8px;
}

.hp-apps__sub {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.hp-apps__view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 2px;
  transition: color 0.15s;
}

.hp-apps__view-all:hover { color: var(--red-dark); text-decoration: underline; }

.hp-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hp-app-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.hp-app-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #ccc;
}

.hp-app-card__img-wrap {
  aspect-ratio: 4 / 3;
  background: #F5F2ED;
  overflow: hidden;
}

.hp-app-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-app-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee 0%, #ddd 100%);
}

.hp-app-card__info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hp-app-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.hp-app-card__tagline {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.4;
}

/* ── 7. CTA strip ── */
.hp-cta {
  background: var(--navy-deep);
  padding: 72px 0;
}

.hp-cta__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.hp-cta__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-meta);
  margin-bottom: 12px;
}

.hp-cta__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}

.hp-cta__body {
  font-size: 0.95rem;
  color: var(--on-dark-body);
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.hp-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding-top: 30px;
}

.hp-cta__btn {
  width: 100%;
  text-align: center;
}

.hp-cta__note {
  font-size: 0.75rem;
  color: var(--on-dark-meta);
  margin: 4px 0 0;
}

/* ── Homepage responsive ── */
@media (max-width: 1024px) {
  .hp-tiers__grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 768px) {
  .hp-hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 48px; }
  .hp-hero__image { order: -1; }
  .hp-hero__image img { max-width: 100%; }
  .hp-editorial__grid { grid-template-columns: 1fr; gap: 32px; }
  .hp-tiers__grid { max-width: none; }
  .hp-apps__grid { grid-template-columns: repeat(2, 1fr); }
  .hp-apps__header { flex-direction: column; align-items: flex-start; }
  .hp-cta__grid { grid-template-columns: 1fr; gap: 32px; }
  .hp-cta__body { max-width: none; }
  .hp-cta__actions { width: 100%; }
  .hp-cta__btn { width: 100%; }
}

@media (max-width: 480px) {
  .hp-hero__actions { flex-direction: column; }
  .hp-hero__actions .btn { text-align: center; }
  .hp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hp-apps__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── Atrium Intranet page ── */

/* Hero */
.at-hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  min-height: 573px;
}
.at-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 72px;
  position: relative;
  z-index: 1;
}
.at-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-body);
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
}
.at-hero__breadcrumb::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.at-hero__heading {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  margin: 0 0 20px;
}
.at-hero__sub {
  font-size: 1.05rem;
  color: var(--on-dark-body);
  margin: 0 0 10px;
  max-width: 480px;
  line-height: 1.6;
}
.at-hero__meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--on-dark-meta);
  text-transform: uppercase;
  margin: 0 0 24px;
}
.at-hero__pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.at-hero__price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  line-height: 1.15;
}
.at-hero__price-sep {
  color: var(--on-dark-meta);
}
.at-hero__price-note {
  font-size: 0.9rem;
  color: var(--on-dark-body);
}
.at-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.at-hero__image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  mix-blend-mode: screen;
}

/* What is Atrium */
.at-what {
  background: var(--bg-warm, #F5F2ED);
  padding: 88px 0;
}
.at-what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.at-what__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}
.at-what__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.at-what__heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.at-what__lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.55;
  margin: 0 0 16px;
}
.at-what__body-col p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 14px;
}
.at-what__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.at-what__link:hover { text-decoration: underline; }

/* Stats */
.at-stats {
  background: var(--navy-deep);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.at-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(900px 400px at 15% 50%, rgba(118,168,220,0.45), transparent 60%),
    radial-gradient(800px 400px at 85% 50%, rgba(118,168,220,0.38), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(118,168,220,0.28), transparent 65%);
}
.at-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.at-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.at-stat__num {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-align: center;
  width: 100%;
  font-variant-numeric: tabular-nums;
}
.at-stat__num .at-stat__plus,
.at-reply__stat-num .at-stat__plus {
  color: var(--red);
  font-size: 0.55em;
  vertical-align: super;
  display: inline-block;
  width: 0;
  overflow: visible;
}
.at-stat__label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-top: 6px;
}
.at-stat__sub {
  font-size: 0.8rem;
  color: var(--on-dark-body);
}

/* Is Atrium right for you */
.at-fit {
  background: #fff;
  padding: 80px 0;
}
.at-fit__header {
  margin: 0 0 56px;
}
.at-fit__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.at-fit__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.at-fit__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.at-fit__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.at-fit__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.at-fit__card {
  background: var(--bg-warm, #F5F2ED);
  border-radius: 10px;
  padding: 28px 20px 24px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}
.at-fit__card:hover { border-color: var(--red); }
.at-fit__check {
  width: 28px;
  height: 28px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
}
.at-fit__card-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-meta, #888);
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.at-fit__card-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
  grid-column: 1 / -1;
  grid-row: 2;
}

/* Six-phase methodology */
.at-phases {
  background: var(--bg-warm, #F5F2ED);
  padding: 80px 0;
}
.at-phases__header {
  margin: 0 0 56px;
}
.at-phases__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.at-phases__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.at-phases__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.at-phases__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.at-phases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.at-phase {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}
.at-phase:hover { border-top-color: var(--red); }
.at-phase__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}
.at-phase__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.at-phase__body {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* What's included */
.at-included {
  background: #fff;
  padding: 80px 0;
}
.at-included__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.at-included__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.at-included__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.at-included__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 28px;
}
.at-included__intro {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.5;
}
.at-included__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.at-included__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.at-included__list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.at-included__compare-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.at-included__compare-link:hover { text-decoration: underline; }
.at-included__col--addons {
  padding-top: 0;
}
.at-addon {
  display: block;
  position: relative;
  padding: 20px 20px 40px;
  background: var(--bg-warm, #F5F2ED);
  border-radius: 10px;
  border-top: 3px solid transparent;
  text-decoration: none;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.at-addon:last-of-type { margin-bottom: 0; }
.at-addon:hover { border-top-color: var(--red); }
.at-fit__footer {
  margin-top: 32px;
}
.at-fit__options-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
  transition: opacity 0.15s;
}
.at-fit__options-link:hover { opacity: 0.75; }
.at-addon__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  transition: color 0.2s;
}
.at-addon:hover .at-addon__name { color: var(--red); }
.at-addon__desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.at-addon__arrow {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.at-addon:hover .at-addon__arrow { color: var(--red); }

/* What's not included */
.at-excluded {
  background: var(--bg-warm, #F5F2ED);
  padding: 80px 0;
}
.at-excluded__header {
  margin: 0 0 48px;
}
.at-excluded__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.at-excluded__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.at-excluded__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.at-excluded__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.at-excluded__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.at-excluded__card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 3px solid var(--red);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.at-excluded__card:hover {
  border-left-color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.at-excluded__card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.at-excluded__card-body {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.at-excluded__cta {
  text-align: left;
}
.at-excluded__cta-note {
  font-size: 0.82rem;
  color: var(--text-meta, #888);
  margin: 10px 0 0;
}

/* Backed by Reply */
.at-reply {
  background: var(--navy-deep);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.at-reply::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(900px 400px at 15% 50%, rgba(118,168,220,0.45), transparent 60%),
    radial-gradient(800px 400px at 85% 50%, rgba(118,168,220,0.38), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(118,168,220,0.28), transparent 65%);
}
.at-reply__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.at-reply__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-meta);
  margin-bottom: 16px;
}
.at-reply__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--on-dark-meta);
  flex-shrink: 0;
}
.at-reply__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin: 0 0 16px;
}
.at-reply__body {
  color: var(--on-dark-body);
  line-height: 1.7;
  margin: 0 0 24px;
}
.at-reply__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-dark);
  text-decoration: none;
}
.at-reply__link:hover { text-decoration: underline; }
.at-reply__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 34px;
}
.at-reply__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.at-reply__stat-num {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.at-reply__stat-label {
  font-size: 0.85rem;
  color: var(--on-dark-body);
}

/* CTA strip */
.at-cta {
  background: var(--navy-deep);
  padding: 72px 0;
}
.at-cta__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}
.at-cta__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-meta);
  margin-bottom: 12px;
}
.at-cta__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin: 0 0 12px;
}
.at-cta__body {
  color: var(--on-dark-body);
  margin: 0;
  max-width: 520px;
}
.at-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding-top: 30px;
}
.at-cta__btn {
  width: 100%;
  text-align: center;
}
.at-cta__note {
  font-size: 0.78rem;
  color: var(--on-dark-meta);
  margin: 0;
  text-align: center;
}

/* Atrium responsive */
@media (max-width: 1024px) {
  .at-fit__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .at-phases__grid { grid-template-columns: repeat(2, 1fr); }
  .at-excluded__grid { grid-template-columns: repeat(2, 1fr); }
  .at-reply__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .at-hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 48px; }
  .at-hero__image { order: -1; }
  .at-what__grid { grid-template-columns: 1fr; gap: 32px; }
  .at-included__grid { grid-template-columns: 1fr; gap: 48px; }
  .at-fit__grid { grid-template-columns: repeat(2, 1fr); }
  .at-cta__grid { grid-template-columns: 1fr; gap: 32px; }
  .at-cta__body { max-width: none; }
  .at-cta__actions { width: 100%; }
  .at-cta__btn { width: 100%; }
}
@media (max-width: 480px) {
  .at-hero__actions { flex-direction: column; }
  .at-phases__grid { grid-template-columns: 1fr; }
  .at-excluded__grid { grid-template-columns: 1fr; }
  .at-fit__grid { grid-template-columns: 1fr 1fr; }
  .at-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── SharePoint Intranet Options ── */

.sio-page .at-hero__actions { margin-top: 32px; }

/* Hero visual: a stacked triad of pills evoking the three tiers */
.sio-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sio-hero__triad {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}
.sio-hero__node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--on-dark);
}
.sio-hero__node--atrium {
  background: rgba(215, 55, 44, 0.18);
  border-color: rgba(215, 55, 44, 0.55);
  transform: translateX(28px);
}
.sio-hero__node--apps    { transform: translateX(-12px); }
.sio-hero__node--partner { transform: translateX(-4px); }
.sio-hero__node-flag {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255,255,255,0.96);
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 4px;
}
.sio-hero__node-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-dark);
}
.sio-hero__node-price {
  font-size: 0.85rem;
  color: var(--on-dark-body);
}

/* Three-tier comparison cards */
.sio-tiers {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.sio-tiers__header { margin: 0 0 72px; }
.sio-tiers__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.sio-tiers__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.sio-tiers__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 12px;
}
.sio-tiers__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.sio-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.sio-tier-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.sio-tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}
.sio-tier-card--featured {
  background: var(--navy-deep);
  border-color: transparent;
  color: var(--on-dark);
  box-shadow: 0 16px 48px rgba(14,26,31,0.2);
  padding-top: 48px;
  margin-top: -20px;
  margin-bottom: -20px;
}
.sio-tier-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(14,26,31,0.28);
}
.sio-tier-card--featured .btn { margin-top: 12px; }
.sio-tier-card--featured .sio-tier-card__tag { color: rgba(255,255,255,0.55); }
.sio-tier-card--featured .sio-tier-card__name { color: #fff; }
.sio-tier-card--featured .sio-tier-card__price-num { color: #fff; }
.sio-tier-card--featured .sio-tier-card__price-note { color: rgba(255,255,255,0.6); }
.sio-tier-card--featured .sio-tier-card__who { color: rgba(255,255,255,0.75); }
.sio-tier-card--featured .sio-tier-card__list li { color: rgba(255,255,255,0.85); }
.sio-tier-card--featured .sio-tier-card__list li span { color: var(--on-dark-body); }
.sio-tier-card__ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.sio-tier-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sio-tier-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.sio-tier-card__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--dark);
  margin: 0;
}
.sio-tier-card__price {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.sio-tier-card__price-num {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.sio-tier-card__price-note {
  font-size: 0.85rem;
  color: var(--muted);
}
.sio-tier-card__who {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 6px 0 0;
}
.sio-tier-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sio-tier-card__list li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sio-tier-card__list li span {
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.sio-tier-card__cta {
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.sio-tier-card__cta:hover { text-decoration: underline; }

/* Decision matrix */
.sio-matrix {
  background: #fff;
  padding: 96px 0;
}
.sio-matrix__header { margin: 0 0 48px; }
.sio-matrix__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.sio-matrix__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.sio-matrix__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 12px;
}
.sio-matrix__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.sio-matrix__table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.sio-matrix__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.sio-matrix__row:last-child { border-bottom: 0; }
.sio-matrix__row:not(.sio-matrix__row--head):hover { background: var(--bg-warm, #F5F2ED); cursor: default; }
.sio-matrix__row--head {
  background: var(--bg-warm, #F5F2ED);
}
.sio-matrix__cell {
  padding: 22px 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sio-matrix__cell:last-child { border-right: 0; }
.sio-matrix__cell--label {
  font-weight: 700;
  color: var(--dark);
  background: rgba(15, 27, 42, 0.02);
}
.sio-matrix__q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.sio-matrix__q-text { line-height: 1.4; }
.sio-matrix__cell--head {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--bg-warm, #F5F2ED);
  justify-content: center;
}
.sio-matrix__cell--featured {
  color: var(--dark);
  font-weight: 600;
}
.sio-matrix__row--head .sio-matrix__cell--label {
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}
.sio-matrix__row--head .sio-matrix__cell--featured {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.sio-matrix__head-flag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--dark);
}
.sio-matrix__check {
  color: var(--red);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.sio-matrix__cell--featured .sio-matrix__check { color: var(--red); }

/* SIO responsive */
@media (max-width: 1024px) {
  .sio-tiers__grid { grid-template-columns: 1fr; gap: 16px; }
  .sio-tier-card--featured { transform: none; }
}
@media (max-width: 900px) {
  .sio-hero__visual { display: none; }
}
@media (max-width: 768px) {
  .sio-tiers { padding: 64px 0; }
  .sio-matrix { padding: 64px 0; }
  .sio-matrix__row {
    grid-template-columns: 1fr;
  }
  .sio-matrix__cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .sio-matrix__cell:last-child { border-bottom: 0; }
  .sio-matrix__row:last-child .sio-matrix__cell:last-child { border-bottom: 0; }
  .sio-matrix__cell--head { justify-content: flex-start; }
  .sio-matrix__row--head .sio-matrix__cell--featured { flex-direction: row; }
}

/* Stats strip: warm override for SharePoint Options page (not navy like .at-stats default) */
.sio-page .at-stats {
  background: var(--bg-warm, #F5F2ED);
}
.sio-page .at-stats::before { display: none; }
.sio-page .at-stat__num { color: var(--dark); }
.sio-page .at-stat__label { color: var(--dark); }
.sio-page .at-stat__num .at-stat__plus { color: var(--red); }
.sio-page .at-stat__sub {
  color: var(--ink-soft, #6B7280);
}

/* ── Delivering an Enterprise Intranet ── */

.eei-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.eei-hero__network {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
}
.eei-hero__hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 8px 30px rgba(215, 55, 44, 0.4);
  white-space: nowrap;
}
.eei-hero__spoke {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--on-dark-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.eei-hero__spoke--1 { top: 6%;   left: 50%; transform: translateX(-50%); }
.eei-hero__spoke--2 { top: 30%;  right: 0; }
.eei-hero__spoke--3 { bottom: 20%; right: 6%; }
.eei-hero__spoke--4 { bottom: 6%; left: 50%; transform: translateX(-50%); }
.eei-hero__spoke--5 { top: 38%;  left: 0; }

.eei-included__panel {
  background: var(--bg-warm, #F5F2ED);
  border-radius: 14px;
  padding: 32px 32px 28px;
  margin-top: 42px;
}
.eei-fit__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.eei-fit__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.eei-fit__heading {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
}
.eei-fit__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eei-fit__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.eei-fit__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.eei-fit__list li strong { color: var(--navy-deep); font-weight: 700; }

/* Atrium pointer (also reused on Apps Package) */
.eei-pointer {
  background: #fff;
  padding: 80px 0;
}
.eei-pointer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--bg-warm, #F5F2ED);
  border-radius: 18px;
  padding: 48px 56px;
}
.eei-pointer__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.eei-pointer__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.eei-pointer__heading {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.eei-pointer__body {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 24px;
}
.eei-pointer__cta {
  align-self: flex-start;
}
.eei-pointer__aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  margin-top: 34px;
}
.eei-pointer__panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.eei-pointer__panel-num {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  font-size: 0.9375rem;
  color: var(--ink);
  margin: 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.eei-pointer__panel-num::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}
.eei-pointer__panel-num:last-child {
  border-bottom: none;
}
.eei-pointer__panel-num strong {
  font-weight: 700;
  color: var(--ink);
}
.eei-pointer__panel-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.eei-pointer__panel-sub {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.eei-pointer__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.eei-pointer__stat:last-child {
  border-right: none;
}
.eei-pointer__stat-val {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.eei-pointer__stat-label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.eei-pointer__footnote {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}

/* EEI responsive */
@media (max-width: 1024px) {
  .eei-included__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .eei-hero__visual { display: none; }
}
@media (max-width: 768px) {
  .eei-pointer { padding: 56px 0; }
  .eei-pointer__grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 28px; }
  .eei-pointer__stat { padding: 20px 12px; }
  .eei-pointer__stat-val { font-size: 1.1rem; }
}

/* ── Intranet Apps Package ── */

/* Title on one line without widening the column */
.iap-hero .app-hero__name { font-size: clamp(1.8rem, 3vw, 3rem); }

/* Category pill row in hero */
.iap-hero__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.iap-hero__cats .app-hero__eyebrow {
  margin-bottom: 0;
}

/* Pricing-band toggle (extends .price-toggle to wrap onto two rows) */
.iap-band-toggle {
  flex-wrap: wrap;
}
.iap-band-toggle__btn {
  flex: 1 1 auto;
  min-width: 132px;
  text-align: center;
}

/* Hero: only the active price + buy button shows */
.iap-hero__pricing { position: relative; min-height: 56px; }
.iap-hero__price {
  display: none;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--on-dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.iap-hero__price.is-active { display: block; }
.iap-hero__price .price-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-meta);
  margin-left: 4px;
}
.iap-hero__actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; }
.iap-hero__actions .iap-buy { display: none; }
.iap-hero__actions .iap-buy.is-active { display: inline-flex; }

/* Apps by category */
.iap-apps {
  background: var(--white);
  padding: 80px 0;
}
.iap-apps__header { margin: 0 0 48px; }
.iap-apps__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
}
.iap-apps__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.iap-apps__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.iap-apps__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
/* Icon strip */
.iap-icon-strip-section {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border, #E8E4DF);
}
.iap-icon-strip__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted, #888);
  margin: 0 0 24px;
}
.iap-icon-strip {
  overflow: hidden;
}
.iap-icon-strip.can-scroll-right {
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}
.iap-icon-strip.can-scroll-left {
  -webkit-mask-image: linear-gradient(to left, black 85%, transparent 100%);
  mask-image: linear-gradient(to left, black 85%, transparent 100%);
}
.iap-icon-strip.can-scroll-left.can-scroll-right {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 85%, transparent 100%);
}
.iap-icon-strip__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.iap-icon-strip__inner::-webkit-scrollbar { display: none; }
.iap-icon-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  width: 80px;
}
.iap-icon-chip__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
}
.iap-icon-chip__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.iap-icon-chip:hover .iap-icon-chip__icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.iap-icon-chip__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
  max-width: 72px;
}
.iap-icon-chip:hover .iap-icon-chip__name {
  color: var(--ink);
}

.iap-apps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.iap-apps__col {
  background: var(--bg-warm, #F5F2ED);
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.iap-apps__cat-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.iap-apps__cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.iap-apps__cat-dot--content-creation     { background: #FED201; }
.iap-apps__cat-dot--digital-workplace    { background: #CE2029; }
.iap-apps__cat-dot--enterprise-readiness { background: #048BA8; }
.iap-apps__cat-blurb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.iap-apps__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.iap-apps__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}
.iap-apps__item:hover {
  border-color: rgba(215, 55, 44, 0.4);
  color: var(--red);
}
.iap-apps__item-arrow {
  color: var(--muted);
  transition: color 0.15s, transform 0.15s;
}
.iap-apps__item:hover .iap-apps__item-arrow {
  color: var(--red);
  transform: translateX(2px);
}
.iap-apps__empty {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Pricing bands table */
.iap-pricing {
  background: var(--bg-warm, #F5F2ED);
  padding: 80px 0;
}
.iap-pricing__header { margin: 0 0 40px; }
.iap-pricing__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
}
.iap-pricing__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.iap-pricing__heading {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.iap-pricing__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.iap-bands-table {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  max-width: 800px;
}
.iap-bands-table__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  gap: 16px;
}
.iap-bands-table__row:last-child { border-bottom: 0; }
.iap-bands-table__row:hover { background: rgba(215, 55, 44, 0.06); transition: background 0.15s; }
.iap-bands-table__row--head {
  background: var(--bg-warm, #F5F2ED);
  padding: 14px 24px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.iap-bands-table__row.is-featured {
  background: rgba(215, 55, 44, 0.12);
  border-left: 3px solid var(--red);
}
.iap-bands-table__cell--label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.iap-bands-table__cell--price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.iap-bands-table__period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}
.iap-bands-table__cell--inc {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.iap-bands-table__cell--cta { display: flex; justify-content: flex-end; }
.iap-bands-table__buy { font-size: 0.85rem; padding: 10px 18px; }
.iap-pricing__note {
  margin: 24px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.iap-pricing__note a { color: var(--red); text-decoration: none; font-weight: 600; }
.iap-pricing__note a:hover { text-decoration: underline; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Section background rhythm: dark → grey → white → grey → white → grey → white → dark */
.iap-benefits { padding-bottom: 64px; background: var(--bg-warm, #F5F2ED); }
.iap-faq.app-faq { background: var(--bg-warm, #F5F2ED); }

/* IAP responsive */
@media (max-width: 1024px) {
  .iap-apps__grid { grid-template-columns: 1fr; gap: 18px; }
  .iap-bands-table__row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .iap-bands-table__row--head { display: none; }
  .iap-bands-table__cell--inc { grid-column: span 2; color: var(--muted); font-size: 0.85rem; }
  .iap-bands-table__cell--cta { grid-column: span 2; justify-content: flex-start; }
}
@media (max-width: 768px) {
  .iap-apps { padding: 64px 0; }
  .iap-pricing { padding: 64px 0; }
  .iap-band-toggle__btn { min-width: 0; flex-basis: calc(50% - 4px); }
  .iap-hero__price { font-size: 1.8rem; }
}


/* ══════════════════════════════════════════════════════
   ── Pricing page ──
   ══════════════════════════════════════════════════════ */

/* Hero */
.pr-hero__grid { align-items: center; }
.pr-hero__visual { display: flex; align-items: center; justify-content: center; }
.pr-hero__sub { font-weight: 600; color: var(--on-dark); }
.pr-hero__actions { margin-top: 40px; }
.pr-hero__body {
  font-size: 1rem;
  font-weight: 400;
  color: var(--on-dark-body);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 0;
}
.pr-hero__tiers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}
.pr-hero__tier {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 18px 20px;
}
.pr-hero__tier--mid {
  background: rgba(215,55,44,0.22);
  border-color: rgba(215,55,44,0.5);
  transform: translateX(16px);
}
.pr-hero__tier-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--on-dark);
}
.pr-hero__tier-price {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--on-dark-body);
}

/* Individual apps section */
.pr-apps {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.pr-apps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pr-apps__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.pr-apps__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.pr-apps__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
}
.pr-apps__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.pr-apps__cta { margin-top: 8px; }
.pr-apps__options { display: flex; flex-direction: column; gap: 20px; padding-top: 36px; }
.pr-option-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.pr-option-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}
.pr-option-card__desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; }
.pr-option-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pr-option-card__list li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.pr-option-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* Option cards (stacked) */
.pr-option-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pr-option-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 12px;
  padding: 22px 24px;
  transition: border-top-color 0.2s;
}
.pr-option-card:hover { border-top-color: var(--red); }
.pr-option-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 8px;
}

/* Apps Package section */
.pr-package {
  background: #fff;
  padding: 96px 0;
}
.pr-package__header { margin: 0 0 56px; }
.pr-package__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.pr-package__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.pr-package__heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.pr-package__sub { color: var(--ink-soft); font-size: 1.05rem; }
.pr-bands {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pr-band {
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-top-color 0.2s;
  position: relative;
}
.pr-band:hover { border-top-color: var(--red); }
.pr-band__users { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.pr-band__price { font-size: clamp(1.6rem, 2vw, 2rem); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.pr-band__per { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.pr-package__cta { margin-top: 40px; }

/* Atrium section */
.pr-atrium {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.pr-atrium__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pr-atrium__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.pr-atrium__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.pr-atrium__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
}
.pr-atrium__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.pr-atrium__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pr-atrium__card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}
.pr-atrium__card-title { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.pr-atrium__price { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; margin-bottom: 4px; }
.pr-atrium__price-note { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.pr-atrium__card-desc { font-size: 0.88rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* Partner-led section */
.pr-partner {
  background: #fff;
  padding: 80px 0;
}
.pr-partner__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}
.pr-partner__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.pr-partner__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.pr-partner__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.pr-partner__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 24px; max-width: 520px; }
.pr-partner__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
.pr-partner__panel-note { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* FAQ section */
.pr-faq {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.pr-faq__inner {
  max-width: 800px;
}
.pr-faq__header { margin-bottom: 48px; }
.pr-faq__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.pr-faq__eyebrow-rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.pr-faq__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin: 0;
}
.pr-faq__list { display: flex; flex-direction: column; }
.pr-faq__item {
  border-top: 1px solid var(--border);
  padding: 0;
}
.pr-faq__item:last-child { border-bottom: 1px solid var(--border); }
.pr-faq__question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.pr-faq__question::-webkit-details-marker { display: none; }
.pr-faq__question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}
.pr-faq__item[open] .pr-faq__question::after { content: '\2212'; }
.pr-faq__answer {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 20px;
  padding-right: 32px;
}

/* Responsive: Pricing */
@media (max-width: 1024px) {
  .pr-bands { grid-template-columns: repeat(2, 1fr); }
  .pr-partner__grid { grid-template-columns: 1fr; gap: 40px; }
  .pr-partner__panel { align-items: flex-start; }
}
@media (max-width: 768px) {
  .pr-apps { padding: 64px 0; }
  .pr-apps__grid { grid-template-columns: 1fr; gap: 40px; }
  .pr-package { padding: 64px 0; }
  .pr-bands { grid-template-columns: 1fr; }
  .pr-atrium { padding: 64px 0; }
  .pr-atrium__grid { grid-template-columns: 1fr; gap: 40px; }
  .pr-partner { padding: 64px 0; }
  .pr-hero__tiers { max-width: 100%; }
  .pr-hero__tier--mid { transform: none; }
  .pr-faq { padding: 64px 0; }
}


/* ══════════════════════════════════════════════════════
   ── Microsoft-First Approach page ──
   ══════════════════════════════════════════════════════ */

/* Hero: uses the standard .at-hero__image dashboard visual */
.mfa-hero__grid { align-items: center; }
.mfa-page .at-hero__sub { margin-bottom: 32px; }
.mfa-page .at-hero__actions { margin-top: 8px; }

/* Why native-first */
.mfa-native {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.mfa-native__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mfa-native__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.mfa-native__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.mfa-native__heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.mfa-native__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }

/* Three risks */
.mfa-risks {
  background: #fff;
  padding: 96px 0;
}
.mfa-risks__header { margin: 0 0 56px; }
.mfa-risks__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.mfa-risks__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.mfa-risks__heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.mfa-risks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mfa-risk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
}
.mfa-risk-card:hover { border-top-color: var(--red); }
.mfa-risk-card__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  opacity: 0.7;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.mfa-risk-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.mfa-risk-card__body { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* Where we fit */
.mfa-fit {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.mfa-fit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mfa-fit__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.mfa-fit__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.mfa-fit__heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 24px;
}
.mfa-fit__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
.mfa-fit__cta { margin-top: 16px; }
.mfa-fit__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mfa-fit__tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
}
.mfa-fit__tile-icon {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Evergreen */
.mfa-evergreen {
  background: #fff;
  padding: 96px 0;
}
.mfa-evergreen__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mfa-evergreen__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.mfa-evergreen__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.mfa-evergreen__heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.mfa-evergreen__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }

.mfa-evergreen__card {
  background: var(--bg-warm, #F5F2ED);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.mfa-evergreen__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 18px;
}
.mfa-evergreen__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mfa-evergreen__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.mfa-evergreen__list-icon {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsive: Microsoft-first */
@media (max-width: 1024px) {
  .mfa-risks__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .mfa-native { padding: 64px 0; }
  .mfa-native__grid { grid-template-columns: 1fr; gap: 40px; }
  .mfa-risks { padding: 64px 0; }
  .mfa-fit { padding: 64px 0; }
  .mfa-fit__grid { grid-template-columns: 1fr; gap: 40px; }
  .mfa-fit__tiles { grid-template-columns: 1fr; }
  .mfa-evergreen { padding: 64px 0; }
  .mfa-evergreen__grid { grid-template-columns: 1fr; gap: 40px; }
}


/* ══════════════════════════════════════════════════════
   ── About Us page ──
   ══════════════════════════════════════════════════════ */

/* Hero */
.au-page .at-hero { min-height: 573px; }
.au-page .at-hero__actions { margin-top: 32px; }

/* Hero visual */
.au-hero__grid { align-items: center; }
.au-hero__visual { display: flex; align-items: center; justify-content: center; }
.au-hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(215,55,44,0.15);
  border: 2px solid rgba(215,55,44,0.4);
  gap: 4px;
}
.au-hero__badge-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--on-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.au-hero__badge-label {
  font-size: 0.78rem;
  color: var(--on-dark-meta);
  text-align: center;
}

/* Intro */
.au-intro {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.au-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.au-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.au-intro__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.au-intro__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.au-intro__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }

/* History */
.au-history {
  background: #fff;
  padding: 96px 0;
}
.au-history__header { margin: 0 0 40px; }
.au-history__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.au-history__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.au-history__heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  max-width: 680px;
}
.au-history__body-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}
.au-history__body-col { display: flex; flex-direction: column; gap: 20px; }
.au-history__body { color: var(--ink-soft); line-height: 1.7; margin: 0; }
.au-history__quote {
  margin: 0;
  padding: 20px 0 20px 28px;
  border-left: 3px solid var(--red);
}
.au-history__quote p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.au-history__quote cite {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

/* Benefits */
.au-benefits {
  background: var(--bg-warm, #F5F2ED);
  padding: 96px 0;
}
.au-benefits__header { margin: 0 0 40px; }
.au-benefits__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.au-benefits__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.au-benefits__heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.au-benefits__sub {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.au-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.au-benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.au-benefit-card:hover { border-top-color: var(--red); }
.au-benefit-card__num {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 14px;
}
.au-benefit-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.au-benefit-card__body { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* Reply section */
.au-reply {
  background: #fff;
  padding: 96px 0;
}
.au-reply__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.au-reply__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.au-reply__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.au-reply__heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.au-reply__body { color: var(--ink-soft); line-height: 1.7; margin: 0 0 28px; }
.au-reply__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 34px;
}
.au-reply__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.au-reply__stat-num {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.au-reply__stat-num .au-reply__stat-plus {
  color: var(--red);
  font-size: 0.55em;
  vertical-align: super;
  display: inline-block;
  width: 0;
  overflow: visible;
}
.au-reply__stat-label { font-size: 0.85rem; color: var(--ink-soft); }

/* Responsive: About Us */
@media (max-width: 1024px) {
  .au-benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .au-intro { padding: 64px 0; }
  .au-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .au-history { padding: 64px 0; }
  .au-history__body-row { grid-template-columns: 1fr; }
  .au-benefits { padding: 64px 0; }
  .au-benefits__grid { grid-template-columns: 1fr; }
  .au-reply { padding: 64px 0; }
  .au-reply__grid { grid-template-columns: 1fr; gap: 40px; }
  .au-reply__stats { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════════════
   ── Find a Partner page ──
   ══════════════════════════════════════════════════════ */

/* Hero */
.fp-page .at-hero__actions { margin-top: 32px; }

/* Hero visual */
.fp-hero__grid { align-items: center; }
.fp-hero__visual { display: flex; align-items: center; justify-content: center; }
.fp-hero__globe {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
.fp-hero__region {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--on-dark-meta);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 12px;
  white-space: nowrap;
}
.fp-hero__region--uk  { top: 20%; left: -10%; }
.fp-hero__region--us  { top: 40%; right: -15%; }
.fp-hero__region--apac { bottom: 25%; left: 5%; }
.fp-hero__region--nordic { top: 8%; right: 10%; }

/* Partner cards */
.fp-partners {
  background: var(--bg-warm, #F5F2ED);
  padding: 88px 0;
}
.fp-partners__header { margin: 0 0 32px; }
.fp-partners__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.fp-partners__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.fp-partners__heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.fp-partners__sub { color: var(--ink-soft); font-size: 1rem; }
.fp-partners__group + .fp-partners__group { margin-top: 56px; }
.fp-partners__group-header { margin: 0 0 24px; }
.fp-partners__group-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin: 0 0 6px;
}
.fp-partners__group--reply .fp-partners__group-heading {
  color: var(--red);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.fp-partners__group-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
}
.fp-partners__group--reply .fp-partners__group-sub { max-width: none; }
.fp-partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fp-partner-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.fp-partner-card:hover {
  box-shadow: 0 12px 36px rgba(14,14,16,0.14);
  transform: translateY(-2px);
}
.fp-partner-card:hover .fp-partner-card__cta { text-decoration: underline; }

/* Reply tier: featured */
.fp-partner-card--reply {
  padding: 40px 44px 32px;
  border-top: 5px solid var(--red);
  box-shadow: 0 6px 22px rgba(14,14,16,0.10);
}
.fp-partner-card--reply:hover {
  box-shadow: 0 16px 44px rgba(14,14,16,0.18);
}
.fp-partner-card--reply .fp-partner-card__logo { height: 52px; }
.fp-partner-card--reply .fp-partner-card__logo img {
  max-height: 52px;
  max-width: 200px;
}
.fp-partner-card--reply .fp-partner-card__name { font-size: 1.45rem; }
.fp-partner-card--reply .fp-partner-card__desc { font-size: 0.95rem; margin-top: 8px; }

/* Trusted tier: de-emphasised */
.fp-partners__group--trusted .fp-partners__group-heading { color: var(--ink-soft); }
.fp-partners__group--trusted .fp-partner-card { padding: 28px; }
.fp-partners__group--trusted .fp-partner-card__logo { height: 30px; }
.fp-partners__group--trusted .fp-partner-card__logo img {
  max-height: 30px;
  max-width: 120px;
  filter: grayscale(20%);
  opacity: 0.92;
}
.fp-partners__group--trusted .fp-partner-card__name { font-size: 1.1rem; }
.fp-partners__group--trusted .fp-partner-card__desc { font-size: 0.85rem; }
.fp-partner-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}
.fp-partner-card__link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.fp-partner-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fp-partner-card__logo {
  display: flex;
  align-items: center;
  height: 36px;
}
.fp-partner-card__logo img {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.fp-partner-card__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.fp-partner-card__type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  white-space: nowrap;
}
.fp-partner-card__desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.fp-partner-card__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.fp-partner-card__region {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-warm, #F5F2ED);
  border-radius: 100px;
  padding: 4px 10px;
}
.fp-partner-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-top: auto;
}

/* Why work with a partner */
.fp-why {
  background: #fff;
  padding: 88px 0;
}
.fp-why__header { margin: 0 0 56px; }
.fp-why__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}
.fp-why__eyebrow-rule { display: block; width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.fp-why__heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.fp-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.fp-why__item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  padding-top: 20px;
  border-top: 2px solid var(--red);
}
.fp-why__item-body { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* Responsive: Find a partner */
@media (max-width: 1024px) {
  .fp-partners__grid { grid-template-columns: 1fr; }
  .fp-why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fp-partners { padding: 64px 0; }
  .fp-why { padding: 64px 0; }
  .fp-why__grid { grid-template-columns: 1fr; }
  .fp-hero__globe { width: 200px; height: 200px; }
}


/* ══════════════════════════════════════════════════════
   ── Contact page ──
   ══════════════════════════════════════════════════════ */

/* Slim hero */
.ct-hero {
  background: var(--navy-deep);
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
}
.ct-hero__inner { position: relative; z-index: 1; max-width: 640px; }
.ct-hero__breadcrumb {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-body);
  margin-bottom: 16px;
}
.ct-hero__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--on-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
}
.ct-hero__sub { font-size: 1.1rem; color: var(--on-dark-body); line-height: 1.6; margin: 0; }

/* Contact body */
.ct-body {
  background: #fff;
  padding: 80px 0;
}
.ct-body__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.ct-info { display: flex; flex-direction: column; gap: 32px; }
.ct-info__heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.ct-info__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 6px;
}
.ct-info__body { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.ct-info__body--small { font-size: 0.85rem; }
.ct-info__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  text-decoration: none;
}
.ct-info__link:hover { text-decoration: underline; }
.ct-form__placeholder {
  background: var(--bg-warm, #F5F2ED);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.ct-form__placeholder a { color: var(--navy-deep); font-weight: 600; }

/* Support links */
.ct-support {
  background: var(--bg-warm, #F5F2ED);
  padding: 64px 0;
}
.ct-support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ct-support__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ct-support__card:hover {
  border-color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(34,67,110,0.1);
}
.ct-support__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.ct-support__card-desc { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* Responsive: Contact */
@media (max-width: 768px) {
  .ct-body { padding: 56px 0; }
  .ct-body__grid { grid-template-columns: 1fr; gap: 48px; }
  .ct-support__grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════
   ── Legal pages (Licence, Privacy, SLA) ──
   ══════════════════════════════════════════════════════ */

/* Slim hero */
.leg-hero {
  background: var(--navy-deep);
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
}
.leg-hero__inner { position: relative; z-index: 1; }
.leg-hero__breadcrumb {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-body);
  margin-bottom: 12px;
}
.leg-hero__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--on-dark);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.leg-hero__meta { font-size: 0.85rem; color: var(--on-dark-meta); margin: 0; }

/* Document layout */
.leg-doc {
  background: #fff;
  padding: 72px 0 96px;
}
.leg-doc__inner {
  max-width: 760px;
}
.leg-doc__intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.leg-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.leg-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.leg-section__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 16px;
}
.leg-section__subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}
.leg-section p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 14px;
}
.leg-list {
  margin: 12px 0 16px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leg-list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.leg-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.leg-link {
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.leg-link:hover { color: var(--red); }
.leg-doc__policy-link {
  display: inline-flex;
  margin: 16px 0;
}
.leg-doc__contact {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* SLA response-time table */
.leg-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
.leg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.leg-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 10px 16px;
  border-bottom: 2px solid var(--border);
}
.leg-table td {
  padding: 14px 16px;
  vertical-align: top;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.leg-table tbody tr:last-child td { border-bottom: 0; }
.leg-table tbody tr:nth-child(even) td { background: var(--bg-warm, #F5F2ED); }

@media (max-width: 768px) {
  .leg-doc { padding: 48px 0 64px; }
  .leg-section { margin-bottom: 36px; padding-bottom: 36px; }
}

/* =====================================================
   STATIC SITE ADDITIONS
   ===================================================== */

/* Simple content block for placeholder and error pages */
.placeholder {
  padding: 96px 0;
}
.placeholder h1 {
  margin-bottom: 0.5em;
}

/* Small phones: the logo, name, cart and menu button didn't fit in 375px,
   pushing the menu button off-screen. Tighten the logo area to fit. */
@media (max-width: 480px) {
  .header-logo { margin-right: 12px; }
  .header-logo__link { gap: 10px; }
  .header-logo img { height: 32px !important; }
  .header-logo__name { font-size: 1.15rem; }
}

/* Mobile menu: stack items, keep link text light on the dark panel,
   and let the long app list scroll inside the viewport. */
@media (max-width: 1200px) {
  .main-nav {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-header-menu > li { display: block; }
  .main-header-menu > li > .sub-menu > li > a,
  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li > a {
    color: rgba(255,255,255,0.75) !important;
    background: transparent !important;
    border-bottom-color: rgba(255,255,255,0.07) !important;
    white-space: normal;
  }
  .main-header-menu > li > .sub-menu > li > a:hover,
  .main-header-menu > li.menu-item-has-mega-menu > .sub-menu > li.mega-col-heading > .sub-menu > li > a:hover {
    color: #fff !important;
  }
}

/* With the menu collapsed, keep the currency picker, cart and menu button grouped on the right */
@media (max-width: 1200px) {
  .nav-toggle { margin-left: 0; }
  .currency-picker { margin-left: auto; }
}
@media (max-width: 768px) {
  .cart-toggle { margin-left: auto; }
}

/* The closed cart drawer's shadow showed along the right edge of the page */
.cart-drawer:not(.is-open) { box-shadow: none; }

/* App hero: note for apps with a free tier, such as Advent Calendar */
.hero-free-tier {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--on-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

/* App hero: announcement for retired products, such as Carousel */
.app-hero__notice {
  max-width: 520px;
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border-left: 4px solid var(--red);
  color: var(--ink);
}
.app-hero__notice-title {
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}
.app-hero__notice-text {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.app-hero__notice-link {
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.app-hero__notice-link:hover { text-decoration: underline; }

/* Homepage and Atrium heroes: their padding rules zeroed the container's
   side padding, so below 1240px the hero text ran to the screen edges.
   Restore the standard container gutters at each breakpoint. */
.hp-hero__grid, .at-hero__grid { padding-left: 40px; padding-right: 40px; }
@media (max-width: 1024px) { .hp-hero__grid, .at-hero__grid { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 768px)  { .hp-hero__grid, .at-hero__grid { padding-left: 20px; padding-right: 20px; } }

/* Legal pages: the last section kept its divider and spacing because the
   contact block follows it, so :last-of-type never matched. That gave two
   rules with a large gap. Treat the section before the contact block as last. */
.leg-section:has(+ .leg-doc__contact) {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Atrium "who it's for" cards: on phones the two columns couldn't shrink
   below their content, so the page scrolled sideways. Let them wrap. */
@media (max-width: 480px) {
  .at-fit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Legal pages: a second heading inside a section (the SLA's "Hours of
   availability") sat tight against the text above it */
.leg-section * + .leg-section__heading { margin-top: 32px; }

/* =====================================================
   BLOG (new for the static site; uses the slim .leg-hero)
   ===================================================== */

.blog-hero__inner { max-width: 860px; }
.blog-hero__back {
  display: inline-block;
  color: var(--on-dark-body);
  text-decoration: none;
}
.blog-hero__back:hover { color: #fff; }
.blog-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; }

/* Post body */
.blog-post { background: #fff; padding: 56px 0 72px; }
.blog-post__inner { max-width: 860px; }
.blog-post__image { margin: 0 0 40px; }
.blog-post__image img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.blog-post__updated { margin-top: 40px; font-size: 0.85rem; color: var(--ink-muted); }

.blog-prose { max-width: 720px; font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
.blog-prose > * + * { margin-top: 1.1em; }
.blog-prose p { margin-bottom: 0; }
.blog-prose h2, .blog-prose h3, .blog-prose h4, .blog-prose h5, .blog-prose h6 {
  color: var(--ink);
  line-height: 1.25;
  margin-top: 1.8em;
  margin-bottom: 0;
}
.blog-prose h2 { font-size: 1.6rem; }
.blog-prose h3 { font-size: 1.3rem; }
.blog-prose h4 { font-size: 1.1rem; }
.blog-prose h5, .blog-prose h6 { font-size: 1rem; }
.blog-prose a { color: var(--red); text-underline-offset: 2px; }
.blog-prose strong { color: var(--ink); }
.blog-prose ul, .blog-prose ol { padding-left: 1.4em; }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose li + li { margin-top: 0.4em; }
.blog-prose li > ul, .blog-prose li > ol { margin-top: 0.4em; }
.blog-prose img { border-radius: var(--radius); margin: 0 auto; }
.blog-prose blockquote {
  border-left: 4px solid var(--red);
  background: var(--bg-panel);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}
.blog-prose blockquote > * + * { margin-top: 0.6em; }
.blog-prose blockquote h6 { margin-top: 0.6em; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.blog-prose iframe, .blog-prose video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
}
.blog-prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.blog-prose th, .blog-prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.blog-prose code { font-size: 0.9em; background: var(--bg-panel); padding: 2px 5px; border-radius: 4px; }
.blog-prose hr { border: 0; border-top: 1px solid var(--border); }

/* Index and "more from the blog" */
.blog-index { background: var(--bg-panel); padding: 56px 0 88px; }
.blog-more { background: var(--bg-panel); padding: 56px 0 72px; }
.blog-more__heading { font-size: 1.4rem; margin-bottom: 24px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.blog-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.blog-card__img-wrap { aspect-ratio: 16 / 9; background: var(--bg-panel-deeper); }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.blog-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.blog-card__title { font-size: 1.1rem; line-height: 1.35; margin: 0; color: var(--ink); }
.blog-card__desc { font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.blog-card__meta { margin: auto 0 0; padding-top: 8px; font-size: 0.8rem; color: var(--ink-muted); }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post { padding: 36px 0 56px; }
  .blog-prose { font-size: 1rem; }
}
