/*
 * Big Padlock homepage styles.
 * Class names use a plain bp- prefix with no framework, so they carry
 * straight across into a block theme's style.css or block styles.
 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bp-paper);
  color: var(--bp-ink);
  font: 400 var(--bp-size-m)/1.5 var(--bp-font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bp-accent); }
h1, h2, h3 { font-family: var(--bp-font-display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--bp-accent) 45%, transparent); outline-offset: 3px; border-radius: 8px; }
.bp-container { max-width: var(--bp-container); margin-inline: auto; padding-inline: var(--bp-space-5); }
.bp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bp-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bp-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.bp-skip:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.bp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--bp-radius-pill);
  font: 600 var(--bp-size-s)/1 var(--bp-font-body); border: 0; cursor: pointer;
  transition: transform .1s ease-out, background-color .15s ease-out;
}
.bp-btn:active { transform: scale(.97); }
.bp-btn--primary { background: var(--bp-accent); color: var(--bp-accent-ink); }
.bp-btn--primary:hover { color: var(--bp-accent-ink); background: color-mix(in srgb, var(--bp-accent) 88%, #000); }
.bp-btn--dark { background: var(--bp-ink); color: #fff; }
.bp-btn--dark:hover { color: #fff; }
.bp-btn--outline { border: 1px solid var(--bp-ink); background: transparent; color: var(--bp-ink); }
.bp-btn--lg { min-height: 52px; padding: 14px 24px; font-size: var(--bp-size-m); }

/* ---------- Glass ---------- */
.bp-glass {
  background: var(--bp-glass);
  -webkit-backdrop-filter: blur(var(--bp-glass-blur)) saturate(170%);
  backdrop-filter: blur(var(--bp-glass-blur)) saturate(170%);
  border: 1px solid var(--bp-glass-rim);
  box-shadow: var(--bp-shadow), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04);
}

/* ---------- Drifting shapes ---------- */
.bp-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bp-blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.bp-blob--red { background: var(--bp-wash-red); animation: bp-drift-1 15s ease-in-out infinite alternate; }
.bp-blob--amber { background: var(--bp-wash-amber); animation: bp-drift-2 18s ease-in-out infinite alternate; }
.bp-blob--blue { background: var(--bp-wash-blue); animation: bp-drift-3 21s ease-in-out infinite alternate; }
@keyframes bp-drift-1 { to { transform: translate(220px, 120px) scale(1.15); } }
@keyframes bp-drift-2 { to { transform: translate(-260px, 140px) scale(.9); } }
@keyframes bp-drift-3 { to { transform: translate(-180px, -120px) scale(1.2); } }

/* ---------- Header (template-part: header) ---------- */
.bp-header { position: sticky; top: 12px; z-index: 50; padding-inline: var(--bp-space-5); margin-top: 12px; }
.bp-nav {
  max-width: var(--bp-container); margin: 0 auto; border-radius: var(--bp-radius-pill);
  padding: 8px 8px 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: var(--bp-space-5);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--bp-glass-rim); box-shadow: var(--bp-shadow-soft);
}
.bp-nav__logo img { height: 40px; width: auto; }
.bp-nav__menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: var(--bp-size-s); }
.bp-nav__actions { display: flex; align-items: center; gap: 12px; }
.bp-nav__phone { font-size: var(--bp-size-s); color: var(--bp-muted); }
.bp-nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); cursor: pointer; place-items: center; }
.bp-nav__drawer { display: none; }

