/* AMS Marketing — FSP / HobbsMate inspired professional SaaS */
:root {
  --navy: #0b1f3a;
  --navy-mid: #14325a;
  --navy-soft: #1e4976;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-subtle: #f4f7fb;
  --bg-alt: #eef2f7;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font);
  --container: 1140px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0.35rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--navy); text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; color: var(--navy); }
.brand__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: grid; place-items: center; color: #fff;
}
.brand__icon svg { width: 22px; height: 22px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.brand__tag { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.02em; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
  min-width: 0;
}
.site-nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--navy);
  background: var(--bg-subtle);
}
.site-nav a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
  border-bottom-color: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-cta .btn { padding: 0.5rem 0.9rem; font-size: 0.82rem; white-space: nowrap; }
.header-cta .btn--order {
  background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
}
.header-cta .btn--order:hover { background: #d1fae5; color: #047857; }
.btn--report {
  background: linear-gradient(135deg, #002855, #0066b3);
  color: #fff !important;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 40, 85, 0.28);
}
.btn--report:hover { color: #fff !important; background: linear-gradient(135deg, #003d7a, #0284c7); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.6rem 1.25rem; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer;
  text-decoration: none; transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--outline {
  background: #fff; color: var(--navy); border: 1px solid var(--border);
}
.btn--outline:hover { background: var(--bg-subtle); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-mid); color: #fff; }
.btn--lg { padding: 0.85rem 1.6rem; font-size: 1rem; }
.btn--arrow::after { content: '→'; margin-left: 0.15rem; }

.nav-toggle {
  display: none; background: none; border: none;
  padding: 0.5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  margin: 5px 0; border-radius: 1px;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg-subtle) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--navy); margin: 0 0 1.25rem;
}
.hero__lead {
  font-size: 1.15rem; line-height: 1.65; color: var(--text-secondary);
  margin: 0 0 1.75rem; max-width: 32rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero__note { font-size: 0.85rem; color: var(--text-muted); }

.browser-frame {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-frame__chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.browser-frame__dots { display: flex; gap: 6px; }
.browser-frame__dots span {
  width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1;
}
.browser-frame__url {
  flex: 1; margin-left: 0.5rem;
  padding: 0.35rem 0.75rem; border-radius: 6px;
  background: #fff; border: 1px solid var(--border);
  font-size: 0.72rem; color: var(--text-muted); font-family: var(--font);
}
.browser-frame img { width: 100%; height: auto; }

/* Stats */
.stats {
  padding: 2.5rem 0;
  background: var(--navy);
  color: #fff;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.02em;
}
.stats__label {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; opacity: 0.75; margin-top: 0.25rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section--subtle { background: var(--bg-subtle); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.75rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--navy); margin: 0 0 0.75rem;
}
.section__lead { font-size: 1.05rem; color: var(--text-secondary); margin: 0; }

/* Feature rows (FSP alternating) */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding: 4rem 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row--reverse .feature-row__copy { order: 2; }
.feature-row--reverse .feature-row__media { order: 1; }
.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 800; color: var(--navy);
  margin: 0 0 0.75rem; letter-spacing: -0.02em;
}
.feature-row p { color: var(--text-secondary); margin: 0 0 1.25rem; font-size: 1.05rem; }
.feature-list { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.feature-list li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.65rem;
  color: var(--text-secondary); font-size: 0.95rem;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.link-arrow {
  font-weight: 600; font-size: 0.95rem; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem;
}
.link-arrow:hover { gap: 0.55rem; }

/* Cards grid */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1.25rem;
}
.card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 0 0 0.5rem; }
.card p { font-size: 0.92rem; color: var(--text-secondary); margin: 0 0 1rem; }
.card a { font-weight: 600; font-size: 0.88rem; }

/* Audience */
.audience { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.audience span {
  padding: 0.45rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -0.03em; margin: 0 0 1rem;
}
.page-hero .lead { font-size: 1.15rem; opacity: 0.9; max-width: 36rem; margin: 0 0 1.5rem; }
.page-hero .btn--primary { background: #fff; color: var(--navy); box-shadow: none; }
.page-hero .btn--primary:hover { background: var(--bg-subtle); color: var(--navy); }

/* Pricing empty */
.pricing-panel {
  text-align: center; padding: 4rem 2rem;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  max-width: 520px; margin: 2rem auto 0;
}
.pricing-panel h2 { font-family: var(--font-display); color: var(--navy); margin: 0 0 0.5rem; }
.pricing-panel p { color: var(--text-secondary); margin: 0 0 1.5rem; }

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}
.cta-band__inner {
  text-align: center; max-width: 560px; margin-inline: auto;
}
.cta-band h2 {
  font-family: var(--font-display); font-size: 1.85rem;
  font-weight: 800; color: var(--navy); margin: 0 0 0.75rem;
}
.cta-band p { color: var(--text-secondary); margin: 0 0 1.5rem; }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__tag { color: rgba(255,255,255,0.5); }
.site-footer__desc { font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.site-footer h4 {
  color: #fff; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin: 0 0 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.site-footer__bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  font-size: 0.82rem;
}

@media (max-width: 1024px) {
  .header-cta .btn--outline:not(.btn--order) { display: none; }
  .site-nav a { padding: 0.4rem 0.5rem; font-size: 0.75rem; }
}
@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: auto auto; }
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .site-header.is-open .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }
  .site-header.is-open .brand { grid-column: 1; }
  .site-header.is-open .nav-toggle { grid-column: 2; grid-row: 1; }
  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0.5rem 0 0.25rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
  }
  .site-header.is-open .site-nav a {
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: 6px;
  }
  .site-header.is-open .site-nav a.is-active {
    border-left-color: var(--accent);
  }
  .site-header.is-open .header-cta {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    grid-row: 3;
    padding-bottom: 0.75rem;
  }
  .site-header.is-open .header-cta .btn { width: 100%; }
}
@media (max-width: 960px) {
  .hero__grid, .feature-row, .cards-3, .stats__grid, .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .feature-row--reverse .feature-row__copy,
  .feature-row--reverse .feature-row__media { order: unset; }
  .hero { padding-top: 2.5rem; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-card h3 { margin: 0 0 0.5rem; font-family: var(--font-display); color: var(--navy); }
.feature-card p { margin: 0 0 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }
.feature-card a { font-weight: 600; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   AMS Premium Marketing — Homepage v2
   ============================================================ */
:root {
  --navy-deep: #001a33;
  --sky: #e0f2fe;
  --glass: rgba(255, 255, 255, 0.08);
  --container-wide: 1240px;
}

.page-home { overflow-x: hidden; }
.mobile-nav-extras { display: none !important; }

/* Premium header + mega menu */
.site-header--premium {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.site-header--premium.site-header--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
}
.site-header--premium .site-header__inner {
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  min-height: 64px;
  padding: 0.5rem 0;
}
.site-header--premium .brand--logo .brand__logo,
.site-header--premium .brand--svg .brand__logo {
  height: 56px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
}
.site-header--premium .brand--secondary .brand__logo--secondary {
  height: 58px;
  width: auto;
  max-width: min(340px, 48vw);
  object-fit: contain;
}

.mega-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}
.mega-nav__item { position: relative; }
.mega-nav__trigger,
.mega-nav__link {
  padding: 0.42rem 0.7rem;
  border: none;
  background: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #475569;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.mega-nav__trigger::after {
  content: '';
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.3rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.45;
  vertical-align: middle;
}
.mega-nav__trigger:hover,
.mega-nav__link:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
  text-decoration: none;
}
.mega-nav__link.is-active,
.mega-nav__item.is-open .mega-nav__trigger {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

.site-header--premium .header-cta {
  gap: 0.35rem;
}
.site-header--premium .header-cta .btn {
  padding: 0.42rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: -0.01em;
}
.site-header--premium .header-cta .btn--ghost {
  color: #475569;
}
.site-header--premium .header-cta .btn--ghost:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 20px 48px rgba(15, 23, 42, 0.1);
  z-index: 200;
}
.mega-menu__grid { display: grid; gap: 0.15rem; }
.mega-menu__grid--2 { grid-template-columns: 1fr 1fr; min-width: 440px; }
.mega-menu__grid--1 { min-width: 280px; }
.mega-menu__link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.12s;
}
.mega-menu__link:hover {
  background: #f8fafc;
  color: var(--text);
  text-decoration: none;
}
.mega-menu__link--featured {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.mega-menu__icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}
.mega-menu__icon::after {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: #94a3b8;
}
.mega-menu__link--featured .mega-menu__icon {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.mega-menu__link--featured .mega-menu__icon::after {
  background: #2563eb;
}
.mega-menu__link strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.1rem;
  letter-spacing: -0.01em;
}
.mega-menu__link small {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}

