/* ══════════════════════════════════════════════════════════════════════════
   hwadslanding.css — self-contained design system for AI MediLabs DOCTOR ad
   landing pages. Fork of adslanding.css, re-themed for clinicians.
   Direction: "Clinical calm, clinician-native"
     · cool near-white / deep navy-ink grounds
     · ONE confident accent (TEAL = clinical, distinct from the patient blue)
     · ONE sparing warm coral cue (the human touch)
     · brand faces: Cormorant Garamond (display) · Jost (sans) · JetBrains Mono
   Classes stay namespaced under .al-* (so the shared signup widget + tracking
   JS keep working); the doctor-specific signature graphic uses .hw-loop*.
   No dependency on the patient stylesheet. Dark + light both first-class.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
.al-page {
  /* light theme (default) */
  --paper:      #f2f7f6;
  --surface:    #ffffff;
  --surface-2:  #e9f1ef;
  --ink:        #0d1a2b;
  --ink-2:      #3a4a63;
  --ink-3:      #697b96;
  --line:       rgba(13, 26, 43, 0.10);
  --line-2:     rgba(13, 26, 43, 0.06);
  --accent:     #0d9488;
  --accent-deep:#0f766e;
  --accent-ink: #134e4a;
  --accent-soft:rgba(13, 148, 136, 0.10);
  --accent-line:rgba(13, 148, 136, 0.28);
  --warm:       #dd7a5c;
  --warm-soft:  rgba(221, 122, 92, 0.12);

  --shadow-1: 0 1px 2px rgba(12,28,27,.05), 0 1px 1px rgba(12,28,27,.04);
  --shadow-2: 0 4px 14px rgba(12,28,27,.07), 0 2px 5px rgba(12,28,27,.05);
  --shadow-3: 0 18px 44px rgba(12,28,27,.12), 0 6px 16px rgba(12,28,27,.07);
  --shadow-accent: 0 12px 30px rgba(13,148,136,.24);

  /* type */
  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --step--1: clamp(.72rem, .70rem + .1vw, .78rem);
  --step-0:  clamp(.9rem, .87rem + .13vw, .97rem);
  --step-1:  clamp(1.06rem, .99rem + .32vw, 1.22rem);
  --step-2:  clamp(1.3rem, 1.17rem + .63vw, 1.66rem);
  --step-3:  clamp(1.7rem, 1.44rem + 1.26vw, 2.34rem);
  --step-4:  clamp(2.16rem, 1.71rem + 2.16vw, 3.33rem);
  --step-5:  clamp(2.6rem, 1.98rem + 3.06vw, 4.23rem);

  /* space */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem;  --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1140px;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  zoom: 0.88;
}

/* Light is the default theme regardless of OS preference — dark only applies
   when the visitor explicitly toggles it (data-al-theme="dark", persisted). */
.al-page[data-al-theme="dark"] {
  --paper:#060f0e; --surface:#0b1613; --surface-2:#0f1c19;
  --ink:#e9f2ef; --ink-2:#aec3bd; --ink-3:#6f8983;
  --line:rgba(233,242,239,.12); --line-2:rgba(233,242,239,.07);
  --accent:#2dd4bf; --accent-deep:#14b8a6; --accent-ink:#ccfbf1;
  --accent-soft:rgba(45,212,191,.13); --accent-line:rgba(45,212,191,.30);
  --warm:#ef9077; --warm-soft:rgba(239,144,119,.15);
  --shadow-1:0 1px 2px rgba(0,0,0,.4); --shadow-2:0 6px 18px rgba(0,0,0,.45);
  --shadow-3:0 22px 50px rgba(0,0,0,.55); --shadow-accent:0 12px 34px rgba(45,212,191,.22);
}

/* ── Compat: alias the embedded signup widget's expected tokens to ours, so
   includes/beta_signup_widget.php inherits this page's theme (light AND dark)
   instead of falling back to its hardcoded light defaults. ──────────────── */
.al-page {
  --bg-card: var(--surface);
  --bg-elevated: var(--surface-2);
  --bg-input: var(--surface);
  --glass-border: var(--line);
  --text-1: var(--ink);
  --text-3: var(--ink-2);
  --text-4: var(--ink-3);
  --f-body: var(--f-sans);
}