/* ---------- Hero (template-part: hero) ---------- */
.bp-hero { position: relative; overflow: hidden; margin-top: -76px; padding: 150px 0 var(--bp-space-section); isolation: isolate; }
.bp-hero__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/hero-corridor.jpg") center 40% / cover no-repeat; }
.bp-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.25) 45%, rgba(255,255,255,.92) 100%); }
.bp-hero .bp-blobs { z-index: -1; }
.bp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--bp-space-7); align-items: center; }
.bp-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.bp-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--bp-radius-pill); padding: 8px 14px; font-size: var(--bp-size-s); font-weight: 500; }
.bp-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bp-accent); }
.bp-hero__title { font-size: var(--bp-size-xxl); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.bp-hero__lede { font-size: var(--bp-size-l); line-height: 1.45; color: var(--bp-ink-2); max-width: 30em; }
.bp-rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bp-rating__stars { display: flex; gap: 3px; }
.bp-rating__text { font-size: var(--bp-size-m); }
.bp-rating__text span { color: var(--bp-muted); }

/* ---------- Finder (template-part: finder / custom block) ---------- */
.bp-finder { border-radius: var(--bp-radius-l); padding: var(--bp-space-6) 28px; display: flex; flex-direction: column; gap: 20px; }
.bp-finder__title { font-size: 1.625rem; letter-spacing: -.02em; font-weight: 600; }
.bp-finder__intro { font-size: var(--bp-size-s); color: var(--bp-muted); margin-top: 4px; }
.bp-field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bp-field__label { font-size: var(--bp-size-xs); font-weight: 600; color: var(--bp-ink-2); padding: 0; }
.bp-select {
  appearance: none; -webkit-appearance: none; height: 52px; border-radius: var(--bp-radius-s);
  border: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat;
  padding: 0 44px 0 16px; font: inherit; font-size: var(--bp-size-m); color: var(--bp-ink);
}
.bp-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bp-size { position: relative; }
.bp-size input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.bp-size label {
  min-height: 64px; border-radius: var(--bp-radius-s); border: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.6);
  padding: 11px 15px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; transition: transform .1s ease-out;
}
.bp-size label:active { transform: scale(.97); }
.bp-size input:checked + label { border: 2px solid var(--bp-accent); padding: 10px 14px; background: #fff; }
.bp-size input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--bp-accent) 45%, transparent); outline-offset: 2px; }
.bp-size__name { font-size: 1rem; font-weight: 600; }
.bp-size__hint { font-size: var(--bp-size-xs); color: var(--bp-muted); }
.bp-quote { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.7); }
.bp-quote__meta { display: flex; flex-direction: column; }
.bp-quote__for { font-size: var(--bp-size-xs); color: var(--bp-muted); }
.bp-quote__price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.bp-finder__small { font-size: var(--bp-size-xs); color: var(--bp-muted); }

/* ---------- Benefits (template-part: benefits) ---------- */
.bp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bp-benefit { background: var(--bp-wash); border-radius: var(--bp-radius-m); padding: var(--bp-space-5); display: flex; flex-direction: column; gap: 10px; }
.bp-benefit svg { color: var(--bp-accent); }
.bp-benefit h3 { font-size: 1.125rem; font-weight: 600; }
.bp-benefit p { font-size: var(--bp-size-s); color: var(--bp-muted); line-height: 1.45; }

/* ---------- Section heads ---------- */
.bp-section { padding-top: var(--bp-space-section); }
.bp-head { display: flex; flex-direction: column; gap: var(--bp-space-3); align-items: center; text-align: center; margin-bottom: var(--bp-space-7); }
.bp-eyebrow { font-size: var(--bp-size-s); font-weight: 600; color: var(--bp-accent); }
.bp-title { font-size: var(--bp-size-xl); letter-spacing: -.03em; font-weight: 700; line-height: 1.08; }
.bp-sub { font-size: 1.25rem; color: var(--bp-muted); max-width: 34em; }

/* ---------- Stores (template-part: stores, loop over bp_store) ---------- */
.bp-stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.bp-store { position: relative; display: block; border-radius: var(--bp-radius-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bp-wash); isolation: isolate; }
.bp-store img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s ease-out; }
.bp-store:hover img { transform: scale(1.05); }
.bp-store::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%); }
.bp-store__label {
  position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 16px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--bp-ink);
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--bp-glass-rim); box-shadow: 0 8px 24px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.bp-store__area { font-size: var(--bp-size-xs); color: var(--bp-muted); display: block; }
.bp-store__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; display: block; line-height: 1.15; }
.bp-store__price { font-size: var(--bp-size-s); color: var(--bp-ink-2); display: block; }
.bp-store__go { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.bp-store__tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: var(--bp-radius-pill); background: rgba(0,0,0,.45); color: #fff; }
.bp-store:hover { color: var(--bp-ink); }

/* ---------- Storage types (template-part: types) ---------- */
.bp-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.bp-type { border: 1px solid var(--bp-line); border-radius: var(--bp-radius-m); padding: 28px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; transition: transform .2s ease-out, box-shadow .2s ease-out; }
.bp-type:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20,20,40,.10); color: var(--bp-ink); }
.bp-type__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; }
.bp-type__desc { font-size: 1rem; color: var(--bp-muted); line-height: 1.45; }
.bp-type__more { margin-top: auto; font-size: var(--bp-size-s); font-weight: 600; color: var(--bp-accent); }

