/* AskElly.Ai ELLY Assistant — Global Styles
   Palette: Navy #0B1E3F / #0F2A5C, White #FFFFFF, Black #0A0A0A,
            Green accent #1F8A5B, Gold highlight #C9A227
*/

:root {
  --navy-900: #0A1836;
  --navy-800: #0B1E3F;
  --navy-700: #12295A;
  --navy-600: #1B3B7A;
  --navy-50:  #F3F6FB;
  --ink:      #0A0A0A;
  --ink-70:   #3A3F4A;
  --ink-50:   #6B7280;
  --line:     #E4E8EF;
  --line-2:   #EEF1F6;
  --white:    #FFFFFF;
  --cream:    #FBFAF6;
  --green:    #1F8A5B;
  --green-dk: #146945;
  --green-tint: #E7F4EE;
  --gold:     #C9A227;
  --gold-dk:  #8F7118;
  --gold-tint: #FBF3D8;
  --danger:   #B23A3A;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(10, 24, 54, 0.04), 0 1px 1px rgba(10, 24, 54, 0.03);
  --shadow:    0 8px 24px rgba(10, 24, 54, 0.06), 0 2px 6px rgba(10, 24, 54, 0.04);
  --shadow-lg: 0 24px 60px rgba(10, 24, 54, 0.12), 0 6px 16px rgba(10, 24, 54, 0.06);

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --offer-bar-height: 36px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--green-dk); }
.faq a,
.site-footer a,
.doc a {
  overflow-wrap: anywhere;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; color: var(--ink-70); }
.lead { font-size: 1.15rem; color: var(--ink-70); max-width: 62ch; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-700);
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--gold);
}

/* ===== Layout ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 28px; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dk); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-secondary:hover { background: var(--navy-800); color: var(--white); }
.btn-ghost {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-gold {
  background: var(--gold); color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-dk); color: var(--white); }
.btn-flash {
  background: #F9D342;
  color: var(--navy-900);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 0 rgba(249,211,66,0.72);
  animation: liveDemoPulse 1.25s ease-in-out infinite;
}
.btn-flash:hover {
  background: #FFE56E;
  color: var(--navy-900);
}
.btn-lg { padding: 15px 24px; font-size: 0.9rem; }
.arrow { display: inline-block; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

@keyframes liveDemoPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(249,211,66,0.72), 0 0 18px rgba(249,211,66,0.38);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 8px rgba(249,211,66,0), 0 0 30px rgba(249,211,66,0.58);
  }
}

@keyframes softBlueGoldPulse {
  0%, 100% {
    box-shadow: 0 16px 42px rgba(10,24,54,0.08), 0 0 0 rgba(249,211,66,0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 22px 54px rgba(10,24,54,0.14), 0 0 28px rgba(249,211,66,0.18);
    transform: translateY(-1px);
  }
}

@keyframes yellowAttentionPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(249,211,66,0.42), 0 0 30px rgba(249,211,66,0.24), inset 0 0 0 1px rgba(255,255,255,0.1);
    border-color: rgba(249,211,66,0.62);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(249,211,66,0), 0 0 48px rgba(249,211,66,0.42), inset 0 0 0 1px rgba(255,255,255,0.16);
    border-color: rgba(255,225,92,0.94);
  }
}

@keyframes offerTrackScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-flash,
  .hero-trial-banner,
  .site-page .card:nth-child(3n+1),
  .site-page .price-side .card:first-child,
  .price-tier.is-active,
  .site-page .integration-tile:nth-child(4n+1),
  .referral-amount-card,
  .referral-revenue-panel,
  .referral-break-even,
  .referral-example-card,
  .top-offer-track {
    animation: none;
  }
}

/* ===== Header / Nav ===== */
.top-offer-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--offer-bar-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  background: #F9D342;
  border-bottom: 1px solid rgba(10,24,54,0.16);
  box-shadow: 0 5px 16px rgba(10,24,54,0.1);
  white-space: nowrap;
}
.top-offer-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: offerTrackScroll 22s linear infinite;
}
.top-offer-track span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  height: var(--offer-bar-height);
  padding: 0 24px;
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: var(--offer-bar-height);
  text-transform: none;
  white-space: nowrap;
}
.top-offer-track strong {
  color: #07142E;
  font-size: 1em;
  font-weight: 800;
  white-space: nowrap;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.home-offer .site-header {
  top: var(--offer-bar-height);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1.15rem;
}
.brand:hover { color: var(--navy-900); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 2px 6px rgba(10,24,54,0.15);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: auto 6px 5px auto;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,162,39,0.25);
}
.brand-name small {
  display: block; font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-50); font-weight: 500; margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 18px;
}
.nav-links a {
  color: var(--ink-70);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 4px;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
  }
  .nav-open .nav-links a { padding: 10px 0; font-size: 0.9rem; }
}

