    /* ─── TOKENS ───────────────────────────────────────────── */
    :root {
      --bg:          #f9f8f5;
      --bg-2:        #f9f8f5;
      --surface:     #ffffff;
      --surface-2:   #ffffff;
      --border:      #f4f3ee;
      --border-2:    #e5e2d9;
      --text:        #2c2c34;
      --text-2:      #555560;
      --muted:       #8c8c96;
      --subtle:      #c0bfba;

      --green:       #5b6abf;
      --green-dark:  #4a58a8;
      --green-dim:   rgba(91,106,191,.11);
      --green-border:rgba(91,106,191,.24);
      --green-text: #ffffff;

      --wa-header:   #f4f3ee;   /* WhatsApp dark header */
      --wa-chat-bg:  #f9f8f5;   /* WhatsApp chat wallpaper */
      --wa-line:     #f4f3ee;

      --bubble-user: #f4f3ee;
      --bubble-ai:   #ffffff;
      --bubble-u-txt: #2c2c34;
      --bubble-a-txt:#2c2c34;

      --fh: "Instrument Serif", system-ui, sans-serif;
      --fb: "Inter",        system-ui, sans-serif;
      --fd: "Baloo 2", "Inter", system-ui, sans-serif;   /* fun rounded display */
      --fm: "STIX Two Math", "Cambria Math", serif;       /* math typesetting */

      --ease: cubic-bezier(.2,.8,.2,1);
      --spring: cubic-bezier(.34,1.56,.64,1);
      --gold: #d4a24e;
      --line: #ece8dc;
      --tint-indigo: #eef0fa;
      --tint-sage: #e9f4ef;
      --tint-gold: #faf3e0;
      --tint-coral: #fbeeec;
      --r: 16px;
    }

    /* ─── RESET ─────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--fb);
      font-size: 15px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      /* subtle dot-grid, WeChat / Notion style */
      background-image: radial-gradient(rgba(91,106,191,.03) 1px, transparent 1px);
      background-size: 28px 28px;
      background-attachment: fixed;
    }

    /* ─── NAV ────────────────────────────────────────────────── */
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      background: rgba(255,255,255,.88);
      border-bottom: 1px solid var(--border);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .logo {
      font-family: var(--fb);
      font-size: 16px;

      color: var(--text);
      text-decoration: none;
      letter-spacing: -.01em;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo-im { color: var(--green); }

    .nav-links {
      display: none;
      align-items: center;
      gap: 2px;
    }
    .nav-link {
      font-size: 13px;
      
      color: var(--muted);
      text-decoration: none;
      padding: 7px 13px;
      border-radius: 9px;
      transition: color .12s, background .12s;
    }
    .nav-link:hover { color: var(--text); background: rgba(0,0,0,.03); }

    .nav-btn {
      margin-left: 12px;
      background: var(--green);
      color: var(--green-text);
      font-family: var(--fd);
      font-size: 14px;
      font-weight: 600;
      padding: 9px 20px;
      border-radius: 999px;
      text-decoration: none;
      box-shadow: 0 3px 0 var(--green-dark);
      transition: transform .14s var(--spring), box-shadow .14s, background .12s;
      white-space: nowrap;
    }
    .nav-btn:hover { background: #6b79cc; transform: translateY(-1px); box-shadow: 0 4px 0 var(--green-dark); }
    .nav-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--green-dark); }

    /* ─── HERO ───────────────────────────────────────────────── */
    .hero {
      max-width: 1180px;
      margin: 0 auto;
      padding: 48px 16px 36px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      align-items: center;
    }

    /* Signal-style staggered entrance */
    .hero-text > * {
      opacity: 0;
      transform: translateY(16px);
      animation: fadeUp .55s var(--ease) forwards;
    }
    .hero-text > *:nth-child(1) { animation-delay: .05s; }
    .hero-text > *:nth-child(2) { animation-delay: .15s; }
    .hero-text > *:nth-child(3) { animation-delay: .25s; }
    .hero-text > *:nth-child(4) { animation-delay: .35s; }
    .hero-text > *:nth-child(5) { animation-delay: .45s; }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--green-dim);
      border: 1px solid var(--green-border);
      color: #5b6abf;
      font-size: 11px;
      
      letter-spacing: .07em;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 999px;
    }
    .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green);
      flex-shrink: 0;
      animation: glow-pulse 2.2s ease-in-out infinite;
    }

    .hero-h1 {
      font-family: var(--fd);
      font-weight: 700;
      font-size: clamp(34px, 8vw, 46px);
      line-height: 1.08;
      letter-spacing: -.02em;
      color: var(--text);
      margin-top: 18px;
    }
    .hero-h1 em {
      font-family: var(--fh);
      font-style: italic;
      font-weight: 400;
      color: var(--green);
      box-shadow: inset 0 -12px 0 var(--tint-gold);
      border-radius: 3px;
      display: inline-block;
      animation: wiggle-in 0.7s var(--spring) .5s both;
    }

    .hero-sub {
      margin-top: 14px;
      font-size: 16px;
      color: var(--text-2);
      max-width: 44ch;
      line-height: 1.65;
    }

    .hero-cta {
      margin-top: 28px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--green);
      color: var(--green-text);
      font-family: var(--fd);
      font-weight: 600;
      font-size: 16px;
      padding: 13px 28px;
      border-radius: 999px;
      text-decoration: none;
      box-shadow: 0 4px 0 var(--green-dark);
      transition: transform .15s var(--spring), box-shadow .15s, background .12s;
    }
    .btn-primary:hover {
      background: #6b79cc;
      transform: translateY(-2px);
      box-shadow: 0 6px 0 var(--green-dark);
    }
    .btn-primary:active {
      transform: translateY(2px);
      box-shadow: 0 1px 0 var(--green-dark);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--surface);
      color: var(--text-2);
      font-family: var(--fd);
      font-weight: 600;
      font-size: 16px;
      padding: 11px 24px;
      border-radius: 999px;
      border: 2px solid var(--line);
      text-decoration: none;
      box-shadow: 0 4px 0 var(--line);
      transition: transform .15s var(--spring), box-shadow .15s, border-color .12s, color .12s;
    }
    .btn-ghost:hover {
      color: var(--text);
      border-color: var(--border-2);
      transform: translateY(-2px);
      box-shadow: 0 6px 0 var(--line);
    }
    .btn-ghost:active {
      transform: translateY(2px);
      box-shadow: 0 1px 0 var(--line);
    }

    .hero-meta {
      margin-top: 18px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }
    .meta-pill {
      font-size: 12px;
      font-weight: 500;
      color: var(--text-2);
      background: var(--surface);
      border: 1.5px solid var(--line);
      border-radius: 999px;
      padding: 5px 13px;
      transition: transform .15s var(--spring), border-color .12s;
    }
    .meta-pill:hover { transform: translateY(-1px) rotate(-1deg); border-color: var(--border-2); }
    .meta-pill.green { background: var(--tint-indigo); border-color: var(--green-border); color: #5b6abf; }

    /* ─── PHONE MOCKUP ───────────────────────────────────────── */
    .phone-wrap {
      display: none;
      justify-content: center;
      align-items: center;
      animation: fadeUp .6s .2s var(--ease) both;
    }

    .phone {
      width: 280px;
      height: 570px;
      background: var(--wa-chat-bg);
      border-radius: 42px;
      border: 7px solid #f4f3ee;
      overflow: hidden;
      position: relative;
      box-shadow:
        0 30px 60px rgba(0,0,0,.08),
        0 0 0 1px rgba(0,0,0,.04),
        0 0 40px rgba(91,106,191,.08);
      /* Telegram-style tilt */
      transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
      transition: transform .5s var(--ease);
    }
    .phone:hover {
      transform: perspective(900px) rotateY(-2deg) rotateX(1deg);
    }

    /* Dynamic Island / notch */
    .phone::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 88px;
      height: 24px;
      background: #f9f8f5;
      border-radius: 0 0 16px 16px;
      z-index: 10;
    }

    /* status bar */
    .phone-statusbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 28px 16px 4px;
      font-size: 10px;
      
      color: #555560;
      flex-shrink: 0;
    }
    .sb-right { display: flex; gap: 5px; align-items: center; font-size: 9px; }

    /* WhatsApp header */
    .wa-head {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px 10px;
      background: var(--wa-header);
      border-bottom: 1px solid var(--wa-line);
      flex-shrink: 0;
    }
    .wa-back { color: #4db8d4; font-size: 16px;  line-height: 1; flex-shrink: 0; }
    .wa-av {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--green), var(--green-dark));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--fh);
      
      font-size: 12px;
      color: #fff;
      flex-shrink: 0;
    }
    .wa-info { flex: 1; min-width: 0; }
    .wa-name { font-size: 13px;  color: #2c2c34; line-height: 1.2; }
    .wa-status { font-size: 10.5px; color: var(--green);  display: flex; align-items: center; gap: 3px; }
    .wa-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: glow-pulse 2s infinite; }
    .wa-icons { display: flex; gap: 13px; color: #2c2c34; font-size: 14px; flex-shrink: 0; }

    /* Chat body */
    .wa-chat {
      flex: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 10px 9px;
      background-image: radial-gradient(rgba(100,140,161,.07) 1px, transparent 1px);
      background-size: 18px 18px;
    }

    .wa-date {
      align-self: center;
      font-size: 10px;

      color: #8c8c96;
      background: #f4f3ee;
      border: 1px solid #e5e2d9;
      padding: 3px 8px;
      border-radius: 7px;
      margin-bottom: 2px;
    }

    /* bubbles */
    .wa-b {
      max-width: 86%;
      font-size: 11.5px;
      line-height: 1.4;
      padding: 7px 9px;
      position: relative;
      word-break: break-word;
    }
    .wa-b .ts {
      font-size: 9px;
      opacity: .55;
      float: right;
      margin-left: 8px;
      margin-top: 4px;
    }
    .wa-b.user {
      align-self: flex-end;
      background: var(--bubble-user);
      color: var(--bubble-u-txt);
      border-radius: 10px 10px 3px 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,.18);
    }
    /* user tail */
    .wa-b.user::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: -7px;
      border: 7px solid transparent;
      border-bottom-color: var(--bubble-user);
      border-right: 0;
      border-top: 0;
    }
    .wa-b.ai {
      align-self: flex-start;
      background: var(--bubble-ai);
      color: var(--bubble-a-txt);
      border-radius: 3px 10px 10px 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,.18);
    }
    /* ai tail */
    .wa-b.ai::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: -7px;
      border: 7px solid transparent;
      border-bottom-color: var(--bubble-ai);
      border-left: 0;
      border-top: 0;
    }

    .wa-steps {
      margin-top: 5px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .wa-step {
      font-size: 10px;
      background: rgba(11,20,26,.07);
      border-radius: 5px;
      padding: 3px 7px;
      color: #2c2c34;
    }
    .wa-practice {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(91,106,191,.13);
      color: #087833;
      border: 1px solid rgba(91,106,191,.28);
      border-radius: 7px;
      padding: 3px 7px;
      font-size: 10px;
      
      margin-top: 5px;
    }

    .wa-typing {
      align-self: flex-start;
      display: inline-flex;
      gap: 3px;
      align-items: center;
      background: var(--bubble-ai);
      padding: 9px 11px;
      border-radius: 3px 10px 10px 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,.18);
    }
    .wa-typing::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: -7px;
      border: 7px solid transparent;
      border-bottom-color: var(--bubble-ai);
      border-left: 0;
      border-top: 0;
    }
    .td { width: 5px; height: 5px; background: #555560; border-radius: 50%; }
    .td:nth-child(1) { animation: tdot 1.2s .0s infinite; }
    .td:nth-child(2) { animation: tdot 1.2s .18s infinite; }
    .td:nth-child(3) { animation: tdot 1.2s .36s infinite; }

    /* phone input bar */
    .wa-input {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 7px 10px;
      background: var(--wa-header);
      border-top: 1px solid var(--wa-line);
      flex-shrink: 0;
    }
    .wa-input-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #e5e2d9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2c2c34;
      font-size: 15px;
      flex-shrink: 0;
    }
    .wa-input-field {
      flex: 1;
      background: #f4f3ee;
      border-radius: 18px;
      padding: 7px 12px;
      font-size: 11px;
      color: #2c2c34;
      font-family: var(--fb);
    }
    .wa-send {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--green);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: #fff;
      flex-shrink: 0;
    }

    /* staggered chat animation */
    .wa-b.user   { animation: fadeUp .35s .4s both; }
    .wa-typing   { animation: fadeUp .35s .9s both; }
    .wa-b.ai     { animation: fadeUp .35s 1.6s both; }
    .wa-b.user-2 { animation: fadeUp .35s 2.4s both; }

    /* ─── MARQUEE STRIP ──────────────────────────────────────── */
    /* Telegram's "Simple · Fast · Powerful · Open · Secure..." */
    .marquee-wrap {
      overflow: hidden;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--surface);
      padding: 12px 0;
    }
    .marquee-track {
      display: flex;
      gap: 0;
      width: max-content;
      animation: marquee 30s linear infinite;
    }
    .marquee-wrap:hover .marquee-track { animation-play-state: paused; }
    .marquee-item {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 8px;
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 500;
      color: var(--text-2);
      background: var(--bg);
      border: 1.5px solid var(--line);
      border-radius: 999px;
      white-space: nowrap;
    }
    .marquee-item span { color: var(--green); font-size: 15px; }

    /* ─── FEATURES  (Telegram 6-tile grid) ──────────────────── */
    .features {
      max-width: 1180px;
      margin: 48px auto;
      padding: 0 16px;
    }
    .section-label {
      font-size: 11px;
      
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 12px;
    }
    .section-title {
      font-family: var(--fd);
      font-weight: 700;
      font-size: clamp(26px, 3vw, 38px);
      letter-spacing: -.015em;
      color: var(--text);
      margin-bottom: 6px;
    }
    .section-sub {
      font-size: 15px;
      color: var(--text-2);
      max-width: 52ch;
      margin-bottom: 40px;
      line-height: 1.6;
    }

    .feat-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .feat {
      background: var(--surface);
      border: 2px solid var(--line);
      border-radius: 24px;
      padding: 22px 20px;
      box-shadow: 0 3px 0 rgba(44, 44, 52, .04);
      transition: border-color .15s, transform .18s var(--spring), box-shadow .18s;
      cursor: default;
    }
    .feat:hover {
      border-color: var(--green-border);
      transform: translateY(-4px);
      box-shadow: 0 7px 0 rgba(91, 106, 191, .12);
    }
    .feat-icon {
      font-size: 22px;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 14px;
      background: var(--tint-indigo);
      margin-bottom: 14px;
      transform: rotate(-3deg);
      transition: transform .18s var(--spring);
    }
    .feat:hover .feat-icon { transform: rotate(3deg) scale(1.08); }
    .feat:nth-child(2) .feat-icon { background: var(--tint-coral); }
    .feat:nth-child(3) .feat-icon { background: var(--tint-gold); }
    .feat:nth-child(4) .feat-icon { background: var(--tint-sage); }
    .feat:nth-child(5) .feat-icon { background: var(--tint-gold); }
    .feat:nth-child(6) .feat-icon { background: var(--tint-coral); }
    .feat-title {
      font-family: var(--fb);
      font-weight: 500;
      font-size: 15px;
      color: var(--text);
      margin-bottom: 7px;
    }
    .feat-desc {
      font-size: 13.5px;
      color: var(--text-2);
      line-height: 1.6;
    }

    /* ─── CONVERSATION SHOWCASE (WhatsApp desktop layout) ────── */
    .showcase {
      max-width: 1180px;
      margin: 0 auto 48px;
      padding: 0 16px;
    }

    .chat-window {
      border: 2px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      background: var(--wa-chat-bg);
      box-shadow: 0 30px 70px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.02);
    }

    /* window chrome, macOS style */
    .chat-chrome {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
    }
    .chrome-dots { display: flex; gap: 6px; }
    .chrome-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }
    .chrome-dot.red   { background: #ff5f57; }
    .chrome-dot.yellow{ background: #febc2e; }
    .chrome-dot.green { background: #28c840; }
    .chrome-title {
      flex: 1;
      text-align: center;
      font-size: 12px;
      
      color: var(--muted);
    }

    /* desktop split: sidebar | chat */
    .chat-desktop {
      display: grid;
      grid-template-columns: 1fr;
      height: 440px;
    }

    /* sidebar */
    .chat-sidebar {
      border-right: 1px solid var(--wa-line);
      background: var(--surface);
      display: none;
      flex-direction: column;
      overflow: hidden;
    }
    .sidebar-head {
      padding: 14px 14px 10px;
      border-bottom: 1px solid var(--border);
    }
    .sidebar-title {
      font-family: var(--fh);
      font-size: 18px;
      
      color: var(--text);
      margin-bottom: 10px;
    }
    .sidebar-search {
      background: var(--surface-2);
      border: 1px solid var(--border-2);
      border-radius: 10px;
      padding: 7px 12px;
      font-size: 12px;
      color: var(--muted);
    }

    .thread-list { flex: 1; overflow: hidden; }
    .thread {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      cursor: pointer;
      border-bottom: 1px solid var(--border);
      transition: background .12s;
    }
    .thread.active { background: var(--surface-2); }
    .thread:hover:not(.active) { background: rgba(0,0,0,.02); }
    .thread-av {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--green), var(--green-dark));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--fh);
      font-size: 11px;
      
      color: #fff;
      flex-shrink: 0;
    }
    .thread-av.gray { background: linear-gradient(135deg, #c0bfba, #e5e2d9); }
    .thread-info { flex: 1; min-width: 0; }
    .thread-name { font-size: 13px;  color: var(--text); }
    .thread-preview { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .thread-badge {
      background: var(--green);
      color: var(--green-text);
      font-size: 10px;
      
      padding: 2px 6px;
      border-radius: 999px;
      flex-shrink: 0;
    }

    /* main chat panel */
    .chat-main {
      display: flex;
      flex-direction: column;
    }
    .chat-main-head {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      background: var(--wa-header);
      border-bottom: 1px solid var(--wa-line);
      flex-shrink: 0;
    }
    .cmh-av {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--green), var(--green-dark));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--fh);
      font-size: 11px;
      
      color: #fff;
    }
    .cmh-info { flex: 1; }
    .cmh-name { font-size: 14px;  color: var(--text); }
    .cmh-status { font-size: 11px; color: var(--green); }
    .cmh-icons { display: flex; gap: 16px; color: var(--subtle); font-size: 15px; }

    /* chat stream */
    .chat-stream {
      flex: 1;
      overflow-y: auto;
      padding: 16px 14px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      background-image: radial-gradient(rgba(100,140,161,.05) 1px, transparent 1px);
      background-size: 20px 20px;
    }
    .cs-date {
      align-self: center;
      font-size: 10px;
      
      color: #555560;
      background: #f4f3ee;
      border: 1px solid rgba(0,0,0,.04);
      padding: 3px 8px;
      border-radius: 7px;
    }
    .cs-b {
      max-width: 70%;
      font-size: 13px;
      line-height: 1.45;
      padding: 9px 12px;
      position: relative;
    }
    .cs-b.user {
      align-self: flex-end;
      background: var(--bubble-user);
      color: var(--bubble-u-txt);
      border-radius: 12px 12px 3px 12px;
      box-shadow: 0 1px 4px rgba(0,0,0,.15);
    }
    .cs-b.user::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: -8px;
      border: 8px solid transparent;
      border-bottom-color: var(--bubble-user);
      border-right: 0;
      border-top: 0;
    }
    .cs-b.ai {
      align-self: flex-start;
      background: var(--bubble-ai);
      color: var(--bubble-a-txt);
      border-radius: 3px 12px 12px 12px;
      box-shadow: 0 1px 4px rgba(0,0,0,.15);
    }
    .cs-b.ai::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: -8px;
      border: 8px solid transparent;
      border-bottom-color: var(--bubble-ai);
      border-left: 0;
      border-top: 0;
    }
    .cs-answer {
      
      font-size: 14px;
      margin-bottom: 6px;
    }
    .cs-steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
    .cs-step {
      background: rgba(11,20,26,.06);
      border-radius: 7px;
      padding: 5px 9px;
      font-size: 12px;
      color: #2c2c34;
      border-left: 2px solid rgba(91,106,191,.4);
    }
    .cs-step-label {  font-size: 10px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .04em; }
    .cs-actions { display: flex; gap: 6px; flex-wrap: wrap; }
    .cs-action-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(91,106,191,.1);
      color: #087833;
      border: 1px solid rgba(91,106,191,.25);
      border-radius: 8px;
      padding: 4px 10px;
      font-size: 11px;
      
    }

    /* chat input bar */
    .chat-input-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      background: var(--wa-header);
      border-top: 1px solid var(--wa-line);
      flex-shrink: 0;
    }
    .cib-icon {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(0,0,0,.04);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--subtle);
      font-size: 16px;
    }
    .cib-field {
      flex: 1;
      background: var(--surface-2);
      border: 1px solid var(--border-2);
      border-radius: 22px;
      padding: 9px 16px;
      font-size: 13px;
      color: var(--muted);
      font-family: var(--fb);
    }
    .cib-send {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--green);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 14px;
    }

    /* ─── PRICING ────────────────────────────────────────────── */
    .pricing {
      max-width: 1180px;
      margin: 0 auto 48px;
      padding: 0 16px;
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 32px;
    }
    .plan {
      background: var(--surface);
      border: 2px solid var(--line);
      border-radius: 26px;
      padding: 28px 24px;
      box-shadow: 0 3px 0 rgba(44, 44, 52, .04);
      transition: border-color .15s, transform .18s var(--spring), box-shadow .18s;
      position: relative;
    }
    .plan:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 6px 0 rgba(44, 44, 52, .05); }
    .plan.pro {
      background: var(--tint-indigo);
      border-color: var(--green-border);
    }
    .plan.pro::after {
      content: 'FREE IN BETA';
      position: absolute;
      top: -12px;
      right: 20px;
      background: var(--gold);
      color: #ffffff;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: .08em;
      padding: 4px 12px;
      border-radius: 999px;
      transform: rotate(2deg);
    }
    .plan.pro:hover { border-color: rgba(91,106,191,.45); box-shadow: 0 6px 0 rgba(91, 106, 191, .12); }
    .plan-name {
      font-family: var(--fb);
      font-weight: 500;
      font-size: 12px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 8px;
    }
    .plan.pro .plan-name { color: var(--green); }
    .plan-price {
      font-family: var(--fd);
      font-weight: 700;
      font-size: 42px;
      color: var(--text);
      letter-spacing: -.02em;
      line-height: 1;
      margin-bottom: 4px;
    }
    .plan-price sup { font-size: 18px; vertical-align: super; }
    .plan-price sub { font-size: 14px; color: var(--muted); font-family: var(--fb);  }
    .plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; margin-top: 6px; }
    .plan-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
    .pf {
      display: flex;
      align-items: center;
      gap: 9px;
      font-size: 13px;
      color: var(--text-2);
    }
    .pf-check {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--green-dim);
      border: 1px solid var(--green-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      color: var(--green);
      flex-shrink: 0;
    }
    .plan-btn {
      display: block;
      width: 100%;
      text-align: center;
      padding: 12px;
      border-radius: 999px;
      font-family: var(--fd);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      border: 2px solid var(--border-2);
      color: var(--green);
      background: #ffffff;
      box-shadow: 0 4px 0 var(--line);
      transition: transform .15s var(--spring), box-shadow .15s, border-color .12s, color .12s, background .12s;
    }
    .plan-btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); box-shadow: 0 5px 0 var(--line); }
    .plan-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
    .plan.pro .plan-btn {
      background: var(--green);
      border-color: var(--green);
      color: var(--green-text);
      box-shadow: 0 4px 0 var(--green-dark);
    }
    .plan.pro .plan-btn:hover { background: #6b79cc; box-shadow: 0 5px 0 var(--green-dark); }
    .plan.pro .plan-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--green-dark); }

    /* ─── FINAL CTA ──────────────────────────────────────────── */
    .cta-final {
      max-width: 1180px;
      margin: 0 auto 48px;
      padding: 0 16px;
    }
    .cta-card {
      background: var(--tint-indigo);
      border: 2px solid var(--green-border);
      border-radius: 32px;
      padding: 44px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 0 rgba(91, 106, 191, .12);
    }
    .cta-card h2 {
      font-family: var(--fd);
      font-weight: 700;
      font-size: clamp(28px, 3.5vw, 44px);
      letter-spacing: -.015em;
      color: var(--text);
      margin-bottom: 14px;
    }
    .cta-card p {
      font-size: 16px;
      color: var(--text-2);
      max-width: 44ch;
      margin: 0 auto 28px;
      line-height: 1.6;
    }
    .cta-row {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    /* ─── FOOTER ─────────────────────────────────────────────── */
    .foot {
      border-top: 1px solid var(--border);
      padding: 20px 16px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      max-width: 1180px;
      margin: 0 auto;
      flex-wrap: wrap;
      gap: 12px;
    }
    .foot-logo { font-family: var(--fd); font-weight: 500; font-size: 16px; color: var(--muted); text-decoration: none; }
    .foot-logo span { color: var(--green); }
    .foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
    .foot-link { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .12s; padding: 4px 0; }
    .foot-link:hover { color: var(--text); }

    /* ─── FUN LAYER: curves + motion ─────────────────────────── */
    .hero { position: relative; }

    /* floating math symbols drifting behind the hero */
    .float-sym {
      position: absolute;
      font-family: var(--fm);
      pointer-events: none;
      user-select: none;
      opacity: .5;
      animation: drift 7s ease-in-out infinite alternate;
      z-index: 0;
      display: none;
    }
    @media (min-width: 961px) {
      .float-sym { display: block; }
    }
    .float-sym.s1 { top: 6%;  left: 46%; font-size: 42px; color: #b9c2e8; animation-duration: 8s; }
    .float-sym.s2 { top: 64%; left: 53%; font-size: 34px; color: #b9d8cb; animation-delay: 1.2s; }
    .float-sym.s3 { top: 22%; left: 62%; font-size: 28px; color: #e8cf9f; animation-delay: 2.1s; animation-duration: 9s; }
    .float-sym.s4 { top: 80%; left: 42%; font-size: 30px; color: #ecc4bf; animation-delay: .6s; }
    .float-sym.s5 { top: 44%; left: 47%; font-size: 24px; color: #b9c2e8; animation-delay: 3s; animation-duration: 10s; }
    .float-sym.s6 { top: 10%; left: 86%; font-size: 36px; color: #b9d8cb; animation-delay: 1.8s; }

    /* phone gently bobs */
    .phone-wrap { animation: fadeUp .6s .2s var(--ease) both; }
    @media (min-width: 961px) {
      .phone { animation: bob 5.5s ease-in-out 1.2s infinite; }
    }

    /* hero CTA breathes to invite the first tap */
    .btn-primary.breathe { animation: breathe 2.6s ease-in-out 1.6s infinite; }
    .btn-primary.breathe:hover { animation-play-state: paused; }

    /* sticker tilt on the marquee pills */
    .marquee-item:nth-child(odd) { transform: rotate(-1.2deg); }
    .marquee-item:nth-child(even) { transform: rotate(1.2deg); }

    /* demo math in real math type */
    .wa-b, .wa-step, .cs-step, .wa-b strong { font-family: var(--fm); }

    @media (prefers-reduced-motion: reduce) {
      .float-sym, .phone, .btn-primary.breathe, .hero-h1 em { animation: none !important; }
      /* Content must never depend on motion: force-reveal everything that enters via animation */
      .hero-text > *, .phone-wrap, .wa-b, .wa-typing {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
      }
    }

    /* ─── KEYFRAMES ──────────────────────────────────────────── */
    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes bob {
      0%, 100% { transform: perspective(900px) rotateY(-7deg) rotateX(3deg) translateY(0); }
      50% { transform: perspective(900px) rotateY(-7deg) rotateX(3deg) translateY(-10px); }
    }
    @keyframes breathe {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.04); }
    }
    @keyframes drift {
      from { transform: translate(0, 0) rotate(-6deg); }
      to { transform: translate(10px, -18px) rotate(8deg); }
    }
    @keyframes wiggle-in {
      0% { opacity: 0; transform: rotate(-6deg) scale(.7); }
      60% { transform: rotate(2deg) scale(1.06); }
      100% { opacity: 1; transform: rotate(0) scale(1); }
    }
    @keyframes glow-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: .35; }
    }
    @keyframes tdot {
      0%, 80%, 100% { transform: translateY(0); opacity: .35; }
      40% { transform: translateY(-4px); opacity: 1; }
    }
    @keyframes marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* ─── RESPONSIVE (mobile-first) ──────────────────────────── */

    /* Tablet (601px+) */
    @media (min-width: 601px) {
      .feat-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-h1 { font-size: clamp(38px, 5.2vw, 64px); }
      .chat-window { border-radius: 20px; }
      .foot { flex-direction: row; align-items: center; padding: 24px 20px; }
    }

    /* Desktop (961px+) */
    @media (min-width: 961px) {
      .nav { padding: 14px 32px; }
      .nav-links { display: flex; }
      .hero { grid-template-columns: 1fr 320px; padding: 84px 32px 68px; gap: 72px; }
      .phone-wrap { display: flex; }
      .feat-grid { grid-template-columns: repeat(3, 1fr); }
      .chat-desktop { grid-template-columns: 240px 1fr; }
      .chat-sidebar { display: flex; }
      .pricing-grid { grid-template-columns: 1fr 1fr; }
      .features { margin: 80px auto; padding: 0 32px; }
      .showcase { padding: 0 32px; margin-bottom: 80px; }
      .pricing { padding: 0 32px; margin-bottom: 80px; }
      .cta-final { padding: 0 32px; margin-bottom: 80px; }
      .cta-card { padding: 56px 48px; }
      .foot { padding: 24px 32px; }
    }
  

    /* Tablet (601-960px): phone mockup is hidden, so center the hero copy */
    @media (min-width: 601px) and (max-width: 960px) {
      .hero-text { text-align: center; }
      .hero-sub { margin-left: auto; margin-right: auto; }
      .hero-cta, .hero-meta { justify-content: center; }
    }
