:root {
      /* Light foundation (brand backgrounds + text) */
      --bg: #FFFFFF;
      --bg-elev: #F5F6F8;
      --bg-elev-2: #EEF0F4;
      --bg-dark: #252B40;
      --border: #E6E8EC;
      --border-dark: rgba(255, 255, 255, 0.14);
      --text: #252B40;
      --text-muted: #5A5F6D;
      --text-dim: #7D8291;

      /* Alani Insights product accent (Gold) */
      --gold: #C99A2D;
      --gold-bright: #D4A94A;
      --gold-deep: #8B6914;
      /* Alani unifying AI accent (Purple) */
      --purple: #5558E3;
      --purple-bright: #7E81EA;
      /* bundleIQ master gradient (teal -> purple), marketing accent */
      --grad: linear-gradient(135deg, #1BA8AD 0%, #5558E3 100%);

      /* Aliases: --accent = product gold, used by eyebrows/highlights */
      --accent: var(--gold);
      --accent-hover: var(--gold);

      --max: 1120px;
    }

    *, *::before, *::after { box-sizing: border-box; }

    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a { color: inherit; text-decoration: none; }

    .container {
      width: 100%;
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      padding: 13px 24px;
      border-radius: 8px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
      white-space: nowrap;
    }
    .btn:active { transform: translateY(1px); }
    .btn-primary {
      background: var(--bg-dark);
      color: #fff;
    }
    .btn-primary:hover { background: #353C58; }
    .btn-ghost {
      background: transparent;
      color: var(--text);
      border-color: var(--border);
    }
    .btn-ghost:hover { border-color: var(--text-dim); background: var(--bg-elev); }

    /* ---------- Header ---------- */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: saturate(180%) blur(12px);
      -webkit-backdrop-filter: saturate(180%) blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 9px;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: 1.05rem;
    }
    .brand .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 14px 1px var(--accent);
    }
    .brand-logo { height: 30px; width: auto; display: block; }
    .site-footer .brand-logo { height: 26px; }
    .nav-actions { display: flex; align-items: center; gap: 26px; }
    .nav-actions .btn { padding: 9px 18px; font-size: 0.9rem; }
    .nav-signin { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
    .nav-signin:hover { color: var(--text); }
    .nav-toggle, .nav-burger { display: none; }

    /* ---------- Section scaffolding ---------- */
    section { padding: 100px 0; }
    section[id] { scroll-margin-top: 80px; }
    .eyebrow {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--purple);
      margin-bottom: 18px;
    }
    h2 {
      font-family: "Fraunces", Georgia, "Times New Roman", serif;
      font-size: clamp(1.7rem, 4vw, 2.6rem);
      line-height: 1.14;
      letter-spacing: -0.015em;
      font-weight: 500;
      margin: 0 0 18px;
    }
    .lead {
      font-size: 1.12rem;
      color: var(--text-muted);
      max-width: 620px;
      margin: 0;
    }
    .section-head { max-width: 720px; }

    /* ---------- Hero (full-bleed image + left scrim) ---------- */
    .hero {
      position: relative;
      display: flex;
      align-items: center;
      min-height: clamp(560px, 76vh, 780px);
      overflow: hidden;
      background-image:
        /* navy scrim under the copy (left) -> transparent (right) */
        linear-gradient(90deg,
          rgba(22, 26, 42, 0.95) 0%,
          rgba(26, 31, 50, 0.9) 40%,
          rgba(37, 43, 64, 0.6) 56%,
          rgba(37, 43, 64, 0.18) 72%,
          rgba(37, 43, 64, 0) 86%),
        /* overall navy darken with a subtle Alani-purple glow on the photo side */
        linear-gradient(120deg,
          rgba(37, 43, 64, 0.55) 0%,
          rgba(37, 43, 64, 0.32) 52%,
          rgba(85, 88, 227, 0.26) 100%),
        url('/assets/hero-bg.jpg');
      background-size: cover, cover, cover;
      background-position: center, center, center right;
      background-repeat: no-repeat, no-repeat, no-repeat;
    }
    .hero .container { position: relative; z-index: 1; }
    .hero-copy { max-width: 480px; }
    /* Light copy on the dark hero */
    .hero h1 { color: #fff; }
    .hero p.lead { color: rgba(255, 255, 255, 0.84); }
    .hero p.lead strong { color: #fff; }
    .hero .hero-sub { color: rgba(255, 255, 255, 0.6); }
    .hero .btn-primary { background: var(--grad); color: #fff; border: none; }
    .hero .btn-primary:hover { filter: brightness(1.08); }
    .hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
    .hero .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--text-muted);
      background: var(--bg-elev);
      border: 1px solid var(--border);
      padding: 6px 14px;
      border-radius: 999px;
      margin-bottom: 26px;
    }
    .hero-badge .pulse {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--purple-bright);
      box-shadow: 0 0 8px 1px var(--purple);
    }
    .hero h1 {
      font-family: "Fraunces", Georgia, "Times New Roman", serif;
      font-size: clamp(2.3rem, 5vw, 3.6rem);
      line-height: 1.07;
      letter-spacing: -0.02em;
      font-weight: 500;
      margin: 0 0 22px;
    }
    .hero h1 .accent {
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero p.lead {
      margin: 0 0 32px;
      font-size: 1.18rem;
      max-width: 520px;
    }
    .hero-cta {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }
    .hero-sub {
      margin-top: 22px;
      font-size: 0.85rem;
      color: var(--text-dim);
    }
    /* ---------- Demo (full-bleed voice visual) ---------- */
    .demo {
      position: relative;
      display: flex;
      align-items: center;
      min-height: clamp(500px, 64vh, 660px);
      overflow: hidden;
      background-image:
        linear-gradient(90deg, rgba(22,26,42,0.95) 0%, rgba(28,33,52,0.82) 34%, rgba(37,43,64,0.42) 60%, rgba(37,43,64,0.1) 100%),
        linear-gradient(120deg, rgba(37,43,64,0.4) 0%, rgba(85,88,227,0.22) 100%),
        url('/assets/voice-demo.jpg');
      background-size: cover, cover, cover;
      background-position: center, center, center right;
      background-repeat: no-repeat, no-repeat, no-repeat;
    }
    .demo .container { position: relative; z-index: 1; }
    .demo-head { text-align: left; max-width: 540px; margin: 0; }
    .demo-head h2 { color: #fff; }
    .demo-head .eyebrow { color: var(--purple-bright); }
    .demo-head .lead { color: rgba(255, 255, 255, 0.82); margin-left: 0; margin-right: 0; }
    .voice-cmd {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      max-width: 540px;
      margin: 26px 0 0;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.28);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      border-radius: 16px;
      padding: 13px 20px 13px 13px;
    }
    .voice-mic {
      flex-shrink: 0;
      width: 40px; height: 40px;
      border-radius: 50%;
      background: var(--grad);
      display: flex; align-items: center; justify-content: center;
    }
    .voice-mic svg { width: 20px; height: 20px; stroke: #fff; }
    .voice-text { font-size: 1rem; line-height: 1.4; color: #fff; font-style: italic; }

    /* ---------- Problem ---------- */
    .problem {
      position: relative;
      background: var(--bg-elev);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }
    .problem::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right, rgba(245,246,248,0.97) 0%, rgba(245,246,248,0.9) 40%, rgba(245,246,248,0.5) 62%, rgba(245,246,248,0.5) 100%),
        url('/assets/before-desk.jpg') no-repeat center 56% / cover;
      pointer-events: none;
    }
    .problem .container { position: relative; z-index: 1; }
    .problem-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px;
    }
    .pain {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 26px;
      box-shadow: 0 1px 2px rgba(37, 43, 64, 0.04);
    }
    .pain .num {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--purple);
      letter-spacing: 0.05em;
    }
    .pain h3 { font-size: 1.1rem; margin: 12px 0 8px; letter-spacing: -0.01em; }
    .pain p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

    /* ---------- Solution ---------- */
    .solution { background: #F9F9FD; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .solution-head { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
    .mcp-diagram { width: 100%; max-width: 860px; margin: 40px auto 0; }
    .mcp-diagram img { width: 100%; height: auto; display: block; }
    .solution-wrap {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 56px;
      align-items: center;
    }
    .solution-visual {
      background: linear-gradient(160deg, #ECEDFB, var(--bg-elev));
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 26px;
      min-height: 320px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      justify-content: center;
      box-shadow: 0 18px 40px -22px rgba(37, 43, 64, 0.25);
    }
    .row-card {
      display: flex;
      align-items: center;
      gap: 14px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px 16px;
    }
    .row-card .avatar {
      width: 38px; height: 38px; border-radius: 50%;
      flex-shrink: 0;
      background: linear-gradient(135deg, var(--accent), #a855f7);
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.9rem; color: #fff;
    }
    .row-card .meta { flex: 1; min-width: 0; }
    .row-card .meta .name { font-weight: 600; font-size: 0.95rem; }
    .row-card .meta .detail { font-size: 0.82rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .row-card .tag {
      font-size: 0.72rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 999px;
      white-space: nowrap;
    }
    .tag-hot { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }
    .tag-warm { background: rgba(245, 158, 11, 0.14); color: #fcd34d; }
    .tag-new { background: rgba(99, 102, 241, 0.16); color: var(--accent-hover); }

    .solution-list {
      list-style: none;
      padding: 0;
      margin: 40px auto 0;
      max-width: 920px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px 28px;
    }
    .solution-list li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      color: var(--text-muted);
    }
    .solution-list .check {
      flex-shrink: 0;
      width: 22px; height: 22px;
      border-radius: 50%;
      background: var(--grad);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.8rem;
      margin-top: 2px;
    }
    .solution-list li strong { color: var(--text); font-weight: 600; }

    /* ---------- Features ---------- */
    .features {
      position: relative;
      background: var(--bg-elev);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }
    .features::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right, rgba(245,246,248,0.97) 0%, rgba(245,246,248,0.9) 40%, rgba(245,246,248,0.5) 62%, rgba(245,246,248,0.5) 100%),
        url('/assets/ccc-handshake-flip.jpg') no-repeat center / cover;
      pointer-events: none;
    }
    .features .container { position: relative; z-index: 1; }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 52px;
    }
    .feature {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 30px;
      box-shadow: 0 1px 2px rgba(37, 43, 64, 0.04);
      transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    }
    .feature:hover { border-color: #d3d6dd; transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(37, 43, 64, 0.28); }
    .feature .icon {
      width: 46px; height: 46px;
      border-radius: 11px;
      background: var(--grad);
      box-shadow: 0 8px 18px -8px rgba(85, 88, 227, 0.5);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .feature .icon svg { width: 22px; height: 22px; stroke: #fff; }
    .feature h3 { font-size: 1.18rem; margin: 0 0 10px; letter-spacing: -0.01em; }
    .feature p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

    /* ---------- Social proof ---------- */
    .proof { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
    .proof .label {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-dim);
      font-weight: 600;
    }
    .logo-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 40px;
      margin: 32px 0 64px;
      opacity: 0.55;
    }
    .logo-ph {
      font-weight: 700;
      font-size: 1.15rem;
      letter-spacing: -0.02em;
      color: var(--text-muted);
    }
    .quote {
      max-width: 760px;
      margin: 0 auto;
      font-size: clamp(1.3rem, 3vw, 1.9rem);
      line-height: 1.35;
      letter-spacing: -0.02em;
      font-weight: 500;
    }
    .quote .accent {
      background: var(--grad);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .quote-author {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-top: 32px;
      text-align: left;
    }
    .quote-avatar {
      width: 46px; height: 46px;
      border-radius: 50%;
      flex-shrink: 0;
      object-fit: cover;
      border: 2px solid #fff;
      box-shadow: 0 8px 18px -8px rgba(85, 88, 227, 0.5);
    }
    .quote-meta .quote-name { font-weight: 700; letter-spacing: -0.01em; }
    .quote-meta .quote-role { font-size: 0.9rem; color: var(--text-dim); }
    .quote-avatar--initials {
      display: flex; align-items: center; justify-content: center;
      background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
    }
    /* Testimonial carousel */
    .quotes { position: relative; }
    .quotes-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .quotes-track::-webkit-scrollbar { display: none; }
    .quote-slide { flex: 0 0 100%; min-width: 100%; scroll-snap-align: center; padding: 4px 4px 0; box-sizing: border-box; }
    .quotes-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
    .quotes-arrow {
      width: 38px; height: 38px; border-radius: 50%;
      border: 1px solid var(--border); background: var(--bg); color: var(--text-muted);
      display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
      transition: color .15s ease, border-color .15s ease;
    }
    .quotes-arrow svg { width: 18px; height: 18px; }
    .quotes-arrow:hover { color: var(--text); border-color: var(--text-dim); }
    .quotes-dots { display: flex; align-items: center; gap: 9px; }
    .quotes-dot {
      width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
      background: var(--border); cursor: pointer; transition: background .2s ease, transform .2s ease;
    }
    .quotes-dot.is-active { background: var(--purple); transform: scale(1.25); }

    /* ---------- CRM bridge (dark) ---------- */
    .bridge {
      position: relative;
      background: var(--bg-dark);
      border-top: 1px solid var(--border-dark);
      border-bottom: 1px solid var(--border-dark);
      overflow: hidden;
    }
    .bridge::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 0%, rgba(85, 88, 227, 0.22), transparent 60%);
      pointer-events: none;
    }
    .bridge .container { position: relative; z-index: 1; }
    .bridge-head { text-align: center; max-width: 680px; margin: 0 auto; }
    .bridge-head h2 { color: #fff; }
    .bridge-head .eyebrow { color: var(--purple-bright); }
    .bridge-head .lead { color: rgba(255, 255, 255, 0.78); margin-left: auto; margin-right: auto; }
    .bridge-flow {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px 20px;
      margin: 40px auto 0;
    }
    .flow-node {
      background: var(--grad);
      color: #fff;
      font-weight: 700;
      border-radius: 999px;
      padding: 12px 22px;
      box-shadow: 0 12px 28px -14px rgba(85, 88, 227, 0.55);
    }
    .flow-arrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .flow-arrow svg { width: 30px; height: 14px; stroke: var(--purple-bright); }
    .flow-targets { display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
    .flow-chip {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 999px;
      padding: 11px 18px;
      font-weight: 600;
      color: #fff;
    }

    /* ---------- Setup ---------- */
    .setup {
      position: relative;
      background: var(--bg-elev);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .setup-steps {
      list-style: none;
      margin: 44px 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .setup-step {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 18px 20px;
      box-shadow: 0 1px 2px rgba(37, 43, 64, 0.04);
    }
    .setup-step .num {
      flex-shrink: 0;
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--grad);
      color: #fff;
      font-size: 0.82rem;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .setup-step .body { color: var(--text-muted); font-size: 0.97rem; line-height: 1.5; padding-top: 3px; }
    .setup-step .body strong { color: var(--text); font-weight: 600; }
    .setup-step code {
      display: inline-block;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 0.84rem;
      color: var(--purple);
      background: rgba(85, 88, 227, 0.08);
      border: 1px solid rgba(85, 88, 227, 0.2);
      border-radius: 6px;
      padding: 2px 8px;
      margin-top: 5px;
      word-break: break-all;
    }
    .setup-callout {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 22px;
      background: rgba(85, 88, 227, 0.07);
      border: 1px solid rgba(85, 88, 227, 0.22);
      border-radius: 12px;
      padding: 18px 22px;
    }
    .setup-callout p { margin: 0; color: var(--text); font-size: 1rem; }
    .setup-callout-icon {
      flex-shrink: 0;
      width: 34px; height: 34px; border-radius: 50%;
      background: var(--grad);
      display: flex; align-items: center; justify-content: center;
    }
    .setup-callout-icon .pulse {
      width: 9px; height: 9px; border-radius: 50%; background: #fff;
      box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
    }
    .setup-note { margin-top: 16px; font-size: 0.85rem; color: var(--text-dim); }

    /* ---------- CTA (dark band) ---------- */
    .cta {
      text-align: center;
      position: relative;
      overflow: hidden;
      background: var(--bg-dark);
      color: #fff;
    }
    .cta::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 50% 120%, rgba(85, 88, 227, 0.28), transparent 60%);
      pointer-events: none;
    }
    .cta .container { position: relative; z-index: 1; }
    .cta .eyebrow { color: var(--purple-bright); }
    .cta h2 { color: #fff; max-width: 16ch; margin-left: auto; margin-right: auto; }
    .cta .lead { color: rgba(255, 255, 255, 0.72); margin: 0 auto 36px; text-align: center; }
    .cta .hero-sub { color: rgba(255, 255, 255, 0.5); }
    .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    /* Invert buttons on the dark band */
    .cta .btn-primary { background: var(--grad); color: #fff; }
    .cta .btn-primary:hover { filter: brightness(1.08); }
    .cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
    .cta .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }

    /* ---------- Footer (dark band) ---------- */
    .site-footer {
      background: var(--bg-dark);
      color: #fff;
      border-top: 1px solid var(--border-dark);
      padding: 40px 0;
    }
    .site-footer .brand { color: #fff; }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .footer-inner .muted { color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; }
    .footer-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
    .footer-legal .powered { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.72); }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; }
    .footer-links a:hover { color: #fff; }

    /* ---------- Alani logo ("powered by") ---------- */
    .alani-logo {
      height: 16px;
      width: auto;
      aspect-ratio: 197 / 31;
      display: inline-block;
      vertical-align: middle;
    }
    .hero-badge .alani-logo { height: 14px; position: relative; top: -1px; }
    .footer-logo { height: 14px; position: relative; top: -1px; }

    /* ---------- Step flow (solution visual) ---------- */
    .step-flow { gap: 0; padding: 30px 26px; }
    .step {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .step-rail {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
    }
    .step-num {
      width: 30px; height: 30px;
      border-radius: 50%;
      background: var(--grad);
      border: none;
      color: #fff;
      font-size: 0.85rem;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .step-line {
      width: 2px;
      flex: 1;
      min-height: 26px;
      background: linear-gradient(var(--border), transparent);
      margin: 4px 0;
    }
    .step:last-child .step-line { display: none; }
    .step-body { padding-bottom: 22px; }
    .step:last-child .step-body { padding-bottom: 0; }
    .step-body .step-title { font-weight: 600; font-size: 1rem; margin-bottom: 3px; }
    .step-body .step-desc { font-size: 0.9rem; color: var(--text-muted); }
    .step-body .step-quote {
      display: inline-block;
      margin-top: 8px;
      font-size: 0.9rem;
      color: var(--text);
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 8px 13px;
    }
    .step-body .step-quote::before { content: "\201C"; color: var(--purple-bright); }
    .step-body .step-quote::after { content: "\201D"; color: var(--purple-bright); }

    /* ---------- Scroll reveal (segmentation) ---------- */
    @media (prefers-reduced-motion: no-preference) {
      .js-reveal .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: opacity, transform;
      }
      .js-reveal .reveal.in { opacity: 1; transform: none; }

      .js-reveal .reveal-stagger > * {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
      }
      .js-reveal .reveal-stagger.in > * { opacity: 1; transform: none; }
      .js-reveal .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.09s; }
      .js-reveal .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.18s; }
      .js-reveal .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.27s; }
      .js-reveal .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.36s; }
      .js-reveal .reveal-stagger.in > *:nth-child(6) { transition-delay: 0.45s; }

      .reveal-delay { transition-delay: 0.12s; }
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 860px) {
      section { padding: 72px 0; }
      .hero {
        min-height: auto;
        padding: 60px 0 64px;
        background-image:
          linear-gradient(180deg, rgba(22, 26, 42, 0.86) 0%, rgba(26, 31, 50, 0.8) 55%, rgba(37, 43, 64, 0.78) 100%),
          linear-gradient(120deg, rgba(37, 43, 64, 0.45) 0%, rgba(85, 88, 227, 0.28) 100%),
          url('/assets/hero-bg.jpg');
        background-size: cover, cover, cover;
        background-position: center, center, center;
      }
      .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
      .hero-copy { max-width: 560px; }
      .problem::before, .solution::before, .features::before { width: 100%; opacity: 0.1; }
      .problem-grid { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr; }
      .setup-steps { grid-template-columns: 1fr; }
      .solution-list { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }
    }
    @media (max-width: 560px) {
      .container { padding: 0 18px; }
      .hero { padding: 90px 0 80px; }
      .btn { width: 100%; }
      .hero-cta .btn, .cta-buttons .btn { width: 100%; }
      .hero-cta, .cta-buttons { flex-direction: column; }

      /* Hamburger nav */
      .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        padding: 11px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
      }
      .nav-burger span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--text);
        transition: transform 0.2s ease, opacity 0.2s ease;
      }
      .nav-actions {
        position: absolute;
        top: calc(100% + 10px);
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        min-width: 210px;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 18px 44px rgba(37, 43, 64, 0.18);
        display: none;
      }
      .nav-toggle:checked ~ .nav-actions { display: flex; }
      .nav-signin {
        display: block;
        padding: 11px 12px;
        border-radius: 9px;
        font-size: 1rem;
        color: var(--text);
      }
      .nav-signin:hover { background: var(--bg-elev); }
      .nav-actions .btn { width: 100%; margin-top: 6px; }
      .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
      .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
      .hero-badge { font-size: 0.72rem; gap: 6px; padding: 6px 12px; }
      .hero-badge .alani-logo { height: 12px; }
      .footer-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
      .footer-legal { align-items: flex-start; text-align: left; gap: 8px; }
    }