.btn--demo {
  background: #fff;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn--demo:hover {
  color: #0f172a !important;
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid transparent;
}
.btn--ghost:hover { background: var(--bg-subtle); color: var(--navy); }
.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.btn--block { width: 100%; }

/* Hero premium */
.hero-premium {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}
.hero-premium__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(99, 102, 241, 0.08), transparent),
    linear-gradient(180deg, #f8fafc 0%, #fff 45%, var(--bg-subtle) 100%);
}
.hero-premium__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-premium__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Pelican circle — white disc only; wordmark sits on page background */
.brand-mark,
.hero-brand-lockup__mark {
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 14px rgba(11, 31, 58, 0.07);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
}
.site-header--premium .brand-mark {
  width: 3.75rem;
  height: 3.75rem;
}
.brand-mark img {
  width: 142%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: 50% 15%;
  transform: translate(-14%, -2%);
}
.brand--mark {
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}
.brand--mark:hover { opacity: 0.92; text-decoration: none; }

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}
.hero-brand-lockup__mark {
  width: 4.75rem;
  height: 4.75rem;
}
.hero-brand-lockup__mark img {
  width: 172%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center 10%;
  transform: translate(-21%, -5%);
}
.hero-brand-lockup__type {
  background: transparent;
}
.hero-brand-lockup__ams {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #001f3f;
  margin: 0;
}
.hero-brand-lockup__a {
  position: relative;
  display: inline-block;
}
.hero-brand-lockup__a::after {
  content: '';
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.06em;
  height: 0.22em;
  background: linear-gradient(180deg, #f0b429, #d97706);
  clip-path: polygon(18% 100%, 82% 100%, 68% 8%, 32% 8%);
  z-index: -1;
}
.hero-brand-lockup__tag {
  margin: 0.45rem 0 0;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #001f3f;
  opacity: 0.88;
}

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

.page-home .site-footer--premium .brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.page-home .site-footer--premium .brand__tag {
  display: block;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.brand--logo .brand__logo,
.brand--svg .brand__logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 52px;
}
.brand--logo:hover .brand__logo,
.brand--svg:hover { opacity: 0.92; }
.brand__logo--footer {
  height: 88px;
  max-width: 88px;
  border-radius: 12px;
}
.hero-premium__logo-img {
  height: min(200px, 42vw);
  width: auto;
  max-width: min(200px, 42vw);
}
.hero-premium__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.hero-premium h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
.hero-premium__lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}
.hero-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-premium__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-premium__pills li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-premium__visual {
  position: relative;
}
.hero-premium__mascot {
  position: absolute;
  right: -0.5rem;
  bottom: -1.25rem;
  left: auto;
  top: auto;
  width: min(280px, 42%);
  max-width: 280px;
  height: auto;
  z-index: 3;
  animation: mascot-float 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(0, 40, 85, 0.22));
  pointer-events: none;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.browser-frame--hero { position: relative; z-index: 1; }

