/* Product-brief pop-up (opens a few seconds after load; see js/brief.js) */
.bp { position: fixed; inset: 0; z-index: 310; display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 32px); }
.bp.is-open { display: flex; }
.bp-scrim { position: absolute; inset: 0; background: rgba(9, 10, 30, 0.62); opacity: 0; transition: opacity 0.3s ease; }
.bp.is-in .bp-scrim { opacity: 1; }
.bp-card { position: relative; width: 100%; max-width: 860px; max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 40px 90px -30px rgba(9, 10, 30, 0.7); opacity: 0; transform: translateY(14px) scale(0.985); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); outline: none; }
.bp.is-in .bp-card { opacity: 1; transform: none; }
.bp-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-soft); cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.bp-x:hover { color: var(--ink); border-color: rgba(16, 18, 50, 0.3); }
.bp-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bp-side { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); background: linear-gradient(160deg, var(--nav-bg), var(--deep)); color: var(--on-dark); display: flex; flex-direction: column; border-radius: 18px 0 0 18px; }
.bp-kicker { font: 600 0.68rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); }
.bp-side img { display: block; width: 100%; height: auto; margin: 18px 0 20px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
.bp-side ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; }
.bp-side li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #e6e8fb; }
.bp-side li svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp-main { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); min-width: 0; }
.bp-eyebrow { font: 600 0.68rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-deep); }
.bp-main h2 { margin: 12px 0 0; font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; color: var(--ink); padding-right: 28px; }
.bp-lead { margin: 14px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
#bp-form { margin-top: 22px; display: grid; gap: 14px; }
#bp-form .field { position: relative; padding: 13px 16px 11px; background: #f5f4fb; border: 1.5px solid transparent; border-radius: 14px; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
#bp-form .field:hover { border-color: rgba(83, 80, 220, 0.35); }
#bp-form .field:focus-within { background: #fff; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(83, 80, 220, 0.12); }
#bp-form .field.has-error { background: #fff; border-color: var(--coral-deep); box-shadow: 0 0 0 4px rgba(224, 90, 62, 0.1); margin-bottom: 14px; }
#bp-form label { display: block; margin: 0 0 4px; font: 600 0.66rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
#bp-form input[type="email"] { display: block; width: 100%; height: 30px; padding: 0; border: 0; background: none; box-shadow: none; outline: none; font: 500 1.05rem/1.2 inherit; color: var(--ink); }
#bp-form input::placeholder { color: #a6a9c4; }
#bp-form .field-error { position: absolute; left: 4px; top: calc(100% + 5px); font-size: 0.76rem; line-height: 1.2; white-space: nowrap; }
.bp-btn { width: 100%; justify-content: center; }
.bp-note { margin: 0; text-align: center; font-size: 0.78rem; color: var(--ink-faint); }
.bp-done { text-align: left; padding-right: 20px; }
.bp-done[hidden] { display: none; }
.bp-tick { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--indigo-soft); color: var(--indigo-deep); margin-bottom: 18px; }
.bp-tick svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bp-done h2 { padding-right: 0; }
.bp-done p { margin: 12px 0 22px; font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.bp-done p b { color: var(--ink); font-weight: 600; word-break: break-all; }
.bp-form-view[hidden] { display: none; }
@media (max-width: 760px) {
  .bp { align-items: flex-end; padding: 0; }
  .bp-card { grid-template-columns: 1fr; border-radius: 18px 18px 0 0; max-height: 92dvh; transform: translateY(24px); }
  .bp-side { display: none; }
  .bp-main { padding: 26px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { .bp-scrim, .bp-card { transition: none; } }
@media print { .bp { display: none !important; } }