@media (max-width: 900px) {
  .contact-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  .contact-wrap > * {
    min-width: 0;
  }
  .contact-wrap .card {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  :root { --offer-bar-height: 30px; }
  .top-offer-track {
    animation-duration: 16s;
  }
  .top-offer-track span {
    padding: 0 16px;
    font-size: 0.88rem;
  }
  .top-offer-track strong {
    font-size: 1em;
  }
  .nav.container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-name small {
    display: none;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-cta .btn-flash {
    padding: 11px 12px;
    font-size: 0.78rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top right, #17356E 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 108px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,0.78); max-width: 58ch; margin-bottom: 32px; font-size: 1.2rem; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero-tagline {
  display: inline-block;
  margin: -4px 0 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-video-card {
  width: min(100%, 390px);
  margin: 0 auto;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 40px 90px rgba(0,0,0,0.46), 0 8px 20px rgba(0,0,0,0.28);
}
.hero-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(74vh, 680px);
  border-radius: 12px;
  background: #05070c;
  object-fit: cover;
}
.hero-video-caption {
  padding: 10px 4px 2px;
  color: rgba(255,255,255,0.78);
  font-size: 0.84rem;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .hero-video-card { width: min(100%, 360px); }
  .hero-demo-video { max-height: 620px; }
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-availability-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: -8px 0 20px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.42);
  color: rgba(255,255,255,0.9);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}
.hero-meta {
  display: flex; gap: 28px; margin-top: 40px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-meta div { color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.hero-meta strong { color: var(--white); display: block; font-size: 1.05rem; font-family: var(--font-serif); font-weight: 600; margin-bottom: 2px; }

.hero-referral-note {
  display: inline-block;
  max-width: 58ch;
  margin: -12px 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(249, 211, 66, 0.38);
  border-radius: 8px;
  background: rgba(249, 211, 66, 0.12);
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
}
.hero-referral-note strong {
  color: var(--gold);
}

.referral-topline {
  padding: 34px 0;
  background: var(--gold-tint);
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
}
.integration-spotlight {
  padding: 58px 0 64px;
  border-bottom: 1px solid var(--line);
}
.integration-spotlight .section-head {
  margin-bottom: 10px;
}
.integration-spotlight .integration-grid {
  margin-top: 24px;
}
.referral-topline-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.referral-topline .eyebrow { margin-bottom: 8px; }
.referral-topline h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}
.referral-topline p {
  margin: 0;
  max-width: 72ch;
}
.referral-topline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.referral-topline .btn-secondary {
  background: var(--white);
}
@media (max-width: 820px) {
  .referral-topline-inner { grid-template-columns: 1fr; }
  .referral-topline-actions { justify-content: flex-start; }
}

/* Hero panel — mocked ELLY activity card */
.hero-panel {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
}
.hero-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.hero-panel-head .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
  display: inline-block; margin-right: 8px;
}
.hero-panel-head .title {
  font-family: var(--font-serif); font-weight: 600; color: var(--navy-900);
}
.hero-panel-head .badge {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ink-50); letter-spacing: 0.1em; text-transform: uppercase;
}
.activity-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-2);
  align-items: flex-start;
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--navy-50); color: var(--navy-700);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.72rem;
  font-weight: 600;
}
.activity-icon.g { background: var(--green-tint); color: var(--green-dk); }
.activity-icon.o { background: var(--gold-tint); color: var(--gold-dk); }
.activity-body strong { display: block; font-size: 0.92rem; color: var(--navy-900); font-weight: 600; margin-bottom: 2px; }
.activity-body span { font-size: 0.82rem; color: var(--ink-50); }
.activity-time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-50); }

/* ===== Sections & cards ===== */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: end; margin-bottom: 48px;
}
.section-head.center {
  grid-template-columns: 1fr; text-align: center; margin-inline: auto; max-width: 720px;
}
.section-head.center .lead { margin-inline: auto; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

.section-head p { margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #CDD5E2; box-shadow: var(--shadow-sm); }
.link-card {
  display: block;
  color: inherit;
}
.link-card:hover {
  color: inherit;
  border-color: rgba(31, 138, 91, 0.45);
  transform: translateY(-1px);
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card .icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy-50); color: var(--navy-700);
  display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-mono); font-weight: 600;
}

/* Muted section */
.section-muted { background: var(--navy-50); }
.section-navy {
  background: var(--navy-800); color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.78); }
.section-navy .eyebrow { color: var(--gold); }
.section-navy .eyebrow::before { background: var(--gold); }
.section-navy .card {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}
.section-navy .card:hover { border-color: rgba(255,255,255,0.25); }
.section-navy .card h3 { color: var(--white); }
.section-navy .card p { color: rgba(255,255,255,0.72); }
.section-navy .card .icon { background: rgba(255,255,255,0.08); color: var(--gold); }
.section-navy a { color: var(--gold); }

/* ===== Feature list w/ check ===== */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  align-items: start; font-size: 0.98rem; color: var(--ink-70);
}
.check-list li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231F8A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px 12px no-repeat;
  margin-top: 3px;
}

/* ===== Pricing card ===== */
.pricing-wrap {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch;
}
@media (max-width: 900px) { .pricing-wrap { grid-template-columns: 1fr; } }
.price-card {
  background: linear-gradient(180deg, #0F2A5C 0%, #0A1836 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-card > * {
  position: relative;
  z-index: 1;
}
.price-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%);
  pointer-events: none;
}
.price-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 16px;
}
.price-num {
  font-family: var(--font-serif);
  font-size: 4rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
  margin: 8px 0 6px;
}
.price-num .cur { font-size: 1.8rem; font-weight: 500; color: rgba(255,255,255,0.6); }
.price-num .per { font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,0.6); font-family: var(--font-sans); margin-left: 6px; }
.price-card h3 { color: var(--white); font-size: 1.5rem; }
.price-card p { color: rgba(255,255,255,0.72); }
.price-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 18px;
}
.price-tier {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform .14s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.price-tier:hover,
.price-tier:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(249,211,66,0.62);
  box-shadow: 0 14px 34px rgba(4,16,42,0.2), 0 0 24px rgba(249,211,66,0.16);
  outline: none;
}
.price-tier.is-active {
  background:
    radial-gradient(circle at 84% 0%, rgba(249,211,66,0.28), transparent 36%),
    linear-gradient(180deg, rgba(34,120,255,0.42) 0%, rgba(13,74,166,0.3) 100%);
  border-color: rgba(249,211,66,0.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 15px 38px rgba(4,16,42,0.26), 0 0 28px rgba(249,211,66,0.18);
  animation: softBlueGoldPulse 3s ease-in-out infinite;
}
.price-tier.featured {
  border-color: rgba(249,211,66,0.5);
  background: rgba(249,211,66,0.12);
}
.price-tier small {
  display: block;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.price-tier strong {
  display: block;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1;
}
.price-tier strong span {
  color: rgba(255,255,255,0.62);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 4px;
}
.price-tier p {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
}
.price-card .check-list {
  gap: 15px;
}
.price-card .check-list li {
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.price-card .check-list li::before {
  background-color: rgba(31,138,91,0.25);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A6E3C0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.price-card .btn { margin-top: 24px; }

.plan-detail-panel {
  margin: 18px 0 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(249,211,66,0.18), transparent 30%),
    linear-gradient(135deg, rgba(18,62,134,0.82) 0%, rgba(11,30,63,0.82) 100%);
  border: 1px solid rgba(249,211,66,0.48);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 24px rgba(34,120,255,0.12), 0 0 18px rgba(249,211,66,0.08);
}
.plan-detail-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #F9D342;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-detail-panel p {
  margin: 0;
  color: rgba(255,255,255,0.84);
}

.trial-offer-card {
  position: relative;
  margin: 18px 0 20px;
  padding: 22px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0%, rgba(249,211,66,0.24), transparent 30%),
    linear-gradient(135deg, rgba(24,83,168,0.9) 0%, rgba(11,46,111,0.86) 54%, rgba(8,21,48,0.92) 100%);
  border: 1px solid rgba(249,211,66,0.58);
  box-shadow: 0 0 32px rgba(249,211,66,0.16), inset 0 0 0 1px rgba(255,255,255,0.08);
  animation: yellowAttentionPulse 2.6s ease-in-out infinite;
}
.trial-offer-card span,
.hero-trial-banner span {
  display: inline-flex;
  color: #F9D342;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.trial-offer-card strong,
.hero-trial-banner strong {
  display: block;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(124,180,255,0.24);
}
.trial-offer-card p,
.hero-trial-banner p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 520px) {
  .price-card {
    padding: 28px 20px;
    border-radius: 14px;
  }
  .price-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  .price-num {
    font-size: 3.25rem;
    flex-wrap: wrap;
    row-gap: 0;
  }
  .price-num .per {
    font-size: 0.95rem;
    margin-left: 4px;
  }
  .price-card .check-list {
    gap: 16px;
  }
  .trial-offer-card {
    padding: 18px;
  }
  .trial-offer-card strong {
    font-size: 1.75rem;
  }
  .price-card .check-list li {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }
  .price-tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .price-tier {
    padding: 12px 10px;
  }
  .price-tier small {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .price-tier strong {
    font-size: 2.05rem;
  }
  .price-tier strong span {
    display: block;
    margin: 4px 0 0;
    font-size: 0.76rem;
  }
  .price-tier p {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .plan-detail-panel {
    padding: 16px;
  }
}

.price-side {
  display: grid; gap: 16px;
}
.price-side .card {
  padding: 22px 24px;
}
.price-side .card small {
  display: block; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ink-50); text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.price-side .card strong {
  display: block; color: var(--navy-900); font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 600; margin-bottom: 4px;
}

/* ===== Steps ===== */
.steps { display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.step-num {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy-800); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin-bottom: 0; }

/* ===== Callout / note ===== */
.callout {
  border-left: 3px solid var(--gold);
  background: var(--gold-tint);
  padding: 20px 22px;
  border-radius: 6px;
  color: var(--navy-900);
  font-size: 0.95rem;
}
.callout strong { color: var(--navy-900); }
.callout.info {
  background: var(--navy-50); border-left-color: var(--navy-700);
}
.callout.warn {
  background: #FFF6EA; border-left-color: #D08920;
}

/* ===== Policy / long-form ===== */
.doc {
  max-width: 780px; margin: 0 auto;
}
.doc h2 { margin-top: 2em; }
.doc h3 { margin-top: 1.6em; }
.doc p, .doc li { color: var(--ink-70); font-size: 0.9rem; }
.doc ul { padding-left: 22px; }
.doc ul li { margin-bottom: 8px; }
.doc .meta {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--ink-50); text-transform: uppercase; letter-spacing: 0.12em;
  padding: 8px 12px; background: var(--navy-50);
  border-radius: 6px; display: inline-block;
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 4px 20px;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--navy-600); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--navy-700);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding-bottom: 20px; margin: 0;
}