/* ---------- Article inline links ---------- */
    .article-body p a, .article-body li a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
    .article-body p a:hover, .article-body li a:hover { color: var(--purple-bright); }

/* ---------- Article references ---------- */
    .article-body .references {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.55;
      padding-left: 22px;
      margin: 18px 0 0;
    }
    .article-body .references li { margin: 0 0 11px; padding-left: 4px; }
    .article-body .references a { color: var(--purple); overflow-wrap: anywhere; }
    .article-body .references-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin: 16px 0; }
    .article-body .table-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 12px; }
    .article-body sup a { color: var(--purple); text-decoration: none; font-weight: 600; padding: 0 1px; }
    .article-body sup a:hover { text-decoration: underline; }

/* ---------- Pricing ---------- */
    .pricing { background: var(--bg); border-top: 1px solid var(--border); }
    .pricing .section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 360px));
      justify-content: center;
      gap: 22px;
      align-items: stretch;
    }
    .price-card {
      position: relative;
      display: flex;
      flex-direction: column;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 30px 26px;
    }
    .price-card-featured {
      border-color: var(--purple);
      box-shadow: 0 18px 50px rgba(85, 88, 227, 0.16);
    }
    .price-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--grad);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 5px 14px;
      border-radius: 999px;
      white-space: nowrap;
    }
    .price-name {
      font-weight: 600;
      font-size: 1.05rem;
      color: var(--text);
    }
    .price-amount {
      font-family: "Fraunces", Georgia, serif;
      font-size: 2.8rem;
      font-weight: 500;
      line-height: 1;
      letter-spacing: -0.02em;
      color: var(--text);
      margin: 14px 0 0;
    }
    .price-cur { font-size: 1.5rem; vertical-align: super; margin-right: 2px; }
    .price-per { font-size: 1rem; font-family: "DM Sans", sans-serif; color: var(--text-dim); font-weight: 500; }
    .price-flat { color: var(--purple); font-weight: 600; font-size: 0.9rem; margin: 12px 0 0; }
    .price-desc { color: var(--text-muted); font-size: 0.95rem; margin: 14px 0 22px; min-height: 44px; }
    .price-features {
      list-style: none;
      margin: 0 0 26px;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
    }
    .price-features li {
      position: relative;
      padding-left: 28px;
      font-size: 0.95rem;
      color: var(--text);
      line-height: 1.4;
    }
    .price-features li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 2px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--grad);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/%3E%3C/svg%3E") center / 14px no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/%3E%3C/svg%3E") center / 14px no-repeat;
    }
    .price-btn { width: 100%; margin-top: auto; }
    .pricing-note { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin: 36px 0 0; }
    @media (max-width: 880px) {
      .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 28px; }
      .price-desc { min-height: 0; }
    }