/* ── Reset (scoped) ─────────────────────────────────────────────────────── */
html, body { margin: 0; padding: 0; }
body { background: var(--paper, #f2f7f6); }
.al-page *, .al-page *::before, .al-page *::after { box-sizing: border-box; }
.al-page h1, .al-page h2, .al-page h3, .al-page h4, .al-page p, .al-page ul, .al-page ol, .al-page figure { margin: 0; }
.al-page ul, .al-page ol { padding: 0; list-style: none; }
.al-page img, .al-page svg { max-width: 100%; display: block; }
.al-page a { color: inherit; text-decoration: none; }
.al-page button { font: inherit; color: inherit; cursor: pointer; }
.al-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ── Layout primitives ──────────────────────────────────────────────────── */
.al-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.al-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.al-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

.al-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep);
}
.al-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .8; }
.al-page[data-al-theme="dark"] .al-eyebrow { color: var(--accent); }

.al-h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
.al-lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
.al-kicker { color: var(--accent-deep); font-style: italic; }
.al-page[data-al-theme="dark"] .al-kicker { color: var(--accent); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.al-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: var(--step-0); letter-spacing: .005em;
  padding: .95rem 1.7rem; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  will-change: transform;
}
.al-btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.al-page[data-al-theme="dark"] .al-btn--primary { color: #04211d; }
.al-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(13,148,136,.34); }
.al-btn--primary .al-btn-arrow { transition: transform .25s var(--ease); }
.al-btn--primary:hover .al-btn-arrow { transform: translateX(4px); }
.al-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.al-btn--ghost:hover { border-color: var(--accent-line); color: var(--accent-deep); }
.al-btn--lg { padding: 1.05rem 2rem; font-size: var(--step-1); }

/* ── Reveal / motion primitives ─────────────────────────────────────────── */
.al-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.al-reveal.is-in { opacity: 1; transform: none; }
.al-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.al-stagger.is-in > * { opacity: 1; transform: none; }
.al-stagger.is-in > *:nth-child(2){ transition-delay:.08s; }
.al-stagger.is-in > *:nth-child(3){ transition-delay:.16s; }
.al-stagger.is-in > *:nth-child(4){ transition-delay:.24s; }
.al-stagger.is-in > *:nth-child(5){ transition-delay:.32s; }
.al-stagger.is-in > *:nth-child(6){ transition-delay:.40s; }

@media (prefers-reduced-motion: reduce) {
  .al-page * { animation: none !important; transition-duration: .01ms !important; }
  .al-reveal, .al-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Shell — top bar + footer
   ══════════════════════════════════════════════════════════════════════════ */
.al-topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--line-2);
}
.al-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.al-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; color: var(--ink); }
.al-brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--accent), var(--accent-deep)); display: grid; place-items: center; color: #fff; font-size: .82rem; font-weight: 700; box-shadow: var(--shadow-accent); }
.al-brand-sub { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.al-topbar-right { display: flex; align-items: center; gap: .5rem; }
.al-topbar-cta { display: none; }
@media (min-width: 720px) { .al-topbar-cta { display: inline-flex; } }

/* Sticky mobile signup bar — only below 720px, where the topbar CTA is hidden. */
.al-mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(0); transition: transform .28s var(--ease, ease);
}
.al-mobile-cta .al-btn { width: 100%; justify-content: center; }
.al-mobile-cta.is-hidden { transform: translateY(130%); }
@media (min-width: 720px) { .al-mobile-cta { display: none; } }
@media (max-width: 719px) { .al-footer-bottom { padding-bottom: 78px; } }
.al-icon-btn { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1rem; }
.al-icon-btn:hover { border-color: var(--accent-line); }

.al-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: var(--sp-8); }
.al-footer-inner { display: grid; gap: 1.6rem; padding-block: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .al-footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.al-footer p { color: var(--ink-3); font-size: var(--step--1); line-height: 1.7; }
.al-footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .8rem; }
.al-footer-legal a { color: var(--ink-2); font-size: var(--step--1); }
.al-footer-legal a:hover { color: var(--accent-deep); }
.al-footer-co { font-weight: 600; color: var(--ink-2) !important; }
.al-footer-disc { border-top: 1px dashed var(--line); margin-top: 1.6rem; padding-top: 1rem; font-size: .78rem; color: var(--ink-3); }
.al-footer-bottom { border-top: 1px solid var(--line-2); padding-block: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }
.al-footer-bottom p { font-size: .78rem; }

