/* ==========================================================================
   Agrolinks - "Everdawn" design system
   Presentation-only layer. Loaded after home/css/main.css and
   css/everdawn-theme.css, so it wins on specificity ties.
   All new components are prefixed with `al-` to stay clear of the
   legacy MoneyLand template classes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --al-navy-900: #060b16;
  --al-navy-800: #0a1120;
  --al-navy-700: #0f1a2e;
  --al-navy-600: #16233c;
  --al-ink: #0d1830;
  --al-ink-soft: #33405c;
  --al-muted: #64748b;
  --al-muted-2: #8b98ae;
  --al-line: #e6ebf5;
  --al-line-strong: #d5ddee;
  --al-surface: #ffffff;
  --al-surface-2: #f6f8fd;
  --al-surface-3: #eef2fa;
  --al-blue: #4b7bfb;
  --al-blue-600: #3763e8;
  --al-blue-700: #2b51c9;
  --al-blue-050: #eef3ff;
  --al-mint: #17c08d;
  --al-mint-050: #e7faf3;
  --al-gold: #f2b544;
  --al-gold-050: #fff6e4;
  --al-rose: #f2647c;
  --al-rose-050: #ffeff2;
  --al-white: #ffffff;

  --al-font-body: "Plus Jakarta Sans", "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --al-font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;

  --al-radius-sm: 8px;
  --al-radius: 14px;
  --al-radius-lg: 20px;
  --al-radius-xl: 28px;
  --al-radius-pill: 999px;

  --al-shadow-xs: 0 1px 2px rgba(13, 24, 48, .06);
  --al-shadow-sm: 0 4px 14px rgba(13, 24, 48, .06);
  --al-shadow: 0 14px 40px rgba(13, 24, 48, .08);
  --al-shadow-lg: 0 30px 70px rgba(13, 24, 48, .12);
  --al-shadow-blue: 0 18px 44px rgba(75, 123, 251, .28);

  --al-ring: 0 0 0 3px rgba(75, 123, 251, .32);
  --al-header-h: 74px;
  --al-gutter: 24px;
  --al-section-y: 104px;
  --al-maxw: 1200px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
body.al-site {
  background: var(--al-surface);
  color: var(--al-ink);
  color-scheme: light;
  font-family: var(--al-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.al-site,
body.al-site h1,
body.al-site h2,
body.al-site h3,
body.al-site h4,
body.al-site h5,
body.al-site h6,
body.al-site p,
body.al-site li,
body.al-site a,
body.al-site span,
body.al-site button,
body.al-site input,
body.al-site textarea,
body.al-site select {
  font-family: var(--al-font-body);
}

body.al-site img { max-width: 100%; height: auto; }

body.al-site h1,
body.al-site h2,
body.al-site h3,
body.al-site h4,
body.al-site h5,
body.al-site h6 {
  color: var(--al-ink);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 0 0 .5em;
}

body.al-site p { color: var(--al-muted); margin: 0 0 1.1em; }
body.al-site p:last-child { margin-bottom: 0; }

body.al-site a {
  color: var(--al-blue);
  text-decoration: none;
  transition: color .18s ease;
}
body.al-site a:hover { color: var(--al-blue-700); }

body.al-site ul { margin: 0; padding: 0; list-style: none; }

body.al-site ::selection { background: rgba(75, 123, 251, .2); color: var(--al-ink); }

body.al-site :focus-visible {
  outline: 2px solid var(--al-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Kill legacy MoneyLand decoration that clashes with the new layout */
