/* ============================================================================
   BUILD MY BANK — v1
   Tokens and values taken verbatim from the design handoff (v2 design).
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* surfaces */
  --paper:        #F6F3EE;
  --surface:      #FFFFFF;
  --surface-warm: #F3F0E9;

  /* borders */
  --border:       #ECE8DF;
  --border-2:     #E5E0D4;
  --border-input: #DDD6C8;

  /* ink ramp */
  --ink:          #16181F;
  --ink-hover:    #2B2E3A;
  --body:         #4B4F5C;
  --muted:        #6B6F7C;
  --warm:         #8A8578;

  /* accent: overridden at runtime by the accentColor ad-test lever */
  --acc:          #8B7CF6;
  --tint:         #EEEAFB;
  --acc-deep:     #5B54A8;
  --acc-selected: #3F3877;
  --tint-border:  #DDD5F5;
  --tint-border-2:#E2DBF7;
  --acc-arrow:    #9C93D9;

  /* module palette */
  --green:  #3FA36C;
  --yellow: #F0BC2E;
  --blue:   #5493E8;
  --orange: #F08B3E;
  --teal:   #2FA08F;

  /* type */
  --display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ui:      'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand:    'Caveat', 'Bradley Hand', cursive;

  /* layout */
  --container: 1240px;
  --gutter: 24px;
  --section-y: clamp(56px, 7vw, 104px);

  /* shadows */
  --shadow-card:  0 10px 20px -16px rgba(22, 24, 31, .25);
  --shadow-phone: 0 40px 80px -40px rgba(22, 24, 31, .45);
  --shadow-chip:  0 12px 24px -18px rgba(91, 84, 168, .5);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.lp-locked { overflow: hidden; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: #6A59E8; }

button { font-family: var(--ui); }
input { outline: none; font-family: var(--ui); }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes bmbIn  { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bmbIn2 { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bmbPulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ------------------------------------------------------------ primitives -- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.overline {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  color: var(--warm); text-transform: uppercase;
}

.h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5vw, 66px); line-height: 1.04;
  letter-spacing: -.02em; margin: 0 0 22px; text-wrap: pretty;
}
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  letter-spacing: -.02em; margin: 0; max-width: 22ch; text-wrap: pretty;
}
.note-hand {
  font-family: var(--hand); font-weight: 600; font-size: 22px;
  color: var(--acc-deep); transform: rotate(-1.5deg);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ui); font-weight: 600; cursor: pointer;
  border: none; border-radius: 14px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-hover); }
.btn--outline {
  background: none; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 12px;
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--nav { border-radius: 12px; padding: 12px 22px; font-size: 15px; }
.btn--md  { padding: 13px 26px; font-size: 15px; }
.btn--lg  { padding: 17px 32px; font-size: 16px; }
.btn--xl  { padding: 18px 38px; font-size: 17px; }
.btn--block { width: 100%; padding: 16px 24px; font-size: 16px; }

/* icon tile: the coloured square behind every module glyph */
.tile {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.tile--40 { width: 40px; height: 40px; }
.tile--32 { width: 32px; height: 32px; }

/* -------------------------------------------------------------------- nav -- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter);
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark {
  display: grid; grid-template-columns: 10px 10px; grid-template-rows: 10px 10px; gap: 2px;
}
.nav__mark span:nth-child(1) { background: var(--ink);    border-radius: 3px 3px 1px 3px; }
.nav__mark span:nth-child(2) { background: var(--acc);    border-radius: 3px; }
.nav__mark span:nth-child(3) { background: var(--green);  border-radius: 3px; }
.nav__mark span:nth-child(4) { background: var(--yellow); border-radius: 1px 3px 3px 3px; }
.nav__word {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: -.01em; white-space: nowrap;
}
.nav__right { display: flex; align-items: center; gap: 26px; }
.nav__links { display: flex; gap: 32px; font-weight: 500; font-size: 15px; white-space: nowrap; }

/* ------------------------------------------------------------------- hero -- */
.hero {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) var(--gutter) clamp(48px, 6vw, 88px);
  display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px);
}
.hero__left { flex: 1 1 380px; min-width: 0; max-width: 620px; }
.hero__sub {
  font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5;
  color: var(--body); margin: 0 0 34px; max-width: 44ch; text-wrap: pretty;
}
.hero__overline { margin: 0 0 14px; }
.hero__cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero__microcopy { font-size: 14px; color: var(--body); line-height: 1.4; }