/* ══════════════════════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════════════════════ */
.al-hero { position: relative; overflow: hidden; }
.al-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(46% 40% at 78% 8%, var(--accent-soft), transparent 70%),
    radial-gradient(40% 38% at 8% 30%, var(--warm-soft), transparent 72%);
  pointer-events: none; z-index: 0;
}
.al-hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; padding-block: clamp(2.4rem, 6vw, 4.4rem); }
@media (min-width: 940px) { .al-hero-grid { grid-template-columns: 1.06fr .94fr; } }
.al-hero-label { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem; padding: .35rem .8rem .35rem .55rem; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: var(--step--1); font-weight: 600; color: var(--ink-2); }
.al-hero-label .al-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: alPulse 2.4s var(--ease) infinite; }
@keyframes alPulse { 0%,100%{ transform: scale(1); opacity: 1 } 50%{ transform: scale(1.5); opacity: .55 } }
.al-hero h1 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-4); line-height: 1.02; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; margin-bottom: 1.2rem; }
.al-hero h1 .al-underline { position: relative; white-space: nowrap; color: var(--accent-deep); }
.al-page[data-al-theme="dark"] .al-hero h1 .al-underline { color: var(--accent); }
.al-hero .al-hero-promise { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; max-width: 40ch; margin-bottom: 2.3rem; text-wrap: pretty; }
.al-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.al-hero .al-hero-note { margin-top: 1.7rem; font-size: var(--step--1); color: var(--ink-2); display: flex; align-items: center; gap: .5rem; }
.al-hero-note strong { color: var(--ink-2); font-weight: 600; }
.al-hero-note .al-check { color: var(--accent); flex-shrink: 0; }

/* Above-the-fold email capture (opt-in via hero_capture) */
.al-hero-capture { display: flex; flex-wrap: wrap; gap: .7rem; align-items: stretch; max-width: 34rem; }
.al-hero-capture-input {
  flex: 1 1 15rem; min-width: 0; padding: 1.05rem 1.1rem;
  font-size: var(--step-0); font-family: inherit; color: var(--ink);
  background: var(--bg-input); border: 1px solid var(--line);
  border-radius: var(--r-md); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.al-hero-capture-input::placeholder { color: var(--ink-3); }
.al-hero-capture-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.al-hero-capture .al-btn { flex: 0 0 auto; white-space: nowrap; }
.al-hero-subactions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1rem; }
.al-sublink {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  font-size: var(--step--1); font-weight: 600; color: var(--ink-2);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  text-decoration-color: var(--line-2);
}
.al-sublink:hover { color: var(--accent-deep); text-decoration-color: var(--accent-line); }
.al-sub-sep { color: var(--ink-3); }
@media (max-width: 540px) {
  .al-hero-capture .al-btn { flex: 1 1 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Signature graphic: "your practice, upgraded" (.hw-loop) — DOCTOR-native.
   Central clinician node feeding three benefit arms. Replaces the patient
   care-loop entirely. Reveal is driven by JS adding .is-in to .hw-loop-card.
   ══════════════════════════════════════════════════════════════════════════ */
.hw-loop { position: relative; }
.hw-loop::before {
  content: ""; position: absolute; inset: 12% -6% -8% 6%; border-radius: var(--r-xl);
  background: radial-gradient(60% 60% at 60% 30%, var(--accent-soft), transparent 70%); z-index: 0; pointer-events: none;
}
.hw-loop-card { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-3); padding: clamp(1.3rem, 3vw, 1.7rem); }
.hw-loop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.hw-loop-title { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.hw-loop-live { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.al-page[data-al-theme="dark"] .hw-loop-live { color: var(--accent); }
.hw-loop-live .al-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: alPulse 2s infinite; }

/* central "you" node */
.hw-loop-center {
  display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: center;
  padding: .95rem 1.05rem; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--accent-soft), transparent 85%);
  border: 1px solid var(--accent-line);
  opacity: 0; transform: translateY(10px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.hw-loop-card.is-in .hw-loop-center { opacity: 1; transform: none; }
.hw-loop-center-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--surface); border: 1.5px solid var(--accent-line); display: grid; place-items: center; color: var(--accent-deep); box-shadow: var(--shadow-1); }
.al-page[data-al-theme="dark"] .hw-loop-center-ico { color: var(--accent); }
.hw-loop-center-title { font-weight: 700; color: var(--ink); font-size: var(--step-1); line-height: 1.15; font-family: var(--f-display); }
.hw-loop-center-sub { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .03em; color: var(--ink-3); }