/* ===== Contact form ===== */
.form-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px;
}
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem; font-weight: 600; color: var(--navy-900);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(27,59,122,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field small { color: var(--ink-50); font-size: 0.8rem; }
.checkbox {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: 0.92rem; color: var(--ink-70); line-height: 1.5;
}
.checkbox input { margin-top: 3px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(90deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: 18px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(201,162,39,0.25) 0%, transparent 55%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin: 0; }
.cta-banner .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 780px) {
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
}

/* ===== Footer ===== */
footer.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 {
  color: var(--white); font-family: var(--font-sans);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 16px; font-weight: 600;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { color: rgba(255,255,255,0.72); }
footer a:hover { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 12px 0 0; max-width: 40ch; }
.footer-brand .brand-name { color: var(--white); font-size: 1.1rem; }
.footer-brand .brand-name small { color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ===== Trust bar ===== */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--white);
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.trust-inner .label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-50);
}
.trust-logos {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.trust-logos span {
  font-family: var(--font-serif); font-weight: 600; color: var(--navy-800);
  font-size: 1.1rem; letter-spacing: -0.01em;
  opacity: 0.72;
}

/* ===== Page hero (interior pages) ===== */
.page-hero {
  background: var(--navy-50);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { color: var(--navy-700); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { max-width: 62ch; font-size: 1.1rem; margin: 0; }

/* Shared high-energy interior-page treatment */
.site-page {
  background:
    radial-gradient(circle at 92% 6%, rgba(249,211,66,0.18), transparent 28%),
    radial-gradient(circle at 8% 12%, rgba(34,120,255,0.18), transparent 32%),
    #FFFFFF;
}
.site-page .page-hero,
.site-page .page-hero-clean {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 4%, rgba(249,211,66,0.34), transparent 30%),
    radial-gradient(circle at 10% 0%, rgba(75,151,255,0.34), transparent 36%),
    linear-gradient(180deg, #123E86 0%, #0B1E3F 66%, #081530 100%);
  border-bottom: 1px solid rgba(249,211,66,0.28);
  color: var(--white);
}
.site-page .page-hero::before,
.site-page .page-hero-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 100%);
  background-size: 52px 52px;
  opacity: 0.7;
  pointer-events: none;
}
.site-page .page-hero .container,
.site-page .page-hero-clean .container {
  position: relative;
  z-index: 1;
}
.site-page .page-hero h1,
.site-page .page-hero-clean h1,
.site-page .page-hero h2,
.site-page .page-hero-clean h2 {
  color: var(--white);
  text-shadow: 0 0 26px rgba(124,180,255,0.22);
}
.site-page .page-hero p,
.site-page .page-hero-clean p,
.site-page .page-hero .lead,
.site-page .page-hero-clean .lead {
  color: rgba(255,255,255,0.82);
}
.site-page .page-hero .eyebrow,
.site-page .page-hero-clean .eyebrow,
.site-page .page-hero .breadcrumb,
.site-page .page-hero-clean .breadcrumb,
.site-page .page-hero .breadcrumb a,
.site-page .page-hero-clean .breadcrumb a {
  color: rgba(255,255,255,0.78);
}
.site-page .page-hero .eyebrow::before,
.site-page .page-hero-clean .eyebrow::before {
  background: #F9D342;
  box-shadow: 0 0 16px rgba(249,211,66,0.5);
}
.site-page > section:not(.page-hero):not(.section-navy):nth-of-type(even) {
  background:
    radial-gradient(circle at 10% 10%, rgba(34,120,255,0.14), transparent 30%),
    radial-gradient(circle at 90% 6%, rgba(249,211,66,0.18), transparent 28%),
    linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%);
}
.site-page > section:not(.page-hero):not(.section-navy):nth-of-type(odd) {
  background:
    radial-gradient(circle at 92% 8%, rgba(249,211,66,0.16), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #ECF8F4 100%);
}
.site-page .section-muted {
  background:
    radial-gradient(circle at 8% 8%, rgba(34,120,255,0.16), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(249,211,66,0.2), transparent 32%),
    linear-gradient(180deg, #F4F8FF 0%, #ECF8F4 100%);
}
.site-page .card:not(.referral-amount-card):not(.pricing-main-card) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,248,255,0.98) 100%);
  border-color: rgba(34,120,255,0.2);
  box-shadow: 0 14px 38px rgba(10,24,54,0.07);
}
.site-page .card:not(.referral-amount-card):not(.pricing-main-card):hover {
  border-color: rgba(249,211,66,0.58);
  box-shadow: 0 18px 48px rgba(10,24,54,0.12), 0 0 26px rgba(249,211,66,0.18);
  transform: translateY(-2px);
}
.site-page .card:nth-child(3n+1):not(.referral-amount-card):not(.pricing-main-card) {
  animation: softBlueGoldPulse 3.4s ease-in-out infinite;
}
.site-page .card .icon,
.site-page .step-num {
  background: linear-gradient(150deg, #123E86, #2278FF);
  color: #FFFFFF;
  box-shadow: 0 0 22px rgba(34,120,255,0.2);
}
.site-page .card:nth-child(even) .icon {
  background: linear-gradient(150deg, #F9D342, #C9A227);
  color: var(--navy-900);
  box-shadow: 0 0 22px rgba(249,211,66,0.22);
}
.site-page .section-head .eyebrow,
.site-page .card small {
  color: var(--navy-700);
}
.site-page .section-head .eyebrow::before {
  background: #F9D342;
  box-shadow: 0 0 14px rgba(249,211,66,0.42);
}
.site-page .section-navy .card:not(.referral-amount-card) {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.site-page .section-navy .card:not(.referral-amount-card) h3 {
  color: var(--white);
}
.site-page .section-navy .card:not(.referral-amount-card) p {
  color: rgba(255,255,255,0.74);
}
.site-page .section-navy .card:not(.referral-amount-card):hover {
  border-color: rgba(249,211,66,0.48);
  box-shadow: 0 18px 48px rgba(0,0,0,0.2), 0 0 28px rgba(249,211,66,0.14);
}
.site-page .nav-open .nav-links {
  background:
    radial-gradient(circle at 88% 0%, rgba(249,211,66,0.22), transparent 34%),
    linear-gradient(180deg, #123E86 0%, #0B1E3F 100%);
  border-bottom-color: rgba(249,211,66,0.24);
}
.site-page .nav-open .nav-links a {
  color: rgba(255,255,255,0.88);
}
.site-page .nav-open .nav-links a.active,
.site-page .nav-open .nav-links a:hover {
  color: #F9D342;
}

/* Focused pricing/referral polish */
.page-hero-clean {
  background:
    linear-gradient(135deg, rgba(243,246,251,0.98) 0%, rgba(255,255,255,1) 54%, rgba(231,244,238,0.78) 100%);
  border-bottom: 1px solid rgba(18,41,90,0.1);
}
.page-hero-clean h1 {
  max-width: 14ch;
  letter-spacing: 0;
}
.pricing-page .page-hero-clean h1 {
  max-width: 12ch;
}
.pricing-main-card {
  background:
    radial-gradient(circle at 84% 6%, rgba(249,211,66,0.12), transparent 26%),
    linear-gradient(180deg, #123E86 0%, #0B1E3F 54%, #081530 100%);
  border: 1px solid rgba(249,211,66,0.32);
}
.pricing-main-card::before {
  background:
    radial-gradient(circle at 82% 10%, rgba(61,145,255,0.24), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.1), transparent 52%);
}
.pricing-main-card .price-badge {
  background: rgba(61,145,255,0.16);
  border-color: rgba(124,180,255,0.38);
  color: rgba(255,255,255,0.92);
}
.pricing-main-card .price-tier {
  background:
    radial-gradient(circle at 86% 0%, rgba(249,211,66,0.14), transparent 32%),
    linear-gradient(180deg, rgba(34,120,255,0.26) 0%, rgba(13,74,166,0.22) 100%);
  border-color: rgba(124,180,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(4,16,42,0.16);
}
.pricing-main-card .price-tier.is-active {
  background:
    radial-gradient(circle at 84% 0%, rgba(249,211,66,0.24), transparent 34%),
    linear-gradient(180deg, rgba(34,120,255,0.42) 0%, rgba(13,74,166,0.34) 100%);
  border-color: rgba(249,211,66,0.76);
}
.pricing-main-card .price-tier.featured {
  background:
    radial-gradient(circle at 86% 0%, rgba(249,211,66,0.14), transparent 32%),
    linear-gradient(180deg, rgba(34,120,255,0.34) 0%, rgba(13,74,166,0.26) 100%);
  border-color: rgba(122,183,255,0.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 14px 34px rgba(4,16,42,0.22);
}
.pricing-main-card .price-tier.featured.is-active {
  background:
    radial-gradient(circle at 84% 0%, rgba(249,211,66,0.24), transparent 34%),
    linear-gradient(180deg, rgba(34,120,255,0.46) 0%, rgba(13,74,166,0.36) 100%);
  border-color: rgba(249,211,66,0.76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 15px 38px rgba(4,16,42,0.26), 0 0 24px rgba(249,211,66,0.16);
}
.pricing-main-card .price-tier.featured small {
  color: rgba(213,231,255,0.9);
}
.pricing-main-card .btn-gold {
  background: #FFFFFF;
  color: var(--navy-900);
}
.pricing-main-card .btn-gold:hover {
  background: #DDEAFF;
  color: var(--navy-900);
}
.pricing-page .price-side .card {
  background:
    radial-gradient(circle at 88% 0%, rgba(249,211,66,0.22), transparent 34%),
    linear-gradient(180deg, #123E86 0%, #0B1E3F 64%, #081530 100%) !important;
  border-color: rgba(124,180,255,0.42) !important;
  box-shadow: 0 18px 46px rgba(6,18,44,0.18), 0 0 26px rgba(34,120,255,0.1) !important;
  color: var(--white);
}
.pricing-page .price-side .card:first-child {
  border-color: rgba(249,211,66,0.52) !important;
  animation: softBlueGoldPulse 3.1s ease-in-out infinite;
}
.pricing-page .price-side .trial-side-card {
  background:
    radial-gradient(circle at 88% 0%, rgba(67,205,147,0.28), transparent 34%),
    radial-gradient(circle at 8% 8%, rgba(249,211,66,0.22), transparent 32%),
    linear-gradient(180deg, #1853A8 0%, #0B2E6F 52%, #081530 100%) !important;
  border-color: rgba(249,211,66,0.68) !important;
  animation: referralCardPulse 2.9s ease-in-out infinite;
}
.pricing-page .price-side .card small {
  color: #D5E7FF;
}
.pricing-page .price-side .card strong {
  color: #FFFFFF;
  text-shadow: 0 0 24px rgba(124,180,255,0.2);
}
.pricing-page .price-side .card p {
  color: rgba(255,255,255,0.78);
}
.referral-hero-clean h1 {
  max-width: 16ch;
}
.referral-main-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(61,145,255,0.2), transparent 30%),
    linear-gradient(180deg, #10295B 0%, #081832 100%);
}
.referral-main-section .section-head {
  align-items: start;
}
.referral-main-section .card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.referral-main-section .card .icon {
  background: rgba(124,180,255,0.16);
  color: #D5E7FF;
  border: 1px solid rgba(124,180,255,0.22);
}
.referral-main-section .callout {
  background: rgba(255,255,255,0.08);
  border-color: rgba(124,180,255,0.72);
  color: rgba(255,255,255,0.88);
}
.referral-main-section .callout strong {
  color: #FFFFFF;
}
.referral-secondary-action {
  background: rgba(255,255,255,0.96);
  color: var(--navy-900) !important;
  border-color: rgba(255,255,255,0.96);
}
.referral-secondary-action:hover {
  background: #DDEAFF;
  border-color: #DDEAFF;
  color: var(--navy-900) !important;
}
.referrals-page .section-muted .card {
  border-color: rgba(18,41,90,0.1);
  box-shadow: 0 10px 30px rgba(10,24,54,0.05);
}

/* ===== Brighter pricing / referral pages ===== */
.page-hero-bright {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(231,244,238,0.92) 0%, rgba(255,255,255,1) 48%, rgba(251,243,216,0.88) 100%);
  border-bottom: 1px solid rgba(31,138,91,0.16);
}
.page-hero-bright::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31,138,91,0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(201,162,39,0.1) 0 1px, transparent 1px 100%);
  background-size: 56px 56px;
  opacity: 0.45;
  pointer-events: none;
}
.page-hero-bright .container {
  position: relative;
  z-index: 1;
}
.page-hero-bright h1 {
  max-width: 12ch;
  letter-spacing: 0;
}
.page-hero-bright p {
  max-width: 68ch;
  margin-bottom: 24px;
}
.page-hero-bright .breadcrumb {
  color: rgba(10,24,54,0.58);
}
.page-hero-bright .btn-secondary {
  background: var(--white);
  border-color: rgba(11,30,63,0.22);
}
.hero-trial-banner {
  position: relative;
  margin: 20px 0 0;
  padding: 20px 22px;
  max-width: 620px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 94% 0%, rgba(249,211,66,0.58), transparent 35%),
    radial-gradient(circle at 8% 12%, rgba(249,211,66,0.26), transparent 34%),
    linear-gradient(135deg, rgba(249,211,66,0.16) 0%, #1853A8 38%, #0B2E6F 62%, #146945 100%);
  border: 1px solid rgba(255,225,92,0.82);
  box-shadow: 0 20px 52px rgba(6,18,44,0.22), 0 0 42px rgba(249,211,66,0.3);
  animation: yellowAttentionPulse 2.55s ease-in-out infinite;
}
.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: center;
}
.hero-spark-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(31,138,91,0.2);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(10,24,54,0.08);
}
.hero-spark-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-dk);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-spark-card strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: 0;
}
.hero-spark-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.hero-spark-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-70);
  font-weight: 600;
}
.hero-spark-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  flex: 0 0 auto;
}
.referral-spark {
  border-color: rgba(201,162,39,0.32);
}
.pricing-hero-stats,
.referral-hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
  margin-top: 34px;
}
.pricing-hero-stats div,
.referral-hero-panel div {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(31,138,91,0.16);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.pricing-hero-stats strong,
.referral-hero-panel strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.pricing-hero-stats span,
.referral-hero-panel span,
.referral-hero-panel small {
  display: block;
  color: var(--ink-70);
  font-size: 0.9rem;
  margin-top: 6px;
}
.referral-hero-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
}
.referral-hero-panel span {
  color: var(--green-dk);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 8px;
}