/* ---------- How it works (template-part: how) ---------- */
.bp-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--bp-space-7); align-items: center; }
.bp-how__img { border-radius: var(--bp-radius-l); width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.bp-how__body { display: flex; flex-direction: column; gap: 28px; }
.bp-how .bp-head { align-items: flex-start; text-align: left; margin: 0; }
.bp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; counter-reset: step; }
.bp-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; counter-increment: step; }
.bp-step::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--bp-wash); display: grid; place-items: center; font-weight: 600; }
.bp-step h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 4px; }
.bp-step p { color: var(--bp-muted); }

/* ---------- Reviews (template-part: reviews) ---------- */
.bp-reviews { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(28px, 5vw, 64px); background: var(--bp-wash); display: flex; flex-direction: column; gap: 32px; }
.bp-reviews .bp-blobs { z-index: -1; }
.bp-reviews__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bp-reviews__score { font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; display: block; }
.bp-reviews__label { font-size: 1.25rem; color: var(--bp-ink-2); }
.bp-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bp-review { border-radius: var(--bp-radius-m); padding: var(--bp-space-5); display: flex; flex-direction: column; gap: 12px; min-height: 170px; }
.bp-review__stars { color: var(--bp-trust); letter-spacing: 2px; }
.bp-review__who { margin-top: auto; font-size: .875rem; color: var(--bp-muted); }

/* ---------- Footer (template-part: footer) ---------- */
.bp-footer { margin-top: var(--bp-space-section); background: var(--bp-wash); color: var(--bp-ink-2); font-size: .875rem; }
.bp-footer a { color: var(--bp-ink-2); }
.bp-footer a:hover { color: var(--bp-accent); }
.bp-footer .bp-btn--primary, .bp-footer .bp-btn--primary:hover { color: var(--bp-accent-ink); }
.bp-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.4fr); gap: var(--bp-space-7); padding-block: 64px 40px; }
.bp-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.bp-footer__brand img { height: 44px; width: auto; align-self: flex-start; }
.bp-footer__brand p { color: var(--bp-muted); max-width: 28em; font-size: .9375rem; line-height: 1.5; }
.bp-footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; font-weight: 600; }
.bp-footer__contact a { color: var(--bp-ink); }
.bp-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bp-space-6); }
.bp-footer__col h2 { font-family: var(--bp-font-body); font-size: .8125rem; font-weight: 600; color: var(--bp-ink); margin-bottom: 12px; }
.bp-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bp-footer__trust { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 24px; border-top: 1px solid var(--bp-line); }
.bp-footer__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--bp-radius-pill); background: var(--bp-paper); border: 1px solid var(--bp-line); font-size: .8125rem; color: var(--bp-ink-2); }
.bp-footer__tp { width: 18px; height: 18px; border-radius: 4px; background: var(--bp-trust); color: #fff; display: grid; place-items: center; font-size: 11px; }
.bp-footer__legal { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 20px 36px; border-top: 1px solid var(--bp-line); font-size: .75rem; color: var(--bp-muted); }
.bp-footer__legal p { max-width: 60em; }
.bp-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.bp-footer__legal a { color: var(--bp-muted); }
@media (max-width: 1000px) { .bp-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bp-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .bp-footer__top { padding-block: 48px 32px; } }

/* ---------- Quote dialog ---------- */
.bp-dialog { border: 0; padding: 0; border-radius: var(--bp-radius-l); width: min(480px, calc(100% - 32px)); background: var(--bp-glass-strong); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%); box-shadow: var(--bp-shadow); color: var(--bp-ink); }
.bp-dialog::backdrop { background: rgba(20, 20, 30, .35); }
.bp-dialog__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.bp-dialog__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.8); cursor: pointer; display: grid; place-items: center; }
.bp-input { height: 48px; border-radius: var(--bp-radius-s); border: 1px solid rgba(0,0,0,.1); background: #fff; padding: 0 14px; font: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-stores, .bp-types, .bp-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bp-hero__grid, .bp-how { grid-template-columns: 1fr; }
  .bp-nav__menu, .bp-nav__phone { display: none; }
  .bp-nav__toggle { display: grid; }
  .bp-nav { padding-left: 14px; }
  .bp-nav__logo img { height: 34px; }
  .bp-nav__drawer[data-open="true"] { display: block; max-width: var(--bp-container); margin: 8px auto 0; border-radius: var(--bp-radius-m); padding: 8px; }
  .bp-nav__drawer ul { list-style: none; margin: 0; padding: 0; }
  .bp-nav__drawer a { display: block; padding: 14px 16px; border-radius: 12px; font-size: var(--bp-size-m); }
  .bp-how__img { min-height: 240px; }
}
@media (max-width: 560px) {
  .bp-container { padding-inline: var(--bp-space-4); }
  .bp-header { padding-inline: var(--bp-space-4); }
  .bp-stores, .bp-types, .bp-reviews__grid { grid-template-columns: 1fr; }
  .bp-finder { padding: 20px; }
  .bp-quote { flex-direction: column; align-items: stretch; }
  .bp-quote .bp-btn { width: 100%; }
  .bp-blob { filter: blur(60px); }
}

