    :root{
      --bg:#07060a;
      --text:#f5e6cf;
      --muted:rgba(245,230,207,.78);
      --text-primary: #f5e6cf;
      --text-secondary: rgba(245,230,207,.78);
      --card-bg: rgba(12,10,14,.6);
      --accent: #ff8a1f;

      --glass: rgba(12,10,14,.55);
      --glass2: rgba(12,10,14,.72);
      --border: rgba(255,170,60,.22);
      --shadow: 0 18px 40px rgba(0,0,0,.55);

      --orange:#ff8a1f;
      --orange2:#ffb34d;
      --blue:#1b2d5a;

      --radius:18px;
    }

    *{ box-sizing:border-box; }
    body{
      margin:0;
      font-family: Arial, sans-serif;
      color:var(--text);
      background: var(--bg);
      min-height:100vh;
    }

    /* ====== Background ====== */
    .page{
      min-height:100vh;
      background-image: url("/images/bg-home-embers.jpg");
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      position:relative;
      overflow:hidden;
    }
    @media (max-width: 780px){
      .page{
        background-image: url("/images/bg-home-embers-mobile.jpg");
        background-attachment: scroll;
      }
    }
    .page::before{
      content:"";
      position:absolute; inset:0;
      background: radial-gradient(1200px 600px at 50% 30%, rgba(255,150,40,.28), rgba(0,0,0,.55));
      pointer-events:none;
    }

    /* ====== Top Bar ====== */
    header{
      position: sticky;
      top: 0;
      z-index: 50;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 14px 22px;
      border-bottom: 1px solid rgba(255,170,60,.10);
      background: linear-gradient(to bottom, rgba(8,6,10,.88), rgba(8,6,10,.55));
      backdrop-filter: blur(10px);
    }
    .logo{
      display:flex;
      align-items:center;
      gap:10px;
      text-decoration:none;
      color: var(--text);
      font-weight: 900;
      letter-spacing: .2px;
    }
    .logo img{ height:38px; width:auto; display:block; }
    .nav-actions{
      display:flex;
      align-items:center;
      gap:12px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .nav-link{
      color: var(--text);
      text-decoration:none;
      font-weight: 800;
      opacity:.9;
      padding: 10px 12px;
      border-radius: 999px;
      border: 1px solid rgba(255,170,60,.18);
      background: rgba(0,0,0,.18);
      cursor:pointer;
    }
    .nav-link:hover{ border-color: rgba(255,170,60,.32); background: rgba(0,0,0,.25); }

    .nav-primary{
      color:#1b0b00;
      background: linear-gradient(180deg, rgba(255,168,68,1), rgba(255,120,20,1));
      border: 1px solid rgba(255,170,60,.55);
      box-shadow: 0 10px 26px rgba(255,120,20,.22);
    }
    .nav-primary:hover{ filter: brightness(1.04); }

    .bw-nav-shell {
      position: sticky;
      top: 0;
      z-index: 80;
      padding: 0;
      border-bottom: 1px solid rgba(255, 106, 0, 0.24);
      background: rgba(11, 11, 11, 0.94);
      box-shadow: 0 1px 22px rgba(255, 106, 0, 0.13);
      backdrop-filter: blur(14px);
    }

    .bw-nav {
      width: min(1440px, 100%);
      margin: 0 auto;
      min-height: 66px;
      padding: 0 28px;
      display: grid;
      grid-template-columns: minmax(170px, auto) minmax(360px, 1fr) minmax(360px, auto);
      align-items: center;
      gap: 18px;
      color: #fff;
    }

    .bw-nav-left,
    .bw-nav-center,
    .bw-nav-right {
      display: flex;
      align-items: center;
      gap: 18px;
      min-width: 0;
    }

    .bw-nav-center {
      justify-content: center;
    }

    .bw-nav-right {
      justify-content: flex-end;
      gap: 12px;
      flex-wrap: wrap;
    }

    .bw-nav-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      text-decoration: none;
      white-space: nowrap;
    }

    .bw-nav-logo-mark {
      font-size: 1.65rem;
      filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.58));
    }

    .bw-nav-logo-img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.35));
    }

    .bw-nav-logo-text {
      font-weight: 950;
      letter-spacing: 0.04em;
      font-size: 1.15rem;
    }

    .bw-nav-logo-text small {
      color: #ff6a00;
      font-size: 0.68em;
      letter-spacing: 0.08em;
    }

    .bw-nav-item,
    .bw-nav-login,
    .bw-nav-button-link {
      appearance: none;
      border: 0;
      background: transparent;
      color: rgba(255, 255, 255, 0.88);
      text-decoration: none;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.9rem;
      line-height: 1;
      padding: 9px 2px;
    }

    .bw-nav-dd::after {
      content: " ▾";
      color: rgba(255, 106, 0, 0.95);
      font-size: 0.78em;
    }

    .bw-nav-item:hover,
    .bw-nav-login:hover,
    .bw-nav-logo:hover {
      color: #fff;
      text-decoration: underline;
      text-decoration-color: #ff6a00;
      text-underline-offset: 6px;
      text-shadow: 0 0 16px rgba(255, 106, 0, 0.5);
    }

    .bw-nav-demo {
      border: 1px solid rgba(255, 106, 0, 0.72);
      border-radius: 8px;
      color: #fff;
      background: rgba(255, 106, 0, 0.07);
      padding: 11px 17px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(255, 106, 0, 0.12);
    }

    .bw-nav-demo:hover {
      background: linear-gradient(135deg, rgba(255, 106, 0, 0.95), rgba(255, 140, 0, 0.95));
      color: #140700;
      box-shadow: 0 0 26px rgba(255, 106, 0, 0.34);
    }

    .bw-credits-balance {
      color: rgba(255, 255, 255, 0.74);
      font-size: 0.82rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .bw-nav-user {
      align-items: center;
      gap: 9px;
      flex-wrap: wrap;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.85rem;
    }

    .bw-nav-welcome strong {
      color: #fff;
    }

    @media (max-width: 1140px) {
      .bw-nav {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 12px 20px;
      }

      .bw-nav-center,
      .bw-nav-right {
        justify-content: center;
      }
    }

    @media (max-width: 680px) {
      .bw-nav-center {
        gap: 10px;
        flex-wrap: wrap;
      }

      .bw-nav-right {
        gap: 9px;
      }

      .bw-nav-compact,
      .bw-credits-balance {
        display: none;
      }
    }

    .bw-credits-nav{
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:8px;
      padding-right:12px;
      margin-right:4px;
      border-right:1px solid rgba(255,170,60,.14);
    }
    @media (max-width: 640px){
      .bw-credits-nav{
        border-right:none;
        padding-right:0;
        margin-right:0;
        width:100%;
        justify-content:flex-end;
      }
    }
    .bw-credits-balance{
      font-weight:800;
      font-size:0.9rem;
      color:var(--muted);
      letter-spacing:.02em;
    }
    .bw-credits-add{
      padding:8px 12px!important;
      font-weight:800;
      border-radius:999px!important;
    }
    .bw-credits-nav .nav-link{
      padding:8px 12px!important;
      font-size:0.82rem!important;
    }

    /* Production public nav override — responsive/collapsible */
    .bw-nav-shell {
      position: sticky;
      top: 0;
      z-index: 1000;
      padding: 0;
      background: #0a0a0a;
      border-bottom: 1px solid rgba(255, 106, 0, 0.2);
      box-shadow: none;
      backdrop-filter: blur(12px);
    }

    .bw-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      width: 100%;
      max-width: 1440px;
      min-height: 70px;
      margin: 0 auto;
      padding: 16px 40px;
      color: #fff;
      position: relative;
    }

    .bw-nav-left,
    .bw-nav-center,
    .bw-nav-right {
      display: flex;
      align-items: center;
      min-width: 0;
    }

    .bw-nav-left {
      flex: 0 0 auto;
    }

    .bw-nav-center {
      flex: 1 1 auto;
      justify-content: center;
      gap: 0;
    }

    .bw-nav-right {
      flex: 0 0 auto;
      justify-content: flex-end;
      gap: 14px;
      flex-wrap: nowrap;
    }

    .bw-nav-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #fff;
      text-decoration: none;
      white-space: nowrap;
    }

    .bw-nav-logo-img {
      width: 30px;
      height: 30px;
      object-fit: contain;
    }

    .bw-nav-logo-text {
      font-size: 1.05rem;
      font-weight: 950;
      letter-spacing: 0.05em;
    }

    .bw-nav-logo-text small {
      color: #ff6a00;
      font-size: 0.68em;
    }

    .bw-nav-item,
    .bw-nav-login,
    .bw-nav-button-link {
      appearance: none;
      border: 0;
      background: transparent;
      color: rgba(255, 255, 255, 0.86);
      text-decoration: none;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.9rem;
      line-height: 1;
      padding: 8px 0;
      margin: 0 10px;
    }

    .bw-nav-center .bw-nav-item {
      margin: 0 16px;
    }

    .bw-nav-dd::after {
      content: " ▾";
      color: rgba(255, 106, 0, 0.9);
      font-size: 0.78em;
    }

    .bw-nav-item:hover,
    .bw-nav-login:hover,
    .bw-nav-button-link:hover,
    .bw-nav-logo:hover {
      color: #fff;
      text-decoration: underline;
      text-decoration-color: #ff6a00;
      text-underline-offset: 6px;
      text-shadow: 0 0 12px rgba(255, 106, 0, 0.35);
    }

    .bw-nav-demo {
      border: 0;
      border-radius: 8px;
      color: #130700;
      background: linear-gradient(135deg, #ff6a00, #ff8c00);
      padding: 10px 18px;
      font-weight: 900;
      cursor: pointer;
      box-shadow: none;
      white-space: nowrap;
    }

    .bw-nav-demo:hover {
      filter: brightness(1.05);
      color: #130700;
      box-shadow: 0 0 18px rgba(255, 106, 0, 0.22);
    }

    .bw-credits-balance {
      color: rgba(255, 255, 255, 0.74);
      font-size: 0.86rem;
      font-weight: 800;
      white-space: nowrap;
    }

    .bw-nav-user {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 0.85rem;
    }

    .bw-menu-icon {
      display: none;
      border: 0;
      background: transparent;
      color: #fff;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      padding: 6px;
    }

    @media (max-width: 1180px) {
      .bw-nav {
        padding: 16px 24px;
        gap: 16px;
      }

      .bw-nav-center .bw-nav-item {
        margin: 0 9px;
      }

      .bw-nav-right {
        gap: 10px;
      }
    }

    @media (max-width: 1000px) {
      .bw-nav {
        min-height: 70px;
      }

      .bw-nav-center {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 24px;
        border-bottom: 1px solid rgba(255, 106, 0, 0.2);
      }

      .bw-nav-center.active {
        display: flex;
      }

      .bw-nav-center .bw-nav-item {
        margin: 0;
        padding: 14px 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      }

      .bw-menu-icon {
        display: block;
      }
    }

    @media (max-width: 720px) {
      .bw-nav {
        padding: 14px 16px;
      }

      .bw-nav-right .bw-nav-compact,
      .bw-nav-right .bw-nav-button-link,
      .bw-nav-right .bw-credits-balance {
        display: none;
      }

      .bw-nav-demo {
        padding: 9px 12px;
      }
    }

    @media (max-width: 480px) {
      .bw-nav-logo-text {
        font-size: 0.9rem;
      }

      .bw-nav-demo {
        display: none;
      }
    }

    /* Auth and Password View toggle areas (reuse your existing ids) */
    #authLinks, #userLinks{ display:inline; }

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 52px; /* more breathing room */
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,138,31,.12);
  border: 1px solid rgba(255,138,31,.25);
  cursor: pointer;

  color: #ff8a1f;
}