/* three benefit arms, joined to the centre by a short rail */
.hw-loop-arms { position: relative; display: grid; gap: .7rem; margin: .9rem 0 0; padding-left: 26px; }
.hw-loop-arms::before {
  content: ""; position: absolute; left: 22px; top: -8px; bottom: 26px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-deep));
  transform-origin: top; transform: scaleY(0); transition: transform 1s var(--ease) .2s;
}
.hw-loop-card.is-in .hw-loop-arms::before { transform: scaleY(1); }
.hw-arm {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center;
  padding: .7rem .85rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1);
  opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hw-arm::before { /* little connector notch to the rail */
  content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 2px; background: var(--accent-line);
}
.hw-loop-card.is-in .hw-arm { opacity: 1; transform: none; }
.hw-loop-card.is-in .hw-arm:nth-child(1){ transition-delay:.28s }
.hw-loop-card.is-in .hw-arm:nth-child(2){ transition-delay:.42s }
.hw-loop-card.is-in .hw-arm:nth-child(3){ transition-delay:.56s }
.hw-arm-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); border: 1px solid var(--accent-line); display: grid; place-items: center; color: var(--accent-deep); }
.al-page[data-al-theme="dark"] .hw-arm-ico { color: var(--accent); }
.hw-arm:nth-child(3) .hw-arm-ico { background: var(--warm-soft); border-color: var(--warm); color: var(--warm); }
.hw-arm-title { font-weight: 600; color: var(--ink); font-size: var(--step-0); line-height: 1.2; }
.hw-arm-sub { font-size: .74rem; color: var(--ink-2); line-height: 1.4; }
.hw-loop-foot { display: flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding-top: .95rem; border-top: 1px solid var(--line-2); font-size: var(--step--1); color: var(--ink-2); }
.hw-loop-foot .al-check { color: var(--accent); flex-shrink: 0; }
.hw-loop-foot b { color: var(--accent-deep); font-weight: 600; }
.al-page[data-al-theme="dark"] .hw-loop-foot b { color: var(--accent); }

/* ── Credibility strip ──────────────────────────────────────────────────── */
.al-cred { border-block: 1px solid var(--line); background: var(--surface); }
.al-cred-row { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .al-cred-row { grid-template-columns: repeat(4, 1fr); } }
.al-cred-item { padding: 1.4rem 1rem; text-align: center; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.al-cred-item:last-child { border-right: none; }
.al-cred-ico { color: var(--accent); margin-bottom: .35rem; display: inline-flex; }
.al-cred-val { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); color: var(--ink); font-variant-numeric: tabular-nums; }
.al-cred-lab { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* ── Agitate ────────────────────────────────────────────────────────────── */
.al-agitate-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 2.2rem; }
@media (min-width: 720px) { .al-agitate-grid { grid-template-columns: repeat(3, 1fr); } }
.al-cost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.al-cost:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--accent-line); }
.al-cost-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--warm-soft); color: var(--warm); display: grid; place-items: center; margin-bottom: .9rem; }
.al-cost h3 { font-family: var(--f-sans); font-weight: 600; font-size: var(--step-1); color: var(--ink); margin-bottom: .35rem; }
.al-cost p { color: var(--ink-2); font-size: var(--step-0); line-height: 1.55; }