/* ---------- Comfort settings ---------- */
@media (prefers-reduced-motion: reduce) {
  .bp-blob { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .bp-glass, .bp-nav, .bp-store__label, .bp-dialog { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bp-glass, .bp-nav, .bp-store__label { background: var(--bp-glass-strong); }
}

/* Small refinements */
.bp-quote .bp-btn { white-space: nowrap; }
.bp-quote__price { font-size: 1.375rem; }
@media (max-width: 560px) {
  .bp-hero .bp-blob { width: 280px !important; height: 280px !important; }
  .bp-hero .bp-blob--red { opacity: .7; }
}

/* =================================================================
   MOTION
   Built on the 12 principles of animation. Everything is visible
   without JavaScript: the hidden starting states only apply once
   main.js adds .bp-motion to <html>.
   ================================================================= */

/* Benefit tiles overlap the hero by about 10% of their height */
.bp-benefits-wrap { position: relative; z-index: 3; margin-top: -48px; }
.bp-benefit.bp-glass { background: rgba(255,255,255,.62); }

/* Highlighter sweep behind a key word (Klarna-style) */
.bp-mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--bp-accent) 22%, transparent) 62%) no-repeat 0 0 / 100% 100%; padding: 0 .06em; }
.bp-motion .bp-mark { background-size: 0% 100%; transition: background-size 700ms var(--bp-ease-out) 450ms; }
.bp-motion .is-in .bp-mark, .bp-motion .bp-mark.is-in { background-size: 100% 100%; }

/* Word-by-word fill, grey to ink (staging) */
.bp-word { display: inline-block; }
.bp-motion [data-words] .bp-word { color: #c7c7cc; transform: translateY(.18em); opacity: .001; transition: color var(--bp-dur-3) var(--bp-ease-out), transform var(--bp-dur-3) var(--bp-ease-out), opacity var(--bp-dur-3) var(--bp-ease-out); transition-delay: calc(var(--i) * 60ms); }
.bp-motion [data-words].is-in .bp-word { color: inherit; transform: none; opacity: 1; }
.bp-motion [data-words] .bp-mark .bp-word { color: #c7c7cc; }
.bp-motion [data-words].is-in .bp-mark .bp-word { color: inherit; }

/* Hero staging: headline, then lede and rating, then the finder */
.bp-motion .bp-hero [data-stage] { opacity: 0; transform: translateY(16px); transition: opacity var(--bp-dur-3) var(--bp-ease-out), transform var(--bp-dur-3) var(--bp-ease-out); }
.bp-motion .bp-hero.is-in [data-stage] { opacity: 1; transform: none; }
.bp-motion .bp-hero.is-in [data-stage="1"] { transition-delay: 350ms; }
.bp-motion .bp-hero.is-in [data-stage="2"] { transition-delay: 520ms; }
.bp-motion .bp-hero.is-in [data-stage="3"] { transition-delay: 160ms; transform: none; }
.bp-motion .bp-hero [data-stage="3"] { transform: translateY(28px) scale(.98); }
.bp-hero__bg { transform: scale(1.06); transition: transform 1600ms var(--bp-ease-out); }
.bp-hero.is-in .bp-hero__bg { transform: scale(1); }

/* Scroll reveals with overlapping stagger (follow-through) */
.bp-motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--bp-dur-3) var(--bp-ease-out), transform var(--bp-dur-3) var(--bp-ease-out); }
.bp-motion [data-reveal].is-in { opacity: 1; transform: none; }
.bp-motion [data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity var(--bp-dur-3) var(--bp-ease-out), transform var(--bp-dur-3) var(--bp-ease-out); transition-delay: calc(var(--i, 0) * var(--bp-stagger)); }
.bp-motion [data-stagger].is-in > * { opacity: 1; transform: none; }