/* the rotating "You: ..." line: the jobs to be done, one at a time */
.rot { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; min-height: 48px; }
.rot__you {
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--warm); flex: none;
}
.rot__q {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tint); border: 1.5px solid var(--tint-border);
  border-radius: 999px; padding: 9px 18px 9px 12px; cursor: pointer;
  font-family: var(--display); font-weight: 700; color: var(--acc-selected);
  font-size: clamp(18px, 2vw, 23px); letter-spacing: -.01em; text-align: left;
  box-shadow: var(--shadow-chip);
  transition: opacity .24s ease, transform .24s ease, border-color .15s;
}
.rot__q:hover { border-color: var(--acc); }
.rot__q.is-out { opacity: 0; transform: translateY(6px); }
.rot__icon {
  width: 32px; height: 32px; border-radius: 999px; background: var(--surface);
  flex: none; display: flex; align-items: center; justify-content: center;
}

/* phone mock + setup rail */
.hero__right {
  flex: 1 1 520px; min-width: 0;
  display: flex; flex-wrap: wrap; gap: clamp(20px, 2.5vw, 36px);
  align-items: flex-start; justify-content: center;
}
.phone {
  flex: 0 1 300px; min-width: 270px;
  background: var(--ink); border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow-phone);
}
/* One fixed, phone-shaped screen regardless of scenario: the content sits at
   the top and the tab bar is pinned to the bottom. */
.phone__screen {
  background: #FBFAF7; border-radius: 36px; overflow: hidden; padding: 0 0 10px;
  height: 600px; display: flex; flex-direction: column;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px 6px;
}
.phone__time { font-weight: 600; font-size: 13px; }
.phone__island { width: 74px; height: 22px; background: var(--ink); border-radius: 999px; }
.phone__signal { display: flex; gap: 3px; align-items: flex-end; }
.phone__signal span { width: 3px; background: var(--ink); border-radius: 1px; }
.phone__signal span:nth-child(1) { height: 6px; }
.phone__signal span:nth-child(2) { height: 8px; }
.phone__signal span:nth-child(3) { height: 10px; }

.phone__greet {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 4px; font-weight: 600; font-size: 15px;
}
.phone__avatar {
  width: 30px; height: 30px; border-radius: 999px;
  background: linear-gradient(135deg, #D9CFF8, #8B7CF6);
}
.phone__balance { padding: 12px 20px 4px; }
.phone__balance-k { font-size: 12.5px; color: var(--muted); }
.phone__balance-v {
  font-family: var(--display); font-weight: 700; font-size: 31px;
  letter-spacing: -.01em; margin: 2px 0; font-variant-numeric: tabular-nums;
}
.phone__balance-n { font-size: 12px; color: var(--green); font-weight: 600; }

.phone__feed { padding: 14px 20px 0; }
.phone__feed-h { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.phone__feed-list { display: flex; flex-direction: column; gap: 8px; }
.phone__feed-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-warm); border-radius: 14px; padding: 11px 12px;
}
.phone__feed-icon {
  width: 26px; height: 26px; border-radius: 999px; background: var(--green);
  flex: none; display: flex; align-items: center; justify-content: center;
}
.phone__feed-title { display: block; font-weight: 600; font-size: 12.5px; }
.phone__feed-amt { display: block; font-size: 12px; color: var(--green); font-weight: 600; }