.toggle-password:hover {
  background: rgba(255,138,31,.2);
}

.toggle-password svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.eye-closed {
  display: none;
}



    /* ====== Hero ====== */
    .wrap{
      position:relative;
      max-width: 1180px;
      margin: 0 auto;
      padding: 56px 18px 34px;
    }
    .hero{
      text-align:center;
      padding: 40px 16px 28px;
    }
    .hero h1{
      margin: 0 0 16px;
      font-size: 46px;
      line-height: 1.06;
      letter-spacing: -0.6px;
      text-shadow: 0 14px 34px rgba(0,0,0,.55);
    }
    .hero .hero-lead{
      margin: 0 auto 14px;
      max-width: 860px;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.55;
      text-shadow: 0 10px 24px rgba(0,0,0,.55);
    }
    .hero .hero-flow{
      margin: 0 auto 22px;
      max-width: 920px;
      color: rgba(245,230,207,.88);
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.04em;
      line-height: 1.45;
      text-shadow: 0 8px 20px rgba(0,0,0,.45);
    }
    .hero-actions{
      margin-top: 8px;
      display:flex;
      gap:12px;
      justify-content:center;
      flex-wrap:wrap;
    }
    .btn{
      border:none;
      border-radius: 12px;
      padding: 12px 18px;
      font-size: 16px;
      font-weight: 900;
      cursor:pointer;
    }
    .btn:disabled{ opacity:.6; cursor:not-allowed; }
    .btn-primary{
      color:#1b0b00;
      background: linear-gradient(180deg, rgba(255,168,68,1), rgba(255,120,20,1));
      box-shadow: 0 12px 26px rgba(255,120,20,.22);
      border: 1px solid rgba(255,170,60,.55);
    }
    .btn-secondary{
      color: var(--text);
      background: rgba(15,20,32,.65);
      border: 1px solid rgba(255,170,60,.22);
    }
    .btn-primary:hover{ filter: brightness(1.05); }
    .btn-secondary:hover{ background: rgba(15,20,32,.78); border-color: rgba(255,170,60,.32); }

    .hero-link{
      display:inline-flex;
      gap:8px;
      align-items:center;
      justify-content:center;
      margin-top: 10px;
      color: rgba(255,190,120,.9);
      text-decoration:none;
      font-weight: 800;
      opacity: .95;
    }
    .hero-link:hover{ text-decoration: underline; }

    @media (max-width: 860px){
      .hero h1{ font-size: 34px; }
      .hero .hero-lead{ font-size: 15.5px; }
      .hero .hero-flow{ font-size: 12.5px; letter-spacing: 0.02em; }
    }

    .land-trust-line{
      text-align: center;
      margin: 0 auto 8px;
      max-width: 640px;
      padding: 0 16px;
      font-size: 15px;
      font-weight: 700;
      color: rgba(255,200,140,.92);
      line-height: 1.45;
      text-shadow: 0 8px 22px rgba(0,0,0,.45);
    }

    /* ====== Product Cards ====== */
    .cards{
      margin-top: 36px;
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      align-items: stretch;
    }
    @media (max-width: 980px){
      .cards{ grid-template-columns: 1fr; }
    }

    .card{
      position:relative;
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(10,8,12,.62), rgba(10,8,12,.38));
      border: 1px solid rgba(255,170,60,.20);
      box-shadow: var(--shadow);
      overflow:hidden;
      padding: 18px 18px 16px;
      min-height: 330px;
      backdrop-filter: blur(10px);
      display: flex;
      flex-direction: column;
      transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
    }
    .card:hover{
      transform: translateY(-5px);
      filter: brightness(1.07);
      box-shadow: 0 22px 48px rgba(0,0,0,.5);
    }
    .card--featured{
      z-index: 2;
      transform: scale(1.045);
      min-height: 350px;
      border-color: rgba(255,170,60,.48);
      box-shadow:
        0 0 0 1px rgba(255,160,60,.25),
        0 0 42px rgba(255,130,40,.18),
        var(--shadow);
    }
    .card--featured:hover{
      transform: translateY(-5px) scale(1.045);
      filter: brightness(1.09);
    }
    @media (max-width: 980px){
      .card--featured{
        transform: none;
        min-height: 330px;
      }
      .card--featured:hover{
        transform: translateY(-5px);
      }
    }
    .card::before{
      content:"";
      position:absolute; inset:-60px -60px auto -60px;
      height: 190px;
      background: radial-gradient(circle at 30% 40%, rgba(255,140,40,.22), rgba(0,0,0,0));
      pointer-events:none;
    }

    .card-media{
      height: 132px;
      display:flex;
      align-items:center;
      justify-content:center;
      margin-bottom: 10px;
      opacity: .98;
    }
    .card-media img{
      max-height: 132px;
      max-width: 100%;
      display:block;
      filter: drop-shadow(0 14px 26px rgba(0,0,0,.55));
    }
    .bw-card-image img {
      width: 100%;
      border-radius: 8px;
      margin-bottom: 12px;
    }
    .card h3{
      margin: 6px 0 10px;
      font-size: 22px;
      letter-spacing: -0.3px;
    }
    .coming-soon-badge{
      display: inline-block;
      margin-left: 8px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,170,60,.45);
      background: rgba(0,0,0,.35);
      color: var(--orange);
      vertical-align: middle;
      line-height: 1.2;
    }
    @media (max-width: 600px){
      .coming-soon-badge{
        display: block;
        margin: 10px 0 0 0;
        width: fit-content;
      }
    }
    .card p{
      margin: 0 0 14px;
      color: var(--muted);
      line-height: 1.5;
      font-size: 14.5px;
      flex: 1;
      min-height: 4.5em;
    }

    .card .cta{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      text-decoration:none;
      font-weight: 900;
      padding: 11px 14px;
      border-radius: 12px;
      color:#1b0b00;
      background: linear-gradient(180deg, rgba(255,168,68,1), rgba(255,120,20,1));
      border: 1px solid rgba(255,170,60,.55);
      box-shadow: 0 10px 24px rgba(255,120,20,.18);
      margin-top: auto;
      align-self: flex-start;
      min-width: 9.5rem;
      transition: filter 0.2s ease;
    }
    .card .cta:hover{ filter: brightness(1.08); }

    /* ====== How It Works (landing) ====== */
    .how-it-works{
      margin-top: 52px;
      margin-bottom: 12px;
      padding: 28px 18px 8px;
      position: relative;
    }
    .how-it-works-title{
      margin: 0 0 22px;
      text-align: center;
      font-size: 28px;
      font-weight: 900;
      letter-spacing: -0.4px;
      text-shadow: 0 12px 28px rgba(0,0,0,.45);
    }
    .how-steps{
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 20px;
      max-width: 1100px;
      margin: 0 auto;
    }
    @media (max-width: 900px){
      .how-steps{
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 520px){
      .how-steps{
        grid-template-columns: 1fr;
      }
    }
    .how-step{
      position: relative;
      border-radius: var(--radius);
      padding: 20px 18px 18px;
      background: linear-gradient(180deg, rgba(10,8,12,.5), rgba(10,8,12,.28));
      border: 1px solid rgba(255,170,60,.16);
      box-shadow: 0 12px 32px rgba(0,0,0,.35);
    }
    .how-step-num{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      margin-bottom: 10px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 900;
      color: #1b0b00;
      background: linear-gradient(180deg, rgba(255,168,68,1), rgba(255,120,20,1));
      border: 1px solid rgba(255,170,60,.45);
    }
    .how-step-heading{
      margin: 0 0 8px;
      font-size: 16px;
      font-weight: 900;
      letter-spacing: -0.2px;
      line-height: 1.25;
    }
    .how-step-text{
      margin: 0;
      font-size: 14px;
      line-height: 1.5;
      color: var(--muted);
    }

    /* ====== Floating CTA ====== */
    .floating-talk{
      position: fixed;
      right: 18px;
      bottom: 18px;
      z-index: 60;
      padding: 12px 16px;
      border-radius: 14px;
      border: 1px solid rgba(255,170,60,.28);
      background: rgba(8,6,10,.72);
      color: var(--text);
      font-weight: 900;
      cursor:pointer;
      box-shadow: 0 14px 30px rgba(0,0,0,.55);
    }
    .floating-talk:hover{
      border-color: rgba(255,170,60,.40);
      background: rgba(8,6,10,.82);
    }

    /* ===== Footer ===== */
    footer{
      position:relative;
      margin-top: 40px;
      padding: 24px 18px 34px;
      text-align:center;
      color: rgba(245,230,207,.68);
      font-size: 13px;
    }

    /* ===== Modals (Auth + Contact) ===== */
    .modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.65); z-index:1000; }
    .modal-box {
      background:#0c0a0e;
      color: var(--text);
      border: 1px solid rgba(255,170,60,.25);
      box-shadow: 0 18px 40px rgba(0,0,0,.65);
      max-width: 460px;
      margin: 8% auto;
      padding: 22px;
      border-radius: 14px;
      position:relative;
    }
    .close { position:absolute; right:14px; top:10px; cursor:pointer; font-size:22px; opacity:.9; }

    /* Inputs */
    input, textarea{
      width:100%;
      padding:10px 12px;
      margin:6px 0;
      border-radius:10px;
      border:1px solid rgba(255,170,60,.18);
      background: rgba(255,255,255,.06);
      color: var(--text);
      outline:none;
    }
    textarea{ min-height:110px; resize:vertical; }
    input:focus, textarea:focus{
      border-color: rgba(255,170,60,.38);
      box-shadow: 0 0 0 4px rgba(255,120,20,.12);
    }

    /* Errors/success */
    .muted { color: rgba(245,230,207,.70); font-size:.95em; }
    .error { color:#ff8a8a; font-size:0.92em; margin-top:8px; }
    .success { color:#58d38b; font-size:0.95em; margin-top:8px; }

    .grid{ display:grid; gap:12px; }
    @media (min-width: 720px){
      .grid-2{ grid-template-columns: 1fr 1fr; }
    }

    .link-btn{
      background:none;
      border:none;
      padding:0;
      color:#ffb34d;
      cursor:pointer;
      font: inherit;
      text-decoration: underline;
    }
    .modal-actions{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:10px;
      margin-top:10px;
      flex-wrap:wrap;
    }
    .secondary-btn{
      background: rgba(255,255,255,.10);
      border:1px solid rgba(255,170,60,.22);
      color: var(--text);
    }
  


/* =========================================================
   BUZZWORKS – MARKETING / PUBLIC STYLES
   Extracted from index.html (SOURCE OF TRUTH)
========================================================= */

:root{
  /* ===== Ember Theme (DARK) ===== */
  --bg:#05060a;
  --text:#f5e6cf;
  --muted:rgba(245,230,207,.78);
  --text-primary: #f5e6cf;
  --text-secondary: rgba(245,230,207,.78);
  --card-bg: rgba(12,10,14,.6);
  --accent: #ff8a1f;

  --glass: rgba(12,10,14,.55);
  --glass2: rgba(12,10,14,.72);

  --border: rgba(255,170,60,.20);
  --shadow: 0 18px 50px rgba(0,0,0,.55);

  --orange:#ff8a1f;
  --orange2:#ffb34d;

  --btn:#ff8a1f;
  --btnHover:#ff9a35;

  --radius:18px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height:100vh;

  background-image:
    radial-gradient(1200px 700px at 55% 20%, rgba(255,150,40,.22), rgba(0,0,0,0) 60%),
    radial-gradient(900px 540px at 12% 40%, rgba(255,120,20,.16), rgba(0,0,0,0) 58%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.65)),
    url("/images/bg-home-embers.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x:hidden;
}

/* =========================
   HEADER
========================= */
.app-header{
  position: sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(255,170,60,.14);
  background: linear-gradient(to bottom, rgba(8,6,10,.86), rgba(8,6,10,.55));
  backdrop-filter: blur(10px);
}

.app-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.app-header a{
  color: var(--text);
  font-weight:900;
  text-decoration:none;
}

.app-header nav a{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,170,60,.16);
  background: rgba(0,0,0,.18);
  color: rgba(245,230,207,.92);
  font-size:14px;
  font-weight:800;
}

.app-header nav a:hover{
  background: rgba(0,0,0,.28);
  border-color: rgba(255,170,60,.32);
}

/* =========================
   PAGE WRAPPER
========================= */
.page{
  min-height:100vh;
}

.page-inner{
  max-width:1200px;
  margin:0 auto;
  padding:26px 18px 80px;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,h2,h3{
  text-shadow: 0 14px 34px rgba(0,0,0,.55);
}

h2{
  margin:0 0 6px;
  font-size:30px;
}

.subtle{
  color: var(--muted);
  font-size:14px;
}

/* =========================
   CARDS
========================= */
.dashboard-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:22px;
  margin-top:28px;
}

@media(max-width:1100px){
  .dashboard-grid{ grid-template-columns: repeat(2,1fr); }
}
@media(max-width:700px){
  .dashboard-grid{ grid-template-columns: 1fr; }
}

.card{
  background: linear-gradient(180deg, rgba(10,8,12,.62), rgba(10,8,12,.38));
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  border:1px solid rgba(255,170,60,.18);
  backdrop-filter: blur(10px);
}

.card h3{
  margin:0 0 10px;
  font-size:18px;
}

.card p{
  font-size:14px;
  line-height:1.45;
  color: var(--muted);
}

/* =========================
   BUTTONS
========================= */
.button{
  display:inline-block;
  margin-top:14px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-align:center;
  background: linear-gradient(180deg, rgba(255,168,68,1), rgba(255,120,20,1));
  color:#1b0b00;
  border:1px solid rgba(255,170,60,.55);
  box-shadow: 0 14px 30px rgba(255,120,20,.20);
  text-decoration:none;
}

.button:hover{ filter: brightness(1.05); }

/* =========================
   FOOTER
========================= */
footer{
  text-align:center;
  font-size:13px;
  color: var(--muted);
  padding:26px 0;
}

.public-footer .footer-inner{
  margin-bottom:20px;
}

.public-footer .footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px 24px;
  margin-bottom:20px;
}