/* Stats */
.bp-stats-wrap { text-align: center; }
.bp-stats__title { margin-bottom: 40px; }
.bp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.bp-stat { background: var(--bp-wash); border-radius: var(--bp-radius-m); padding: 28px 20px; display: flex; flex-direction: column-reverse; gap: 6px; }
.bp-stat dd { margin: 0; font-family: var(--bp-font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bp-stat dt { font-size: var(--bp-size-s); color: var(--bp-muted); }
.bp-stats__note { margin-top: 12px; font-size: var(--bp-size-xs); color: var(--bp-muted); }

/* Ticker of store names */
.bp-ticker { margin-top: var(--bp-space-section); overflow: hidden; border-block: 1px solid var(--bp-line); padding-block: 22px; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bp-ticker__track { display: flex; gap: 28px; width: max-content; font-family: var(--bp-font-display); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -.03em; color: var(--bp-ink); animation: bp-ticker 40s linear infinite; }
.bp-ticker:hover .bp-ticker__track { animation-play-state: paused; }
.bp-ticker__dot { color: var(--bp-accent); }
@keyframes bp-ticker { to { transform: translateX(-50%); } }

/* Sticky story: media pins while steps scroll past (Klarna-style) */
.bp-story__thumb { display: none; }
.bp-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--bp-space-7); align-items: start; }
.bp-story__media { position: sticky; top: 110px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.bp-story__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--bp-radius-l); overflow: hidden; background: var(--bp-wash); perspective: 1200px; }
.bp-story__frame { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(40px) rotate(2deg) scale(.96); transform-origin: 30% 100%; transition: opacity 500ms var(--bp-ease-in), transform 500ms var(--bp-ease-in); }
.bp-story__frame.is-active { opacity: 1; transform: none; transition: opacity 650ms var(--bp-ease-out), transform 650ms var(--bp-ease-out); }
.bp-story__frame img { width: 100%; height: 100%; object-fit: cover; }
.bp-float { position: absolute; left: 20px; bottom: 20px; border-radius: var(--bp-radius-pill); padding: 10px 16px; font-size: var(--bp-size-s); font-weight: 600; transform: translateY(12px); opacity: 0; transition: transform 500ms var(--bp-ease-out) 250ms, opacity 500ms var(--bp-ease-out) 250ms; }
.bp-float--accent { background: color-mix(in srgb, var(--bp-accent) 82%, transparent); color: #fff; border-color: rgba(255,255,255,.4); }
.bp-story__frame.is-active .bp-float { transform: none; opacity: 1; }
.bp-story__dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bp-story__dots li { width: 4px; height: 12px; border-radius: 4px; background: var(--bp-line); transition: height var(--bp-dur-2) var(--bp-ease-out), background-color var(--bp-dur-2); }
.bp-story__dots li.is-active { height: 28px; background: var(--bp-ink); }
.bp-story__steps { list-style: none; margin: 0; padding: 12vh 0 16vh; display: flex; flex-direction: column; gap: 30vh; }
.bp-story__step h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); letter-spacing: -.035em; line-height: 1.05; font-weight: 700; color: #c7c7cc; transition: color 400ms var(--bp-ease-out); }
.bp-story__step p { margin-top: 14px; font-size: 1.125rem; color: var(--bp-muted); max-width: 26em; opacity: .35; transition: opacity 400ms var(--bp-ease-out); }
.bp-story__step .bp-btn { margin-top: 22px; }
.bp-story__step.is-active h3 { color: var(--bp-ink); }
.bp-story__step.is-active p { opacity: 1; }