.pricing-plans-section {
  background:
    radial-gradient(circle at 14% 6%, rgba(61,145,255,0.22), transparent 30%),
    linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%);
}
.plan-grid,
.referral-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 38px;
}
.plan-card,
.referral-amount-card {
  position: relative;
  background:
    radial-gradient(circle at 86% 0%, rgba(76,154,255,0.32), transparent 34%),
    linear-gradient(180deg, #123E86 0%, #0B1E3F 58%, #07142E 100%);
  color: var(--white);
  border: 1px solid rgba(124,180,255,0.42);
  border-radius: 14px;
  padding: 34px;
  box-shadow: 0 22px 54px rgba(6,18,44,0.22);
  overflow: hidden;
}
.plan-card::before,
.referral-amount-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: linear-gradient(90deg, #7AB7FF, #2278FF, #D5E7FF);
}
.plan-card.featured {
  border-color: rgba(122,183,255,0.78);
  background:
    radial-gradient(circle at 86% 0%, rgba(104,174,255,0.42), transparent 34%),
    linear-gradient(180deg, #1853A8 0%, #0B2E6F 50%, #081530 100%);
  box-shadow: 0 26px 64px rgba(5,20,52,0.3);
}
.plan-topline,
.referral-amount-card span {
  display: inline-flex;
  color: #D5E7FF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-card h3 {
  color: var(--white);
  max-width: 18ch;
  letter-spacing: 0;
}
.plan-price,
.referral-amount-card strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 18px 0;
}
.plan-price span {
  color: rgba(255,255,255,0.72);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 6px;
}
.plan-card .check-list {
  margin: 24px 0;
}
.plan-card p,
.referral-amount-card p {
  color: rgba(255,255,255,0.78);
}
.plan-card .check-list li {
  color: rgba(255,255,255,0.86);
}
.plan-card .check-list li::before {
  background-color: rgba(124,180,255,0.16);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D5E7FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.plan-card .btn-secondary {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--navy-900);
}
.plan-card .btn-secondary:hover {
  background: #DDEAFF;
  border-color: #DDEAFF;
  color: var(--navy-900);
}
.plan-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(213,231,255,0.16);
  color: #D5E7FF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-detail-wrap {
  margin-top: 10px;
}
.pricing-summary-card {
  background: linear-gradient(145deg, #123171 0%, #0A1836 68%);
}

.referral-steps-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F9F6 100%);
}
.referral-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.referral-step-card {
  border-color: rgba(31,138,91,0.18);
  box-shadow: var(--shadow-sm);
}
.referral-step-card .icon {
  background: var(--green-tint);
  color: var(--green-dk);
}
.referral-step-card.earn {
  background: linear-gradient(180deg, #FFFCF0 0%, #FFFFFF 100%);
  border-color: rgba(201,162,39,0.35);
}
.referral-step-card.earn .icon {
  background: var(--gold-tint);
  color: var(--gold-dk);
}
.referral-amounts-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(34,120,255,0.2), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(31,138,91,0.18), transparent 32%),
    linear-gradient(180deg, #F4F8FF 0%, #ECF8F4 100%);
}
.referral-amount-card {
  min-height: 260px;
  isolation: isolate;
  animation: referralCardPulse 2.8s ease-in-out infinite;
}
.referral-amount-card.featured {
  background:
    radial-gradient(circle at 92% 0%, rgba(67,205,147,0.38), transparent 34%),
    linear-gradient(180deg, #1853A8 0%, #0D376F 48%, #081530 100%);
  animation-delay: .45s;
}
.referral-amount-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(2.35rem, 6vw, 3.45rem);
  color: #FFFFFF;
  text-shadow: 0 0 28px rgba(124,180,255,0.28);
}
.referral-amount-card p {
  margin: 0;
  max-width: 48ch;
}
.referral-amount-card h3 {
  color: #FFFFFF;
}
.referral-amount-card span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(213,231,255,0.14);
  border: 1px solid rgba(213,231,255,0.22);
}
.referral-amount-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(67,205,147,0.28), transparent 64%);
  z-index: -1;
}
.referral-revenue-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 0.72fr);
  gap: 20px;
  margin: 10px 0 34px;
  padding: 30px;
  border: 1px solid rgba(255,211,74,0.48);
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 4%, rgba(255,211,74,0.34), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(122,183,255,0.18), transparent 36%),
    linear-gradient(135deg, #07142E 0%, #0B1E3F 44%, #123E86 100%);
  box-shadow: 0 24px 60px rgba(6,18,44,0.24), 0 0 34px rgba(249,211,66,0.16);
  overflow: hidden;
  animation: referralRevenuePulse 2.9s ease-in-out infinite;
}
.referral-revenue-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, rgba(255,211,74,0.95), rgba(122,183,255,0.72), rgba(255,211,74,0.8));
}
.referral-revenue-panel::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px auto;
  width: 122px;
  height: 122px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,211,74,0.22), transparent 65%);
  pointer-events: none;
}
.referral-revenue-intro {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  align-self: center;
}
.referral-revenue-intro .eyebrow {
  color: #FFD34A;
}
.referral-revenue-intro h3 {
  color: #FFFFFF;
  max-width: 20ch;
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
}
.referral-revenue-intro p {
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  font-size: 1.02rem;
}
.referral-break-even,
.referral-example-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,211,74,0.42);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 12px 28px rgba(3,10,26,0.14);
}
.referral-break-even {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255,211,74,0.25), transparent 38%),
    rgba(255,255,255,0.1);
  border-color: rgba(255,225,92,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 18px 42px rgba(3,10,26,0.22), 0 0 30px rgba(249,211,66,0.14);
  animation: referralExamplePulse 2.45s ease-in-out infinite;
}
.referral-break-even small {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #FFD34A;
  color: #07142E;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.referral-break-even span,
.referral-example-card span {
  color: #FFE58A;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.referral-break-even strong,
.referral-example-card strong {
  display: block;
  color: #FFFFFF;
  font-family: var(--font-serif);
  letter-spacing: 0;
}
.referral-break-even strong {
  margin: 12px 0 8px;
  font-size: clamp(2.55rem, 6vw, 3.75rem);
  line-height: 0.98;
}
.referral-break-even p,
.referral-example-card p {
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.referral-example-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.referral-example-card {
  padding: 18px 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.055));
  animation: referralExamplePulse 2.65s ease-in-out infinite;
}
.referral-example-card:nth-child(2) {
  animation-delay: .18s;
}
.referral-example-card:nth-child(3) {
  animation-delay: .36s;
}
.referral-example-card:nth-child(4) {
  animation-delay: .54s;
}
.referral-example-card:nth-child(5) {
  animation-delay: .72s;
}
.referral-example-card strong {
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 2.15vw, 2.1rem);
  line-height: 1.05;
}
.referral-example-card p {
  font-size: 0.92rem;
  line-height: 1.45;
}
.referral-example-card:last-child {
  grid-column: 1 / -1;
}
.referral-kpi-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin: 0 0 34px;
  padding: 28px;
  border: 1px solid rgba(255,211,74,0.48);
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,211,74,0.26), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(67,205,147,0.28), transparent 34%),
    linear-gradient(135deg, #09235B 0%, #0B1E3F 54%, #07142E 100%);
  box-shadow: 0 24px 60px rgba(6,18,44,0.22), 0 0 30px rgba(249,211,66,0.14);
  overflow: hidden;
  animation: referralRevenuePulse 3.2s ease-in-out infinite;
}
.referral-kpi-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, rgba(67,205,147,0.72), rgba(255,211,74,0.96), rgba(122,183,255,0.72));
}
.referral-kpi-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}
.referral-kpi-copy .eyebrow {
  color: #FFD34A;
}
.referral-kpi-copy h3 {
  color: #FFFFFF;
  max-width: 21ch;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
.referral-kpi-copy p,
.referral-kpi-note {
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.referral-kpi-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.referral-kpi-grid div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,211,74,0.34);
  border-radius: 12px;
  background: rgba(255,255,255,0.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 24px rgba(3,10,26,0.12);
  animation: referralExamplePulse 2.85s ease-in-out infinite;
}
.referral-kpi-grid div:nth-child(2) {
  animation-delay: .16s;
}
.referral-kpi-grid div:nth-child(3) {
  animation-delay: .32s;
}
.referral-kpi-grid div:nth-child(4) {
  animation-delay: .48s;
}
.referral-kpi-grid span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,211,74,0.16);
  border: 1px solid rgba(255,211,74,0.28);
  color: #FFE58A;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.referral-kpi-grid strong {
  display: block;
  color: #FFFFFF;
  font-size: 1.06rem;
  margin-bottom: 5px;
}
.referral-kpi-grid p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 0.9rem;
  line-height: 1.42;
}
.referral-kpi-note {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.13);
  font-weight: 700;
  color: #FFFFFF;
}
@keyframes referralRevenuePulse {
  0%, 100% {
    box-shadow: 0 24px 60px rgba(6,18,44,0.24), 0 0 20px rgba(249,211,66,0.12);
    border-color: rgba(255,211,74,0.44);
  }
  50% {
    box-shadow: 0 26px 64px rgba(6,18,44,0.28), 0 0 42px rgba(249,211,66,0.28);
    border-color: rgba(255,225,92,0.76);
  }
}
@keyframes referralExamplePulse {
  0%, 100% {
    border-color: rgba(255,211,74,0.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 24px rgba(3,10,26,0.12), 0 0 10px rgba(249,211,66,0.06);
  }
  50% {
    border-color: rgba(255,225,92,0.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 34px rgba(3,10,26,0.18), 0 0 28px rgba(249,211,66,0.28);
  }
}
@keyframes referralCardPulse {
  0%, 100% {
    box-shadow: 0 22px 54px rgba(6,18,44,0.22), 0 0 0 rgba(34,120,255,0);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 26px 64px rgba(6,18,44,0.28), 0 0 36px rgba(34,120,255,0.18);
    transform: translateY(-2px);
  }
}
.referral-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .page-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .pricing-hero-stats,
  .referral-revenue-panel,
  .referral-kpi-panel,
  .referral-step-grid,
  .referral-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .referral-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-hero-bright h1 {
    max-width: 100%;
  }
  .pricing-hero-stats,
  .referral-hero-panel,
  .plan-grid,
  .referral-amount-grid,
  .referral-revenue-panel,
  .referral-kpi-panel,
  .referral-kpi-grid,
  .referral-example-grid,
  .referral-step-grid,
  .referral-fit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .referral-revenue-panel {
    gap: 16px;
    padding: 24px 20px;
  }
  .referral-revenue-intro h3 {
    font-size: 2rem;
  }
  .referral-revenue-intro p {
    font-size: 0.98rem;
  }
  .referral-break-even {
    padding: 22px 18px;
  }
  .referral-break-even strong {
    font-size: 3.15rem;
  }
  .referral-example-grid {
    gap: 0;
    border: 1px solid rgba(255,211,74,0.28);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
  }
  .referral-example-card {
    padding: 15px 14px;
    border-width: 0 0 1px;
    border-color: rgba(255,211,74,0.22);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.045));
  }
  .referral-example-card:last-child {
    border-bottom-width: 0;
  }
  .referral-example-card strong {
    font-size: 1.78rem;
  }
  .referral-break-even span,
  .referral-example-card span {
    font-size: 0.92rem;
    letter-spacing: 0.075em;
  }
  .referral-example-card p {
    font-size: 0.88rem;
  }
  .referral-kpi-panel {
    gap: 18px;
    padding: 24px 20px;
  }
  .referral-kpi-copy h3 {
    font-size: 1.95rem;
  }
  .referral-kpi-grid div {
    padding: 15px 14px;
  }
  .referral-kpi-note {
    font-size: 0.95rem;
  }
  .plan-card,
  .referral-amount-card {
    padding: 28px 22px;
  }
  .plan-ribbon {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
  }
  .plan-price,
  .referral-amount-card strong {
    font-size: 3rem;
  }
  .plan-price span {
    display: block;
    margin: 8px 0 0;
  }
}
.breadcrumb {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--ink-50); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-50); }
.breadcrumb a:hover { color: var(--navy-800); }