.public-footer .footer-links a{
  color: var(--muted);
  text-decoration:none;
  font-weight:600;
  transition: color 0.2s;
}

.public-footer .footer-links a:hover{
  color: rgba(255,190,120,.95);
}

.public-footer .footer-bottom{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12px;
  opacity:0.85;
}

.public-footer .footer-bottom p{
  margin:0;
}

@media (max-width: 640px){
  .public-footer .footer-links{
    gap:12px 16px;
    font-size:12px;
  }
  
  .public-footer .footer-bottom{
    font-size:11px;
  }
}

/* =========================================================
   INDEX — story landing (alternating sections, hero + BeeBot)
========================================================= */

.bw-index .wrap {
  max-width: 1180px;
}

/* Hero split + BeeBot */
.hero.hero--split {
  text-align: left;
  padding: 28px 0 20px;
}

.hero--split .hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  gap: 28px 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.hero--split .hero-copy h1 {
  text-align: left;
  margin-bottom: 14px;
}

.hero--split .hero-actions {
  justify-content: flex-start;
}

.hero-beebot {
  position: relative;
  justify-self: end;
}

.hero-beebot img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(255, 140, 40, 0.22));
}

.bw-hero-bullets {
  margin: 0 0 20px;
  padding-left: 1.15rem;
  color: rgba(245, 230, 207, 0.92);
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

.bw-hero-bullets li {
  margin-bottom: 6px;
}

.bw-hero-bullets strong {
  color: rgba(255, 200, 140, 0.98);
}

@media (max-width: 900px) {
  .hero--split .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-beebot {
    justify-self: center;
    order: 2;
  }

  .hero--split .hero-copy {
    order: 1;
  }
}

/* Story sections */
.bw-story-section {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0;
}

.bw-story-section--glow::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: min(100%, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 170, 60, 0.35), transparent);
  pointer-events: none;
}