/* Store cards: a little depth on hover (solid drawing) */
.bp-store { transition: transform var(--bp-dur-2) var(--bp-ease-out), box-shadow var(--bp-dur-2) var(--bp-ease-out); transform-style: preserve-3d; }
.bp-store:hover { transform: perspective(900px) rotateX(2deg) translateY(-4px); box-shadow: 0 24px 50px rgba(20,20,40,.16); }
.bp-store__go { transition: transform var(--bp-dur-2) var(--bp-ease-out); }
.bp-store:hover .bp-store__go { transform: translateX(3px); }

/* Size choice squashes slightly as it is picked (squash and stretch) */
.bp-size input:checked + label { animation: bp-squash 320ms var(--bp-ease-out); }
@keyframes bp-squash { 0% { transform: scale(.94, .98); } 55% { transform: scale(1.02, .99); } 100% { transform: none; } }

/* Price pulses when it updates (secondary action) */
.bp-quote.is-updated .bp-quote__price { animation: bp-pulse 450ms var(--bp-ease-out); }
@keyframes bp-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: var(--bp-accent); } 100% { transform: scale(1); } }

/* Buttons dip on press and hold (anticipation) */
.bp-btn { transition: transform var(--bp-dur-1) var(--bp-ease-out), background-color var(--bp-dur-2) var(--bp-ease-out), box-shadow var(--bp-dur-2) var(--bp-ease-out); }
.bp-btn--primary:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--bp-accent) 35%, transparent); }
.bp-btn:active { transform: scale(.96); }

/* Empty required field shakes (exaggeration) */
.bp-input.is-error { border-color: var(--bp-accent); animation: bp-shake 360ms var(--bp-ease-out); }
@keyframes bp-shake { 0%,100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* Success tick pops in (secondary action) */
.bp-done { display: flex; align-items: center; gap: 10px; color: var(--bp-ink); font-weight: 600; }
.bp-done svg { color: var(--bp-trust); animation: bp-pop 420ms var(--bp-ease-out); }
@keyframes bp-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

/* Dialog: in with ease-out, out faster with ease-in */
.bp-dialog[open] { animation: bp-dialog-in 300ms var(--bp-ease-out); }
.bp-dialog[open]::backdrop { animation: bp-fade 250ms var(--bp-ease-out); }
.bp-dialog.is-closing { animation: bp-dialog-out 180ms var(--bp-ease-in) forwards; }
@keyframes bp-dialog-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes bp-dialog-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes bp-fade { from { opacity: 0; } }

/* Mobile menu drawer */
@media (max-width: 860px) {
  .bp-nav__drawer[data-open="true"] { animation: bp-drawer 250ms var(--bp-ease-out); transform-origin: top right; }
  @keyframes bp-drawer { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
}

@media (max-width: 1000px) { .bp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .bp-story { grid-template-columns: 1fr; }
  .bp-story__media { display: none; }
  .bp-story__steps { gap: 40px; padding: 0; }
  .bp-story__thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--bp-radius-m); margin-bottom: 18px; transform: scale(.96); opacity: .6; transition: transform 500ms var(--bp-ease-out), opacity 500ms var(--bp-ease-out); }
  .bp-story__step.is-active .bp-story__thumb { transform: none; opacity: 1; }
  .bp-benefits-wrap { margin-top: -44px; }
}

@media (prefers-reduced-motion: reduce) {
  .bp-motion [data-words] .bp-word, .bp-motion [data-reveal], .bp-motion [data-stagger] > *, .bp-motion .bp-hero [data-stage] { opacity: 1 !important; transform: none !important; color: inherit !important; }
  .bp-motion .bp-mark { background-size: 100% 100%; }
  .bp-ticker__track { animation: none; }
  .bp-story__frame, .bp-float { transition: none; }
  .bp-size input:checked + label, .bp-quote.is-updated .bp-quote__price, .bp-input.is-error, .bp-done svg, .bp-dialog[open] { animation: none; }
  .bp-hero__bg { transform: none; }
}


/* =================================================================
   ROUND 3: real numbers, CTAs, spacing rhythm, icon and logo motion
   Spatial thesis (pbakaus/layout): hero then finder lead; every
   section is head (12px inside) -> content (48px gap) -> one action.
   Sections sit 80 to 128px apart, cards 16px apart, so groups read
   as groups and sections read as sections.
   ================================================================= */

