:root {
  --ink: #2B211A;
  --ink-deep: #17110D;
  --ink-soft: #4A3D33;
  --paper: #FAF6EF;
  --card: #FFFDF9;
  --sand: #F3ECE0;
  --line: #E6DCCB;
  --line-strong: #D3C5AE;
  --gold: #D6B98A;
  --bronze: #7A5A2C;
  --sans: Jost, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
}

img { max-width: 100%; }

a { color: var(--bronze); }
a:hover { color: var(--ink); }

/* ---------- Motion ---------- */
@keyframes bswRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bsw-rise { animation: bswRise 320ms cubic-bezier(.22,.9,.24,1) both; }
.bsw-press { transition: transform 130ms ease, opacity 130ms ease, box-shadow 200ms ease; }
.bsw-press:active { transform: scale(.98); opacity: .92; }
.bsw-press:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(214,185,138,.55); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bsw-rise { animation: none; }
  .phone-slide { transition: none !important; }
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 9px;
}
.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
}
.wrap { max-width: 1200px; margin: 0 auto; }

/* ---------- Hero ---------- */
.bsw-hero { background: var(--ink); color: var(--paper); padding: 0 22px 96px; }
.bsw-header { display: flex; justify-content: center; align-items: center; padding: 62px 0 72px; }
.bsw-header img { display: block; width: 280px; max-width: 70%; height: auto; }

.bsw-hero-row { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.hero-copy .eyebrow { color: var(--gold); }
.bsw-h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 41px; line-height: 1.05; }
.hero-lede { margin: 24px 0 0; max-width: 440px; font-weight: 300; font-size: 17px; line-height: 1.6; color: rgba(255,253,249,.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; align-items: center; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 48px; padding: 0 24px;
  background: var(--paper); color: var(--ink);
  border-radius: 2px; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 22px 40px -18px rgba(0,0,0,.6);
}
.hero-cta:hover { color: var(--ink); }
.hero-note { font-size: 14px; font-weight: 400; color: rgba(255,253,249,.8); }

/* Photo + phone */
.bsw-visual { flex: 1 1 460px; min-width: 0; position: relative; height: 640px; animation-delay: 80ms; }
.bsw-photo { position: absolute; inset: 0 0 0 48px; border-radius: 3px; background: var(--ink-soft); overflow: hidden; }
.bsw-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.bsw-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,33,26,0) 55%, rgba(43,33,26,.88) 92%, #2B211A 100%);
}

.bsw-phone {
  position: absolute; left: 0; bottom: 40px;
  width: 292px; height: 580px; padding: 9px;
  background: var(--ink-deep); border-radius: 40px;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,.7);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--paper); }
.phone-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
  transition: opacity 600ms ease; opacity: 0;
}
.phone-slide.is-active { opacity: 1; }
.phone-dots {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 2px 5px;
  background: rgba(43,33,26,.6); border-radius: 999px;
}
.phone-dot {
  width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.phone-dot span { width: 7px; height: 7px; border-radius: 50%; background: rgba(250,246,239,.45); transition: background 200ms ease; }
.phone-dot[aria-current="true"] span { background: var(--paper); }
.phone-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 50%; }

/* ---------- How it works ---------- */
.bsw-section { padding: 96px 22px; }
.bsw-section > .wrap { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 24px;
  display: flex; flex-direction: column; gap: 13px;
  box-shadow: 0 24px 40px -28px rgba(43,33,26,.3);
}
.step-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 5px 0 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.step p { margin: 0; font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Download ---------- */
.bsw-dl { padding: 0 22px 96px; scroll-margin-top: 24px; }
.bsw-dl-box {
  max-width: 1200px; margin: 0 auto;
  background: var(--sand); border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 56px 24px;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.bsw-dl-col { flex: 1 1 380px; min-width: 0; }
.bsw-dl-copy { display: flex; flex-direction: column; padding-left: 24px; }
.bsw-dl-copy p { margin: 18px 0 0; max-width: 460px; font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.bsw-dl-badges { padding-right: 24px; display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }

/* Store badges */
.store-badge {
  position: relative; display: block; flex: 0 0 auto;
  width: 168px; height: 56px;
  background: #000; border: 1px solid #A6A6A6; border-radius: 8.4px;
  overflow: hidden; color: #fff; text-decoration: none;
}
.store-badge:hover { color: #fff; }
.store-badge img { position: absolute; left: 9.8px; top: 9.8px; height: 33.6px; display: block; }
.store-badge--apple img { width: 28px; }
.store-badge--google img { width: 29.4px; }
.store-badge__text {
  position: absolute; left: 49px; top: 50%; transform: translateY(-50%);
  width: 112px; display: flex; flex-direction: column; white-space: nowrap; color: #fff;
}
.store-badge--apple .store-badge__text { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; font-weight: 500; }
.store-badge--apple .store-badge__pre { font-size: 12.6px; line-height: 12.6px; }
.store-badge--apple .store-badge__name { font-size: 25.2px; line-height: 1; letter-spacing: -0.66px; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif; }
.store-badge--google .store-badge__text { gap: 3px; font-family: 'Google Sans', 'Product Sans', Roboto, Arial, sans-serif; }
.store-badge--google .store-badge__pre { font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.store-badge--google .store-badge__name { font-size: 19px; line-height: 1.05; letter-spacing: -0.2px; font-weight: 500; }

/* Disabled ("coming soon") state: no link configured */
.store-badge.is-disabled { cursor: default; opacity: .55; filter: grayscale(1); }
.store-badge.is-disabled:active { transform: none; opacity: .55; }
.store-badge.is-disabled .store-badge__pre { text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; line-height: 12.6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 24px 22px 36px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bsw-visual { flex-basis: 100%; max-width: 760px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .bsw-hero { padding-bottom: 64px; }
  .bsw-header { padding: 40px 0 44px; }
  .bsw-header img { width: 220px; }
  .bsw-hero-row { gap: 44px; }
  .bsw-h1 { font-size: 36px; }
  .bsw-visual { height: auto; display: flex; flex-direction: column; align-items: center; }
  .bsw-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 4/3; }
  .bsw-phone { position: relative; left: auto; bottom: auto; margin-top: -120px; width: 264px; height: 540px; }
  .bsw-section { padding-top: 64px; padding-bottom: 64px; }
  .bsw-dl { padding-bottom: 64px; }
  .bsw-dl-box { padding: 36px 22px; gap: 28px; }
  .bsw-dl-copy, .bsw-dl-badges { padding-left: 0; padding-right: 0; flex-basis: 100%; }
}