.bw-story-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.bw-story-h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.15;
  color: rgba(252, 246, 232, 0.98);
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.bw-story-h2--center {
  text-align: center;
  margin-bottom: 22px;
}

.bw-story-lead {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.bw-story-tagline {
  margin: 0 0 16px;
  font-size: 15px;
  color: rgba(255, 200, 140, 0.95);
}

.bw-story-closing {
  margin: 16px 0 18px;
  font-size: 16px;
  color: rgba(245, 230, 207, 0.94);
}

.bw-story-list,
.bw-story-ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.bw-story-list li,
.bw-story-ol li {
  margin-bottom: 8px;
}

.bw-story-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  justify-content: space-between;
}

.bw-story-text,
.bw-story-media {
  flex: 1 1 300px;
  max-width: 100%;
  min-width: 0;
}

.bw-story-row--reverse {
  flex-direction: row-reverse;
}

@media (max-width: 860px) {
  .bw-story-row,
  .bw-story-row--reverse {
    flex-direction: column;
  }

  .bw-story-text {
    order: 1;
  }

  .bw-story-media {
    order: 2;
  }
}

.bw-story-card-shell {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 170, 60, 0.22);
  background: linear-gradient(180deg, rgba(10, 8, 12, 0.55), rgba(10, 8, 12, 0.28));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 120, 20, 0.08);
}