body.al-site .preloader { display: none !important; }
body.al-site .main--body { overflow: visible; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
body.al-site .container {
  max-width: var(--al-maxw);
  padding-left: var(--al-gutter);
  padding-right: var(--al-gutter);
}

.al-section { padding: var(--al-section-y) 0; position: relative; }
.al-section--tight { padding: 68px 0; }
.al-section--tint { background: var(--al-surface-2); }
.al-section--dark { background: var(--al-navy-800); color: #fff; }
.al-section--dark h2,
.al-section--dark h3,
.al-section--dark h4,
.al-section--dark h5 { color: #fff; }
.al-section--dark p { color: #a9b6ce; }
.al-section--line { border-top: 1px solid var(--al-line); }

.al-grid { display: grid; gap: 24px; }
.al-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.al-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.al-grid--2-1 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.al-grid--1-2 { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }

.al-center { text-align: center; }
.al-center .al-eyebrow { justify-content: center; }
.al-center .al-lead { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.al-eyebrow {
  align-items: center;
  color: var(--al-blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.al-eyebrow::before {
  background: currentColor;
  border-radius: 2px;
  content: "";
  height: 2px;
  opacity: .55;
  width: 22px;
}
.al-eyebrow--mint { color: var(--al-mint); }
.al-eyebrow--gold { color: #c2871a; }
.al-eyebrow--on-dark { color: #8fb0ff; }

.al-title {
  color: var(--al-ink);
  font-family: var(--al-font-display);
  font-size: clamp(32px, 4.1vw, 50px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.al-title--sm { font-size: clamp(28px, 3vw, 38px); }
.al-title span { color: var(--al-blue); font-style: italic; }
.al-title em { color: var(--al-blue); font-style: italic; }

.al-lead {
  color: var(--al-muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 640px;
}
.al-lead--lg { font-size: 19px; }

.al-section-head { margin-bottom: 52px; }
.al-section-head .al-lead { max-width: 660px; }

.al-muted { color: var(--al-muted) !important; }
.al-nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.al-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--al-radius-pill);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--al-font-body);
  font-size: 14.5px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  letter-spacing: .01em;
  line-height: 1;
  padding: 14px 24px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  user-select: none;
  white-space: nowrap;
}
.al-btn svg { flex: 0 0 auto; height: 17px; width: 17px; }
.al-btn:hover { transform: translateY(-2px); }
.al-btn:active { transform: translateY(0); }

.al-btn--primary {
  background: linear-gradient(135deg, var(--al-blue) 0%, var(--al-blue-600) 100%);
  box-shadow: var(--al-shadow-blue);
  color: #fff;
}
.al-btn--primary:hover { background: linear-gradient(135deg, var(--al-blue-600) 0%, var(--al-blue-700) 100%); color: #fff; }

.al-btn--dark { background: var(--al-navy-800); color: #fff; }
.al-btn--dark:hover { background: var(--al-navy-700); color: #fff; }

.al-btn--mint { background: var(--al-mint); box-shadow: 0 16px 36px rgba(23, 192, 141, .3); color: #fff; }
.al-btn--mint:hover { background: #12a97b; color: #fff; }

.al-btn--gold { background: var(--al-gold); box-shadow: 0 16px 36px rgba(242, 181, 68, .3); color: #2a1c00; }

.al-btn--ghost {
  background: transparent;
  border-color: var(--al-line-strong);
  color: var(--al-ink);
}
.al-btn--ghost:hover { border-color: var(--al-blue); color: var(--al-blue); }

.al-btn--glass {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.al-btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; }

.al-btn--white { background: #fff; color: var(--al-ink); box-shadow: var(--al-shadow); }
.al-btn--white:hover { color: var(--al-blue); }

.al-btn--lg { font-size: 16px; padding: 17px 32px; }
.al-btn--sm { font-size: 13px; padding: 11px 18px; }
.al-btn--block { display: flex; width: 100%; }

/* Legacy CTA button used across the templates - restyled to match */
body.al-site .custom-button {
  align-items: center;
  background: linear-gradient(135deg, var(--al-blue) 0%, var(--al-blue-600) 100%);
  border: 1px solid transparent;
  border-radius: var(--al-radius-pill);
  box-shadow: var(--al-shadow-blue);
  color: #fff !important;
  display: inline-flex;
  font-family: var(--al-font-body);
  font-size: 14.5px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1;
  padding: 14px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
body.al-site .custom-button:hover {
  background: linear-gradient(135deg, var(--al-blue-600) 0%, var(--al-blue-700) 100%);
  color: #fff !important;
  transform: translateY(-2px);
}
body.al-site .custom-button i { font-size: 14px; }

/* Keep primary CTA text readable above broad anchor-color rules. */
body.al-site a.al-btn--primary,
body.al-site a.al-btn--primary:visited,
body.al-site a.al-btn--primary:hover,
body.al-site a.al-btn--primary:focus,
body.al-site a.al-btn--primary:active {
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   6. Pills & badges
   -------------------------------------------------------------------------- */
.al-pill {
  align-items: center;
  background: var(--al-blue-050);
  border: 1px solid rgba(75, 123, 251, .18);
  border-radius: var(--al-radius-pill);
  color: var(--al-blue-700);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: .04em;
  padding: 7px 14px;
}
.al-pill--mint { background: var(--al-mint-050); border-color: rgba(23, 192, 141, .2); color: #0d8a64; }
.al-pill--gold { background: var(--al-gold-050); border-color: rgba(242, 181, 68, .35); color: #a9740d; }
.al-pill--rose { background: var(--al-rose-050); border-color: rgba(242, 100, 124, .25); color: #cc3b57; }
.al-pill--glass {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: #dbe4f5;
}
.al-pill--dot::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
  animation: al-pulse 2s infinite;
}
@keyframes al-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23, 192, 141, .55); }
  70% { box-shadow: 0 0 0 7px rgba(23, 192, 141, 0); }
}

.al-tag {
  background: var(--al-surface-3);
  border-radius: var(--al-radius-sm);
  color: var(--al-ink-soft);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.al-card {
  background: var(--al-surface);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-lg);
  box-shadow: var(--al-shadow-xs);
  height: 100%;
  padding: 30px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.al-card--hover:hover {
  border-color: #c9d8fb;
  box-shadow: var(--al-shadow);
  transform: translateY(-4px);
}
.al-card h3,
.al-card h4,
.al-card h5 { color: var(--al-ink); margin-bottom: 10px; }
.al-card p:last-child { margin-bottom: 0; }

.al-card--glass {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
  color: #fff;
}
.al-card--glass h3,
.al-card--glass h4,
.al-card--glass h5 { color: #fff; }
.al-card--glass p { color: #b6c3da; }

.al-card--tint { background: var(--al-surface-2); border-color: transparent; }

.al-icon-tile {
  align-items: center;
  background: var(--al-blue-050);
  border-radius: 14px;
  color: var(--al-blue);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  margin-bottom: 20px;
  width: 54px;
}
.al-icon-tile svg { height: 24px; width: 24px; }
.al-icon-tile--mint { background: var(--al-mint-050); color: #0fa87a; }
.al-icon-tile--gold { background: var(--al-gold-050); color: #c2871a; }
.al-icon-tile--rose { background: var(--al-rose-050); color: #d94a64; }
.al-icon-tile--navy { background: rgba(255, 255, 255, .1); color: #9fbcff; }
.al-icon-tile--lg { border-radius: 18px; height: 68px; width: 68px; }
.al-icon-tile--lg svg { height: 30px; width: 30px; }

/* Checklist */
.al-checks li {
  align-items: flex-start;
  color: var(--al-ink-soft);
  display: flex;
  font-size: 15px;
  gap: 11px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.al-checks li:last-child { margin-bottom: 0; }
.al-checks svg {
  color: var(--al-mint);
  flex: 0 0 auto;
  height: 20px;
  margin-top: 1px;
  width: 20px;
}
.al-checks--light li { color: #c3cee2; }
/* --------------------------------------------------------------------------
   8. Header / navigation
   -------------------------------------------------------------------------- */
.al-topbar {
  background: var(--al-navy-900);
  color: #93a3c0;
  font-size: 12.5px;
  font-weight: 500;
}
.al-topbar__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 38px;
}
.al-topbar__list { align-items: center; display: flex; gap: 22px; }
.al-topbar__list li { align-items: center; display: flex; gap: 7px; }
.al-topbar__list svg { height: 14px; opacity: .75; width: 14px; }
.al-topbar a { color: #c7d3e8 !important; }
.al-topbar a:hover { color: #fff !important; }

.al-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--al-line);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: box-shadow .25s ease, background-color .25s ease;
}
.al-header.is-stuck { box-shadow: 0 10px 30px rgba(13, 24, 48, .08); }

.al-header__inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: var(--al-header-h);
}

.al-logo { align-items: center; display: inline-flex; gap: 12px; }
.al-logo img { max-height: 46px; width: auto; }
.al-logo__word {
  color: var(--al-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.al-logo__sub {
  color: var(--al-muted);
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.al-nav__list { align-items: center; display: flex; gap: 6px; }
.al-nav__link {
  align-items: center;
  color: var(--al-ink-soft) !important;
  display: inline-flex;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 14px;
  position: relative;
}
.al-nav__link::after {
  background: var(--al-blue);
  border-radius: 2px;
  bottom: 4px;
  content: "";
  height: 2px;
  left: 14px;
  opacity: 0;
  position: absolute;
  transform: scaleX(.4);
  transform-origin: left;
  transition: opacity .2s ease, transform .2s ease;
  width: calc(100% - 28px);
}
.al-nav__link:hover,
.al-nav__link:focus-visible { color: var(--al-blue) !important; }
.al-nav__link:hover::after,
.al-nav__link:focus-visible::after { opacity: 1; transform: scaleX(1); }
.al-nav__link.is-active { color: var(--al-blue) !important; }
.al-nav__link.is-active::after { opacity: 1; transform: scaleX(1); }

.al-nav__actions { align-items: center; display: flex; gap: 10px; }

.al-burger {
  background: transparent;
  border: 1px solid var(--al-line-strong);
  border-radius: 11px;
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}
.al-burger span {
  background: var(--al-ink);
  border-radius: 2px;
  height: 2px;
  left: 12px;
  position: absolute;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
  width: 20px;
}
.al-burger span:nth-child(1) { top: 15px; }
.al-burger span:nth-child(2) { top: 21px; }
.al-burger span:nth-child(3) { top: 27px; }
.al-burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.al-burger.is-open span:nth-child(2) { opacity: 0; }
.al-burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.al-drawer-backdrop {
  background: rgba(6, 11, 22, .5);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity .25s ease;
  z-index: 950;
}
.al-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.al-hero {
  background: var(--al-navy-900);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.al-hero::before {
  background:
    radial-gradient(760px 420px at 78% 18%, rgba(75, 123, 251, .38), transparent 62%),
    radial-gradient(520px 380px at 12% 88%, rgba(23, 192, 141, .16), transparent 60%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.al-hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, #000 10%, transparent 78%);
  pointer-events: none;
  position: absolute;
}
.al-hero__inner { padding: 92px 0 84px; position: relative; z-index: 2; }
.al-hero__title {
  color: #fff;
  font-family: var(--al-font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 0 0 22px;
}
.al-hero__title span {
  background: linear-gradient(100deg, #9fbcff 0%, #6ee7c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.al-hero__lead {
  color: #b9c6dd;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 540px;
}
.al-hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.al-hero__note { align-items: center; color: #8fa0bf; display: flex; font-size: 13px; gap: 8px; }
.al-hero__note svg { height: 15px; width: 15px; }

.al-hero__trust {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 26px;
}
.al-hero__trust div { color: #93a4c1; font-size: 12px; letter-spacing: .04em; }
.al-hero__trust b { color: #fff; display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }

/* Hero dashboard panel */
.al-panel {
  backdrop-filter: blur(16px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--al-radius-xl);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .38);
  padding: 26px;
  position: relative;
}
.al-panel__head {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
}
.al-panel__head h4 { color: #fff; font-size: 15px; letter-spacing: -.01em; margin: 0; }
.al-panel__live { align-items: center; color: #7fe3c0; display: flex; font-size: 11px; font-weight: 700; gap: 7px; letter-spacing: .1em; text-transform: uppercase; }
.al-panel__live i { background: #34d8a4; border-radius: 50%; height: 7px; width: 7px; animation: al-pulse 2s infinite; }

.al-panel__value { color: #fff; font-size: 40px; font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.al-panel__delta { align-items: center; color: #4ade9e; display: inline-flex; font-size: 13px; font-weight: 700; gap: 5px; }
.al-panel__delta svg { height: 14px; width: 14px; }

.al-panel__bars { align-items: flex-end; display: flex; gap: 8px; height: 96px; margin: 22px 0 6px; }
.al-panel__bars span {
  background: linear-gradient(180deg, #6ee7c0, rgba(110, 231, 192, .15));
  border-radius: 5px 5px 2px 2px;
  flex: 1;
  min-height: 14px;
}
.al-panel__legend { color: #7e8fae; display: flex; font-size: 11px; justify-content: space-between; }

.al-panel__rows { display: grid; gap: 10px; margin-top: 22px; }
.al-panel__row {
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}
.al-panel__row span { color: #aebbd2; font-size: 12.5px; }
.al-panel__row b { color: #fff; font-size: 14px; font-weight: 700; }

.al-float-card {
  backdrop-filter: blur(14px);
  background: rgba(10, 17, 32, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .42);
  padding: 16px 18px;
  position: absolute;
}
.al-float-card--tl { left: -34px; top: 42px; }
.al-float-card--br { bottom: -26px; right: -22px; }
.al-float-card small { color: #93a4c1; display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.al-float-card b { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.al-float-card i { align-items: center; background: rgba(74, 222, 158, .16); border-radius: 8px; color: #4ade9e; display: inline-flex; height: 26px; justify-content: center; width: 26px; }
.al-float-card i svg { height: 14px; width: 14px; }

/* --------------------------------------------------------------------------
   10. Logo marquee
   -------------------------------------------------------------------------- */
.al-marquee { overflow: hidden; position: relative; }
.al-marquee__track {
  align-items: center;
  display: flex;
  gap: 64px;
  min-width: max-content;
  animation: al-marquee 32s linear infinite;
}
.al-marquee:hover .al-marquee__track { animation-play-state: paused; }
.al-marquee__item {
  align-items: center;
  color: var(--al-muted-2);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.al-marquee__item svg { height: 20px; opacity: .6; width: 20px; }
@keyframes al-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */
.al-stats { display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.al-stat {
  border-left: 1px solid var(--al-line);
  padding: 6px 26px;
  text-align: center;
}
.al-stat:first-child { border-left: 0; }
.al-stat b {
  color: var(--al-ink);
  display: block;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.al-stat span { color: var(--al-muted); font-size: 13.5px; font-weight: 600; }
.al-stats--on-dark .al-stat { border-color: rgba(255, 255, 255, .12); }
.al-stats--on-dark .al-stat b { color: #fff; }
.al-stats--on-dark .al-stat span { color: #9dadc8; }

/* --------------------------------------------------------------------------
   12. Features
   -------------------------------------------------------------------------- */
.al-feature { align-items: flex-start; display: flex; flex-direction: column; }
.al-feature h4 { font-size: 18px; margin-bottom: 8px; }
.al-feature p { font-size: 14.8px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   13. Pricing
   -------------------------------------------------------------------------- */
.al-plans { align-items: stretch; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.al-plan {
  background: var(--al-surface);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-lg);
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.al-plan:hover { border-color: #c3d4fb; box-shadow: var(--al-shadow); transform: translateY(-5px); }
.al-plan__name { color: var(--al-ink); font-size: 14px; font-weight: 800; letter-spacing: .12em; margin: 0 0 6px; text-transform: uppercase; }
.al-plan__rate { align-items: baseline; color: var(--al-ink); display: flex; gap: 4px; margin-bottom: 4px; }
.al-plan__rate b { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.al-plan__rate span { color: var(--al-muted); font-size: 15px; font-weight: 700; }
.al-plan__term { color: var(--al-muted); font-size: 13.5px; margin-bottom: 22px; }
.al-plan__rows { border-top: 1px solid var(--al-line); margin-bottom: 24px; padding-top: 20px; }
.al-plan__row { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 11px; }
.al-plan__row:last-child { margin-bottom: 0; }
.al-plan__row span { color: var(--al-muted); font-size: 13.5px; }
.al-plan__row b { color: var(--al-ink); font-size: 13.5px; font-weight: 700; }
.al-plan__cta { margin-top: auto; }
.al-plan__tag {
  background: linear-gradient(135deg, var(--al-gold), #f5cd6b);
  border-radius: 0 0 0 14px;
  color: #3a2704;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 13px;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  top: 0;
}
.al-plan--featured {
  border-color: transparent;
  box-shadow: 0 26px 60px rgba(13, 24, 48, .14);
  transform: translateY(-10px);
}
.al-plan--featured:hover { transform: translateY(-14px); }
.al-plan--featured::before {
  background: linear-gradient(160deg, var(--al-navy-800), var(--al-navy-600));
  border-radius: calc(var(--al-radius-lg) - 1px);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}
.al-plan--featured > * { position: relative; z-index: 1; }
.al-plan--featured .al-plan__name,
.al-plan--featured .al-plan__rate b { color: #fff; }
.al-plan--featured .al-plan__rate span,
.al-plan--featured .al-plan__term,
.al-plan--featured .al-plan__row span { color: #9db0cf; }
.al-plan--featured .al-plan__row b { color: #fff; }
.al-plan--featured .al-plan__rows { border-color: rgba(255, 255, 255, .12); }
.al-plan--featured .al-btn--primary { background: #fff; color: var(--al-ink); box-shadow: none; }
.al-plan--featured .al-btn--primary:hover { background: var(--al-blue-050); color: var(--al-blue-700); }

/* --------------------------------------------------------------------------
   14. Steps
   -------------------------------------------------------------------------- */
.al-steps { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-step { position: relative; }
.al-step__num {
  align-items: center;
  background: linear-gradient(135deg, var(--al-blue), var(--al-blue-600));
  border-radius: 16px;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  width: 58px;
}
.al-step__num::after {
  border: 1px dashed var(--al-line-strong);
  border-radius: 16px;
  content: "";
  height: 100%;
  left: -8px;
  position: absolute;
  top: -8px;
  width: 100%;
}
.al-step h4 { font-size: 19px; margin-bottom: 9px; }
.al-step p { font-size: 15px; }
.al-step__line {
  border-top: 1px dashed var(--al-line-strong);
  left: 72px;
  position: absolute;
  right: -26px;
  top: 29px;
}
.al-step:last-child .al-step__line { display: none; }

/* --------------------------------------------------------------------------
   15. Split / media
   -------------------------------------------------------------------------- */
.al-media { position: relative; }
.al-media img { border-radius: var(--al-radius-lg); display: block; width: 100%; }
.al-media--frame { padding: 14px; }
.al-media--frame img { border-radius: calc(var(--al-radius-lg) - 6px); }
.al-media__badge {
  background: #fff;
  border-radius: 16px;
  bottom: -22px;
  box-shadow: var(--al-shadow-lg);
  left: -18px;
  padding: 18px 22px;
  position: absolute;
}
.al-media__badge b { color: var(--al-ink); display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.al-media__badge span { color: var(--al-muted); font-size: 12.5px; }

.al-split { align-items: center; display: grid; gap: 60px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* --------------------------------------------------------------------------
   16. Accordion / FAQ
   -------------------------------------------------------------------------- */
.al-accordion { display: grid; gap: 14px; }
.al-accordion__item {
  background: var(--al-surface);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.al-accordion__item.is-open { border-color: #c3d4fb; box-shadow: var(--al-shadow-sm); }
.al-accordion__btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--al-ink);
  cursor: pointer;
  display: flex;
  font-family: var(--al-font-body);
  font-size: 16.5px;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  width: 100%;
}
.al-accordion__btn:hover { color: var(--al-blue); }
.al-accordion__icon {
  align-items: center;
  background: var(--al-blue-050);
  border-radius: 50%;
  color: var(--al-blue);
  display: inline-flex;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  transition: transform .25s ease, background-color .2s ease, color .2s ease;
  width: 30px;
}
.al-accordion__icon svg { height: 14px; width: 14px; }
.al-accordion__item.is-open .al-accordion__icon { background: var(--al-blue); color: #fff; transform: rotate(180deg); }
.al-accordion__panel { display: none; padding: 0 24px 22px; }
.al-accordion__item.is-open .al-accordion__panel { display: block; }
.al-accordion__panel p { font-size: 15px; line-height: 1.75; margin: 0; }
.al-accordion__panel ul { margin: 10px 0 0; }
.al-accordion__panel ul li { color: var(--al-muted); font-size: 14.5px; margin-bottom: 6px; padding-left: 18px; position: relative; }
.al-accordion__panel ul li::before { color: var(--al-blue); content: "\2022"; left: 0; position: absolute; }

/* FAQ category tabs */
.al-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.al-tab {
  background: var(--al-surface);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-pill);
  color: var(--al-ink-soft);
  cursor: pointer;
  font-family: var(--al-font-body);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  transition: all .2s ease;
}
.al-tab:hover { border-color: var(--al-blue); color: var(--al-blue); }
.al-tab.is-active { background: var(--al-navy-800); border-color: var(--al-navy-800); color: #fff; }
.al-tab-panel { display: none; }
.al-tab-panel.is-active { display: block; animation: al-fade .35s ease; }
@keyframes al-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Activity feed
   -------------------------------------------------------------------------- */
.al-feed { display: grid; gap: 10px; }
.al-feed__item {
  align-items: center;
  background: var(--al-surface);
  border: 1px solid var(--al-line);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  transition: border-color .2s ease, transform .2s ease;
}
.al-feed__item:hover { border-color: #c9d8fb; transform: translateX(3px); }
.al-feed__avatar {
  align-items: center;
  background: var(--al-surface-3);
  border-radius: 50%;
  color: var(--al-ink-soft);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  text-transform: uppercase;
  width: 38px;
}
.al-feed__main { min-width: 0; }
.al-feed__main b { color: var(--al-ink); display: block; font-size: 14.5px; font-weight: 700; }
.al-feed__main span { color: var(--al-muted); font-size: 12.5px; }
.al-feed__amount { font-size: 15px; font-weight: 800; margin-left: auto; white-space: nowrap; }
.al-feed__amount.is-deposit { color: #0fa87a; }
.al-feed__amount.is-withdraw { color: var(--al-blue); }
.al-feed__empty { color: var(--al-muted); font-size: 14px; padding: 18px 0; text-align: center; }

.al-panel-card {
  background: var(--al-surface);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-lg);
  overflow: hidden;
}
.al-panel-card__head {
  align-items: center;
  border-bottom: 1px solid var(--al-line);
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
}
.al-panel-card__head h4 { font-size: 15px; margin: 0; }
.al-panel-card__head span { color: var(--al-muted); font-size: 12px; }
.al-panel-card__body { padding: 18px 22px 22px; }

/* --------------------------------------------------------------------------
   18. Testimonials
   -------------------------------------------------------------------------- */
.al-quotes { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-quote { display: flex; flex-direction: column; }
.al-quote__mark { color: var(--al-blue); font-family: var(--al-font-display); font-size: 58px; line-height: .7; margin-bottom: 14px; }
.al-quote p { color: var(--al-ink-soft); font-size: 15.5px; line-height: 1.75; }
.al-stars { color: var(--al-gold); display: flex; gap: 3px; margin-bottom: 16px; }
.al-stars svg { fill: currentColor; height: 15px; width: 15px; }
.al-quote__author { align-items: center; border-top: 1px solid var(--al-line); display: flex; gap: 12px; margin-top: auto; padding-top: 18px; }
.al-quote__avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--al-blue), var(--al-blue-600));
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.al-quote__author b { color: var(--al-ink); display: block; font-size: 14.5px; font-weight: 700; }
.al-quote__author span { color: var(--al-muted); font-size: 12.5px; }

/* --------------------------------------------------------------------------
   19. Tables
   -------------------------------------------------------------------------- */
.al-table-wrap { border: 1px solid var(--al-line); border-radius: var(--al-radius); overflow-x: auto; }
.al-table { border-collapse: collapse; min-width: 520px; width: 100%; }
.al-table th {
  background: var(--al-surface-2);
  color: var(--al-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 14px 18px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.al-table td { border-top: 1px solid var(--al-line); color: var(--al-ink-soft); font-size: 14px; padding: 14px 18px; }
.al-table tbody tr { transition: background-color .18s ease; }
.al-table tbody tr:hover { background: var(--al-surface-2); }
.al-table td.is-amount { color: var(--al-ink); font-weight: 700; white-space: nowrap; }
.al-table td.is-muted { color: var(--al-muted); white-space: nowrap; }

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */
.al-cta {
  background:
    radial-gradient(700px 380px at 15% 20%, rgba(75, 123, 251, .34), transparent 60%),
    linear-gradient(120deg, var(--al-navy-800), var(--al-navy-600));
  border-radius: var(--al-radius-xl);
  color: #fff;
  overflow: hidden;
  padding: 60px;
  position: relative;
}
.al-cta::after {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
  height: 460px;
  position: absolute;
  right: -110px;
  top: -170px;
  width: 460px;
}
.al-cta h2 { color: #fff; font-family: var(--al-font-display); font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.035em; margin-bottom: 14px; position: relative; z-index: 1; }
.al-cta p { color: #b3c0d8; font-size: 16.5px; max-width: 560px; position: relative; z-index: 1; }
.al-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   21. Page hero (sub pages)
   -------------------------------------------------------------------------- */
.al-pagehero {
  background:
    radial-gradient(680px 380px at 82% 12%, rgba(75, 123, 251, .3), transparent 62%),
    var(--al-navy-900);
  color: #fff;
  overflow: hidden;
  padding: 78px 0 66px;
  position: relative;
}
.al-pagehero h1 { color: #fff; font-family: var(--al-font-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.04em; margin: 0 0 16px; }
.al-pagehero p { color: #b0bdd4; font-size: 17px; max-width: 620px; }
.al-breadcrumb { display: flex; flex-wrap: wrap; font-size: 13px; gap: 8px; list-style: none; margin: 0; padding: 0; }
.al-breadcrumb li { color: #93a4c1; }
.al-breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.al-breadcrumb a { color: #cfd9ec !important; }
.al-breadcrumb a:hover { color: #fff !important; }

/* --------------------------------------------------------------------------
   22. Forms
   -------------------------------------------------------------------------- */
.al-form { display: grid; gap: 18px; }
.al-field { display: grid; gap: 8px; }
.al-field label { color: var(--al-ink); font-size: 13.5px; font-weight: 700; }
.al-field .al-hint { color: var(--al-muted); font-size: 12.5px; }
.al-input,
.al-select,
.al-textarea {
  background: var(--al-surface);
  border: 1px solid var(--al-line-strong);
  border-radius: 12px;
  color: var(--al-ink);
  font-family: var(--al-font-body);
  font-size: 15px;
  padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.al-input:focus,
.al-select:focus,
.al-textarea:focus {
  border-color: var(--al-blue);
  box-shadow: var(--al-ring);
  outline: none;
}
.al-textarea { min-height: 150px; resize: vertical; }
.al-form__note { color: var(--al-muted); font-size: 12.5px; }
.al-form__error { color: var(--al-rose); font-size: 13.5px; font-weight: 600; margin: 0; padding-left: 18px; }
.al-form__success {
  background: var(--al-mint-050);
  border: 1px solid rgba(23, 192, 141, .25);
  border-radius: 12px;
  color: #0d7a5a;
  font-size: 14.5px;
  padding: 14px 18px;
}

/* Legacy forms get the same treatment */
body.al-site .form-control,
body.al-site input[type="text"],
body.al-site input[type="email"],
body.al-site input[type="password"],
body.al-site input[type="number"],
body.al-site textarea,
body.al-site select {
  background: var(--al-surface);
  border: 1px solid var(--al-line-strong);
  border-radius: 12px;
  color: var(--al-ink);
  font-family: var(--al-font-body);
  font-size: 15px;
  padding: 13px 16px;
  width: 100%;
}
body.al-site .form-control:focus,
body.al-site input:focus,
body.al-site textarea:focus,
body.al-site select:focus {
  border-color: var(--al-blue);
  box-shadow: var(--al-ring);
  outline: none;
}
body.al-site .form-group { margin-bottom: 18px; }
body.al-site .form-group label { color: var(--al-ink); display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
body.al-site input[type="submit"],
body.al-site button[type="submit"] {
  background: linear-gradient(135deg, var(--al-blue), var(--al-blue-600));
  border: 0;
  border-radius: var(--al-radius-pill);
  box-shadow: var(--al-shadow-blue);
  color: #fff;
  cursor: pointer;
  font-family: var(--al-font-body);
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
body.al-site input[type="submit"]:hover,
body.al-site button[type="submit"]:hover { transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.al-footer { background: var(--al-navy-900); color: #9aabc7; padding: 74px 0 0; position: relative; }
.al-footer__grid { display: grid; gap: 44px; grid-template-columns: 1.6fr repeat(3, 1fr); padding-bottom: 54px; }
.al-footer h4 { color: #fff; font-size: 13.5px; font-weight: 800; letter-spacing: .12em; margin: 0 0 20px; text-transform: uppercase; }
.al-footer p { color: #8b9cba; font-size: 14.5px; line-height: 1.75; }
.al-footer a { color: #9fb0cb !important; }
.al-footer a:hover { color: #fff !important; }
.al-footer__links li { margin-bottom: 11px; }
.al-footer__links a { font-size: 14.5px; }
.al-footer__contact li { align-items: flex-start; display: flex; font-size: 14.5px; gap: 11px; margin-bottom: 14px; }
.al-footer__contact svg { color: #6b7fa3; flex: 0 0 auto; height: 17px; margin-top: 3px; width: 17px; }
.al-footer__brand img { max-height: 52px; width: auto; }
.al-footer__brand p { margin: 18px 0 20px; max-width: 340px; }
.al-footer__payments { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.al-footer__payments img { height: 26px; opacity: .75; transition: opacity .2s ease; width: auto; }
.al-footer__payments img:hover { opacity: 1; }
.al-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .09); }
.al-footer__bottom-inner { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; padding: 22px 0; }
.al-footer__bottom p { color: #7f90ae; font-size: 13.5px; margin: 0; }
.al-footer__bottom a { color: #fff !important; font-weight: 700; }
.al-socials { display: flex; gap: 10px; }
.al-socials a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: #9fb0cb !important;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  transition: all .2s ease;
  width: 38px;
}
.al-socials a:hover { background: var(--al-blue); border-color: var(--al-blue); color: #fff !important; transform: translateY(-2px); }
.al-socials svg { height: 16px; width: 16px; }
.al-risk {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  color: #7f90ae;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 40px;
  padding: 18px 22px;
}
.al-risk b { color: #b9c6db; }

/* --------------------------------------------------------------------------
   24. Utilities
   -------------------------------------------------------------------------- */
.al-mb-0 { margin-bottom: 0 !important; }
.al-mt-0 { margin-top: 0 !important; }
.al-mb-24 { margin-bottom: 24px; }
.al-mb-32 { margin-bottom: 32px; }
.al-mt-32 { margin-top: 32px; }
.al-mt-40 { margin-top: 40px; }
.al-relative { position: relative; }
.al-scroll-top {
  align-items: center;
  background: var(--al-navy-800);
  border: 0;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: var(--al-shadow);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  transition: opacity .25s ease, transform .25s ease, background-color .2s ease;
  width: 46px;
  z-index: 800;
}
.al-scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.al-scroll-top:hover { background: var(--al-blue); }
.al-scroll-top svg { height: 18px; width: 18px; }

/* Reveal on scroll */
[data-al-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}
.al-reveal-enabled [data-al-reveal] { opacity: 0; transform: translateY(22px); }
[data-al-reveal].is-revealed { opacity: 1; transform: none; }
[data-al-reveal][data-al-reveal-delay="1"] { transition-delay: .08s; }
[data-al-reveal][data-al-reveal-delay="2"] { transition-delay: .16s; }
[data-al-reveal][data-al-reveal-delay="3"] { transition-delay: .24s; }
[data-al-reveal][data-al-reveal-delay="4"] { transition-delay: .32s; }
[data-al-reveal][data-al-reveal-delay="5"] { transition-delay: .4s; }

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  :root { --al-section-y: 88px; }
  .al-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-plan--featured { transform: none; }
  .al-plan--featured:hover { transform: translateY(-5px); }
  .al-float-card--tl { left: -12px; }
  .al-float-card--br { right: -8px; }
}

@media (max-width: 991px) {
  :root { --al-section-y: 72px; --al-header-h: 66px; }
  .al-topbar { display: none; }
  .al-burger { display: block; }
  .al-nav {
    background: #fff;
    border-top: 1px solid var(--al-line);
    box-shadow: 0 24px 50px rgba(13, 24, 48, .14);
    left: 0;
    max-height: calc(100vh - var(--header-h, 66px));
    overflow-y: auto;
    padding: 10px var(--al-gutter) 26px;
    position: fixed;
    right: 0;
    top: var(--al-header-h);
    transform: translateY(-12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    visibility: hidden;
    z-index: 940;
  }
  .al-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .al-nav__list { align-items: stretch; flex-direction: column; gap: 2px; }
  .al-nav__link { border-bottom: 1px solid var(--al-line); font-size: 16px; padding: 14px 2px; }
  .al-nav__link::after { display: none; }
  .al-nav__actions { flex-direction: column; gap: 10px; margin-top: 20px; }
  .al-nav__actions .al-btn { width: 100%; }
  .al-grid--3,
  .al-grid--4,
  .al-stats,
  .al-quotes,
  .al-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-split,
  .al-grid--2-1,
  .al-grid--1-2 { gap: 38px; grid-template-columns: minmax(0, 1fr); }
  .al-hero__inner { padding: 62px 0 68px; }
  .al-hero__panel { margin-top: 44px; }
  .al-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-cta { padding: 44px 34px; }
  .al-step__line { display: none; }
  .al-stats { row-gap: 26px; }
  .al-stat:nth-child(odd) { border-left: 0; }
}

@media (max-width: 767px) {
  :root { --al-section-y: 60px; --al-gutter: 20px; }
  .al-grid--2,
  .al-grid--3,
  .al-grid--4,
  .al-plans,
  .al-quotes,
  .al-steps { grid-template-columns: minmax(0, 1fr); }
  .al-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .al-plan--featured { transform: none; }
  .al-hero__trust { gap: 18px 26px; }
  .al-hero__trust div { flex: 1 1 40%; }
  .al-float-card--tl { display: none; }
  .al-float-card--br { bottom: -18px; right: 12px; }
  .al-cta { padding: 36px 24px; }
  .al-cta__actions .al-btn { width: 100%; }
  .al-footer__grid { gap: 34px; grid-template-columns: minmax(0, 1fr); }
  .al-footer__bottom-inner { justify-content: center; text-align: center; }
  .al-media__badge { bottom: -16px; left: 0; padding: 14px 18px; }
  .al-section-head { margin-bottom: 36px; }
}

@media (max-width: 479px) {
  .al-hero__actions .al-btn { width: 100%; }
  .al-hero__lead { font-size: 16.5px; }
  .al-panel { padding: 20px; }
  .al-panel__value { font-size: 32px; }
  .al-stats { grid-template-columns: minmax(0, 1fr); }
  .al-stat { border-left: 0; border-top: 1px solid var(--al-line); padding: 18px 0 0; }
  .al-stat:first-child { border-top: 0; padding-top: 0; }
  .al-tabs { gap: 6px; }
  .al-tab { font-size: 12.5px; padding: 9px 15px; }
}

/* --------------------------------------------------------------------------
   26. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-al-reveal] { opacity: 1; transform: none; }
}

@media print {
  .al-header,
  .al-topbar,
  .al-scroll-top,
  .al-drawer-backdrop { display: none !important; }
  body.al-site { color: #000; }
}

/* Keep every public page in the light theme, including legacy dark variants. */
body.al-site .al-topbar,
body.al-site .al-hero,
body.al-site .al-section--dark,
body.al-site .al-cta,
body.al-site .al-pagehero,
body.al-site .al-footer {
  background: var(--al-surface-2) !important;
  color: var(--al-ink) !important;
}

body.al-site .al-hero::before,
body.al-site .al-hero::after,
body.al-site .al-cta::after { display: none; }

body.al-site .al-topbar { border-bottom: 1px solid var(--al-line); }
body.al-site .al-topbar,
body.al-site .al-topbar li,
body.al-site .al-topbar a,
body.al-site .al-topbar a:hover { color: var(--al-ink-soft) !important; }
body.al-site .al-topbar svg { color: var(--al-blue); }

body.al-site .al-hero__title,
body.al-site .al-pagehero h1,
body.al-site .al-cta h2,
body.al-site .al-section--dark h2,
body.al-site .al-section--dark h3,
body.al-site .al-section--dark h4,
body.al-site .al-section--dark h5,
body.al-site .al-footer h4,
body.al-site .al-hero__trust b { color: var(--al-ink) !important; }

body.al-site .al-hero__title span {
  background: none !important;
  color: var(--al-blue-700) !important;
  -webkit-text-fill-color: var(--al-blue-700);
}

body.al-site .al-hero__lead,
body.al-site .al-pagehero p,
body.al-site .al-cta p,
body.al-site .al-section--dark p,
body.al-site .al-footer p,
body.al-site .al-footer,
body.al-site .al-footer__bottom p,
body.al-site .al-footer__contact li,
body.al-site .al-hero__note,
body.al-site .al-hero__trust div { color: var(--al-ink-soft) !important; }

body.al-site .al-eyebrow--on-dark { color: var(--al-blue-700) !important; }
body.al-site .al-checks--light li { color: var(--al-ink-soft) !important; }
body.al-site .al-pagehero .al-breadcrumb li { color: var(--al-muted) !important; }
body.al-site .al-pagehero .al-breadcrumb a { color: var(--al-blue-700) !important; }
body.al-site .al-tab.is-active {
  background: var(--al-blue-050);
  border-color: #cbd8fa;
  color: var(--al-blue-700);
}
body.al-site .al-icon-tile--navy { background: var(--al-blue-050); color: var(--al-blue-700); }
body.al-site .al-btn--dark { background: var(--al-blue-050); border-color: #cbd8fa; color: var(--al-blue-700); }
body.al-site .al-btn--dark:hover { background: #dce7ff; border-color: #b8c9f8; color: var(--al-blue-700); }
body.al-site .al-stats--on-dark .al-stat { border-color: var(--al-line); }
body.al-site .al-stats--on-dark .al-stat b { color: var(--al-ink); }
body.al-site .al-stats--on-dark .al-stat span { color: var(--al-muted); }
body.al-site .al-risk b { color: var(--al-ink); }
body.al-site .al-scroll-top,
body.al-site .al-skip-link {
  background: #fff;
  border: 1px solid var(--al-line-strong);
  color: var(--al-ink) !important;
}
body.al-site .al-skip-link:focus { color: var(--al-ink) !important; }
body.al-site .al-scroll-top:hover { background: var(--al-blue-050); color: var(--al-blue-700); }

body.al-site .hero-section-2,
body.al-site .page-title-section2 {
  background: var(--al-surface-2) !important;
  background-image: none !important;
  color: var(--al-ink) !important;
  padding: 76px 0 !important;
}
body.al-site .hero-section-2::before,
body.al-site .hero-section-2::after,
body.al-site .page-title-section2::before,
body.al-site .page-title-section2::after,
body.al-site .hero-section-2 .hero-shape { display: none !important; }
body.al-site .hero-section-2 .hero-content,
body.al-site .hero-section-2 .hero-content.text-white,
body.al-site .hero-section-2 .hero-content .title,
body.al-site .hero-section-2 .hero-content.text-white .title,
body.al-site .hero-section-2 .breadcrumb li,
body.al-site .hero-section-2 .breadcrumb li a,
body.al-site .page-title-section2,
body.al-site .page-title-section2 * { color: var(--al-ink) !important; }

@media (max-width: 767px) {
  body.al-site .hero-section-2,
  body.al-site .page-title-section2 { padding: 52px 0 !important; }
}

body.al-site .al-btn--glass,
body.al-site .al-pill--glass {
  background: #fff;
  border-color: var(--al-line-strong);
  color: var(--al-ink) !important;
}
body.al-site .al-btn--glass:hover { background: var(--al-blue-050); border-color: #b8c9f8; color: var(--al-blue-700) !important; }

body.al-site .al-panel,
body.al-site .al-float-card,
body.al-site .al-plan--featured::before {
  background: #fff !important;
  border: 1px solid var(--al-line);
  box-shadow: var(--al-shadow-sm);
}
body.al-site .al-panel__head { border-bottom-color: var(--al-line); }
body.al-site .al-panel__head h4,
body.al-site .al-panel__value,
body.al-site .al-panel__row b,
body.al-site .al-float-card b,
body.al-site .al-plan--featured .al-plan__name,
body.al-site .al-plan--featured .al-plan__rate b,
body.al-site .al-plan--featured .al-plan__row b { color: var(--al-ink) !important; }
body.al-site .al-panel__live,
body.al-site .al-panel__legend,
body.al-site .al-panel__row span,
body.al-site .al-float-card small,
body.al-site .al-plan--featured .al-plan__rate span,
body.al-site .al-plan--featured .al-plan__term,
body.al-site .al-plan--featured .al-plan__row span { color: var(--al-muted) !important; }
body.al-site .al-panel__row { background: var(--al-surface-2); border-color: var(--al-line); }
body.al-site .al-plan--featured { background: #fff; border-color: var(--al-line); }
body.al-site .al-plan--featured .al-plan__rows { border-color: var(--al-line); }
body.al-site .al-plan--featured .al-btn--primary { background: var(--al-blue); color: #fff; }
body.al-site .al-plan--featured .al-btn--primary:hover { background: var(--al-blue-600); color: #fff; }

body.al-site .al-footer { border-top: 1px solid var(--al-line); }
body.al-site .al-footer a,
body.al-site .al-footer__bottom a { color: var(--al-blue-700) !important; }
body.al-site .al-footer a:hover,
body.al-site .al-footer__bottom a:hover { color: var(--al-blue) !important; }
body.al-site .al-footer__bottom { border-top-color: var(--al-line); }
body.al-site .al-socials a { border-color: var(--al-line-strong); color: var(--al-blue-700) !important; }

body.al-site .al-risk {
  background: #fff;
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius);
  color: var(--al-ink-soft);
}

body.al-site .container,
body.al-site .al-card,
body.al-site .al-plan,
body.al-site .al-accordion__item,
body.al-site .al-panel,
body.al-site .al-pagehero,
body.al-site .al-footer,
body.al-site .al-risk { min-width: 0; }
body.al-site p,
body.al-site li,
body.al-site td,
body.al-site th,
body.al-site label,
body.al-site .al-panel__row span,
body.al-site .al-panel__row b { overflow-wrap: anywhere; }
body.al-site .al-table-wrap,
body.al-site .table-responsive { max-width: 100%; overflow-x: auto; }
body.al-site .al-accordion__panel,
body.al-site .al-prose { overflow-wrap: anywhere; }

body.al-site .page-intro-investments,
body.al-site .deposits,
body.al-site .steps,
body.al-site .text-columns,
body.al-site .funds,
body.al-site .payments {
  background: var(--al-surface-2) !important;
  color: var(--al-ink);
  padding: clamp(44px, 7vw, 88px) 0;
}
body.al-site .page-intro-investments { padding-top: clamp(48px, 8vw, 100px); }
body.al-site .page-intro-investments .page-intro__title,
body.al-site .page-intro-investments h1,
body.al-site .deposits h3,
body.al-site .steps h3,
body.al-site .text-columns h1,
body.al-site .funds h3,
body.al-site .payments h3 { color: var(--al-ink) !important; }
body.al-site .page-intro-investments .container-large { max-width: var(--al-maxw); }
body.al-site .page-intro-investments .typography,
body.al-site .deposits .typography,
body.al-site .text-columns .typography { color: var(--al-ink-soft); }
body.al-site .investment-calculator-note {
  background: var(--al-gold-050);
  border: 1px solid rgba(242, 181, 68, .45);
  border-radius: 12px;
  color: #63470e;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
  padding: 14px 16px;
}
body.al-site .deposits__row {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
}
body.al-site .deposits__col-sidebar,
body.al-site .deposits__col-content,
body.al-site .deposits__calculate,
body.al-site .calculate-profit__block { min-width: 0; }
body.al-site .deposits__calculate,
body.al-site .limits-warning,
body.al-site .steps-item,
body.al-site .funds-item,
body.al-site .payments__content {
  background: #fff;
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius);
  color: var(--al-ink);
  padding: 24px;
}
body.al-site .page-intro-investments p,
body.al-site .deposits p,
body.al-site .steps p,
body.al-site .text-columns p,
body.al-site .funds p,
body.al-site .payments p { color: var(--al-muted); }
body.al-site .calculate-profit__block input,
body.al-site .calculate-profit__block select { max-width: 100%; }

@media (max-width: 767px) {
  body.al-site .deposits__row { grid-template-columns: minmax(0, 1fr); }
  body.al-site .deposits__calculate,
  body.al-site .limits-warning,
  body.al-site .steps-item,
  body.al-site .funds-item,
  body.al-site .payments__content { padding: 18px; }
}

/* --------------------------------------------------------------------------
   27. Accessibility helpers & horizontal scroller
   -------------------------------------------------------------------------- */
body.al-site .al-skip-link {
  background: var(--al-navy-800);
  border-radius: 0 0 10px 10px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  left: 50%;
  padding: 12px 22px;
  position: fixed;
  top: -60px;
  transform: translateX(-50%);
  transition: top .2s ease;
  z-index: 1000;
}
body.al-site .al-skip-link:focus { color: #fff !important; top: 0; }

.al-scroller { position: relative; }
.al-scroller__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}
.al-scroller__track::-webkit-scrollbar { height: 6px; }
.al-scroller__track::-webkit-scrollbar-thumb { background: var(--al-line-strong); border-radius: 99px; }
.al-scroller__track > * { flex: 0 0 auto; scroll-snap-align: start; }
.al-scroller__nav { display: flex; gap: 8px; }
.al-scroller__btn {
  align-items: center;
  background: var(--al-surface);
  border: 1px solid var(--al-line-strong);
  border-radius: 50%;
  color: var(--al-ink);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: all .2s ease;
  width: 40px;
}
.al-scroller__btn:hover { background: var(--al-blue); border-color: var(--al-blue); color: #fff; }
.al-scroller__btn svg { height: 17px; width: 17px; }
/* --------------------------------------------------------------------------
   28. Long-form prose (legal / policy pages)
   -------------------------------------------------------------------------- */
.al-prose {
  color: var(--al-ink-soft);
  font-size: 16px;
  line-height: 1.85;
  max-width: 860px;
}
.al-prose p { color: var(--al-ink-soft); margin: 0 0 1.15em; }
.al-prose strong { color: var(--al-ink); font-weight: 700; }
.al-prose h2 { font-size: 24px; margin: 2em 0 .6em; }
.al-prose h3 { font-size: 20px; margin: 1.8em 0 .5em; }
.al-prose ul { list-style: none; margin: 0 0 1.3em; padding: 0; }
.al-prose ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: .55em;
}
.al-prose ul li::before {
  color: var(--al-blue);
  content: "";
  background: currentColor;
  border-radius: 50%;
  height: 6px;
  left: 4px;
  position: absolute;
  top: 11px;
  width: 6px;
}
.al-prose ol { margin: 0 0 1.3em 20px; padding: 0; }
.al-prose ol li { margin-bottom: .55em; }
.al-prose a { text-decoration: underline; text-underline-offset: 3px; }
.al-prose hr { border: 0; border-top: 1px solid var(--al-line); margin: 2.2em 0; }
.al-prose blockquote {
  background: var(--al-surface-2);
  border-left: 3px solid var(--al-blue);
  border-radius: 0 12px 12px 0;
  margin: 1.6em 0;
  padding: 18px 24px;
}
.al-prose--center { margin-left: auto; margin-right: auto; }

/* Document outline / table of contents */
.al-toc {
  background: var(--al-surface-2);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-lg);
  padding: 26px 28px;
}
.al-toc h3 { font-size: 14px; letter-spacing: .1em; margin: 0 0 14px; text-transform: uppercase; }
.al-toc ol { counter-reset: toc; list-style: none; margin: 0; padding: 0; }
.al-toc li { counter-increment: toc; margin-bottom: 8px; }
.al-toc li::before {
  color: var(--al-blue);
  content: counter(toc, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
  margin-right: 10px;
  opacity: .75;
}
.al-toc a { font-size: 14.5px; }

/* --------------------------------------------------------------------------
   29. Responsive polish
   -------------------------------------------------------------------------- */
body.al-site .al-header__inner > .al-nav__actions { flex: 0 0 auto; }
body.al-site .al-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-left: auto;
}
body.al-site .al-nav > .al-nav__actions { display: none; }
body.al-site .al-header__inner > .al-nav__actions { display: flex; }

body.al-site .al-btn { min-height: 44px; }
body.al-site .al-card,
body.al-site .al-plan,
body.al-site .al-accordion__item { scroll-margin-top: calc(var(--al-header-h) + 20px); }
body.al-site .al-table-wrap { -webkit-overflow-scrolling: touch; }
body.al-site .al-footer__bottom-inner ul { flex-wrap: wrap; }
body.al-site #al-stories .al-stars,
body.al-site #al-stories .al-quote__author,
body.al-site #al-stories .al-quote__mark { display: none; }

@media (max-width: 991px) {
  body.al-site .al-nav {
    align-items: stretch;
    display: block;
    gap: 0;
    margin-left: 0;
    opacity: 0;
    pointer-events: none;
    top: var(--al-header-h);
  }
  body.al-site .al-nav.is-open { opacity: 1; pointer-events: auto; }
  body.al-site .al-header__inner > .al-nav__actions { display: none; }
  body.al-site .al-nav > .al-nav__actions { display: flex; }
}

@media (max-width: 767px) {
  body.al-site .al-section-head { max-width: 100%; }
  body.al-site .al-pagehero { padding-bottom: 54px; padding-top: 54px; }
  body.al-site .al-footer__bottom-inner ul { justify-content: center; }
  body.al-site #al-main .al-grid[style*="max-width:1040px"],
  body.al-site #al-main .al-grid[style*="max-width:1060px"] { gap: 30px !important; }
  body.al-site #al-main .al-card[style*="padding:38px"] { padding: 24px !important; }
}

@media (max-width: 479px) {
  body.al-site .container { padding-left: 18px; padding-right: 18px; }
  body.al-site .al-header__inner { gap: 12px; }
  body.al-site .al-logo img { max-height: 40px; }
  body.al-site .al-panel__head { align-items: flex-start; gap: 12px; }
  body.al-site .al-panel__live { font-size: 9px; letter-spacing: .06em; }
  body.al-site .al-footer__bottom-inner { gap: 10px; }
  body.al-site .al-risk { font-size: 12px; padding: 15px; }
}