/* ── Bento: "what the tool does for you" ────────────────────────────────── */
.al-bento { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 2.4rem; }
@media (min-width: 760px) { .al-bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(150px, auto); } }
.al-tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: .5rem; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.al-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--accent-line); }
@media (min-width: 760px) { .al-tile--lg { grid-column: span 2; grid-row: span 2; } }
.al-tile--accent { background: linear-gradient(158deg, var(--accent-soft), var(--surface) 62%); border-color: var(--accent-line); }
.al-tile--accent.al-tile--lg { justify-content: space-between; }
.al-tile-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.al-page[data-al-theme="dark"] .al-tile-ico { color: var(--accent); }
.al-tile--warm .al-tile-ico { background: var(--warm-soft); color: var(--warm); }
.al-tile h3 { font-family: var(--f-sans); font-weight: 600; font-size: var(--step-0); color: var(--ink); }
.al-tile--lg h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); line-height: 1.12; }
.al-tile p { color: var(--ink-2); font-size: var(--step--1); line-height: 1.55; }
.al-tile--lg p { font-size: var(--step-0); }
.al-tile-figure { margin-top: auto; padding-top: 1.25rem; }
.al-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .85rem .95rem 1rem; box-shadow: var(--shadow-1); }
.al-page[data-al-theme="dark"] .al-mini { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.al-mini-head { display: flex; align-items: center; justify-content: space-between; }
.al-mini-head > span:first-child { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.al-mini-pill { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); border-radius: 999px; padding: .18rem .5rem; }
.al-page[data-al-theme="dark"] .al-mini-pill { color: var(--accent); }
.al-mini-pill .al-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.al-mini-plot { border-bottom: 1.5px solid var(--line); padding-bottom: 4px; }
.al-mini-legend { display: flex; justify-content: space-between; margin-top: .55rem; }
.al-mini-legend span { font-size: .62rem; color: var(--ink-3); }
.al-bars { display: flex; align-items: flex-end; gap: 8px; height: 72px; margin-top: .85rem; }
.al-bars span { flex: 1; height: 100%; background: linear-gradient(to top, var(--accent), var(--accent-deep)); border-radius: 5px 5px 0 0; opacity: .55; transform-origin: bottom; transform: scaleY(.5); transition: transform .7s var(--ease), opacity .7s var(--ease); }
.al-tile.is-in .al-bars span { opacity: .9; }
.al-tile.is-in .al-bars span:nth-child(1){ transform: scaleY(.4);  transition-delay:.05s }
.al-tile.is-in .al-bars span:nth-child(2){ transform: scaleY(.66); transition-delay:.11s }
.al-tile.is-in .al-bars span:nth-child(3){ transform: scaleY(.5);  transition-delay:.17s }
.al-tile.is-in .al-bars span:nth-child(4){ transform: scaleY(.85); transition-delay:.23s }
.al-tile.is-in .al-bars span:nth-child(5){ transform: scaleY(.62); transition-delay:.29s }
.al-tile.is-in .al-bars span:nth-child(6){ transform: scaleY(1);   transition-delay:.35s }
.al-tile.is-in .al-bars span:nth-child(7){ transform: scaleY(.78); transition-delay:.41s }

/* ── Solution steps (how you start) ─────────────────────────────────────── */
.al-steps { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2.2rem; counter-reset: alstep; }
@media (min-width: 820px) { .al-steps { grid-template-columns: repeat(2, 1fr); } }
.al-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-1); }
.al-step-num { counter-increment: alstep; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--accent); width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.al-step-num::before { content: counter(alstep, decimal-leading-zero); }
.al-step h3 { font-family: var(--f-sans); font-weight: 600; font-size: var(--step-1); color: var(--ink); margin-bottom: .3rem; }
.al-step p { color: var(--ink-2); font-size: var(--step-0); line-height: 1.55; }

/* ── Form band + trust ──────────────────────────────────────────────────── */
.al-formband { background: linear-gradient(180deg, var(--surface-2), var(--paper)); border-block: 1px solid var(--line); }
.al-formband-grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .al-formband-grid { grid-template-columns: .92fr 1.08fr; } }
.al-formband-copy h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1.1; color: var(--ink); margin-bottom: .8rem; text-wrap: balance; }
.al-formband-copy p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.55; margin-bottom: 1.4rem; }
.al-trustlist { display: grid; gap: .9rem; margin-top: 1.4rem; }
.al-trustlist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); font-size: var(--step-0); }
.al-trustlist .al-tico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.al-page[data-al-theme="dark"] .al-trustlist .al-tico { color: var(--accent); }
.al-trustlist b { color: var(--ink); font-weight: 600; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.al-faq { display: grid; gap: .8rem; margin-top: 2.2rem; max-width: 760px; }
.al-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.3rem; box-shadow: var(--shadow-1); transition: border-color .2s var(--ease); }
.al-faq details[open] { border-color: var(--accent-line); }
.al-faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; color: var(--ink); font-size: var(--step-0); }
.al-faq summary::-webkit-details-marker { display: none; }
.al-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .25s var(--ease); flex-shrink: 0; }
.al-faq details[open] summary::after { transform: rotate(45deg); }
.al-faq-a { padding: 0 0 1.2rem; color: var(--ink-2); font-size: var(--step-0); line-height: 1.6; }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.al-finalcta { position: relative; overflow: hidden; text-align: center; background: linear-gradient(150deg, var(--accent-deep), var(--accent)); color: #fff; border-radius: var(--r-xl); padding: clamp(2.4rem, 6vw, 4rem) 1.5rem; box-shadow: var(--shadow-3); }
.al-finalcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 10%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.al-finalcta h2 { position: relative; font-family: var(--f-display); font-weight: 600; font-size: var(--step-4); line-height: 1.05; text-wrap: balance; margin-bottom: .7rem; }
.al-finalcta p { position: relative; font-size: var(--step-1); opacity: .92; max-width: 46ch; margin: 0 auto 1.7rem; }
.al-finalcta .al-btn--primary { background: #fff; color: var(--accent-deep); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.al-finalcta .al-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.28); }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.al-center { text-align: center; }
.al-mx-auto { margin-inline: auto; }
.al-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