/* Value strip */
.value-strip {
  padding: 3.5rem 0;
  background: var(--navy);
  color: #fff;
}
.value-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-strip__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #38bdf8;
  margin-bottom: 0.75rem;
}
.value-strip__item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.value-strip__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* Showcase bento */
.section--showcase { padding-top: 5.5rem; }
.showcase-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.showcase-bento__item {
  margin: 0;
  transition: transform 0.25s ease;
}
.showcase-bento__item:hover { transform: translateY(-4px); }
.showcase-bento__item--wide { grid-column: span 2; }
.showcase-bento__item figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.browser-frame__chrome--dark {
  background: #101c2e;
  border-bottom-color: #1e293b;
}
.browser-frame__chrome--dark .browser-frame__url {
  background: #0a1220;
  border-color: #1e293b;
  color: #64748b;
}

/* Feature premium */
.feature-premium { padding: 5rem 0; }
.feature-premium--alt { background: var(--bg-subtle); }
.feature-premium__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.feature-premium__grid--reverse .feature-premium__copy { order: 2; }
.feature-premium__grid--reverse .feature-premium__media { order: 1; }
.feature-premium__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}
.feature-premium__copy > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}

/* Flagship AMS Report */
.section--flagship {
  padding: 5rem 0;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 50%, #004d99 100%);
}
.flagship {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.section__eyebrow--light { color: #7dd3fc; }
.flagship h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
.flagship__lead {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
}
.flagship__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.75rem;
}
.flagship__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}
.flagship__stats span {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.flagship__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.flagship__visual { position: relative; }
.flagship__mascot {
  position: absolute;
  left: -2.5rem;
  bottom: -1rem;
  width: 180px;
  height: auto;
  z-index: 2;
  opacity: 1;
  animation: mascot-float 6s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.browser-frame--flagship { box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45); }

/* Trust section */
.section--trust { background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}
.trust-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.trust-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.trust-card--wide { grid-column: 1 / -1; }
.trust-card span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
}
.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.trust-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Pricing */
.section--pricing { background: var(--bg-subtle); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.25rem;
}
.pricing-card__for {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1.25rem;
  line-height: 1;
}
.pricing-card__price span { font-size: 1.25rem; vertical-align: super; }
.pricing-card__price small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.pricing-card__price--custom { font-size: 1.75rem; }
.pricing-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.pricing-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
}

/* Final CTA */
.cta-final {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f172a 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
}
.cta-final__inner {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}
.cta-final__mascot {
  margin: 0 auto 1.5rem;
  width: 160px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.cta-final p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.15s; }

/* Premium footer tweak */
.site-footer--premium .brand__tag { display: block; }

