/*
 * Pryde Studio: sections added from the Website editor, in the Pryde look.
 *
 * The added sections share their markup with the other sites in the editor
 * family (bf-* and bse-* classes). This file maps that markup onto Pryde's
 * own tokens (--night, --panel, --royal, --electric, --steel, --space-*), so
 * a section added by Fraley sits on the page like one built in Bricks.
 * Every rule is scoped to .bse-as (an added section) and starts with body so
 * it wins over the shared defaults printed with each section.
 */

body .bse-as {
	--primary: var(--electric, #3d5afe);
	--secondary: var(--royal, #1c2cb8);
	--tertiary: var(--white, #f5f5f7);
	--tertiary-5: rgba(255, 255, 255, .04);
	--tertiary-30: rgba(255, 255, 255, .3);
	--tertiary-40: rgba(255, 255, 255, .4);
	--light: var(--panel, #121216);
	--light-10: rgba(255, 255, 255, .06);
	--light-20: rgba(255, 255, 255, .12);
	--light-90: rgba(255, 255, 255, .9);
	--dark-60: rgba(0, 0, 0, .6);
	--bg-surface: var(--panel-2, #1a1a20);
	--border-primary: var(--line, #26262e);
	--text-body: var(--steel, #a1a1ac);
	--text-xs: 12px;
	--text-s: 14px;
	--text-xl: 20px;
	--text-2xl: 26px;
	--radius-m: 3px;
	--radius-l: 4px;
	--space-3xs: 2px;
	--space-4xl: 96px;
	position: relative;
	padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 40px);
	color: var(--white, #f5f5f7);
	background: var(--night, #0a0a0c);
	font-family: var(--font-body, Inter, system-ui, sans-serif);
}

/* Grounds: every Pryde section is dark; these give some variety. */
body .bse-as.bf-bg-white { background: var(--night, #0a0a0c); }
body .bse-as.bf-bg-tint { background: var(--panel, #121216); }
body .bse-as.bf-bg-navy,
body .bse-as.bf-cta { background: radial-gradient(120% 140% at 100% 0%, rgba(61, 90, 254, .35), transparent 60%), var(--royal, #1c2cb8); }
body .bse-as.bf-bg-deep { background: var(--panel-2, #1a1a20); }
body .bse-as .bf-bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: 0; }

body .bse-as .bf-container,
body .bse-as > div { position: relative; z-index: 1; max-width: 1240px; margin-inline: auto; }
body .bse-as .bse-as__col,
body .bse-as .bse-as__prose,
body .bse-as .bse-notice { max-width: 760px; }
body .bse-as .bse-faq { max-width: 880px; }

/* Heading block: small label, heading, sentence. */
body .bse-as .bf-section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto 40px; text-align: center; }
body .bse-as .bf-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font: 700 12px var(--font-body, Inter, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--steel, #a1a1ac); }
body .bse-as .bf-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--electric, #3d5afe); }
body .bse-as h2 { margin: 0; color: #fff; font: 800 clamp(30px, 4.4vw, 52px)/1.06 var(--font-display, Montserrat, sans-serif); letter-spacing: -.025em; text-wrap: balance; }
body .bse-as h2 em { font-style: normal; color: var(--electric, #3d5afe); }
body .bse-as h3 { margin: 0; color: #fff; font: 800 20px/1.2 var(--font-display, Montserrat, sans-serif); letter-spacing: -.01em; }
body .bse-as p,
body .bse-as li { color: var(--steel, #a1a1ac); font-size: 16px; line-height: 1.65; }
body .bse-as .bf-lead,
body .bse-as .bse-as__intro { font-size: 18px; }
body .bse-as a:not(.bf-btn) { color: #fff; text-decoration-color: var(--electric, #3d5afe); text-underline-offset: 3px; }
body .bse-as.bf-bg-navy p,
body .bse-as.bf-cta p { color: rgba(255, 255, 255, .85); }

/* Buttons: Pryde's pill buttons. */
body .bse-as .bf-btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
body .bse-as .bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-m); background: transparent; color: #fff; font: 700 15px var(--font-body, Inter, sans-serif); text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
body .bse-as .bf-btn:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-1px); }
body .bse-as .bf-btn--navy { background: var(--royal, #1c2cb8); border-color: var(--royal, #1c2cb8); }
body .bse-as .bf-btn--navy:hover { background: var(--royal-hover, #1622a0); border-color: var(--royal-hover, #1622a0); }
body .bse-as.bf-bg-navy .bf-btn--navy,
body .bse-as.bf-cta .bf-btn--navy,
body .bse-as .bf-btn--white { background: #fff; border-color: #fff; color: #0a0a0c; }
body .bse-as .bf-btn:focus-visible,
body .bse-as a:focus-visible,
body .bse-as summary:focus-visible { outline: 2px solid var(--electric, #3d5afe); outline-offset: 3px; }

/* Grids and cards. */
body .bse-as .bf-grid { display: grid; gap: 20px; }
body .bse-as .bf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .bse-as .bf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .bse-as .bf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body .bse-as .bf-card,
body .bse-as .bse-tc,
body .bse-as .bf-quote,
body .bse-as .bf-person,
body .bse-as .bf-doc { padding: 28px; border: 1px solid var(--line, #26262e); border-radius: var(--radius-l); background: var(--panel, #121216); }
body .bse-as.bf-bg-tint .bf-card,
body .bse-as.bf-bg-tint .bf-quote { background: var(--panel-2, #1a1a20); }
body .bse-as .bf-card--media { padding: 0; overflow: hidden; }
body .bse-as .bf-card__body { padding: 24px; }
body .bse-as .bf-card__label { color: var(--electric, #3d5afe); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
body .bse-as .bf-arrow-link { color: #fff; font-weight: 700; text-decoration: none; }
body .bse-as .bf-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
body .bse-as .bse-as__media img { border-radius: var(--radius-l); }

/* Checklist and steps. */
body .bse-as .bf-check-list { display: grid; gap: 12px; margin: 0 auto; padding: 0; max-width: 760px; list-style: none; text-align: left; }
body .bse-as .bf-check-list li { position: relative; padding-left: 34px; }
body .bse-as .bf-check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--royal, #1c2cb8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
body .bse-as .bf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
body .bse-as .bf-steps > li { padding: 28px; border: 1px solid var(--line, #26262e); border-radius: var(--radius-l); background: var(--panel, #121216); text-align: left; }
body .bse-as .bf-step__num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--royal, #1c2cb8); color: #fff; font: 800 16px var(--font-display, Montserrat, sans-serif); }

/* Big numbers. */
body .bse-as .bf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; text-align: center; }
body .bse-as .bf-stat__num { display: block; color: #fff; font: 800 clamp(36px, 5vw, 56px)/1 var(--font-display, Montserrat, sans-serif); letter-spacing: -.03em; }
body .bse-as .bf-stat__label { display: block; margin-top: 8px; color: var(--steel, #a1a1ac); font-size: 14px; }

/* Quotes and people. */
body .bse-as .bf-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
body .bse-as .bf-quote__text { margin: 0; color: #fff; font-size: 18px; line-height: 1.55; }
body .bse-as .bf-quote__who { margin-top: 14px; color: var(--steel, #a1a1ac); font-size: 14px; font-weight: 700; }
body .bse-as .bf-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; text-align: center; }
body .bse-as .bf-person__mono { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; background: var(--royal, #1c2cb8); color: #fff; font: 800 26px var(--font-display, Montserrat, sans-serif); }
body .bse-as .bf-person img { width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
body .bse-as .bf-person__name { margin: 0; color: #fff; font-weight: 700; }
body .bse-as .bf-person__role { margin: 4px 0 0; font-size: 14px; }

/* Files, questions, notice. */
body .bse-as .bf-doc-list { display: grid; gap: 12px; margin: 0 auto; padding: 0; max-width: 880px; list-style: none; }
body .bse-as .bf-doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
body .bse-as .bse-faq__item { border-color: var(--line, #26262e); background: var(--panel, #121216); }
body .bse-as .bse-faq__item summary { min-height: 64px; color: #fff; font-size: 17px; }
body .bse-as .bse-faq__item summary::after { width: 32px; height: 32px; background: var(--panel-2, #1a1a20); color: var(--electric, #3d5afe); font-size: 20px; }
body .bse-as .bse-notice { border: 1px solid var(--line, #26262e); }
body .bse-as .bse-as__phone { font-size: 18px; }
body .bse-as .bse-as__phone a { color: #fff; }

/* Words kept together (hyphenated words in any editable box). */
.bf-nowrap { white-space: nowrap; }

@media (max-width: 991px) {
	body .bse-as .bf-grid--3,
	body .bse-as .bf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .bse-as .bf-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body .bse-as .bf-grid--2,
	body .bse-as .bf-grid--3,
	body .bse-as .bf-grid--4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	body .bse-as .bf-btn { transition: none; }
	body .bse-as .bf-btn:hover { transform: none; }
}
