/* ============================================================
   /bee — page-local layout only.

   Chrome, container/content, tokens and the FAQ come from
   `style/marketing.css`. The old copy of the header nav, footer, legal,
   container and FAQ blocks is gone, as are the dead `dock` and
   `copy-status` rules (no markup referenced them) and the unscoped
   `body` / landing-page `@supports` rules that leaked out of this file.
   ============================================================ */

[data-page="bee"] {
  p {
    line-height: 1.75;
  }

  a {
    color: var(--mk-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }

  /* the sections below are separated by the content gap, so they only
     carry their own internal spacing below the divider */
  [data-component="problem"],
  [data-component="how"],
  [data-component="privacy"],
  [data-component="email"] {
    padding-top: 40px;
    border-top: 1px solid var(--mk-border-muted);
  }

  [data-component="hero"] {
    display: flex;
    flex-direction: column;

    /* the bee mark is shown on the dark surface, so only the dark asset */
    [data-slot="bee logo light"] {
      display: none;
    }

    [data-slot="bee logo dark"] {
      display: block;
    }
  }

  [data-slot="hero-copy"] {
    img {
      margin-bottom: 24px;
    }

    h1 {
      font-size: var(--mk-text-page);
      color: #fff;
      font-weight: 620;
      letter-spacing: -0.024em;
      line-height: 1.15;
      margin-bottom: 16px;
      display: block;
    }

    p {
      color: var(--mk-text-2);
      margin-bottom: 24px;
      max-width: 82%;

      @media (max-width: 60rem) {
        max-width: 100%;
      }
    }

    a {
      display: flex;
      align-items: center;
      width: fit-content;
      gap: 12px;
      padding: 11px 20px;
      border-radius: var(--mk-radius-md);
      background: var(--mk-accent);
      color: #1b1f27;
      font-weight: 600;
      text-decoration: none;
      margin-bottom: 56px;
      transition: transform var(--mk-fast), box-shadow var(--mk-fast);
    }

    a:hover {
      transform: translateY(-1px);
      box-shadow: var(--mk-shadow-accent);
    }
  }

  /* 两个实际提供的模型（替换原先那排厂商 logo 墙）。
     用「等宽 model id + 一句定位」的形式，信息密度高且不模仿任何上游站点的排版。 */
  /* 内测状态徽标：放在 hero 最上方，让「暂未开放」先于任何规划性文案被读到。
     用 acccent 边框 + 小字号，语气是「状态提示」而不是营销标语。 */
  [data-slot="status-badge"] {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 10px;
    border: 1px solid var(--mk-accent-line);
    border-radius: 999px;
    background: var(--mk-accent-soft);
    color: var(--mk-accent);
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  [data-slot="model-list"] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    margin-bottom: 56px;
    list-style: none;
    padding: 0;

    li {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    /* 内测期间不展示 model id，只有一句场景说明 */
    [data-slot="model-role"] {
      font-size: 13px;
      color: var(--mk-text-2);
    }
  }

  [data-slot="pricing-copy"] {
    strong {
      color: #fff;
      font-weight: 500;
    }

    p:first-child {
      margin-bottom: 24px;
      color: var(--mk-text-2);
      display: flex;
      gap: 8px;

      @media (max-width: 40rem) {
        flex-direction: column;
        gap: 4px;
      }
    }
  }

  [data-component="problem"],
  [data-component="how"],
  [data-component="privacy"] {
    color: var(--mk-text-2);

    p {
      margin-bottom: 24px;
    }

    ul {
      padding: 0;
      margin: 0;

      li {
        list-style: none;
        margin-bottom: 16px;
        display: flex;
        gap: 12px;

        span {
          color: var(--mk-text-3);
          font-family: var(--mk-mono);
        }

        strong {
          font-weight: 500;
          color: #fff;
        }
      }

      li:last-child {
        margin-bottom: 0;
      }
    }
  }

  [data-component="privacy"] [data-slot="privacy-title"] {
    div {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    span {
      color: var(--mk-text-3);
      line-height: 1.8;
      font-family: var(--mk-mono);
    }

    p {
      margin: 0;
    }
  }

  /* ============================================================
     EMAIL SIGNUP (component/email-signup.tsx)
     ============================================================ */
  [data-component="email"] {
    color: var(--mk-text-2);

    [data-slot="form"] {
      position: relative;
      max-width: 32rem;

      input {
        width: 100%;
        padding: 20px;
        background: var(--mk-bg-inset);
        border: 1px solid var(--mk-border);
        border-radius: var(--mk-radius-sm);
        color: var(--mk-text);
        transition: border-color var(--mk-fast), box-shadow var(--mk-fast);

        @media (max-width: 30rem) {
          padding-bottom: 80px;
        }

        &::placeholder {
          color: var(--mk-text-3);
          opacity: 1;
        }
      }

      input:focus {
        outline: none;
        border-color: var(--mk-accent);
        box-shadow: 0 0 0 3px var(--mk-accent-soft);
      }

      button {
        position: absolute;
        top: 50%;
        right: 12px;
        height: 40px;
        margin-top: -20px;
        padding: 4px 20px;
        background: var(--mk-accent);
        color: #1b1f27;
        border: none;
        border-radius: var(--mk-radius-sm);
        font-weight: 600;
        cursor: pointer;
        transition: background var(--mk-fast);

        @media (max-width: 30rem) {
          left: 20px;
          right: 20px;
          bottom: 20px;
          top: auto;
          margin-top: 0;
        }
      }

      button:hover:not(:disabled) {
        background: var(--mk-accent-hover);
      }

      button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
      }
    }

    [data-slot="form-status"] {
      margin-top: 24px;
      font-size: var(--mk-text-md);

      &[data-status="success"] {
        color: var(--mk-green);
      }

      &[data-status="error"] {
        color: var(--mk-danger);
      }
    }
  }
}