.bw-story-card-shell img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* CTA links (same visual as product card CTAs) */
.bw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 900;
  padding: 11px 18px;
  border-radius: 12px;
  color: #1b0b00;
  background: linear-gradient(180deg, rgba(255, 168, 68, 1), rgba(255, 120, 20, 1));
  border: 1px solid rgba(255, 170, 60, 0.55);
  box-shadow: 0 10px 24px rgba(255, 120, 20, 0.18);
  transition: filter 0.2s ease;
}

.bw-cta:hover {
  filter: brightness(1.08);
}

.bw-cta--ghost {
  color: var(--text);
  background: rgba(15, 20, 32, 0.65);
  border: 1px solid rgba(255, 170, 60, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.bw-cta--ghost:hover {
  background: rgba(15, 20, 32, 0.82);
  border-color: rgba(255, 170, 60, 0.36);
  filter: none;
}

/* How it works — icon row */
.bw-how-flow .how-step-icon {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 8px;
}

.bw-how-flow .how-step-num {
  display: none;
}

.bw-how-flow .how-step {
  text-align: center;
}

.bw-how-flow .how-step-text {
  min-height: 2.8em;
}

/* More capabilities (wallet + agents) */
.bw-more-capabilities {
  padding-bottom: 20px;
}

.bw-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .bw-more-grid {
    grid-template-columns: 1fr;
  }
}

.bw-more-card {
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid rgba(255, 170, 60, 0.18);
  background: linear-gradient(180deg, rgba(10, 8, 12, 0.58), rgba(10, 8, 12, 0.32));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.bw-more-card-image {
  margin-bottom: 12px;
}

.bw-more-card-image img {
  max-height: 100px;
  width: auto;
  display: block;
}

.bw-more-card-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 900;
}

.bw-more-card-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Final CTA */
.bw-final-cta {
  margin: 36px 0 48px;
  padding: clamp(36px, 6vw, 52px) 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 170, 60, 0.24);
  background: linear-gradient(165deg, rgba(20, 12, 8, 0.75), rgba(8, 6, 10, 0.92));
  box-shadow: 0 0 50px rgba(255, 100, 20, 0.12), 0 22px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.bw-final-cta-title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.4px;
}