.phone__boost-wrap { padding: 12px 20px 8px; }
.phone__boost { background: var(--tint); border-radius: 16px; padding: 14px 14px 12px; }
.phone__boost-t { font-weight: 600; font-size: 13px; }
.phone__boost-a { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 2px 0; }
.phone__boost-n { font-size: 11.5px; color: var(--acc-deep); }

.phone__setup { padding: 8px 20px 0; }
.phone__setup-h { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.phone__setup-list { display: flex; flex-direction: column; gap: 6px; }
.phone__setup-row {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 12.5px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px;
}
.phone__setup-row .tile { width: 22px; height: 22px; border-radius: 7px; }

.phone__tabs {
  display: flex; justify-content: space-around;
  padding: 10px 16px 6px; border-top: 1px solid var(--border); margin-top: auto;
}
.phone__tabs span { width: 18px; height: 18px; border-radius: 6px; background: #D7D2C6; }
.phone__tabs span:first-child { background: var(--ink); }

.rail { flex: 1 1 250px; min-width: 250px; max-width: 320px; position: relative; padding-top: 34px; }
.rail__note {
  position: absolute; top: -6px; left: 18px;
  font-family: var(--hand); font-weight: 600; font-size: 24px;
  color: var(--acc-deep); transform: rotate(-3deg);
}
.rail__list { display: flex; flex-direction: column; gap: 10px; }
.mrow {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-card);
}
.mrow__name { display: block; font-weight: 600; font-size: 14px; }
.mrow__desc { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* -------------------------------------------------------------------- why -- */
.why { border-top: 1px solid var(--border); }
.why__inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.why__left { display: flex; flex-direction: column; }
.why__p {
  font-size: 16.5px; line-height: 1.6; color: var(--body);
  margin: 18px 0 0; max-width: 54ch; text-wrap: pretty;
}
.cmp {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}
.cmp__col {
  border-radius: 20px; padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.cmp__col--old { background: var(--surface); border: 1px solid var(--border); }
.cmp__col--new { background: var(--tint); border: 1px solid var(--tint-border); }
.cmp__h { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--warm); }
.cmp__col--new .cmp__h { color: var(--acc-deep); }
.cmp__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cmp__list li {
  position: relative; padding-left: 26px;
  font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--ink);
}
.cmp__list li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 999px;
}
.cmp__col--old .cmp__list li { color: var(--body); }
.cmp__col--old .cmp__list li::before {
  background: var(--surface-warm); border: 1px solid var(--border-2);
  background-image: linear-gradient(var(--warm), var(--warm)); background-size: 8px 1.5px;
  background-repeat: no-repeat; background-position: center;
}
.cmp__col--new .cmp__list li::before {
  background: var(--acc);
  background-image: 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.5 12.5l4.2 4.2L18.5 8'/%3E%3C/svg%3E");
  background-size: 11px 11px; background-repeat: no-repeat; background-position: center;
}

/* ---------------------------------------------------------- how it works -- */
.band-white {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.how__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 36px;
}
.how__showing { font-size: 14px; color: var(--muted); }
.how__showing strong { color: var(--ink); }

.strip__ctrl {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.strip__nav { display: flex; gap: 8px; flex: none; }
.strip__btn {
  width: 42px; height: 42px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, opacity .15s;
}
.strip__btn:hover { border-color: var(--ink); }
.strip__btn:disabled { opacity: .35; cursor: default; }
.strip__btn:disabled:hover { border-color: var(--border-2); }

/* the strip scrolls sideways; the edge fades say there is more */
.strip-wrap { position: relative; }
.strip-wrap::before, .strip-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 18px; width: 72px;
  pointer-events: none; transition: opacity .2s ease; z-index: 1;
}
.strip-wrap::before { left: 0;  background: linear-gradient(90deg, var(--surface), rgba(255, 255, 255, 0)); }
.strip-wrap::after  { right: 0; background: linear-gradient(270deg, var(--surface), rgba(255, 255, 255, 0)); }
.strip-wrap.is-start::before { opacity: 0; }
.strip-wrap.is-end::after { opacity: 0; }