/* ===== Table (used on billing & pricing) ===== */
.table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white);
}
.table th, .table td {
  padding: 16px 20px; text-align: left; font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.table th {
  background: var(--navy-50); color: var(--navy-900);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.table tr:last-child td { border-bottom: none; }
.table td strong { color: var(--navy-900); }

@media (max-width: 620px) {
  .table,
  .table thead,
  .table tbody,
  .table th,
  .table td,
  .table tr {
    display: block;
    width: 100%;
  }
  .table {
    border-collapse: separate;
    border-spacing: 0;
  }
  .table thead {
    display: none;
  }
  .table tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }
  .table tr:last-child {
    border-bottom: none;
  }
  .table th,
  .table td {
    border-bottom: none;
    padding: 4px 0;
  }
  .table td:first-child {
    font-family: var(--font-serif);
    color: var(--navy-900);
    font-size: 1.04rem;
  }
  .table td:nth-child(2) {
    font-family: var(--font-mono);
    color: var(--green-dk);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .table td:nth-child(3) {
    color: var(--ink-70);
  }
}

/* ===== WhatsApp chat mock ===== */
:root {
  --wa-bg: #ECE5DD;
  --wa-out: #DCF8C6;
  --wa-in: #FFFFFF;
  --wa-header: #075E54;
  --wa-header-2: #128C7E;
  --wa-tick: #34B7F1;
  --wa-time: #667781;
}

.wa-phone {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #0A0A0A;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2a2a;
  position: relative;
}
.wa-phone::before {
  content: ""; position: absolute; top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 22px; background: #0A0A0A;
  border-radius: 0 0 14px 14px; z-index: 3;
}
.wa-screen {
  background: var(--wa-bg);
  border-radius: 30px;
  overflow: hidden;
  height: 620px;
  display: flex; flex-direction: column;
  position: relative;
  background-image:
    radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}
.wa-header {
  background: linear-gradient(180deg, var(--wa-header) 0%, #0A4C43 100%);
  color: #fff;
  padding: 44px 14px 12px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  position: relative; z-index: 2;
}
.wa-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #7d5f10);
  color: #fff; font-family: var(--font-serif); font-weight: 600;
  display: grid; place-items: center;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.15);
}
.wa-header-info { flex: 1; line-height: 1.2; }
.wa-header-info .name { font-weight: 600; font-size: 0.95rem; }
.wa-header-info .status { font-size: 0.72rem; opacity: 0.85; }
.wa-header-icons { display: flex; gap: 16px; opacity: 0.9; font-size: 1.1rem; }
.wa-messages {
  flex: 1;
  overflow: hidden;
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.wa-day {
  align-self: center;
  background: rgba(225, 245, 254, 0.85);
  color: #4a4a4a;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 8px;
  margin: 4px 0 8px;
  font-family: var(--font-sans);
}
.wa-msg {
  max-width: 82%;
  padding: 7px 10px 18px;
  border-radius: 8px;
  font-size: 0.83rem;
  line-height: 1.35;
  color: #111;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  font-family: var(--font-sans);
  word-wrap: break-word;
}
.wa-msg .time {
  position: absolute; right: 8px; bottom: 3px;
  font-size: 0.62rem; color: var(--wa-time);
  display: flex; align-items: center; gap: 3px;
}
.wa-msg .time::after {
  content: "✓✓"; color: var(--wa-tick); font-size: 0.7rem; letter-spacing: -1px;
}
.wa-msg.in {
  align-self: flex-start;
  background: var(--wa-in);
  border-top-left-radius: 2px;
}
.wa-msg.in .time::after { content: ""; }
.wa-msg.out {
  align-self: flex-end;
  background: var(--wa-out);
  border-top-right-radius: 2px;
}
.wa-msg.elly {
  align-self: flex-start;
  background: #FFFFFF;
  border-top-left-radius: 2px;
  border-left: 3px solid var(--gold);
}
.wa-msg .sender {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--wa-header-2);
  margin-bottom: 2px;
}
.wa-msg.elly .sender { color: var(--gold-dk); }
.wa-msg .approval {
  display: flex; gap: 6px; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.wa-msg .approval button {
  flex: 1;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #cfd6d3;
  background: #F0F2F5;
  color: #128C7E;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: default;
}
.wa-msg .approval button.approve {
  background: var(--wa-header-2); color: #fff; border-color: transparent;
}
.wa-msg .attachment {
  background: rgba(0,0,0,0.03);
  border-radius: 6px;
  padding: 6px 8px;
  margin: 4px 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem;
  color: #333;
}
.wa-msg .attachment .doc-ico {
  width: 24px; height: 28px; border-radius: 3px;
  background: #E8F0EE; color: var(--wa-header);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
}
.wa-input {
  background: #F0F2F5;
  padding: 8px 12px;
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.wa-input .field-mock {
  flex: 1; background: #fff; border-radius: 20px;
  padding: 8px 14px; color: #999; font-size: 0.8rem;
  border: 1px solid rgba(0,0,0,0.05);
}
.wa-input .send-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wa-header-2); color: #fff;
  display: grid; place-items: center; font-size: 0.9rem;
}

/* Hero-specific: dark-navy background WhatsApp phone */
.hero .wa-phone {
  transform: rotate(-2deg);
  box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
}

/* Integration logo tiles */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) { .integration-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .integration-grid { grid-template-columns: repeat(3, 1fr); } }
.integration-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: border-color .15s, transform .15s;
}
.integration-tile:hover { border-color: #CDD5E2; transform: translateY(-2px); }
.integration-tile .logo {
  width: 44px; height: 44px; margin: 0 auto 10px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 0.9rem;
}
.integration-tile .name {
  font-size: 0.82rem; color: var(--navy-900); font-weight: 600;
  font-family: var(--font-sans);
}
.integration-tile .cat {
  font-family: var(--font-mono); font-size: 0.62rem;
  color: var(--ink-50); text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 3px;
}
.section-navy .integration-tile {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}
.section-navy .integration-tile:hover { border-color: rgba(255,255,255,0.28); }
.section-navy .integration-tile .logo {
  background: rgba(255,255,255,0.08); color: var(--gold);
}
.section-navy .integration-tile .name { color: #fff; }
.section-navy .integration-tile .cat { color: rgba(255,255,255,0.5); }
.integration-spotlight .integration-tile,
.site-page .integration-tile {
  background:
    radial-gradient(circle at 88% 0%, rgba(249,211,66,0.26), transparent 34%),
    linear-gradient(180deg, #123E86 0%, #0B1E3F 72%, #081530 100%);
  border-color: rgba(249,211,66,0.44);
  box-shadow: 0 12px 30px rgba(10,24,54,0.14), 0 0 18px rgba(249,211,66,0.1);
}
.integration-spotlight .integration-tile:hover,
.site-page .integration-tile:hover {
  border-color: rgba(249,211,66,0.72);
  box-shadow: 0 16px 40px rgba(10,24,54,0.2), 0 0 28px rgba(249,211,66,0.22);
}
.integration-spotlight .integration-tile:nth-child(4n+1),
.site-page .integration-tile:nth-child(4n+1) {
  animation: softBlueGoldPulse 3.8s ease-in-out infinite;
}
.integration-spotlight .integration-tile:first-child,
.site-page .integration-tile:first-child {
  background:
    radial-gradient(circle at 84% 0%, rgba(249,211,66,0.42), transparent 36%),
    linear-gradient(180deg, #1853A8 0%, #0B2E6F 68%, #081530 100%);
  border-color: rgba(255,225,92,0.86);
  box-shadow: 0 16px 40px rgba(10,24,54,0.2), 0 0 30px rgba(249,211,66,0.2);
}
.integration-spotlight .integration-tile .name,
.site-page .integration-tile .name {
  color: #FFFFFF;
}
.integration-spotlight .integration-tile .cat,
.site-page .integration-tile .cat {
  color: rgba(249,211,66,0.8);
}
.integration-spotlight .integration-tile .logo,
.site-page .integration-tile .logo {
  box-shadow: 0 0 20px rgba(249,211,66,0.22);
}
@media (max-width: 560px) {
  .integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .integration-tile {
    min-width: 0;
  }
}

/* WhatsApp flow diagram */
.wa-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}
@media (max-width: 800px) { .wa-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .wa-flow { grid-template-columns: 1fr; } }
.wa-flow-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.wa-flow-step .num {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--wa-header-2); letter-spacing: 0.12em;
  font-weight: 600; margin-bottom: 10px; text-transform: uppercase;
}
.wa-flow-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.wa-flow-step p { font-size: 0.88rem; margin-bottom: 0; }
.wa-flow-step .ico {
  width: 34px; height: 34px; border-radius: 8px;
  background: #E8F5F1; color: var(--wa-header-2);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  margin-bottom: 14px;
}

/* ===== Utility ===== */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-50); }
.divider { height: 1px; background: var(--line); margin: 32px 0; border: 0; }
.badge-pill {
  display: inline-block; font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--green-tint); color: var(--green-dk);
}
.badge-pill.gold { background: var(--gold-tint); color: var(--gold-dk); }
.badge-pill.navy { background: var(--navy-50); color: var(--navy-800); }