/* Phone numbers never break across lines */
.bp-tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bp-nav__phone { white-space: nowrap; display: inline-flex; gap: 6px; align-items: baseline; color: var(--bp-muted); }
.bp-nav__phone .bp-tel { color: var(--bp-ink); font-weight: 600; }

/* Equal-height storage type cards + hover shimmer */
.bp-types > li { display: flex; }
.bp-type { position: relative; overflow: hidden; width: 100%; isolation: isolate; }
.bp-type::after { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 20%, color-mix(in srgb, var(--bp-accent) 10%, rgba(255,255,255,.9)) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: skewX(-18deg) translateX(0); opacity: 0; }
.bp-type:hover::after, .bp-type:focus-visible::after { animation: bp-shimmer 900ms var(--bp-ease-out) forwards; }
@keyframes bp-shimmer { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 1; transform: skewX(-18deg) translateX(420%); } }
.bp-type:hover { border-color: color-mix(in srgb, var(--bp-accent) 30%, var(--bp-line)); }
.bp-type__more { transition: letter-spacing var(--bp-dur-2) var(--bp-ease-out); }
.bp-type:hover .bp-type__more { letter-spacing: .01em; }

/* Animated padlock logo: lifts, swings open, clicks shut every ~9s */
.bp-lock { position: relative; display: block; width: 28px; height: 40px; }
.bp-lock img { position: absolute; left: 0; width: 100%; height: auto; }
.bp-lock__shackle { top: 0; z-index: 0; transform-origin: 74% 92%; animation: bp-unlock 9s var(--bp-ease-in-out) 2.5s infinite; }
.bp-lock__body { top: 0; z-index: 1; animation: bp-lock-click 9s var(--bp-ease-out) 2.5s infinite; }
@keyframes bp-unlock {
  0%, 72%, 100% { transform: none; }
  76% { transform: translateY(-16%); }
  80%, 88% { transform: translateY(-16%) rotate(-28deg); }
  92% { transform: translateY(-16%); }
  95% { transform: translateY(2%); }
  97% { transform: none; }
}
@keyframes bp-lock-click { 0%, 94%, 100% { transform: none; } 95.5% { transform: scale(1.04, .95); } }
.bp-footer__brand .bp-lock { width: 31px; height: 44px; }

/* Benefit icons take turns doing a small move every 8s */
.bp-ico { overflow: visible; }
.bp-ico__tick { stroke-dasharray: 12; stroke-dashoffset: 0; animation: bp-ico-tick 8s var(--bp-ease-out) 1s infinite; }
@keyframes bp-ico-tick { 0% { stroke-dashoffset: 0; } 2% { stroke-dashoffset: 12; } 10%, 100% { stroke-dashoffset: 0; } }
.bp-ico--shield { animation: bp-ico-bob 8s var(--bp-ease-out) 1s infinite; transform-origin: 50% 100%; }
.bp-ico--cal .bp-ico__page { transform-origin: 50% 30%; animation: bp-ico-flip 8s var(--bp-ease-in-out) 3s infinite; }
@keyframes bp-ico-flip { 0%, 12%, 100% { transform: none; } 4% { transform: rotateX(70deg); } 8% { transform: rotateX(0) translateY(-1px); } }
.bp-ico--cal .bp-ico__rings { animation: bp-ico-rings 8s var(--bp-ease-out) 3s infinite; }
@keyframes bp-ico-rings { 0%, 10%, 100% { transform: none; } 4% { transform: translateY(-2px); } }
.bp-ico--match .bp-ico__plus { transform-origin: 12px 12px; animation: bp-ico-spin 8s var(--bp-ease-out) 5s infinite; }
@keyframes bp-ico-spin { 0%, 12%, 100% { transform: none; } 8% { transform: rotate(180deg) scale(1.15); } 10% { transform: rotate(180deg); } }
.bp-ico--clock .bp-ico__hand { transform-origin: 12px 12px; animation: bp-ico-hand 8s var(--bp-ease-in-out) 7s infinite; }
@keyframes bp-ico-hand { 0%, 100% { transform: none; } 12% { transform: rotate(360deg); } 12.01%, 99.99% { transform: rotate(360deg); } }
@keyframes bp-ico-bob { 0%, 12%, 100% { transform: none; } 4% { transform: translateY(-3px) scale(1.06); } 8% { transform: translateY(0) scale(.98); } }

