@layer components {
  /* ─────────────────────────────────────────
     Buttons
  ───────────────────────────────────────── */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 17px;
    background: var(--orange);
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;

    &:hover  { transform: translateY(2px); }
    &:active { transform: translateY(6px); box-shadow: none; }

    &.white  { background: var(--cream);  color: var(--ink); }
    &.yellow { background: var(--yellow); color: var(--ink); }
    &.sm     { padding: 10px 18px; font-size: 14px; }
  }

  /* ─────────────────────────────────────────
     Chip / badge
  ───────────────────────────────────────── */
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--cream);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;

    & .dot {
      width: 8px;
      height: 8px;
      border-radius: var(--radius-pill);
      background: var(--orange);
    }
  }

  /* ─────────────────────────────────────────
     Section label / eyebrow
  ───────────────────────────────────────── */
  .section-eye {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: white;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  /* ─────────────────────────────────────────
     Section title
  ───────────────────────────────────────── */
  h2.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(48px, 6.5vw, 96px);
    line-height: 0.95;
    color: var(--ink);
    margin: 24px 0 32px;
    max-width: 18ch;
  }

  /* ─────────────────────────────────────────
     Cards (bento)
  ───────────────────────────────────────── */
  .card {
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;

    & h3 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 30px;
      margin: 0;
      line-height: 1.05;
      color: var(--ink);
    }

    & p {
      font-size: 16px;
      line-height: 1.45;
      margin: 0;
      color: #555;
      font-weight: 500;
    }

    & .tag {
      display: inline-block;
      background: var(--ink);
      color: white;
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      align-self: flex-start;
      white-space: nowrap;
    }

    &.orange-bg {
      background: var(--orange);
      color: white;

      & h3, & p { color: white; }
      & .tag { background: var(--ink); }
    }

    &.yellow-bg { background: var(--yellow); }

    &.pink-bg {
      background: var(--pink);
      color: white;

      & h3, & p { color: white; }
    }

    &.green-bg {
      background: var(--green);
      color: white;

      & h3, & p { color: white; }
    }
  }

  /* ─────────────────────────────────────────
     Steps (how it works)
  ───────────────────────────────────────── */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
  }

  .step {
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;

    & .num-badge {
      position: absolute;
      top: -20px;
      left: 24px;
      background: var(--orange);
      color: white;
      width: 52px;
      height: 52px;
      border-radius: var(--radius-pill);
      display: grid;
      place-items: center;
      font-family: var(--font-display);
      font-size: 28px;
    }

    & h3 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: 28px;
      margin: 8px 0 0;
      color: var(--ink);
    }

    & p {
      font-size: 16px;
      line-height: 1.45;
      margin: 0;
      color: #555;
      font-weight: 500;
    }

    & .visual {
      height: 240px;
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
      margin-top: 8px;
    }
  }

  /* ─────────────────────────────────────────
     Testimonial quotes
  ───────────────────────────────────────── */
  .quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .quote {
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;

    & p {
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 19px;
      line-height: 1.35;
      margin: 0;
    }

    & .stars {
      color: var(--orange);
      font-size: 18px;
      letter-spacing: 2px;
    }

    & .who {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 14px;
      border-top: 2px dashed #ddd;
    }

    & .avatar { width: 44px; height: 44px; flex-shrink: 0; }
    & .name   { font-weight: 700; font-size: 15px; }
    & .meta   { font-size: 13px; color: #888; font-weight: 500; }
  }

  /* ─────────────────────────────────────────
     Speech bubble
  ───────────────────────────────────────── */
  .speech {
    position: absolute;
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;

    &::after {
      content: '';
      position: absolute;
      bottom: -14px;
      left: 24px;
      width: 18px;
      height: 18px;
      background: var(--cream);
      transform: rotate(45deg);
    }

    &.yellow-bubble {
      background: var(--yellow);

      &::after { background: var(--yellow); }
    }
  }
}