.bw-final-cta-sub {
  margin: 0 auto 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.bw-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

a.btn,
a.btn-primary,
a.btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Production nav v2 — three-zone logged-in architecture
========================================================= */
.bw-nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 106, 0, 0.2);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.bw-nav {
  width: min(1440px, 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  color: #fff;
}

.bw-nav-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.bw-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.bw-brand {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.bw-brand small {
  color: #ff6a00;
  font-size: 0.68em;
}

.bw-nav-center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 0;
}

.bw-nav-center a,
.bw-link {
  color: #ddd;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.bw-nav-center a:hover,
.bw-link:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #ff6a00;
  text-underline-offset: 6px;
  text-shadow: 0 0 10px rgba(255, 106, 0, 0.28);
}

.bw-nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.bw-credits-block {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 8px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

.bw-credits-label {
  color: rgba(255, 255, 255, 0.7);
}

.bw-credits-value {
  color: #ff8c00;
  font-weight: 800;
}

.bw-credits-value[data-estimated='true']::after {
  content: " est.";
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.bw-user-block {
  position: relative;
  cursor: pointer;
  color: #fff;
  white-space: nowrap;
  padding: 8px 0;
}

.bw-user-name {
  font-weight: 800;
}

.bw-user-caret {
  color: #ff8c00;
  margin-left: 4px;
}

.bw-user-dropdown {
  display: none;
  position: absolute;
  top: 32px;
  right: 0;
  min-width: 150px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.bw-user-block:hover .bw-user-dropdown,
.bw-user-block:focus-within .bw-user-dropdown {
  display: block;
}

.bw-user-dropdown a,
.bw-user-dropdown button {
  display: block;
  width: 100%;
  color: #ddd;
  text-align: left;
  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

.bw-user-dropdown a:hover,
.bw-user-dropdown button:hover {
  color: #fff;
  background: rgba(255, 106, 0, 0.12);
}

.bw-demo-btn {
  background: linear-gradient(135deg, #ff6a00, #ff8c00);
  border-radius: 8px;
  padding: 8px 16px;
  border: none;
  color: #130700;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.bw-demo-btn:hover {
  filter: brightness(1.05);
}

.bw-menu-icon {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 0;
}

.bw-login-block {
  white-space: nowrap;
}

@media (max-width: 1220px) {
  .bw-nav {
    padding: 14px 24px;
    gap: 18px;
  }

  .bw-nav-center {
    gap: 18px;
  }

  .bw-nav-right {
    gap: 12px;
  }
}

@media (max-width: 1100px) {
  .bw-nav-center {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
  }

  .bw-nav-center.active {
    display: flex;
  }

  .bw-nav-center a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .bw-credits-block {
    display: none;
  }

  .bw-user-name,
  .bw-dashboard-link {
    display: none;
  }

  .bw-menu-icon {
    display: block;
  }
}

@media (max-width: 620px) {
  .bw-nav {
    padding: 12px 16px;
    gap: 12px;
  }

  .bw-brand {
    font-size: 0.92rem;
  }

  .bw-demo-btn {
    display: none;
  }
}

/* =========================================================
   Public marketing nav — conversion focused
========================================================= */
.bw-nav-shell .bw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 106, 0, 0.15);
  min-height: 70px;
}

.bw-nav-shell .bw-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.bw-nav-shell .bw-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1 1 auto;
}

.bw-nav-shell .bw-nav-center a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.bw-nav-shell .bw-nav-center a:hover {
  color: #ff8c00;
  text-decoration: none;
  text-shadow: none;
}

.bw-nav-shell .bw-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.bw-login {
  color: #ccc;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.bw-login:hover {
  color: #ff8c00;
}

.bw-nav-shell .bw-demo-btn {
  background: linear-gradient(135deg, #ff6a00, #ff8c00);
  border-radius: 8px;
  padding: 10px 18px;
  border: none;
  color: black;
  font-weight: 700;
}

.bw-nav-shell .bw-menu-icon {
  display: none;
}

@media (max-width: 1000px) {
  .bw-nav-shell .bw-nav {
    padding: 16px 24px;
  }

  .bw-nav-shell .bw-nav-center {
    display: none;
  }

  .bw-nav-shell .bw-menu-icon {
    display: block;
    font-size: 22px;
    cursor: pointer;
  }

  .bw-nav-shell .bw-nav-center.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #111;
    padding: 20px;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 106, 0, 0.15);
  }
}

@media (min-width: 1000px) {
  .bw-nav-shell .bw-menu-icon {
    display: none;
  }
}

@media (max-width: 560px) {
  .bw-nav-shell .bw-nav {
    padding: 14px 16px;
  }

  .bw-brand {
    font-size: 0.9rem;
  }

  .bw-nav-shell .bw-nav-right {
    gap: 14px;
  }
}