.strip {
  display: flex; align-items: stretch; gap: 12px; overflow-x: auto; padding-bottom: 18px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.strip__item { display: flex; align-items: center; gap: 12px; flex: none; scroll-snap-align: start; }
.scard {
  width: 190px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.scard__name { font-weight: 600; font-size: 14px; text-align: center; line-height: 1.25; }
.scard__desc { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.4; }
.strip__join { font-family: var(--display); font-size: 22px; color: #B9B3A4; }
.scard--result {
  flex: none; width: 190px; background: var(--tint); border: 1px solid var(--tint-border);
  border-radius: 18px; padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.scard--result .tile { background: var(--acc); }
.how__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 10px; }

/* --------------------------------------------------------------- features -- */
.features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}
.fcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 24px 22px; display: flex; flex-direction: column; gap: 12px;
}
.fcard__t { font-weight: 600; font-size: 17px; }
.fcard__d { font-size: 14.5px; line-height: 1.5; color: var(--body); }

/* --------------------------------------------------------------- evolves -- */
.band-tint {
  background: var(--tint);
  border-top: 1px solid var(--tint-border-2); border-bottom: 1px solid var(--tint-border-2);
}
.evolves__sub {
  font-size: 16.5px; line-height: 1.55; color: var(--body);
  margin: 0 0 38px; max-width: 52ch; text-wrap: pretty;
}
.stages { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.stage { display: flex; align-items: center; gap: 14px; flex: 1 1 240px; }
.stage__card {
  flex: 1; background: var(--surface); border: 1px solid var(--tint-border-2);
  border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px; min-height: 130px;
}
.stage__label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; color: var(--acc-deep); }
.stage__title { font-weight: 600; font-size: 16px; }
.stage__tiles { display: flex; gap: 6px; }
.stage__tiles span { width: 24px; height: 24px; border-radius: 8px; }
.stage__arrow { font-family: var(--display); font-size: 24px; color: var(--acc-arrow); }

/* -------------------------------------------------------------- final CTA -- */
.final {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter); text-align: center;
}
.final__h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4vw, 52px); letter-spacing: -.02em; line-height: 1.08;
  margin: 0 auto 30px; max-width: 20ch; text-wrap: pretty;
}
.final__note { font-size: 14px; color: var(--warm); margin: 16px 0 0; }

/* ----------------------------------------------------------------- footer -- */
.footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer__grid {
  max-width: var(--container); margin: 0 auto; padding: 30px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px;
}
.trust { display: flex; align-items: center; gap: 12px; }
.trust__icon {
  width: 36px; height: 36px; border-radius: 11px; background: var(--surface-warm);
  flex: none; display: flex; align-items: center; justify-content: center;
}
.trust__t { display: block; font-weight: 600; font-size: 14px; }
.trust__d { display: block; font-size: 13px; color: var(--muted); }
.footer__legal {
  border-top: 1px solid var(--border); padding: 18px var(--gutter);
  text-align: center; font-size: 13px; color: var(--warm);
}

/* ------------------------------------------------------------------ modal */
/* Centered card on desktop; becomes the handoff's bottom sheet on phones. */
.scrim {
  position: fixed; inset: 0; background: rgba(22, 24, 31, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.scrim[hidden] { display: none; }

.sheet {
  width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--paper); border-radius: 24px;
  padding: 26px 26px 30px; animation: bmbIn .35s ease both;
}
.sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 20px;
}
.sheet__step { font-weight: 600; font-size: 13px; color: var(--warm); }
.sheet__close {
  font-size: 14px; font-weight: 600; color: var(--warm);
  background: none; border: none; cursor: pointer; padding: 6px;
}
.sheet__close:hover { color: var(--ink); }
.sheet__h3 {
  font-family: var(--display); font-weight: 700; font-size: 25px;
  letter-spacing: -.015em; margin: 0 0 18px; text-wrap: pretty;
}
.sheet__h3--tight { margin-bottom: 4px; }
.sheet__lede { font-size: 14px; color: var(--body); margin: 0 0 18px; }
.sheet__lede--lg { font-size: 14.5px; line-height: 1.5; margin: 0 0 20px; }

