/* Hyvä section — combined inline CSS from the 6 design files
   plus a .video-frame container for the real Vimeo embeds. */

/* ── Real Vimeo embeds (replaces design's .video-placeholder mock) ── */
.video-frame {
  margin: 24px 0 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  box-shadow: 0 12px 32px rgba(15,42,68,0.10), 0 2px 6px rgba(15,42,68,0.06);
  background: #0f1a2e;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Installation ──────────────────────────────────────────── */
  /* Hyvä installation — developer-flavoured layout
     ─────────────────────────────────────────────────
     - Prereqs as a checklist card
     - Numbered install steps with full-width code blocks
     - Optional step is visibly tagged
     - Verification block at the bottom
  */
  .section-title {
    margin: 28px 0 0;
    font-size: 18px; font-weight: 700; color: var(--ink-900);
    letter-spacing: -0.01em;
  }
  .section-lede {
    margin: 6px 0 0;
    font-size: 13.5px; line-height: 1.6; color: var(--ink-700);
  }

  .prereqs {
    margin: 14px 0 0;
    padding: 18px 20px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--paper);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
  .prereqs li {
    list-style: none;
    position: relative;
    padding-left: 24px;
    font-size: 13px; line-height: 1.5; color: var(--ink-700);
  }
  .prereqs li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    width: 16px; height: 16px;
    border-radius: 4px;
    background: var(--brippo-blue-50);
    border: 1px solid var(--brippo-blue-100);
    color: var(--brippo-blue-600);
    font-size: 11px; font-weight: 700;
    display: grid; place-items: center;
    margin-top: 1px;
  }
  .prereqs strong { color: var(--ink-900); font-weight: 600; }

  .pre-step {
    margin: 14px 0 0;
    padding: 16px 20px;
    border: 1px dashed var(--ink-300);
    border-radius: var(--radius-lg);
    background: var(--ink-50);
  }
  .pre-step h3 {
    margin: 0 0 6px;
    font-size: 14px; font-weight: 600; color: var(--ink-900);
  }
  .pre-step p { margin: 0 0 10px; font-size: 13px; color: var(--ink-700); line-height: 1.55; }

  .install-steps { display: flex; flex-direction: column; gap: 14px; margin: 14px 0 0; }
  .install-step {
    display: grid; grid-template-columns: 32px 1fr;
    gap: 16px; align-items: start;
    padding: 22px 24px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--paper);
  }
  .install-step .num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--brippo-blue-50); color: var(--brippo-blue-600);
    border: 1px solid var(--brippo-blue-100);
    font-family: var(--font-mono); font-size: 13px; font-weight: 700;
    display: grid; place-items: center; flex-shrink: 0;
  }
  .install-step .body { min-width: 0; }
  .install-step .title-row {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
  }
  .install-step h3 {
    margin: 0;
    font-size: 15px; font-weight: 600; color: var(--ink-900);
    letter-spacing: -0.005em; line-height: 1.45;
  }
  .install-step .opt-tag {
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: var(--ink-100, var(--ink-50));
    color: var(--ink-700);
    border: 1px solid var(--ink-200);
  }
  .install-step p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-700); }
  .install-step.optional { background: var(--ink-50); }

  .code {
    display: block;
    margin: 12px 0 0;
    padding: 12px 14px;
    border: 1px solid var(--ink-200);
    border-radius: 6px;
    background: #0f1a2e;
    color: #e8edf5;
    font-family: var(--font-mono);
    font-size: 12.5px;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre;
  }
  .code .prompt { color: rgba(255,255,255,0.45); user-select: none; }
  .code .cmd { color: #e8edf5; }
  .code .arg { color: #8ec5ff; }
  .code .str { color: #b8e986; }

  .verify {
    margin: 14px 0 0;
    padding: 18px 22px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--paper);
    display: flex; flex-direction: column; gap: 10px;
  }
  .verify .row {
    display: grid; grid-template-columns: 28px 1fr; gap: 12px;
    font-size: 13.5px; line-height: 1.55; color: var(--ink-700);
  }
  .verify .row .ic {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px; font-weight: 700; color: #fff;
    margin-top: 1px;
  }
  .verify .row.ok .ic   { background: var(--brippo-success, #2f8a55); }
  .verify .row.warn .ic { background: #b8740a; }
  .verify .row strong { color: var(--ink-900); font-weight: 600; }
  .verify code {
    font-family: var(--font-mono); font-size: 12px;
    padding: 1px 6px; border-radius: 4px;
    background: var(--ink-50); color: var(--ink-900);
    border: 1px solid var(--ink-200);
  }

  @media (max-width: 720px) { .prereqs { grid-template-columns: 1fr; } }

/* ── Configure checkout ────────────────────────────────────── */
  .install-steps { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 0; }
  .install-step {
    display: grid; grid-template-columns: 32px 1fr;
    gap: 16px; align-items: start;
    padding: 22px 24px;
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    background: var(--paper);
  }
  .install-step .num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--brippo-blue-50); color: var(--brippo-blue-600);
    border: 1px solid var(--brippo-blue-100);
    font-family: var(--font-mono); font-size: 13px; font-weight: 700;
    display: grid; place-items: center; flex-shrink: 0;
  }
  .install-step .body { min-width: 0; }
  .install-step h3 { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.005em; line-height: 1.45; }
  .install-step p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-700); }
  .install-step strong { color: var(--ink-900); font-weight: 600; }

  .capture-grid {
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .capture-grid .opt {
    padding: 12px 14px;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    background: var(--ink-50);
    display: flex; flex-direction: column; gap: 6px;
  }
  .capture-grid .opt .name {
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--brippo-blue-600);
  }
  .capture-grid .opt .desc { font-size: 12.5px; color: var(--ink-700); line-height: 1.5; }

  @media (max-width: 720px) { .capture-grid { grid-template-columns: 1fr; } }

/* ── Configure alternative ─────────────────────────────────── */
  .opt-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
  }
  .opt-list > li {
    padding: 10px 14px;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    background: var(--ink-50);
    font-size: 13px; line-height: 1.55; color: var(--ink-700);
  }
  .opt-list > li > .term { color: var(--ink-900); font-weight: 600; margin-right: 4px; }
</style>

/* ── User guide checkout (opt-tag variant) ─────────────────── */
  .install-step .opt-tag {
    margin-left: 8px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: var(--ink-100, var(--ink-50)); color: var(--ink-700);
    border: 1px solid var(--ink-200);
    vertical-align: middle;
  }
