/*
 * The .bd endings' own page (resources/views/pages/bd-domain.blade.php,
 * 23 Nov 2026). Only the site's own tokens (public/css/site.css), so both
 * themes follow; pushed onto the layout's `head` stack by that page alone,
 * through SiteLayout::versioned().
 */

/* The hero: a flag-green glow behind the search, and the endings on sale. */
.bd-hero .backdrop { background: radial-gradient(60% 70% at 50% 0%, rgb(45 212 191 / 0.2), transparent 70%), radial-gradient(28% 34% at 50% 38%, rgb(244 63 94 / 0.12), transparent 70%); }
.bd-hero .eyebrow svg { width: 15px; height: 15px; vertical-align: -2px; }
.bd-hero .phead h1 { max-width: 20ch; }
.bd-lead { max-width: 64ch; margin-inline: auto; }
.bd-search { margin-top: 8px; }
.bd-search .btn { display: inline-flex; align-items: center; gap: 8px; }
.bd-search .btn svg { width: 18px; height: 18px; }
.bd-chips { justify-content: center; }
.bd-soon { display: grid; gap: 6px; justify-items: center; margin-top: 8px; }
.bd-soon a { font-weight: 600; color: var(--primary-text); text-decoration: none; }
.bd-soon a:hover { text-decoration: underline; }
.bd-how { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--deep-fg-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.bd-how svg { width: 16px; height: 16px; }
.bd-how:hover { color: var(--deep-fg); }

/* The endings: one card each, the ending large, its prices at the foot. */
.bd-endings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bd-ending { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bd-ending.sold { border-color: var(--tint-2); }
.bd-tld { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--fg); }
.bd-ending.sold .bd-tld { color: var(--primary-text); }
.bd-for { font-size: 15.5px; font-weight: 600; color: var(--fg); }
.bd-ending p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }
.bd-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.bd-price div { display: grid; gap: 2px; }
.bd-price dt { font-size: 12.5px; color: var(--fg-3); }
.bd-price dd { margin: 0; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.bd-off { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--fg-3); }
.bd-note { margin: 18px 0 0; font-size: 14px; color: var(--fg-3); }

/* How it works: four numbered steps. */
.bd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: bd-step; }
.bd-steps li { position: relative; display: grid; align-content: start; gap: 8px; padding: 26px 24px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); counter-increment: bd-step; }
.bd-steps li::before { content: counter(bd-step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-2); color: var(--primary-text); font-family: var(--font-display); font-size: 17px; font-weight: 700; }
html:lang(bn) .bd-steps li::before { content: counter(bd-step, bengali); }
.bd-steps h3 { font-size: 17px; }
.bd-steps p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }

/* What the registry asks for: the words beside two cards. */
.bd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.bd-small { font-size: 14px !important; color: var(--fg-3) !important; }
.bd-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bd-docs li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bd-docs h3 { font-size: 16.5px; margin-bottom: 4px; }
.bd-docs p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }
.bd-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--primary-text); }
.bd-ico svg { width: 21px; height: 21px; }

/* Good to know. */
.bd-know { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.bd-know li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.bd-know h3 { font-size: 16.5px; }
.bd-know p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; }
.bd-know a { font-size: 14.5px; font-weight: 600; color: var(--primary-text); text-decoration: none; }
.bd-know a:hover { text-decoration: underline; }

/* The closing band. */
.bd-more .head p { color: var(--deep-fg-2); }
.bd-more .hero-cta { justify-content: center; margin-top: 6px; }

@media (max-width: 860px) {
    .bd-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .bd-search { flex-direction: column; }
    .bd-search .btn { justify-content: center; }
    .bd-ending, .bd-steps li, .bd-know li { padding: 20px; }
}
html:lang(bn) .bd-ending p, html:lang(bn) .bd-steps p, html:lang(bn) .bd-know p, html:lang(bn) .bd-docs p { line-height: 1.75; }