.options { display: flex; flex-direction: column; gap: 8px; }
.option {
  font-family: var(--ui); font-weight: 500; font-size: 15px; text-align: left;
  color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--border-2); border-radius: 14px;
  padding: 15px 16px; cursor: pointer; transition: border-color .15s;
}
.option:hover { border-color: var(--ink); }

.building { text-align: center; padding: 44px 0 36px; }
.building__dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.building__dots span { width: 14px; height: 14px; border-radius: 5px; animation: bmbPulse 1s ease infinite; }
.building__dots span:nth-child(1) { background: var(--acc); }
.building__dots span:nth-child(2) { background: var(--green);  animation-delay: .2s; }
.building__dots span:nth-child(3) { background: var(--yellow); animation-delay: .4s; }
.building__label { font-family: var(--display); font-weight: 700; font-size: 22px; }

.result__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.result__row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
  animation: bmbIn .4s both;
}
.result__row:nth-child(1) { animation-delay: 0s; }
.result__row:nth-child(2) { animation-delay: .08s; }
.result__row:nth-child(3) { animation-delay: .16s; }
.result__row:nth-child(4) { animation-delay: .24s; }
.result__row:nth-child(5) { animation-delay: .32s; }
.result__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.email-form { display: flex; flex-direction: column; gap: 10px; }
.email-input {
  width: 100%; font-family: var(--ui); font-size: 16px; padding: 15px 16px;
  border: 1.5px solid var(--border-input); border-radius: 14px;
  background: var(--surface); color: var(--ink); transition: border-color .15s;
}
.email-input:focus { border-color: var(--ink); }
.email-error { margin: 10px 0 0; font-size: 13.5px; color: #B4552D; min-height: 1.2em; }
.email-privacy { margin: 12px 0 0; font-size: 12.5px; color: var(--warm); line-height: 1.5; }
.is-busy { opacity: .6; pointer-events: none; }

.done { text-align: center; padding: 32px 0 24px; }
.done__check {
  width: 46px; height: 46px; border-radius: 999px; background: var(--tint);
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
}
.done__h { font-family: var(--display); font-weight: 700; font-size: 23px; margin-bottom: 8px; }
.done__p {
  font-size: 14.5px; color: var(--body); margin: 0 auto 22px;
  max-width: 34ch; line-height: 1.5; word-break: break-word;
}

/* ------------------------------------------------------------- responsive -- */
/* Single breakpoint, as specified. Verified at 390px: no horizontal overflow,
   nav collapses, strip scrolls, hit targets >= 44px. */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav { padding: 16px var(--gutter); }

  /* the handoff requires >= 44px hit targets on touch */
  .btn, .option, .rot__q, .strip__btn { min-height: 44px; }

  .rot { flex-wrap: wrap; gap: 8px 12px; }
  .rot__q { max-width: 100%; white-space: normal; }
  .phone__screen { height: 560px; }
  .strip__ctrl .note-hand { font-size: 19px; }
  .strip-wrap::before, .strip-wrap::after { width: 40px; }

  .hero__cta-row .btn--lg { flex: 1 1 100%; }
  .hero__right { gap: 24px; }
  .rail { max-width: none; }

  .stage { flex: 1 1 100%; }
  .stage__arrow { display: none; }

  .scrim { padding: 0; align-items: flex-end; }
  .sheet { max-height: 92vh; border-radius: 24px 24px 0 0; padding: 22px 18px 30px; }
}