/* Shared CTA pieces */
.bp-btn--light { background: #fff; color: var(--bp-ink); }
.bp-btn--light:hover { color: var(--bp-accent); }
.bp-cta__actions { display: flex; flex-direction: column; gap: var(--bp-space-3); align-items: stretch; }
.bp-cta__actions--row { flex-direction: row; flex-wrap: wrap; align-items: center; }
.bp-cta__actions--center { justify-content: center; }
.bp-cta { border-radius: var(--bp-radius-l); background: var(--bp-wash); padding: var(--bp-space-8); }
.bp-cta--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--bp-space-7); align-items: center; }
.bp-cta__copy { display: flex; flex-direction: column; gap: var(--bp-space-3); }
.bp-cta .bp-title, .bp-biz .bp-title { text-align: left; }
.bp-cta .bp-sub { font-size: var(--bp-size-m); }

/* Offer banner */
.bp-offer { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--bp-radius-l); padding: var(--bp-space-8);
  background: linear-gradient(135deg, var(--bp-accent), color-mix(in srgb, var(--bp-accent) 70%, #7a0010)); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--bp-space-6); align-items: center; }
.bp-offer .bp-blobs { z-index: -1; }
.bp-offer__copy { display: flex; flex-direction: column; gap: var(--bp-space-3); }
.bp-offer__kicker { font-size: var(--bp-size-s); font-weight: 600; opacity: .85; }
.bp-offer__title { font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.bp-offer__sub { font-size: var(--bp-size-m); opacity: .9; max-width: 32em; }
.bp-offer__actions { display: flex; flex-direction: column; gap: var(--bp-space-3); align-items: flex-start; }
.bp-offer__terms { font-size: var(--bp-size-xs); color: rgba(255,255,255,.85); text-decoration: underline; }
.bp-offer__terms:hover { color: #fff; }

/* Business panel */
.bp-biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--bp-space-7); align-items: center; border: 1px solid var(--bp-line); border-radius: var(--bp-radius-l); padding: var(--bp-space-5); }
.bp-biz__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--bp-radius-m); }
.bp-biz__copy { display: flex; flex-direction: column; gap: var(--bp-space-5); padding: var(--bp-space-5) var(--bp-space-5) var(--bp-space-5) 0; }
.bp-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--bp-space-3); }
.bp-ticks li { position: relative; padding-left: 30px; color: var(--bp-ink-2); }
.bp-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--bp-accent) 12%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7141a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Final CTA */
.bp-final { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: clamp(3rem, 2rem + 5vw, 7rem) var(--bp-space-5); background: var(--bp-wash); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--bp-space-5); }
.bp-final .bp-blobs { z-index: -1; }
.bp-final__title { font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.bp-final__trust { display: inline-flex; align-items: center; gap: var(--bp-space-2); font-size: var(--bp-size-s); color: var(--bp-ink-2); }

/* Sticky mobile CTA bar */
.bp-mbar { display: none; }
@media (max-width: 860px) {
  .bp-mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr auto; gap: var(--bp-space-2);
    padding: var(--bp-space-2); border-radius: var(--bp-radius-pill); background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--bp-glass-rim); box-shadow: var(--bp-shadow); transform: translateY(140%); transition: transform 350ms var(--bp-ease-out); }
  .bp-mbar.is-on { transform: none; }
  .bp-mbar .bp-btn { min-height: 48px; }
  .bp-footer { padding-bottom: 88px; }
}
@media (max-width: 860px) {
  .bp-cta--split, .bp-offer, .bp-biz { grid-template-columns: 1fr; }
  .bp-cta, .bp-offer { padding: var(--bp-space-6) var(--bp-space-5); }
  .bp-biz__copy { padding: 0 var(--bp-space-2) var(--bp-space-2); }
  .bp-biz__img { min-height: 200px; }
}
@media (max-width: 560px) {
  .bp-cta__actions--row { flex-direction: column; align-items: stretch; }
  .bp-cta__actions--row .bp-btn { width: 100%; }
}

/* Hero parallax layers */
.bp-motion [data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .bp-lock__shackle, .bp-lock__body, .bp-ico, .bp-ico *, .bp-type::after { animation: none !important; }
  .bp-mbar { transition: none; }
}
@media (max-width: 860px) { .bp-nav__phone { display: none !important; } }