/* Responsive premium */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-menu__grid--2 { min-width: 320px; grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero-premium__grid,
  .feature-premium__grid,
  .flagship,
  .value-strip__grid,
  .showcase-bento {
    grid-template-columns: 1fr;
  }
  .showcase-bento__item--wide { grid-column: span 1; }
  .feature-premium__grid--reverse .feature-premium__copy,
  .feature-premium__grid--reverse .feature-premium__media { order: unset; }
  .hero-premium__mascot {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    margin: 0 auto 1rem;
    max-width: 220px;
    display: block;
  }
  .mega-nav { display: none; }
  .site-header--premium .nav-toggle { display: block; justify-self: end; }
  .site-header--premium .brand--secondary .brand__logo--secondary {
    height: 46px;
    max-width: min(260px, 62vw);
  }
  .site-header--premium .header-cta { display: none; }
  .site-header--premium .site-header__inner {
    grid-template-columns: 1fr auto;
  }
  .site-header--premium.is-open .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }
  .site-header--premium.is-open .mega-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    gap: 0;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.35rem;
  }
  .site-header--premium.is-open .mega-nav__trigger,
  .site-header--premium.is-open .mega-nav__link {
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  .site-header--premium.is-open .mega-nav__item { width: 100%; }
  .site-header--premium.is-open .mega-menu {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 0 0 0.25rem 0.75rem;
    background: transparent;
  }
  .site-header--premium.is-open .mega-menu__grid,
  .site-header--premium.is-open .mega-menu__grid--2 {
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .site-header--premium.is-open .mega-menu__link {
    padding: 0.55rem 0.5rem;
  }
  .site-header--premium.is-open .mega-menu__icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .site-header--premium .header-cta .btn--ghost { display: inline-flex; }
  .site-header--premium.is-open .header-cta {
    display: flex;
    flex-direction: column;
    grid-column: 1 / -1;
    gap: 0.5rem;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--border);
  }
  .site-header--premium.is-open .header-cta .btn { width: 100%; justify-content: center; }
  .mobile-nav-extras { display: none !important; }
}
.site-header--scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}
@media (max-width: 640px) {
  .pricing-grid,
  .pricing-grid--5,
  .trust-grid { grid-template-columns: 1fr; }
  .flagship__stats { flex-direction: column; gap: 1rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .paper-grid { grid-template-columns: 1fr; }
  .demo-cta__inner { flex-direction: column; text-align: center; }
}

/* === v3 refinements === */
.section--platform { background: #fff; padding-top: 4rem; }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.platform-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
  text-decoration: none;
  color: inherit;
}
.platform-card--featured {
  background: linear-gradient(160deg, #eff6ff 0%, #f0fdf4 100%);
  border-color: #93c5fd;
}
.platform-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.platform-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.platform-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 0.85rem;
  flex: 1;
}
.platform-card__shot {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: auto;
}
.platform-card__shot img { width: 100%; height: auto; display: block; }

.section--paper {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #fff 100%);
}
.paper-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.paper-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.paper-benefits li {
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}
.paper-benefits strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.paper-benefits span { font-size: 0.88rem; color: var(--text-secondary); }

.report-specimen {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
}
.report-specimen__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}
.report-specimen__reg {
  font-family: ui-monospace, monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.report-specimen__meta { font-size: 0.88rem; color: #94a3b8; }
.report-specimen__score {
  margin-left: auto;
  font-size: 0.78rem;
  color: #7dd3fc;
}
.report-specimen__score strong { font-size: 1.1rem; color: #fff; }
.report-specimen__sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.report-specimen__sections li {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(56,189,248,0.15);
  font-size: 0.72rem;
  font-weight: 600;
  color: #bae6fd;
}

.solutions-grid { text-align: left; }
.trust-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.trust-card--link:hover {
  border-color: rgba(37, 99, 235, 0.3);
  text-decoration: none;
  color: inherit;
}
.trust-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}
.trust-card p { margin: 0 0 0.5rem; font-size: 0.88rem; }
.trust-card__solve { color: var(--navy) !important; margin-bottom: 0 !important; }

.demo-cta {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #004d99 100%);
  color: #fff;
  padding: 4rem 0;
}
.demo-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.demo-cta__copy { max-width: 36rem; }
.demo-cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
}
.demo-cta__copy p { color: #94a3b8; margin: 0; line-height: 1.6; }
.demo-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

.pricing-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid--5 { grid-template-columns: repeat(2, 1fr); }
}

.site-footer__grid--wide {
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 1.5rem;
}
.site-footer__brand-col { max-width: 260px; }
@media (max-width: 1100px) {
  .site-footer__grid--wide { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .site-footer__grid--wide { grid-template-columns: 1fr 1fr; }
}

.hero-premium h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  letter-spacing: -0.038em;
}