/* ---------- Home blog feed ---------- */
    .home-blog {
      position: relative;
      padding: 100px 0;
      overflow: hidden;
      isolation: isolate;
    }
    .home-blog::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(180deg, rgba(37, 43, 64, 0.82) 0%, rgba(37, 43, 64, 0.9) 100%),
        url("/assets/blog-hero.jpg") center / cover no-repeat;
    }
    .home-blog .section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
    .home-blog .section-head .eyebrow { color: var(--purple-bright); }
    .home-blog .section-head h2 { color: #fff; }
    .home-blog .section-head .lead { color: rgba(255, 255, 255, 0.82); }
    .home-blog .post-grid { padding: 0; }
    .home-blog-foot { text-align: center; margin-top: 44px; }
    .home-blog-foot .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
    .home-blog-foot .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }

/* ---------- Blog ---------- */
.blog-hero, .about-hero {
  position: relative;
  padding: 168px 0 88px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.blog-hero::before, .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(37,43,64,0.72) 0%, rgba(37,43,64,0.82) 100%),
    url("/assets/blog-hero.jpg") center / cover no-repeat;
}
.about-hero::before {
  background:
    linear-gradient(180deg, rgba(37,43,64,0.74) 0%, rgba(37,43,64,0.88) 100%),
    url("/assets/about-hero.jpg") center / cover no-repeat;
}
.blog-hero .eyebrow, .about-hero .eyebrow { color: var(--purple-bright); }
.blog-hero h1, .about-hero h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 16px;
  color: #fff;
}
.about-hero h1 { margin: 16px auto 0; max-width: 760px; }
.blog-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 56px 0 110px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(37, 43, 64, 0.04);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { border-color: #d3d6dd; transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(37, 43, 64, 0.28); }
.post-meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.post-card h2 { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; line-height: 1.2; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.post-card p { margin: 0 0 18px; color: var(--text-muted); font-size: 0.96rem; }
.post-readmore { margin-top: auto; color: var(--purple); font-weight: 600; font-size: 0.92rem; }
.post-card:hover .post-readmore { color: var(--purple-bright); }

/* Article */
.article { padding: 120px 0 90px; }
.about-hero + .article { padding-top: 56px; }
.article-wrap { max-width: 700px; margin: 0 auto; }
.article-back { display: inline-block; color: var(--purple); font-weight: 600; font-size: 0.9rem; margin-bottom: 28px; }
.article-meta { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); margin-bottom: 16px; }
.article h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 28px;
}
.article-body { font-size: 1.12rem; line-height: 1.75; color: var(--text-muted); }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 { font-family: "Fraunces", Georgia, serif; color: var(--text); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.01em; margin: 1.8em 0 0.5em; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body ul { margin: 0 0 1.3em; padding-left: 22px; }
.article-body li { margin-bottom: 0.5em; }
.article-body h3 { font-size: 1.18rem; font-weight: 700; color: var(--text); margin: 1.6em 0 0.4em; letter-spacing: -0.01em; }
.article-body blockquote {
  margin: 1.3em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--purple);
  background: var(--bg-elev);
  border-radius: 0 10px 10px 0;
  color: var(--text);
  font-style: italic;
}
.article-body blockquote p { margin: 0; }
.article-hero { position: relative; margin: 0 0 2em; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); line-height: 0; isolation: isolate; }
.article-hero img { display: block; width: 100%; height: auto; }
.article-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(37,43,64,0.42) 0%, rgba(37,43,64,0.62) 100%); }
.article-table-wrap { overflow-x: auto; margin: 1.6em 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 480px; }
.article-body th, .article-body td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article-body thead th { color: var(--text); font-weight: 700; border-bottom: 2px solid var(--border); }
.article-body tbody td { color: var(--text-muted); }
.article-body tbody td:first-child { color: var(--text); font-weight: 600; }
.article-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--purple); background: rgba(85,88,227,0.08); border: 1px solid rgba(85,88,227,0.2); border-radius: 6px; padding: 1px 7px; }
.article-cta {
  margin-top: 48px;
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-dark);
  text-align: center;
}
.article-cta p { color: rgba(255, 255, 255, 0.82); margin: 0 0 18px; font-size: 1.05rem; }
.article-cta h3 { color: #fff; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.5rem; margin: 0 0 10px; }
.article-cta .btn-primary { background: var(--grad); color: #fff; border: none; }
.article-cta .btn-primary:hover { filter: brightness(1.08); }

@media (max-width: 860px) {
  .post-grid { grid-template-columns: 1fr; padding-bottom: 72px; }
}
