      /* ---------- UploadOnce — "Midnight Slate" premium app theme ----------
         Deep navy-charcoal (NOT pure black): a refined dark SaaS grade with an
         indigo accent. Text stays bright white; brand logos keep REAL colors. */
      :root {
        --bg: #0d1526;
        --bg-2: #111b31;
        --surface: rgba(148, 163, 184, 0.10);
        --surface-solid: #1a2438;
        --surface-2: rgba(148, 163, 184, 0.16);
        --glass-border: rgba(148, 163, 184, 0.22);
        --glass-shadow: 0 10px 34px rgba(2, 6, 18, 0.55);
        --ink: #f3f6ff;
        --ink-2: rgba(226, 232, 240, 0.80);
        --ink-3: rgba(203, 213, 225, 0.58);
        --line: rgba(148, 163, 184, 0.18);
        --accent: #6c7cff;
        --accent-ink: #ffffff;
        --accent-soft: rgba(108, 124, 255, 0.16);
        --ok: #34d399;
        --ok-bg: rgba(52, 211, 153, 0.14);
        --warn: #fbbf24;
        --warn-bg: rgba(251, 191, 36, 0.13);
        --err: #f87171;
        --err-bg: rgba(248, 113, 113, 0.14);
        --glow: 0 0 26px rgba(108, 124, 255, 0.35);
        --glow-soft: 0 0 52px rgba(108, 124, 255, 0.16);
        --radius: 28px;
        --radius-sm: 20px;
        --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
        --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        --spring: cubic-bezier(0.22, 1, 0.36, 1);
      }
      /* Always deep black — there is no light theme. */      /* (dark variant removed — base theme is already deep black) */      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
        background-attachment: fixed;
        color: var(--ink);
        font-family: var(--font);
        font-size: 16px;
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }
      /* Soft indigo/slate aurora wash behind the glass. */
      body::before {
        content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
        background:
          radial-gradient(640px 460px at 10% -6%, rgba(108, 124, 255, 0.20), transparent 65%),
          radial-gradient(560px 420px at 90% 2%, rgba(56, 189, 248, 0.10), transparent 65%),
          radial-gradient(760px 560px at 50% 108%, rgba(99, 102, 241, 0.14), transparent 65%);
      }
      button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]), textarea {
        min-height: 2.25rem;
        font-family: inherit;
      }
      a { color: inherit; }
      .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

      /* ---------- Corner UI: NO top nav bar ----------
         Top-left: brand mark (5 taps → admin). Top-right: Sign in /
         Get started + the three-dot menu holding every page link.
         Fixed corners only — no full-width bar. The dashboard is the page. */
      .corner-brand { position: fixed; top: 14px; left: 16px; z-index: 60; }
      .corner-actions {
        position: fixed; top: 14px; right: 16px; z-index: 60;
        display: flex; align-items: center; gap: 8px;
      }
      .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; flex: none; }
      .brand .mark {
        width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, #6c7cff, #4f46e5);
        display: grid; place-items: center; flex: none;
        box-shadow: 0 0 18px rgba(108, 124, 255, 0.55);
      }
      .brand .mark svg { width: 17px; height: 17px; fill: #fff; }
      .corner-actions .btn { padding: 8px 16px; min-height: 40px; font-size: 14px; }
      .menu-btn {
        width: 44px; height: 44px; border-radius: 50%; flex: none;
        display: grid; place-items: center; cursor: pointer;
        background: rgba(13, 21, 38, 0.78); border: 1px solid var(--glass-border);
        color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1;
        backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 10px 30px rgba(2, 6, 18, 0.55);
        transition: background .18s ease, transform .18s var(--spring);
      }
      .menu-btn:hover { background: var(--surface-2); }
      .menu-btn:active { transform: scale(0.94); }
      .menu-panel {
        position: absolute; top: calc(100% + 10px); right: 0; z-index: 61;
        min-width: 240px; padding: 8px;
        background: rgba(26, 36, 56, 0.97);
        border: 1px solid var(--glass-border); border-radius: 20px;
        box-shadow: 0 18px 50px rgba(2, 6, 18, 0.65);
        backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
        display: none;
        animation: pop .22s var(--spring) both;
      }
      .menu-panel.open { display: block; }
      .menu-panel a {
        display: flex; align-items: center; gap: 10px;
        padding: 11px 14px; border-radius: 12px; text-decoration: none;
        color: var(--ink); font-weight: 600; font-size: 15px;
      }
      .menu-panel a:hover { background: var(--surface-2); }
      .menu-lang { border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 12px 6px; display: flex; align-items: center; gap: 10px; }
      .menu-lang label { font-size: 13px; font-weight: 700; color: var(--ink-2); flex: none; }
      .menu-lang .lang-select { flex: 1; max-width: none; min-height: 38px; }
      main { padding-top: 72px; }
      @media (max-width: 640px) {
        .corner-brand { top: 10px; left: 12px; }
        .corner-actions { top: 10px; right: 12px; gap: 6px; }
        .brand { font-size: 0; gap: 0; }
        .brand .mark { width: 32px; height: 32px; }
        .corner-actions .btn { padding: 8px 12px; min-height: 38px; font-size: 13.5px; }
        .menu-btn { width: 40px; height: 40px; }
        .menu-panel { min-width: min(260px, calc(100vw - 24px)); }
        main { padding-top: 62px; }
      }
      /* ---------- Hero ---------- */
      .hero { padding: 72px 0 30px; animation: rise .7s var(--spring) both; }
      .hero h1 {
        font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.035em;
        font-weight: 900; margin: 0 0 18px; max-width: 13ch;
      }
      .hero h1 .hl { color: inherit; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
      .hero p.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 56ch; margin: 0 0 28px; }
      .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
      .hero-stats {
        display: flex; gap: 0; flex-wrap: wrap; margin-top: 44px;
        border: 1px solid var(--glass-border); border-radius: var(--radius);
        background: var(--surface);
        backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        box-shadow: var(--glass-shadow);
        overflow: hidden;
      }
      .hero-stats div { flex: 1 1 160px; padding: 16px 20px; border-right: 1px solid var(--line); }
      .hero-stats div:last-child { border-right: 0; }
      .hero-stats b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
      .hero-stats span { color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
      .mono { font-family: var(--mono); }

      /* ---------- Sections ---------- */
      section { padding: 46px 0; }
      .sec-head { margin-bottom: 26px; max-width: 640px; }
      .sec-head h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 8px; line-height: 1.12; }
      .sec-head p { color: var(--ink-2); margin: 0; font-size: 16.5px; }
      .step-tag {
        font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent);
        letter-spacing: .03em; display: block; margin-bottom: 8px;
      }

      /* ---------- App panels (frosted glass) ---------- */
      .panel {
        background: var(--surface); border: 1px solid var(--glass-border);
        border-radius: var(--radius); padding: 24px;
        backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        box-shadow: var(--glass-shadow);
        animation: rise .6s var(--spring) both;
      }
      .panel + .panel { margin-top: 18px; }
      .panel h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
      .panel .sub { color: var(--ink-2); font-size: 14.5px; margin: 0 0 18px; }
      @keyframes rise {
        from { opacity: 0; transform: translateY(14px); }
        to { opacity: 1; transform: translateY(0); }
      }
      @keyframes pop {
        from { opacity: 0; transform: scale(0.97); }
        to { opacity: 1; transform: scale(1); }
      }

      /* Step progress */
      .stepper {
        list-style: none; margin: 0 0 18px; padding: 0;
        display: flex; flex-wrap: wrap; gap: 8px;
      }
      .stepper li {
        display: inline-flex; align-items: center; gap: 9px;
        border: 1px solid var(--glass-border); border-radius: 999px; background: var(--surface);
        backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
        padding: 7px 15px 7px 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3);
        transition: all .25s var(--spring);
      }
      .stepper .sn {
        width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--ink-3);
        font-family: var(--mono); font-size: 12.5px; font-weight: 600; display: grid; place-items: center; flex: none;
      }
      .stepper li.active { color: var(--ink); border-color: var(--ink-3); transform: scale(1.03); }
      .stepper li.active .sn { background: var(--accent); color: #fff; }
      .stepper li.done { color: var(--ok); }
      .stepper li.done .sn { background: var(--ok); color: #fff; }

      /* Dashboard is public-first: visitors see it immediately; signing in
         unlocks connecting, uploading and publishing. */
      .signedout-banner {
        display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
        background: linear-gradient(135deg, rgba(108, 124, 255, 0.16), rgba(148, 163, 184, 0.07));
        padding: 14px 18px; margin-bottom: 20px; font-size: 14.5px;
        animation: rise .45s var(--spring) both;
      }
      .signedout-banner span { flex: 1 1 240px; }
      /* Account modal rows */
      .acct-rows { display: grid; gap: 8px; margin: 6px 0 16px; }
      .acct-rows .kv-row { justify-content: space-between; }
      .acct-rows .kv-row b { text-align: right; overflow-wrap: anywhere; }
      .modal h4 { margin: 18px 0 8px; font-size: 15px; font-weight: 800; }
      .acct-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 4px 0 8px; }
      .modal .field { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 15px; margin-bottom: 10px; }

      /* Sign-in (auth) view — shown after Start, before the app */
      .auth-card {
        max-width: 430px; margin: 28px auto 8px; padding: 26px 24px; text-align: center;
      }
      .auth-card h2 { font-size: 24px; margin: 0 0 6px; }
      .auth-card .sub { margin: 0 0 18px; }
      .auth-card .field { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 15px; margin-bottom: 10px; }
      .btn-google {
        width: 100%; background: #fff; color: #1f1f1f; border: 1px solid #dadce0;
        display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      }
      .btn-google:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
      .or-div { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-2); font-size: 13px; }
      .or-div::before, .or-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
      .auth-note { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }

      /* Signed-in account strip */
      .account-strip {
        display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
        border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px;
        background: var(--surface-2);
      }
      .account-strip .txt { flex: 1 1 260px; }
      .account-strip .txt b { display: block; font-size: 15.5px; }
      .account-strip .txt span { color: var(--ink-2); font-size: 13.5px; }

      /* Plan tiers inside the plan pop-up */
      .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 4px; }
      @media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
      .tier {
        border: 1px solid var(--line); border-radius: 20px; padding: 14px; text-align: left;
        background: var(--surface-2); display: flex; flex-direction: column; gap: 8px;
      }
      .tier.hot { border-color: var(--ink); border-width: 2px; }
      .tier .price { font-size: 26px; font-weight: 800; line-height: 1.1; }
      .tier .price small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
      .tier .tname { font-weight: 700; font-size: 14px; }
      .tier ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 4px; }
      .tier ul li::before { content: "— "; }
      .tier .btn { width: 100%; justify-content: center; }

      /* Verification-code pop-up */
      .code-input {
        width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 16px;
        background: var(--surface); color: var(--ink); font-size: 22px; letter-spacing: 6px;
        text-align: center; font-weight: 700; margin: 12px 0 10px;
      }
      .code-resend { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); flex-wrap: wrap; }

      /* Connect cards */
      .connect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
      .announce-bar { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); font-size: 14px; }
      .announce-bar span { flex: 1; }
      .announce-close { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; }
      .ccard.coming-soon { opacity: 0.85; }
      .ccard.coming-soon .picon { color: #fff; }
      .pick-limits { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 8px; }
      .ccard {
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 18px;
        display: flex; flex-direction: column; gap: 12px;
        background: var(--surface);
        backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
        box-shadow: var(--glass-shadow);
        transition: transform .25s var(--spring), box-shadow .25s ease;
        animation: rise .55s var(--spring) both;
      }
      .ccard:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14); }
      .ccard.connected { border-color: var(--ink); }
      .ccard .top { display: flex; align-items: center; gap: 11px; }
      .picon { width: 38px; height: 38px; border-radius: 14px; display: grid; place-items: center; flex: none; }
      .picon svg { width: 20px; height: 20px; }
      .picon.yt { background: #FF0000; }
      .picon.fb { background: #1877F2; }
      .picon.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
      .picon.tt { background: #000000; border: 1px solid rgba(255, 255, 255, 0.28); }
      .picon.yt svg, .picon.fb svg, .picon.tt svg { fill: #fff; }
      .picon.tt svg { filter: drop-shadow(1.5px 0 0 #25F4EE) drop-shadow(-1.5px 0 0 #FE2C55); }
      .picon.ig svg { fill: none; stroke: #fff; }
      .ccard .top b { font-size: 16px; display: block; line-height: 1.2; }
      .ccard .top span { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
      .ccard p { margin: 0; font-size: 13.5px; color: var(--ink-2); flex: 1; }
      .status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
      .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
      .status.on { color: var(--ok); } .status.on .dot { background: var(--ok); }
      .status.off { color: var(--ink-3); }

      /* Official provider buttons */
      .btn-google {
        background: #fff; color: #1f1f1f; border: 1px solid #dadce0; width: 100%;
      }
      .btn-google:hover { background: #f6f8fd; border-color: #c6cede; }
      .btn-meta { background: #1877F2; color: #fff; border: 1px solid #1877F2; width: 100%; }
      .btn-meta:hover { background: #1667d8; border-color: #1667d8; }
      .btn-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; border: 1px solid transparent; width: 100%; }
      .btn-ig:hover { filter: brightness(1.08); }
      .btn-tt { background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); width: 100%; }
      .btn-tt:hover { background: #1a1a1a; }
      .btn-disconnect { background: transparent; border-color: var(--line); color: var(--ink-2); width: 100%; display: none; }
      .btn-disconnect:hover { background: var(--surface-2); color: var(--ink); }
      .ccard.connected .btn-connect { display: none; }
      .ccard .btn-connect { white-space: nowrap; }
      .ccard.connected .btn-disconnect { display: inline-flex; }
      .conn-id { display: block; font-size: 13px; color: var(--ink-2); margin: 2px 0 8px; }

      /* Connected account rows (multi-account) */
      .acct-list { display: grid; gap: 8px; margin: 2px 0 4px; }
      .acct-row {
        display: flex; align-items: center; gap: 10px;
        background: var(--surface-2); border: 1px solid var(--line);
        border-radius: 16px; padding: 9px 12px;
        animation: pop .3s var(--spring) both;
      }
      .acct-row .avatar {
        width: 30px; height: 30px; border-radius: 50%; flex: none;
        background: var(--ok-bg); color: var(--ok);
        display: grid; place-items: center; font-weight: 800; font-size: 13px;
      }
      .acct-row .who { flex: 1; min-width: 0; }
      .acct-row .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .acct-row .who span { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .acct-row .unlink {
        background: none; border: 0; color: var(--ink-3); cursor: pointer;
        font-size: 12.5px; font-weight: 700; padding: 6px 8px; border-radius: 8px; min-height: 32px; flex: none;
      }
      .acct-row .unlink:hover { color: var(--err); background: var(--err-bg); }
      .connect-notice {
        display: none; font-size: 13.5px; font-weight: 600; color: var(--err);
        background: var(--err-bg); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px;
      }
      .connect-notice.show { display: block; animation: pop .3s var(--spring) both; }
      .setup-note { font-size: 13px; color: var(--warn); font-weight: 600; margin: 8px 0 0; line-height: 1.5; }
      .btn-add-acct {
        width: 100%; min-height: 42px; margin-top: 10px; border-radius: 12px; cursor: pointer;
        background: var(--surface); border: 1px dashed var(--line); color: var(--ink);
        font-weight: 700; font-size: 14px;
        transition: background .15s ease, border-color .15s ease;
      }
      .btn-add-acct:hover:not([disabled]) { background: var(--surface-2); border-color: var(--accent); }
      .btn-add-acct[disabled] { opacity: .45; cursor: not-allowed; }

      /* Dropzone */
      .drop {
        display: block; width: 100%;
        border: 2px dashed var(--line); border-radius: var(--radius-sm); padding: 30px 20px;
        text-align: center; cursor: pointer; transition: border-color .2s var(--spring), background .2s ease, transform .2s var(--spring);
        background: var(--surface-2);
      }
      .drop:hover, .drop.over { border-color: var(--accent); background: var(--surface); transform: scale(1.005); }
      .drop .big { font-weight: 800; font-size: 17px; display: block; margin-bottom: 4px; }
      .drop .small { color: var(--ink-2); font-size: 13.5px; }
      .drop input { display: none; }
      .fileinfo { display: none; margin-top: 16px; }
      .fileinfo.show { display: block; }
      .fileinfo .row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
      .fileinfo video { width: 168px; max-width: 100%; border-radius: 16px; background: #000; aspect-ratio: 16/9; object-fit: cover; }
      .filemeta { flex: 1 1 220px; font-size: 14px; }
      .filemeta b { font-size: 15px; word-break: break-all; }
      .filemeta dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 10px 0 0; }
      .filemeta dt { color: var(--ink-3); font-weight: 600; }
      .filemeta dd { margin: 0; font-family: var(--mono); font-size: 13.5px; }
      .link-btn { background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 8px 4px; font-size: 14px; min-height: 36px; }

      /* Form fields */
      .field { margin-bottom: 18px; }
      .field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 14.5px; margin-bottom: 7px; }
      .field label .hint { font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
      .field input[type="text"], .field textarea, .field input[type="datetime-local"], .field select {
        width: 100%; border: 1px solid var(--glass-border); border-radius: 16px;
        background: var(--surface); color: var(--ink); padding: 11px 13px; font-size: 15.5px; line-height: 1.5;
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        transition: border-color .2s ease, box-shadow .2s ease;
      }
      .field textarea { resize: vertical; min-height: 110px; }
      .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 124, 255, 0.30); }
      .count { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
      .count.over { color: var(--err); font-weight: 600; }

      /* Platform pick + validation */
      .pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
      .pcard {
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 16px;
        background: var(--surface);
        backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
        box-shadow: var(--glass-shadow);
        transition: transform .25s var(--spring), opacity .25s ease;
        animation: rise .55s var(--spring) both;
      }
      .pcard:hover { transform: translateY(-2px); }
      .pcard header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
      .pcard header b { font-size: 15.5px; flex: 1; }
      /* Per-account target checkboxes */
      .acct-pick { display: grid; gap: 6px; margin: 0 0 10px; }
      .acct-pick label {
        display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600;
        cursor: pointer; padding: 7px 10px; border-radius: 10px; background: var(--surface-2);
        transition: background .15s ease;
      }
      .acct-pick label:hover { background: var(--surface); }
      .acct-pick input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; flex: none; }
      .acct-pick .none { font-size: 13px; color: var(--ink-3); font-weight: 500; }
      .switch { position: relative; width: 48px; height: 28px; flex: none; display: inline-block; }
      .switch input {
        appearance: none; -webkit-appearance: none; width: 48px; height: 28px; min-height: 28px;
        border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
        cursor: pointer; margin: 0; position: relative; transition: background .15s, border-color .15s; display: block;
      }
      .switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink-3); transition: transform .15s, background .15s; }
      .switch input:checked { background: var(--accent); border-color: var(--accent); }
      .switch input:checked::after { transform: translateX(20px); background: #fff; }
      .switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
      .vlist { list-style: none; margin: 0; padding: 0; font-size: 13.5px; display: grid; gap: 6px; }
      .vlist li { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
      .vlist li .v { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
      .vlist li.bad { color: var(--err); font-weight: 600; }
      .vlist li.bad .v { color: var(--err); }
      .vlist li.warn { color: var(--warn); font-weight: 600; }
      .vlist li.warn .v { color: var(--warn); }
      .vlist li.good .v { color: var(--ok); }
      .pcard .note { font-size: 12.5px; color: var(--warn); background: var(--warn-bg); border-radius: 8px; padding: 8px 10px; margin-top: 10px; display: none; }
      .pcard .note.show { display: block; }
      .pcard.off { opacity: .55; }
      .btn-small { padding: 7px 14px; min-height: 38px; font-size: 13.5px; border-radius: 999px; }

      /* Schedule + publish — iOS segmented control */
      .sched { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
      .radio-row {
        display: inline-flex; gap: 4px; padding: 4px; flex-wrap: wrap;
        background: var(--surface-2); border: 1px solid var(--glass-border); border-radius: 999px;
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      }
      .radio-pill {
        display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px;
        border: 0; border-radius: 999px; font-weight: 700; font-size: 14.5px;
        min-height: 40px; background: transparent; color: var(--ink-2); cursor: pointer;
        transition: all .25s var(--spring);
      }
      .radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
      .radio-pill:has(input:checked) {
        background: var(--surface-solid); color: var(--ink);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
      }
      .radio-pill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
      .when { display: none; flex: 1 1 240px; max-width: 320px; }
      .when.show { display: block; animation: pop .3s var(--spring) both; }
      .publish-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
      .publish-msg { font-size: 14px; color: var(--ink-2); }
      .publish-msg.err { color: var(--err); font-weight: 600; }

      /* Queue */
      .queue-empty { color: var(--ink-3); font-size: 14.5px; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 22px; text-align: center; }
      .qitem {
        display: flex; gap: 14px; align-items: flex-start;
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 15px 17px;
        background: var(--surface);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        animation: pop .3s var(--spring) both;
      }
      .qitem + .qitem { margin-top: 10px; }
      .qitem .picon { width: 34px; height: 34px; border-radius: 9px; }
      .qitem .picon svg { width: 18px; height: 18px; }
      .qitem .body { flex: 1; min-width: 0; }
      .qitem .body b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .qitem .body span { font-size: 13px; color: var(--ink-2); }
      .qitem .trim-note { display: block; font-size: 12.5px; color: var(--warn); font-weight: 600; margin-top: 3px; }
      .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
      .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
      .badge.queued { background: var(--ok-bg); color: var(--ok); }
      .badge.sched { background: var(--warn-bg); color: var(--warn); }
      .badge.blocked { background: var(--err-bg); color: var(--err); }
      .badge.wait { background: var(--surface-2); color: var(--ink-2); }
      .progress { height: 6px; border-radius: 99px; background: var(--surface-2); margin-top: 10px; overflow: hidden; display: none; }
      .progress.show { display: block; }
      .progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .3s ease; }

      /* Limits table */
      .limits { width: 100%; border-collapse: collapse; font-size: 14.5px; }
      .limits th, .limits td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
      .limits th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
      .limits td:first-child { font-weight: 700; white-space: nowrap; }
      .limits .mono { font-size: 13px; }
      .limits-wrap {
        border: 1px solid var(--glass-border); border-radius: var(--radius);
        background: var(--surface);
        backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        box-shadow: var(--glass-shadow);
        overflow: hidden;
      }
      @media (max-width: 640px) {
        .limits, .limits tbody, .limits tr, .limits td { display: block; width: 100%; }
        .limits thead { display: none; }
        .limits tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
        .limits td { border-bottom: 0; padding: 6px 14px; }
        .limits td::before { content: attr(data-k); display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; margin-bottom: 2px; }
      }

      /* How it works / deploy */
      .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
      .step { border-top: 3px solid var(--ink); padding-top: 16px; }
      .step .n { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 600; }
      .step h3 { margin: 6px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
      .step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
      .deploy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
      .dcard {
        background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 22px;
        backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        box-shadow: var(--glass-shadow);
        transition: transform .25s var(--spring);
        animation: rise .55s var(--spring) both;
      }
      .dcard:hover { transform: translateY(-2px); }
      .dcard h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
      .dcard p, .dcard li { color: var(--ink-2); font-size: 14.5px; }
      .dcard p { margin: 0 0 10px; }
      .dcard ol, .dcard ul { margin: 0; padding-left: 20px; display: grid; gap: 5px; }
      .dcard code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; word-break: break-all; }
      .dcard { min-width: 0; overflow-wrap: break-word; }
      .hero-note { margin: 20px 0 0; font-size: 14px; color: var(--ink-2); max-width: 62ch; display: flex; gap: 9px; align-items: flex-start; }
      .hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; margin-top: 7px; }
      .hero-note a { font-weight: 700; color: var(--accent); }
      /* API key + webhook rows */
      .kv-row {
        display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
        background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
        padding: 10px 12px; margin-top: 8px; font-size: 13.5px;
      }
      .kv-row code { font-family: var(--mono); font-size: 12.5px; word-break: break-all; flex: 1; min-width: 140px; }
      .kv-row .mini-btn {
        background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
        font-weight: 700; font-size: 12.5px; padding: 7px 12px; cursor: pointer; color: var(--ink);
        min-height: 34px; transition: background .15s ease;
      }
      .kv-row .mini-btn:hover { background: var(--surface-2); }
      .kv-row .mini-btn.danger { color: var(--err); }
      .kv-row .mini-btn.danger:hover { background: var(--err-bg); }
      .inline-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
      .inline-form input {
        flex: 1 1 180px; border: 1px solid var(--glass-border); border-radius: 16px;
        background: var(--surface); color: var(--ink); padding: 10px 12px; font-size: 14px; min-height: 44px;
      }
      .inline-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 124, 255, 0.30); }
      .form-msg { font-size: 13px; margin: 8px 0 0; color: var(--ink-2); min-height: 18px; }
      .form-msg.err { color: var(--err); font-weight: 600; }
      .form-msg.ok { color: var(--ok); font-weight: 600; }

      /* Plan bar (freemium) */
      .planbar {
        display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 20px;
        background: var(--surface);
        backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
        box-shadow: var(--glass-shadow);
      }
      .plan-badge { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 5px 11px; border-radius: 999px; }
      .plan-badge.premium { background: var(--accent); color: #fff; }
      .planbar .usage { font-size: 14px; color: var(--ink-2); font-weight: 600; flex: 1 1 200px; }
      .planbar .usage b { color: var(--ink); }
      .dots { display: inline-flex; gap: 5px; vertical-align: middle; margin-right: 8px; }
      .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: inline-block; }
      .dots i.used { background: var(--accent); border-color: var(--accent); }

      /* Pricing */
      .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
      .price-card {
        background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius);
        padding: 26px; display: flex; flex-direction: column;
        backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        box-shadow: var(--glass-shadow);
        transition: transform .25s var(--spring);
        animation: rise .55s var(--spring) both;
      }
      .price-card:hover { transform: translateY(-3px); }
      .price-card.hot { border-color: var(--accent); border-width: 2px; }
      .price-card h3 { margin: 0 0 2px; font-size: 18px; font-weight: 800; }
      .price-card .amt { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; margin: 8px 0 2px; }
      .price-card .amt span { font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
      .price-card ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
      .price-card ul li { position: relative; padding-left: 22px; }
      .price-card ul li::before { content: "✓"; color: var(--ok); font-weight: 800; position: absolute; left: 0; top: 0; }
      .price-card .btn { width: 100%; }

      /* API / downloads */
      .dl-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
      .dl-btn {
        display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line);
        background: var(--surface); color: var(--ink); border-radius: 9px; padding: 9px 14px;
        font-weight: 700; font-size: 13.5px; text-decoration: none; min-height: 42px; font-family: var(--mono);
      }
      .dl-btn:hover { background: var(--surface-2); }
      .pcard .psched { display: none; margin-top: 12px; }
      .pcard .psched.show { display: block; }
      .pcard .psched label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 5px; }
      .pcard .psched input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 8px 10px; font-size: 14px; }
      .sched-mode { margin-top: 14px; display: none; }
      .sched-mode.show { display: block; }
      .check-pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; cursor: pointer; padding: 8px 4px; min-height: 40px; }
      .check-pill input { accent-color: var(--accent); width: 18px; height: 18px; min-height: 18px; margin: 0; }

      footer { border-top: 1px solid var(--line); padding: 34px 0 46px; margin-top: 20px; }
      .foot { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; color: var(--ink-2); font-size: 14px; }
      .foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
      .foot a { text-decoration: none; font-weight: 600; padding: 6px 2px; display: inline-block; }
      .foot a:hover { color: var(--ink); }

      /* Modal */
      .overlay {
        position: fixed; inset: 0; background: rgba(10,10,12,.45); z-index: 80;
        backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
        display: none; align-items: flex-end; justify-content: center; padding: 0;
      }
      .overlay.open { display: flex; }
      .overlay.open .modal { animation: sheetUp .35s var(--spring) both; }
      @keyframes sheetUp {
        from { opacity: 0; transform: translateY(28px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
      }
      .modal {
        background: var(--surface); color: var(--ink); width: 100%; max-width: 480px;
        border: 1px solid var(--glass-border); border-radius: 32px 32px 0 0; padding: 26px 24px 30px; max-height: 88vh; overflow-y: auto;
        backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
      }
      @media (min-width: 640px) { .overlay { align-items: center; padding: 20px; } .modal { border-radius: 32px; } }
      .modal .mhead { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
      .modal h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
      .modal .x { margin-left: auto; background: var(--surface-2); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 17px; cursor: pointer; color: var(--ink); flex: none; }
      .modal p { color: var(--ink-2); font-size: 14.5px; }
      .msteps { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 0; }
      .msteps li { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
      .msteps li:last-child { border-bottom: 0; }
      .msteps .mn {
        width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2);
        font-family: var(--mono); font-size: 13px; font-weight: 600; display: grid; place-items: center; flex: none; margin-top: 1px;
      }
      .msteps li.active .mn { background: var(--accent); color: #fff; }
      .msteps li.done .mn { background: var(--ok); color: #fff; }
      .msteps li.dim { opacity: .45; }
      .msteps b { display: block; font-size: 15px; }
      .msteps span { color: var(--ink-2); font-size: 13.5px; }
      .domain-chip {
        font-family: var(--mono); font-size: 13px; background: var(--surface-2); border-radius: 8px;
        padding: 9px 12px; display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; word-break: break-all;
      }
      .domain-chip .lock { color: var(--ok); font-weight: 700; }
      .modal .btn { width: 100%; }
      .modal .alt { text-align: center; margin-top: 12px; }
      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .btn, .progress i, .switch input, .switch input::after,
        .hero, .panel, .ccard, .pcard, .price-card, .dcard, .qitem, .acct-row,
        .overlay.open .modal, .stepper li, .radio-pill, .drop, .when.show, .connect-notice.show { transition: none; animation: none; }
      }
      /* ---------- Glow: soft indigo light on midnight slate ---------- */
      h1, h2 { text-shadow: 0 0 30px rgba(108, 124, 255, 0.30); }
      .step-tag { color: #a5b4fc; text-shadow: 0 0 18px rgba(108, 124, 255, 0.45); }
      .price-card.hot, .tier.hot { box-shadow: 0 0 0 1px rgba(108, 124, 255, 0.65), 0 0 46px rgba(108, 124, 255, 0.22); }
      input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(108, 124, 255, 0.30); }

      /* ---------- Dashboard: visual 4-step flow header ---------- */
      .flow-steps {
        list-style: none; margin: 0 0 22px; padding: 0;
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
      }
      @media (max-width: 760px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
      .flow-steps li {
        display: flex; align-items: center; gap: 12px;
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
        background: var(--surface); padding: 13px 15px;
        font-size: 14px; font-weight: 700; color: var(--ink-3);
        transition: all .25s var(--spring);
      }
      .flow-steps .sn {
        width: 32px; height: 32px; border-radius: 50%; flex: none;
        background: var(--surface-2); color: var(--ink-2);
        font-size: 14px; font-weight: 800; display: grid; place-items: center;
      }
      .flow-steps li.active { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent), var(--glow-soft); }
      .flow-steps li.active .sn { background: linear-gradient(135deg, #6c7cff, #4f46e5); color: #fff; }
      .flow-steps li.done { color: var(--ink); }
      .flow-steps li.done .sn { background: var(--ok); color: #06281c; }
      .flow-steps li small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
      .flow-steps li.active small, .flow-steps li.done small { color: var(--ink-2); }

      /* ---------- Dashboard header: account + plan in one card ---------- */
      .dash-head {
        display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
        border: 1px solid var(--glass-border); border-radius: var(--radius);
        padding: 18px 20px; margin-bottom: 22px;
        background: linear-gradient(135deg, rgba(108, 124, 255, 0.14), rgba(148, 163, 184, 0.07));
        backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        box-shadow: var(--glass-shadow);
      }
      .dash-head .avatar {
        width: 52px; height: 52px; border-radius: 18px; flex: none;
        background: linear-gradient(135deg, #6c7cff, #4f46e5); color: #fff;
        display: grid; place-items: center; font-weight: 800; font-size: 22px;
        box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
      }
      .dash-head .who { flex: 1 1 220px; min-width: 0; }
      .dash-head .who b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .dash-head .who span { display: block; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

      /* ---------- Platform logo strip (real brand colors) ---------- */
      .logo-strip { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 22px 0 4px; }
      .logo-strip .lg {
        display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px;
        border: 1px solid var(--glass-border); border-radius: 999px; padding: 8px 16px 8px 8px;
        background: var(--surface);
      }
      .logo-strip .picon { width: 32px; height: 32px; border-radius: 50%; }
      .logo-strip .picon svg { width: 16px; height: 16px; }

      /* ---------- Connect cards: bigger, clearer ---------- */
      .connect-grid .ccard { padding: 22px; }
      .connect-grid .picon { width: 52px; height: 52px; border-radius: 16px; }
      .connect-grid .picon svg { width: 26px; height: 26px; }
      .connect-grid .ccard .top b { font-size: 17px; }

      /* ---------- Queue: real server jobs with live statuses ---------- */
      .queue-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
      .queue-head h3 { margin: 0; flex: 1; }
      .queue-head .note { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
      .qjob {
        display: flex; gap: 14px; align-items: flex-start;
        border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 16px 18px;
        background: var(--surface);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        animation: pop .3s var(--spring) both;
      }
      .qjob + .qjob { margin-top: 10px; }
      .qjob .picon { width: 40px; height: 40px; border-radius: 12px; flex: none; }
      .qjob .picon svg { width: 20px; height: 20px; }
      .qjob .body { flex: 1; min-width: 0; }
      .qjob .body b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .qjob .body span { font-size: 13px; color: var(--ink-2); }
      .qjob .job-err { display: block; font-size: 13px; color: var(--err); font-weight: 600; margin-top: 4px; }
      .qjob .job-link { display: inline-block; font-size: 13.5px; font-weight: 700; color: #a5b4fc; margin-top: 6px; }
      .qjob .job-link:hover { color: #c7d2fe; }
      .qjob .progress { display: block; height: 8px; margin-top: 10px; }
      .qjob .progress i { background: linear-gradient(90deg, #6c7cff, #38bdf8); }
      .qjob.st-published .progress i { background: var(--ok); }
      .qjob.st-failed .progress i { background: var(--err); }
      .badge.publishing { background: var(--accent-soft); color: #c7d2fe; }
      .badge.published { background: var(--ok-bg); color: var(--ok); }
      .badge.failed { background: var(--err-bg); color: var(--err); }
      .badge.publishing .dot { background: #818cf8; animation: pulse 1.2s ease-in-out infinite; }
      @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
      .qjob .retry-btn { flex: none; align-self: center; }

      /* ---------- API & webhooks panel ---------- */
      .api-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
      .api-col h4 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
      .api-col p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }

      /* ---------- Pricing: clean wide grid (no circle) ---------- */
      .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1060px; margin: 0 auto; }
      @media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; } }
      .price-card { padding: 30px 28px; }
      .price-card.hot { border-color: var(--accent); border-width: 2px; transform: translateY(-4px); }

      /* ---------- How it works: big numbered steps ---------- */
      .how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 26px 0; counter-reset: how; }
      .how-step {
        border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 26px 24px;
        background: var(--surface); backdrop-filter: blur(20px) saturate(170%);
        -webkit-backdrop-filter: blur(20px) saturate(170%); box-shadow: var(--glass-shadow);
        transition: transform .25s var(--spring); animation: rise .55s var(--spring) both;
      }
      .how-step:hover { transform: translateY(-3px); }
      .how-step .num {
        width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
        background: linear-gradient(135deg, #6c7cff, #4f46e5); color: #fff;
        font-size: 22px; font-weight: 800; margin-bottom: 16px;
        box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45);
      }
      .how-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
      .how-step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
      .how-step .visual { display: flex; gap: 8px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
      .how-step .visual .picon { width: 36px; height: 36px; border-radius: 12px; }
      .how-step .visual .picon svg { width: 18px; height: 18px; }
      .how-step .visual .arrow { color: var(--ink-3); font-weight: 800; }

      /* ---------- Big plan logos + full benefit lists ---------- */
      .plan-logo {
        width: 96px; height: 96px; border-radius: 32px; background: #fff; color: #0d1526;
        display: grid; place-items: center; margin: 0 auto 16px; flex: none;
        box-shadow: 0 12px 32px rgba(2, 6, 18, 0.45);
      }
      .plan-logo svg { width: 44px; height: 44px; fill: currentColor; }
      .plan-logo.free { background: #fff; color: #0d1526; }
      .plan-logo.monthly { background: linear-gradient(135deg, #6c7cff, #4f46e5); color: #fff; box-shadow: 0 12px 32px rgba(79, 70, 229, 0.55); }
      .plan-logo.yearly { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45); }
      .plan-card { text-align: center; }
      .plan-card .amt { font-size: 46px; }
      .plan-per { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; }
      .plan-feats { text-align: left; margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
      .plan-feats li { padding-left: 24px; position: relative; }
      .plan-feats li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
      .plan-feats li b { color: var(--ink); }
      .plan-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(135deg, #6c7cff, #4f46e5); color: #fff; border-radius: 999px; padding: 5px 13px; margin-bottom: 12px; box-shadow: var(--glow); }
      .plan-tag.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 0 22px rgba(245, 158, 11, 0.45); }
      .plan-card .btn { width: 100%; justify-content: center; }
      .checkout-box { max-width: 520px; margin: 22px auto 0; text-align: center; }
      .checkout-box input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 15px; margin-bottom: 10px; }

      /* ---------- Slim pages (support / contact) ---------- */
      .doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 22px 0; }
      .doc-card { background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--glass-shadow); }
      .doc-card h3 { margin: 0 0 6px; font-size: 17px; }
      .doc-card p { margin: 0 0 12px; color: var(--ink-2); font-size: 14.5px; }
      .doc-card a.big-link { font-weight: 800; font-size: 16px; color: #fff; text-shadow: var(--glow); word-break: break-all; }
      .page-head { padding: 8px 0; }
      .page-head h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; margin: 0 0 10px; }
      .page-head p { color: var(--ink-2); font-size: 17px; max-width: 62ch; margin: 0; }
      .page-body { padding: 26px 0 60px; }
      .page-body h2 { font-size: 22px; margin: 30px 0 8px; }
      .page-body p, .page-body li { color: var(--ink-2); font-size: 15.5px; }
      .page-body ul { padding-left: 20px; display: grid; gap: 6px; }
      .page-body a { color: #fff; font-weight: 600; }
