/* ─── Cup landing page ─── */

:root {
  /* Moby blue */
  --cream: #0052FF;
  --cream-2: #0052FF;
  --oat: #3375FF;
  --espresso: #001F66;
  --espresso-2: #003399;
  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.85);
  --ink-muted: rgba(255, 255, 255, 0.60);
  --caramel: #99C2FF;
  --caramel-deep: #66A3FF;
  --sage: #001F66;
  --accent-green: #001F66;
  --accent-green-2: #003399;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.06);
  --card: #ffffff;
  --card-warm: #E8F2FF;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Instrument Serif", Georgia, serif;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: 0;
  background: url("assets/bg.png") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  animation: bgWaveDrift 32s ease-in-out infinite;
  will-change: transform;
}
@keyframes bgWaveDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1.04);
  }
  25% {
    transform: translate(1.5%, -1%) scale(1.05);
  }
  50% {
    transform: translate(-1%, 0.8%) scale(1.045);
  }
  75% {
    transform: translate(-1.5%, -0.5%) scale(1.055);
  }
}
body > #root {
  position: relative;
  z-index: 1;
}

/* ── In-phone app splash / loading ── */
.hp-splash {
  position: absolute;
  inset: 0;
  z-index: 18;
  background: #0052FF;
  border-radius: inherit;
  display: flex;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.hp-splash::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: inherit;
  background: url("assets/bg.png") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  animation: splashWaterFlow 4s ease-in-out infinite;
}
@keyframes splashWaterFlow {
  0%, 100% {
    transform: translate(0, 0) scale(1.05);
  }
  25% {
    transform: translate(2%, -1.5%) scale(1.06);
  }
  50% {
    transform: translate(-1.5%, 1%) scale(1.05);
  }
  75% {
    transform: translate(-2%, -0.5%) scale(1.07);
  }
}
.hp-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 45%,
    transparent 90%
  );
  background-size: 200% 200%;
  animation: splashWaterSheen 5s ease-in-out infinite;
}
@keyframes splashWaterSheen {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}
.hp-splash-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hp-splash-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hp-splash-logo {
  width: 148px;
  height: auto;
  object-fit: contain;
  animation: splashWhaleIn 0.85s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes splashWhaleIn {
  0% {
    opacity: 0;
    transform: translateY(200px) translateX(-48px) scale(0.5) rotate(-12deg);
  }
  55% {
    opacity: 1;
    transform: translateY(-12px) translateX(8px) scale(1.05) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
  }
}

/* ── Editorial type scale ── */
.display {
  font-family: "Bricolage Grotesque", "Instrument Serif", Georgia, serif;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--ink);
  text-transform: uppercase;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.serif-italic {
  font-family: "Instrument Serif", "Georgia", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ── Top nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  /* for dropdown positioning */
  isolation: isolate;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(14px, 3vw, 48px) 14px clamp(10px, 2.5vw, 40px);
  background: transparent;
}
.nav-menu-btn {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border: 0; background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-menu-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-splash {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--cream);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding:
    max(clamp(72px, 14vw, 96px), env(safe-area-inset-top, 0px))
    clamp(24px, 6vw, 64px)
    max(clamp(40px, 10vw, 64px), env(safe-area-inset-bottom, 0px));
  animation: fadeIn .25s ease;
}
.nav-splash-close {
  position: fixed;
  z-index: 201;
  top: max(clamp(20px, 4vw, 32px), env(safe-area-inset-top, 0px));
  right: max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px));
  width: 48px; height: 48px;
  border: 0; background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  opacity: .85;
}
.nav-splash-close:hover { opacity: 1; }
.nav-splash-inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding-top: 28px;
  text-align: left;
  color: #fff;
}
.nav-splash-lead {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: #fff;
}
.nav-splash-body {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 16px;
}
.nav-splash-goal {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: #fff;
}
.nav-splash-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.18);
  margin: 0 0 24px;
}
.nav-splash-why {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.nav-splash-whale {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}
.nav-splash-why-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.nav-splash-why-body {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  color: #fff;
  margin: 0 0 12px;
}
.nav-splash-why-quote {
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
  color: #fff;
  margin: 0;
  border-left: 2px solid rgba(255,255,255,.3);
  padding-left: 10px;
}
.nav-splash-why-quote span {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.nav-splash-email {
  display: block;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.nav-splash-email:hover { opacity: .85; }
.nav-splash-email-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: 0.02em;
}
.nav-splash-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  flex-wrap: wrap;
}
.nav-splash-teams-copy {
  min-width: 0;
}
.nav-splash-teams-heading {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.nav-splash-teams-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .62);
}
.nav-splash-teams-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
}
.nav-splash-teams-btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
}
.nav-splash-link {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: rgba(255, 255, 255, .72);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.nav-splash-link:hover {
  color: #fff;
}
.team-plans-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: max(clamp(56px, 10vw, 72px), env(safe-area-inset-top, 0px));
}
.team-plans-splash::before,
.team-plans-splash::after {
  content: "";
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  pointer-events: none;
}
.team-plans-splash::before {
  flex-grow: 0.35;
}
.team-plans-splash::after {
  flex-grow: 1.65;
}
.team-plans-splash .nav-splash-inner {
  max-width: min(600px, 100%);
  width: 100%;
  flex: 0 0 auto;
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}
.team-plans-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  text-align: center;
}
.team-plans-header .nav-splash-lead {
  margin: 0;
}
.team-plans-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  transition: color .15s ease;
}
.team-plans-contact:hover {
  color: #fff;
}
.team-plans-contact-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, .38);
}
.team-plans-intro {
  margin: 0 0 24px;
  max-width: none;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
  text-align: center;
}
.team-plans-slider-wrap {
  margin: 14px 0 16px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 0;
  padding-bottom: 0;
}
.team-plans-slider-rail {
  --team-slider-thumb: 18px;
}
.team-plans-slider-track-row {
  position: relative;
  height: var(--team-slider-thumb);
  margin-bottom: 10px;
}
.team-plans-slider-track-row .team-plans-slider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: 0;
  transform: translateY(-50%);
  z-index: 2;
}
.team-plans-slider-dots {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.team-plans-slider-dot {
  position: absolute;
  top: 50%;
  left: calc((var(--team-slider-thumb) / 2) + (100% - var(--team-slider-thumb)) * var(--ratio));
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color .15s ease, background .15s ease, opacity .15s ease;
}
.team-plans-slider-dot.is-active {
  border-color: transparent;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}
.team-plans-slider-dot:hover {
  border-color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .12);
}
.team-plans-slider-label {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.team-plans-slider {
  display: block;
  width: 100%;
  height: 4px;
  appearance: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  cursor: pointer;
}
.team-plans-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}
.team-plans-slider::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}
.team-plans-slider::-webkit-slider-thumb {
  appearance: none;
  width: var(--team-slider-thumb);
  height: var(--team-slider-thumb);
  margin-top: calc((4px - var(--team-slider-thumb)) / 2);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  cursor: pointer;
}
.team-plans-slider::-moz-range-thumb {
  width: var(--team-slider-thumb);
  height: var(--team-slider-thumb);
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  cursor: pointer;
}
.team-plans-slider-ticks {
  position: relative;
  height: 18px;
}
.team-plans-slider-tick {
  position: absolute;
  top: 0;
  left: calc((var(--team-slider-thumb) / 2) + (100% - var(--team-slider-thumb)) * var(--ratio));
  transform: translateX(-50%);
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, .38);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: color .15s ease;
}
.team-plans-slider-tick.is-active {
  color: #fff;
  font-weight: 700;
}
.team-plans-slider-tick:hover {
  color: rgba(255, 255, 255, .7);
}
.team-plans-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 20px;
  align-items: stretch;
}
.team-plan-card-solo {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.team-plan-savings-badge {
  display: inline-block;
  margin: 0 0 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  pointer-events: none;
}
.team-plan-card-solo .team-plan-intro {
  min-height: 0;
  text-align: center;
}
.team-plan-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgb(0, 51, 152);
  overflow: hidden;
  color: #fff;
}
.team-plan-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 24px;
  min-height: 0;
}
.team-plan-intro {
  min-height: 82px;
}
.team-plan-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.team-plan-name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.team-plan-volume {
  margin: 0;
  min-height: 38px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .72);
}
.team-plan-pricing {
  min-height: 64px;
  margin-bottom: 18px;
}
.team-plan-price {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.team-plan-price-unit {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .62);
}
.team-plan-price-talk {
  font-size: 30px;
  line-height: 1.1;
}
.team-plan-price-note {
  margin: 6px 0 0;
  min-height: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, .52);
}
.team-plan-btn {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 11px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 4;
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}
.team-plan-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
}
.team-plan-btn-outline:hover,
.team-plan-btn-outline:focus-visible {
  background: #fff;
  color: rgb(0, 51, 152);
  border-color: #fff;
  opacity: 1;
}
.team-plan-btn-primary {
  background: #fff;
  color: rgb(0, 51, 152);
  border: 1px solid #fff;
}
.team-plan-features-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-plan-features-heading {
  margin: 0 0 12px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.team-plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .78);
}
.team-plan-features li:last-child {
  margin-bottom: 0;
}
.team-plan-check {
  flex-shrink: 0;
  margin-top: 1px;
  color: #99C2FF;
}
.team-plans-footnote {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .68);
}
@media (max-width: 720px) {
  .team-plans-tiers {
    grid-template-columns: 1fr;
  }
}
.nav-centered {
  justify-content: center;
}
.brand-logo-img {
  height: 80px; width: auto; object-fit: contain;
}
.brand {
  display: flex; align-items: center;
  font-weight: 500; letter-spacing: -0.02em; font-size: 17px;
  color: #fff;
}
.brand span {
  font-weight: 700;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--espresso);
  color: var(--cream-2);
  display: grid; place-items: center;
  font-size: 14px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 14.5px;
  font-weight: 450;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.btn { color: #fff; }
.nav-links a.btn-ghost { color: #fff; }
.nav-links a.btn:hover { color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  font-family: inherit; font-size: 15.5px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s ease, box-shadow .25s ease;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset;
}
.btn-primary:hover { transform: translateY(-1px); background: var(--espresso-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-caramel {
  background: var(--caramel);
  color: #fff;
}
.btn-caramel:hover { transform: translateY(-1px); background: var(--caramel-deep); }
.hero .btn-large { height: 62px !important; padding: 0 40px !important; font-size: 16px !important; font-weight: 600 !important; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 64px) clamp(60px, 10vw, 120px);
  overflow: hidden;
}
.hero-bg { pointer-events: none; }
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 2vw, 28px);
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 2;
}

.hero-copy {
  max-width: 900px;
  position: relative;
  z-index: 5;
  pointer-events: none;
}
.hero-copy .hero-ratings,
.hero-copy .hero-ctas {
  pointer-events: auto;
}
.hero-ctas a.btn,
.hero-ctas button.btn {
  position: relative;
  z-index: 6;
  cursor: pointer;
}

/* ── Waitlist modal ── */
.csm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
.csm-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  text-align: left;
  animation: slideUp .25s cubic-bezier(0.32, 0.72, 0, 1);
}
.csm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  background: rgba(0,0,0,.06);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #555;
  transition: background .15s;
}
.csm-close:hover { background: rgba(0,0,0,.1); }
.csm-success-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: rgba(76, 175, 130, 0.14);
  color: #4CAF82;
  display: grid;
  place-items: center;
}
.csm-heading {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}
.csm-body {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: #666;
}
.csm-form {
  margin: 0;
}
.csm-label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 31, 102, 0.55);
}
.csm-field-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.csm-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(0, 31, 102, 0.14);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  color: var(--espresso);
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.csm-input::placeholder {
  color: rgba(0, 31, 102, 0.35);
}
.csm-input:focus {
  outline: none;
  border-color: rgba(0, 82, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}
.csm-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #0052FF;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity .15s ease;
}
.csm-submit:hover {
  opacity: 0.92;
}
.csm-btn {
  display: block;
  width: 100%;
  padding: 12px 28px;
  background: #0052FF;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  transition: opacity .15s;
}
.csm-btn:hover { opacity: 0.92; }
.section-eyebrow-row { justify-content: center; }
.hero h1 { margin-left: auto; margin-right: auto; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-ctas { justify-content: center; }
.hero h1 {
  margin: 16px auto 18px;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero h1 .serif-italic {
  font-size: 1em;
  font-style: normal;
  font-family: inherit;
  font-weight: 800;
  color: var(--ink);
}
.hero-main-light {
  font-weight: 300;
  font-size: calc(1em - 2px);
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 600px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.hero-ctas {
  display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap;
}
.hero-trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.avatars { display: flex; }
.avatars > div {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -8px;
  background-size: cover; background-position: center;
}
.avatars > div:first-child { margin-left: 0; }

/* ── Hero ambient light ── */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
  display: none;
}
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.glow-1 { width: 520px; height: 520px; background: #66A3FF; top: -120px; right: -100px; }
.glow-2 { width: 420px; height: 420px; background: #99C2FF; bottom: -160px; left: -120px; opacity: .35; animation-delay: -6s;}
.glow-3 { width: 360px; height: 360px; background: #3375FF; top: 30%; left: 38%; opacity: .25; animation-delay: -10s;}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-30px) scale(1.08); }
}

/* ── Hero product card ── */
.card-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 560px;
}
.product-card {
  width: 100%; max-width: 420px;
  background: var(--card);
  border-radius: 28px;
  padding: 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 30px 60px -20px rgba(42,29,21,.18),
    0 12px 24px -12px rgba(42,29,21,.12);
  border: 1px solid rgba(255,255,255,.6);
  position: relative;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.product-card .head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 6px 18px;
}
.product-card .head .from {
  font-size: 12.5px; color: rgba(0, 31, 102, 0.55);
}
.product-card .head .from b { color: var(--espresso); font-weight: 500; }

.card-amount {
  background: var(--card-warm);
  border-radius: 18px;
  padding: 22px 22px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-amount .amt {
  font-size: 44px; font-weight: 500; letter-spacing: -0.03em;
  color: var(--espresso);
  font-feature-settings: "tnum";
}
.card-amount .amt .cur { color: rgba(0, 31, 102, 0.55); font-size: 22px; vertical-align: top; margin-right: 4px; }
.card-amount .label { font-size: 12px; color: rgba(0, 31, 102, 0.55); margin-top: 4px; }
.cup-glyph {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(160deg, #f3d39e, var(--caramel));
  display: grid; place-items: center;
  color: #fff8ec; font-size: 22px;
  box-shadow: 0 6px 14px -4px rgba(168,109,63,.55);
}

.field {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--card-warm);
  border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
}
.field svg { color: var(--ink-muted); flex: none; }
.field input {
  appearance: none; border: 0; outline: 0;
  background: transparent; flex: 1;
  font: inherit; font-size: 14.5px; color: var(--espresso);
}
.field input::placeholder { color: var(--ink-muted); }

.chips {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  appearance: none; border: 1px solid rgba(0, 31, 102, 0.12);
  background: transparent;
  padding: 9px 14px; border-radius: 999px;
  font: inherit; font-size: 13px; color: rgba(0, 31, 102, 0.7);
  cursor: pointer;
  transition: all .2s ease;
}
.chip:hover { color: var(--espresso); border-color: rgba(42,29,21,.25); }
.chip.active {
  background: var(--espresso); color: #fff; border-color: var(--espresso);
}
.send-btn {
  margin-top: 16px;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px;
  border-radius: 16px;
  border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--caramel), var(--caramel-deep));
  color: #fff8ec;
  font: inherit; font-size: 15.5px; font-weight: 500; letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 12px 24px -8px rgba(168,109,63,.5);
  transition: transform .2s ease;
}
.send-btn:hover { transform: translateY(-1px); }

/* ── Hero iPhone (sending UI) ── */
.hero-phone-stage {
  position: relative;
  z-index: 6;
  display: flex; align-items: center; justify-content: center;
  min-height: 940px;
  padding: 20px;
  margin-top: -102px;
  pointer-events: none;
}
.hero-phone-stage .hero-phone {
  pointer-events: auto;
}
.hero-phone {
  width: 440px;
  height: 940px;
  transform: rotate(-2.5deg);
  animation: floatTilt 9s ease-in-out infinite;
  overflow: visible;
}
@keyframes floatTilt {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50%      { transform: rotate(-2.5deg) translateY(-12px); }
}
.hero-phone-screen {
  background: linear-gradient(180deg, #ffffff 0%, #E8F2FF 100%);
  padding: 0;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hp-phone-body {
  position: relative;
  z-index: 6;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 22px 16px;
  box-sizing: border-box;
}
.hp-phone-main {
  display: block;
}
.hp-bean-burst {
  position: absolute;
  inset: -32px;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}
.hp-bean-burst .hp-confirm-confetti,
.hp-bean-burst .hp-confirm-bean {
  pointer-events: none;
}
.hp-bean-burst .hp-confirm-confetti {
  position: absolute;
  inset: 0;
  overflow: visible;
  -webkit-mask-image: radial-gradient(circle at 50% 28%, transparent 30px, #000 42px);
  mask-image: radial-gradient(circle at 50% 28%, transparent 30px, #000 42px);
}
.hp-bean-burst .hp-confirm-bean {
  top: 28%;
  left: 50%;
  mix-blend-mode: normal;
  filter: drop-shadow(0 2px 6px rgba(0, 31, 102, .2));
}
.hp-phone-layers {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}
.hp-phone-layers > * {
  pointer-events: auto;
}

.hp-app-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0 2px;
  position: relative;
  z-index: 20;
}
.hp-close {
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(42,29,21,.08); color: var(--espresso);
  display: grid; place-items: center; cursor: pointer;
}
.hp-app-title {
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--espresso);
}
.hp-settings-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 31, 102, 0.06);
  color: rgba(0, 31, 102, 0.55);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 21;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hp-settings-btn:hover {
  background: rgba(0, 31, 102, 0.1);
  color: var(--espresso);
}
.hp-cup-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 0;
  margin-top: -4px;
  position: relative;
}
.hp-cup {
  position: relative;
  width: 118px; height: 118px;
  display: grid; place-items: center;
}
.hp-cup-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(42,29,21,.18));
  transform: rotate(-4deg);
  animation: cupBob 6s ease-in-out infinite;
}
.hp-cup-img.hp-cup-logo {
  width: 100%; height: 100%;
  transform: none;
  filter: drop-shadow(0 8px 16px rgba(0, 31, 102, .18));
  animation: logoBob 6s ease-in-out infinite;
}
@keyframes cupBob {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-4px); }
}
@keyframes logoBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ── Brand picker trigger ── */
.hp-cup-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  outline-offset: 4px;
  position: relative;
  z-index: 12;
}
.hp-cup-btn:focus-visible {
  outline: 2px solid rgba(0, 31, 102, 0.3);
}
.hp-brand-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 31, 102, 0.45);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ── Brand picker sheet ── */
.hp-brand-sheet {
  padding-bottom: 10px;
}
.hp-brand-sheet-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 12px;
  min-height: 28px;
}
.hp-brand-sheet-top .hp-cd-close {
  flex-shrink: 0;
}
.hp-brand-sheet-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--espresso);
  margin: 0;
  letter-spacing: -0.01em;
}
.hp-brand-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
}
.hp-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.hp-brand-row:hover {
  background: rgba(0, 31, 102, 0.05);
}
.hp-brand-row.is-selected {
  background: rgba(0, 31, 102, 0.06);
}
.hp-brand-row-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  transform-origin: center;
}
.hp-brand-row-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
  flex: 1;
}
.hp-brand-row-check {
  color: #22c55e;
  flex-shrink: 0;
}

/* ── Settings sheet ── */
.hp-settings-overlay .hp-sheet-track {
  max-height: 92%;
}
.hp-settings-drawer {
  position: relative;
  width: 100%;
  max-height: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 0 22px 26px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--espresso);
  box-shadow: 0 -8px 32px rgba(22, 51, 0, 0.12);
  box-sizing: border-box;
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-settings-drawer {
  transform: translate3d(0, 100%, 0);
  transition: transform .42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  pointer-events: auto;
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-settings-drawer.is-open {
  transform: translate3d(0, 0, 0);
}
.hp-settings-drawer .hp-drawer-handle {
  position: relative;
  z-index: 1;
  background: rgba(0, 31, 102, 0.12);
  margin: 8px auto 6px;
}
.hp-settings-drawer-inner {
  position: relative;
  z-index: 1;
}
.hp-settings-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.hp-settings-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--espresso);
  text-align: left;
}
.hp-settings-card {
  margin-bottom: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(0, 31, 102, 0.08);
  text-align: left;
}
.hp-settings-card:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.hp-settings-plan-line {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--espresso);
}
.hp-settings-plan-free {
  font-weight: 400;
}
.hp-settings-plan-sub {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(0, 31, 102, 0.55);
}
.hp-settings-benefits {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  list-style: disc;
}
.hp-settings-benefits li {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0, 31, 102, 0.72);
}
.hp-settings-benefits li + li {
  margin-top: 4px;
}
.hp-settings-benefits-foot {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(0, 31, 102, 0.45);
}
.hp-settings-card-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 31, 102, 0.45);
  margin-bottom: 12px;
}
.hp-settings-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 6px;
}
.hp-settings-field-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 31, 102, 0.1);
  background: rgba(0, 31, 102, 0.04);
  color: var(--espresso);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  box-sizing: border-box;
}
.hp-settings-field-input::placeholder {
  color: rgba(0, 31, 102, 0.35);
}
.hp-settings-field-input:focus {
  outline: none;
  border-color: rgba(0, 31, 102, 0.18);
  background: #fff;
}
.hp-settings-field-hint {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(0, 31, 102, 0.45);
}
.hp-settings-plan-meta {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(0, 31, 102, 0.55);
  line-height: 1.45;
}
.hp-settings-upgrade {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0052FF;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hp-settings-upgrade:hover {
  opacity: 0.8;
}
.hp-settings-cancel {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 31, 102, 0.5);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hp-settings-cancel:hover {
  color: rgba(0, 31, 102, 0.72);
}
.hp-settings-cancel-box {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 31, 102, 0.08);
}
.hp-settings-cancel-prompt {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--espresso);
}
.hp-settings-cancel-actions {
  display: flex;
  gap: 8px;
}
.hp-settings-cancel-yes,
.hp-settings-cancel-no {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 31, 102, 0.1);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.hp-settings-cancel-yes {
  background: rgba(0, 31, 102, 0.04);
  color: rgba(0, 31, 102, 0.65);
}
.hp-settings-cancel-no {
  background: var(--espresso);
  color: #fff;
  border-color: var(--espresso);
}
.hp-settings-save {
  width: 100%;
  margin-top: 32px;
  padding: 13px 16px;
  border: 0;
  border-radius: 999px;
  background: #0052FF;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px -12px rgba(0, 82, 255, 0.35);
}
.hp-settings-save:hover {
  background: #0046db;
}

.hp-steam {
  position: absolute;
  width: 5px; height: 30px;
  background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,.95));
  border-radius: 4px;
  filter: blur(2px);
  animation: heroSteam 3.5s ease-in-out infinite;
}
.hp-steam.s1 { top: -8px;  left: 38%; }
.hp-steam.s2 { top: -16px;  left: 50%; animation-delay: -1.2s; height: 42px; }
.hp-steam.s3 { top: -8px;  left: 62%; animation-delay: -2.4s; height: 32px; }
@keyframes heroSteam {
  0%   { transform: translateY(6px) scaleX(1); opacity: 0; }
  25%  { opacity: .85; }
  100% { transform: translateY(-50px) scaleX(1.8); opacity: 0; }
}

.hp-amount-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 2px auto 0;
}
.hp-amount {
  text-align: center;
  font-size: 64px; font-weight: 500; letter-spacing: -0.04em;
  line-height: 1;
  color: var(--espresso);
  font-feature-settings: "tnum";
  margin-top: 0;
  cursor: pointer;
}
.hp-amount-edit-hint {
  position: absolute;
  top: 8px;
  right: -2px;
  opacity: 0.8;
  color: rgba(0, 31, 102, 0.55);
  pointer-events: none;
  line-height: 0;
}
.hp-amount.is-editing {
  cursor: text;
}
.hp-amount-whole-input {
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  font-feature-settings: "tnum";
  text-align: center;
  width: auto;
  min-width: 1ch;
  max-width: 4ch;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--espresso);
}
.hp-amount-cur { font-size: 30px; vertical-align: top; color: rgba(0, 31, 102, 0.55); margin-right: 2px; }
.hp-amount-dec { font-size: 30px; color: rgba(0, 31, 102, 0.55); }
.hp-amount-label {
  text-align: center;
  font-family: "Instrument Serif", "Georgia", serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(0,31,102,.55);
  margin-top: 2px;
}
.hp-amount-fee {
  font-style: italic;
  font-family: inherit;
  font-weight: 400;
  color: rgba(0, 31, 102, 0.55);
  margin-bottom: 6px;
}

.hp-note,
.hp-field-box {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0, 31, 102, .06);
  border-radius: 14px;
  text-align: left;
  padding: 4px 14px 14px;
}
.hp-field-box {
  padding-top: 0;
}
.hp-note {
  margin-top: 8px;
  padding-top: 9px;
  padding-bottom: 12px;
  position: relative;
}
.hp-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 16px;
}
.hp-note-head .hp-note-label {
  flex-shrink: 0;
}
.hp-field-row {
  margin-top: 4px;
  display: flex; align-items: center; gap: 10px;
  color: rgba(0, 31, 102, 0.55);
}
.hp-field-row input {
  appearance: none; border: 0; outline: 0;
  background: transparent; flex: 1;
  font: inherit; font-size: 13px; line-height: 1.45;
  color: var(--espresso);
}
.hp-field-row input::placeholder { color: rgba(0, 31, 102, 0.45); opacity: 1; }
.hp-field-box.hp-field-ghost input {
  color: rgba(0, 31, 102, 0.32);
  font-weight: 400;
}
.hp-field-row input:focus {
  color: var(--espresso);
}
.hp-field-label,
.hp-note-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 31, 102, 0.55);
  text-align: left;
}
.hp-field-box .hp-field-label {
  margin: 0 0 1px;
  padding-top: 5px;
  line-height: 1.1;
}
.hp-field-box .hp-field-label + .hp-field-row {
  margin-top: 0;
}
.hp-field-mode-toggle {
  display: flex;
  width: calc(100% + 18px);
  margin-left: -9px;
  margin-right: -9px;
  gap: 0;
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid rgba(0, 31, 102, .07);
  padding: 2px 2px 0;
  margin-top: 3px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.hp-fmt-btn {
  flex: 1;
  padding: 8px 0;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(0, 31, 102, .38);
  background: transparent;
  cursor: pointer;
  transition: color .15s, background .15s;
  text-align: center;
}
.hp-fmt-btn.is-active {
  background: #B3D4FF;
  color: var(--espresso);
}
.hp-note-text {
  margin-top: 6px;
  font-family: "Instrument Serif", "Georgia", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--espresso);
  letter-spacing: -0.005em;
}
/* legacy chips block kept for fallback */
.hp-chips {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.hp-chip {
  appearance: none;
  border: 1px solid rgba(0, 31, 102, .1);
  background: rgba(255,255,255,.55);
  padding: 8px 11px; border-radius: 999px;
  font: inherit; font-size: 12px; color: rgba(0, 31, 102, 0.7);
  cursor: pointer;
  transition: all .2s ease;
}
.hp-chip:hover { border-color: rgba(0, 31, 102, .25); color: var(--espresso); }
.hp-chip.active {
  background: var(--espresso); color: #fff; border-color: var(--espresso);
}
/* ── Brand picker pill ── */
.hp-brand-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 0;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 31, 102, .06);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  box-sizing: border-box;
}
.hp-brand-pill:hover {
  background: rgba(255, 255, 255, .75);
}
.hp-brand-pill-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  transform-origin: center;
}
.hp-brand-pill-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--espresso);
}
.hp-brand-pill-chevron {
  color: rgba(0, 31, 102, 0.35);
  flex-shrink: 0;
}

.hp-send {
  margin-top: 8px;
  width: 100%;
  height: auto;
  padding: 15px 0;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px;
  background: #0052FF;
  color: #fff;
  font: inherit; font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 14px 28px -10px rgba(0,82,255,.35);
  cursor: pointer;
  transition: transform .2s ease;
}
.hp-send:hover { transform: translateY(-1px); }

.hp-foot {
  margin-top: 8px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,31,102,.4);
}
/* ── email field group + validation ── */
.hp-field-group {
  position: relative;
  margin-top: 6px;
  overflow: visible;
}
.hp-email-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 6px 0 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 500;
  color: #d0392b;
  letter-spacing: -0.01em;
  text-align: left;
  pointer-events: none;
  z-index: 5;
  animation: hpErrorIn .2s ease;
}
@keyframes hpErrorIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hp-field-box.hp-field-error {
  border-color: rgba(220, 53, 69, 0.35);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}
.hp-field-box.hp-field-error input {
  color: var(--espresso);
}

/* ── + button inside email field ── */
.hp-field-plus {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #B3D4FF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001F66;
  line-height: 0;
  transition: background .15s;
}
.hp-field-plus svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: #001F66;
  flex-shrink: 0;
}
.hp-field-plus:hover { background: #99C2FF; }

/* ── editable note textarea ── */
.hp-note-editable {
  width: 100%; background: transparent; border: 0;
  font: inherit; font-size: 13px; color: var(--espresso);
  resize: none; outline: none; line-height: 1.45;
  padding: 0;
  box-sizing: border-box;
}
.hp-note-editable.has-audio-btn {
  padding-right: 28px;
}
.hp-note-compose {
  position: relative;
  margin-top: 6px;
}
.hp-note-audio {
  position: absolute;
  right: 0;
  bottom: 0;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 31, 102, 0.6);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity .15s ease, background .15s ease;
}
.hp-note-audio img {
  width: 16px;
  height: 16px;
  display: block;
}
.hp-note-audio:hover {
  opacity: 0.85;
  background: rgba(0, 31, 102, 0.06);
}
.hp-note-audio-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0;
  padding: 4px 6px 4px 8px;
  border-radius: 999px;
  background: rgba(0, 82, 255, 0.08);
  border: 1px solid rgba(0, 82, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  color: #0052FF;
  max-width: 58%;
  min-width: 0;
}
.hp-note-audio-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-note-audio-chip-remove {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.1);
  color: #0052FF;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.hp-note-audio-chip-remove:hover {
  background: rgba(0, 82, 255, 0.18);
}

/* ── Audio record drawer ── */
.hp-audio-overlay .hp-sheet-track {
  max-height: 72%;
}
.hp-audio-drawer {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 0 22px 28px;
  overflow: hidden;
  color: var(--espresso);
  box-shadow: 0 -8px 32px rgba(22, 51, 0, 0.12);
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-audio-drawer {
  transform: translate3d(0, 100%, 0);
  transition: transform .42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  pointer-events: auto;
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-audio-drawer.is-open {
  transform: translate3d(0, 0, 0);
}
.hp-cd-detail-overlay.hp-audio-overlay .hp-sheet-track {
  max-height: 72%;
}
.hp-audio-drawer .hp-drawer-handle {
  background: rgba(0, 31, 102, 0.12);
  margin: 8px auto 10px;
}
.hp-audio-drawer .hp-audio-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}
.hp-audio-drawer .hp-audio-close:disabled {
  opacity: 0.35;
  cursor: default;
}
.hp-audio-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 6px;
  padding: 0 36px;
}
.hp-audio-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--espresso);
}
.hp-audio-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 4px;
  text-align: center;
}
.hp-audio-lede {
  margin: 0 0 24px;
  font-size: 13px;
  color: rgba(0, 31, 102, 0.55);
}
.hp-audio-timer {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--espresso);
}
.hp-audio-timer.is-done {
  margin-bottom: 20px;
}
.hp-audio-timer-max {
  font-size: 18px;
  font-weight: 500;
  color: rgba(0, 31, 102, 0.4);
}
.hp-audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 52px;
  margin: 8px 0 28px;
}
.hp-audio-wave-bar {
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: #0052FF;
  animation: hpAudioWave 0.85s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.04s);
}
@keyframes hpAudioWave {
  0%, 100% { height: 10px; opacity: 0.35; }
  50% { height: 32px; opacity: 1; }
}
.hp-audio-record-btn {
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 28px rgba(0, 31, 102, 0.1), inset 0 0 0 1px rgba(0, 31, 102, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease;
}
.hp-audio-record-btn:hover {
  transform: scale(1.03);
}
.hp-audio-record-btn:active {
  transform: scale(0.97);
}
.hp-audio-record-dot {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0052FF;
}
.hp-audio-record-btn.is-recording {
  box-shadow: 0 6px 28px rgba(0, 82, 255, 0.22), inset 0 0 0 1px rgba(0, 82, 255, 0.14);
}
.hp-audio-stop-square {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #0052FF;
}
.hp-audio-sub {
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(0, 31, 102, 0.45);
}
.hp-audio-playback {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  margin-bottom: 28px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 31, 102, 0.04);
  border: 1px solid rgba(0, 31, 102, 0.08);
}
.hp-audio-play-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #0052FF;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.hp-audio-playback-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 31, 102, 0.1);
  overflow: hidden;
}
.hp-audio-playback-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #0052FF;
}
.hp-audio-done-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}
.hp-audio-redo,
.hp-audio-attach {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hp-audio-redo {
  border: 1px solid rgba(0, 31, 102, 0.12);
  background: #fff;
  color: var(--espresso);
}
.hp-audio-attach {
  border: 0;
  background: #0052FF;
  color: #fff;
  box-shadow: 0 8px 24px -12px rgba(0, 82, 255, 0.45);
}
.hp-audio-attach:hover {
  background: #0046db;
}

.hp-premium-pay {
  margin-top: 12px;
}
.hp-premium-fine {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}
.hp-premium-overlay .hp-sheet-track {
  max-height: 78%;
}
.hp-premium-overlay.is-success .hp-sheet-track {
  max-height: 58%;
}
.hp-premium-drawer.is-success {
  min-height: 0;
  padding: 28px 22px 28px;
  display: flex;
  flex-direction: column;
}
.hp-premium-success {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
  padding-top: 6px;
}
.hp-premium-success .hp-confirm-content {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 0 32px;
  width: 100%;
}
.hp-premium-success .hp-confirm-logo {
  width: 100px;
}
.hp-premium-success .hp-confirm-title {
  font-size: 18px;
}
.hp-premium-success .hp-confirm-sub {
  font-size: 12px;
  padding: 0 6px;
  line-height: 1.4;
}
.hp-premium-success .hp-confirm-check {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}
.hp-premium-success .hp-confirm-check svg {
  width: 14px;
  height: 14px;
}
.hp-confirm .hp-send,
.hp-premium-success .hp-send {
  align-self: stretch;
  flex-shrink: 0;
  width: 100%;
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 8px 24px -12px rgba(0, 31, 102, .35);
}
.hp-confirm .hp-send {
  margin-top: auto;
}
.hp-premium-success .hp-send {
  margin-top: 4px;
}
.hp-confirm .hp-send:hover,
.hp-premium-success .hp-send:hover {
  transform: translateY(-1px);
  background: var(--espresso-2);
}
.hp-premium-drawer {
  position: relative;
  width: 100%;
  background: #0052FF;
  border-radius: 18px 18px 0 0;
  padding: 0 22px 26px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 -8px 32px rgba(0, 31, 102, 0.28);
}
.hp-premium-drawer-bg {
  position: absolute;
  inset: -12%;
  background: url("assets/bg.png") center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.hp-premium-drawer-inner {
  position: relative;
  z-index: 1;
}
.hp-premium-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hp-premium-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hp-premium-drawer .hp-drawer-handle {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.35);
  margin: 8px auto 6px;
}
.hp-premium-whale {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 4px auto 10px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 31, 102, 0.18));
}
.hp-premium-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}
.hp-premium-lede {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.hp-premium-features-block {
  margin-bottom: 22px;
}
.hp-premium-features {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}
.hp-premium-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}
.hp-premium-features li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hp-premium-features-foot {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
.hp-premium-check {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.92);
}
.hp-premium-done {
  width: 100%;
  margin-top: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hp-premium-done:hover {
  background: rgba(255, 255, 255, 0.18);
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-premium-drawer {
  transform: translate3d(0, 100%, 0);
  transition: transform .42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  pointer-events: auto;
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-premium-drawer.is-open {
  transform: translate3d(0, 0, 0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translate3d(0, 100%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.hp-drawer-handle {
  width: 36px; height: 4px; border-radius: 99px;
  background: rgba(0,31,102,.2);
  margin: 10px auto 0;
  flex-shrink: 0;
}
/* contacts sheet tweaks */
.hp-contacts-sheet .hp-cd-top {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 4px;
}
.hp-contacts-sheet {
  height: 100%;
  max-height: 100%;
  padding-bottom: 16px;
  overflow: hidden;
}
.hp-drawer-search {
  display: flex; align-items: center; gap: 7px;
  margin: 0 0 8px;
  background: rgba(0,31,102,.06);
  border-radius: 10px;
  padding: 7px 12px;
  flex-shrink: 0;
  color: rgba(0,31,102,.5);
}
.hp-drawer-search-input {
  background: transparent; border: 0; outline: none;
  font: inherit; font-size: 13px; color: var(--espresso); flex: 1;
}
.hp-drawer-search-input::placeholder { color: rgba(0,31,102,.4); }
.hp-drawer-list {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  margin: 0 -22px;
  padding: 0 22px;
}
.hp-contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,31,102,.05);
  transition: background .1s;
}
.hp-contact-row:hover { background: rgba(0,31,102,.03); }
.hp-contact-row:active { background: rgba(0,31,102,.08); }
.hp-contact-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #fff;
  flex-shrink: 0;
}
.hp-contact-info { flex: 1; min-width: 0; }
.hp-contact-name {
  font-size: 13px; font-weight: 500; color: var(--espresso);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
}
.hp-contact-email {
  font-size: 11px; color: rgba(0,31,102,.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: left;
}
.hp-contacts-track {
  height: 85%;
}

/* ── Confirmation drawer (payment gate) ── */
.hp-cd-overlay {
  position: absolute; inset: 0;
  background: rgba(22, 51, 0, .35);
  border-radius: inherit;
  z-index: 20;
  animation: fadeIn .35s ease;
  overflow: hidden;
}
/* clip viewport pinned to bottom — sheet slides up inside */
.hp-sheet-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: 92%;
  overflow: hidden;
  pointer-events: none;
}
.hp-sheet-track > .hp-cd-sheet {
  position: relative;
  transform: translate3d(0, 100%, 0);
  transition: transform .42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  pointer-events: auto;
  max-height: none;
}
.hp-sheet-track > .hp-cd-sheet.is-open {
  transform: translate3d(0, 0, 0);
}
.hp-cd-sheet {
  width: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 0 22px 24px;
  display: flex; flex-direction: column;
  box-shadow: 0 -8px 32px rgba(22, 51, 0, .12);
  overflow-y: auto;
}
.hp-cd-sheet .hp-drawer-handle {
  margin: 8px auto 10px;
}
.hp-cd-top {
  position: relative;
  padding: 0 0 4px;
  margin-bottom: 0;
  text-align: left;
}
.hp-cd-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hp-cd-close {
  position: relative;
  top: auto;
  right: auto;
  width: 28px; height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 51, 0, .06);
  color: var(--espresso);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
  z-index: 3;
}
.hp-cd-close svg {
  width: 14px;
  height: 14px;
}
.hp-cd-close:hover {
  background: rgba(22, 51, 0, .12);
}
.hp-cd-heading {
  margin: 0;
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--espresso);
  text-align: left;
}
.hp-cd-divider {
  display: block;
  border: none;
  height: 0;
  margin: 14px -22px;
  width: calc(100% + 44px);
  max-width: none;
  border-top: 1px solid rgba(22, 51, 0, .08);
}
.hp-cd-recipient-line {
  margin: 0 0 12px;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--espresso);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-cd-content-divider {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.hp-cd-content-divider-top {
  margin-top: 0;
  margin-bottom: 12px;
}
.hp-cd-content-divider-bottom {
  margin-top: 12px;
  margin-bottom: 12px;
}
.hp-cd-recipient { display: none; }
.hp-cd-party {
  margin-top: 2px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 31, 102, .06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.hp-cd-party-divider {
  height: 1px;
  margin: 10px 0;
  background: rgba(0, 31, 102, .06);
}
.hp-cd-recipient-slim {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 0;
}
.hp-cd-recipient-slim-from {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}
.hp-cd-recipient-slim-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hp-cd-sender-settings-btn {
  width: 26px;
  height: 26px;
  align-self: center;
}
.hp-cd-overlay-settings {
  z-index: 25;
}
.hp-cd-recipient-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 31, 102, 0.4);
  flex-shrink: 0;
}
.hp-cd-recipient-stack {
  display: flex; flex-direction: column; gap: 2px;
  overflow: hidden;
  width: 100%;
}
.hp-cd-recipient-name {
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--espresso);
}
.hp-cd-recipient-email {
  font-size: 12px; font-weight: 400;
  color: rgba(0, 31, 102, 0.5);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hp-cd-breakdown {
  padding: 0 0 2px;
  display: flex; flex-direction: column;
}
.hp-cd-party-prefix,
.hp-cd-party-sep,
.hp-cd-party-detail {
  font-weight: 400;
  color: rgba(0, 31, 102, 0.55);
}
.hp-cd-party-name {
  font-weight: inherit;
  color: inherit;
}
.hp-cd-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--espresso);
  border-bottom: 1px solid rgba(22, 51, 0, .05);
}
.hp-pay-sep {
  border: 0;
  border-top: 1px solid rgba(0, 31, 102, .08);
  margin: 10px 0 0;
}
.hp-cd-line-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.hp-cd-line-label,
.hp-cd-fee-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-cd-line-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.hp-cd-line-brand-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  transform-origin: center;
}
.hp-cd-line-service-logo {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.hp-cd-info,
.hp-cd-fee-info {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #001F66;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: opacity .15s ease;
}
.hp-cd-info:hover,
.hp-cd-fee-info:hover {
  opacity: 0.65;
  cursor: pointer;
}
.hp-cd-info-icon {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  pointer-events: none;
}
.hp-cd-detail-overlay,
.hp-cd-fee-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(22, 51, 0, .4);
  animation: fadeIn .35s ease;
  overflow: hidden;
}
.hp-cd-detail-sheet,
.hp-cd-fee-sheet {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 16px 28px 28px;
  box-shadow: 0 -8px 32px rgba(22, 51, 0, .14);
}
.hp-cd-detail-overlay .hp-sheet-track,
.hp-cd-fee-overlay .hp-sheet-track {
  max-height: 72%;
  padding-top: 8px;
  box-sizing: border-box;
}
.hp-cd-detail-overlay.hp-settings-overlay .hp-sheet-track {
  max-height: 92%;
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-cd-detail-sheet,
.hp-cd-fee-overlay .hp-sheet-track > .hp-cd-fee-sheet {
  transform: translate3d(0, 100%, 0);
  transition: transform .42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  pointer-events: auto;
}
.hp-cd-detail-overlay .hp-sheet-track > .hp-cd-detail-sheet.is-open,
.hp-cd-fee-overlay .hp-sheet-track > .hp-cd-fee-sheet.is-open {
  transform: translate3d(0, 0, 0);
}
.hp-cd-detail-close {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 1;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 51, 0, .06);
  color: var(--espresso);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hp-cd-detail-close svg {
  width: 12px;
  height: 12px;
}
.hp-cd-detail-close:hover {
  background: rgba(22, 51, 0, .12);
}
.hp-cd-detail-sheet .hp-drawer-handle,
.hp-cd-fee-sheet .hp-drawer-handle {
  margin: 0 auto 14px;
}
.hp-cd-detail-heading,
.hp-cd-fee-heading {
  margin: 0 0 16px;
  padding-right: 28px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--espresso);
  text-align: left;
}
.hp-cd-detail-body,
.hp-cd-fee-body {
  margin: 0 0 24px;
  padding-right: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--espresso);
  text-align: left;
}
.hp-cd-detail-body > p,
.hp-cd-fee-body > p {
  margin: 0;
}
.hp-cd-service-info {
  display: flex;
  flex-direction: column;
}
.hp-cd-detail-lede {
  margin: 0 0 16px;
  padding-right: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(26, 26, 46, 0.82);
}
.hp-cd-fee-breakdown {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(22, 51, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.hp-cd-fee-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 11px 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(22, 51, 0, 0.06);
}
.hp-cd-fee-breakdown-row-stacked {
  align-items: flex-start;
}
.hp-cd-fee-breakdown-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.hp-cd-fee-breakdown-row-stacked .hp-cd-fee-breakdown-amt {
  padding-top: 1px;
}
.hp-cd-fee-breakdown-row-last {
  border-bottom: 0;
}
.hp-cd-fee-breakdown-total {
  border-top: 1px solid rgba(22, 51, 0, 0.08);
  font-weight: 600;
}
.hp-cd-fee-breakdown-total .hp-cd-fee-breakdown-label,
.hp-cd-fee-breakdown-total .hp-cd-fee-breakdown-amt {
  color: var(--espresso);
  font-weight: 600;
}
.hp-cd-fee-breakdown-label {
  color: rgba(26, 26, 46, 0.72);
  line-height: 1.35;
  min-width: 0;
}
.hp-cd-fee-breakdown-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  flex-shrink: 0;
  color: var(--espresso);
}
.hp-cd-fee-breakdown-note {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(26, 26, 46, 0.48);
}
.hp-cd-detail-done,
.hp-cd-fee-done {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-radius: 12px;
  background: #0052FF;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.hp-cd-detail-done:hover,
.hp-cd-fee-done:hover {
  opacity: 0.92;
}
.hp-cd-line-total {
  border-bottom: none;
  padding-top: 8px;
  margin-top: 2px;
  font-size: 13.5px; font-weight: 600;
}
.hp-cd-line-total .hp-cd-line-amt {
  font-size: 14px;
}
.hp-cd-line-stacked {
  align-items: flex-start;
}
.hp-cd-line-brand-stack {
  align-items: flex-start;
}
.hp-cd-line-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hp-cd-line-subnote {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(0, 31, 102, 0.48);
  font-weight: 400;
}
.hp-cd-line-stacked .hp-cd-line-amt {
  padding-top: 1px;
}
.hp-cd-note {
  margin: 14px 0 0;
  padding: 0 0 0 12px;
  border-left: 3px solid rgba(22, 51, 0, .2);
  text-align: left;
}
.hp-cd-note-label {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 31, 102, 0.55);
  margin-bottom: 4px;
}
.hp-cd-note-text {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--espresso);
}
.hp-cd-actions {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.hp-cd-error {
  margin: 0 0 6px;
  font-size: 12px;
  color: #c0392b;
  text-align: center;
}
.hp-cd-btn {
  width: 100%; padding: 15px 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 12px;
  background: #0052FF;
  color: #fff;
  font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease;
}
.hp-cd-btn:hover { transform: translateY(-1px); }
.hp-cd-cancel {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 13px;
  font-weight: 500;
  color: var(--espresso);
  width: 100%; padding: 10px 0;
  text-align: center;
}
.hp-cd-cancel:hover {
  color: var(--espresso-2);
}

/* .hp-payment-back reused by CardEntryOverlay */
.hp-payment-back {
  width: 30px; height: 30px;
  border: 0; background: rgba(0,31,102,.07); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--espresso); cursor: pointer;
}
.hp-payment-back:disabled { opacity: 0.4; }

/* Pay method buttons wrapper */
.hp-pay-methods {
  display: flex; flex-direction: column; gap: 7px;
  margin-top: 10px;
}

/* Shared button base */
.hp-pay-apple,
.hp-pay-google,
.hp-pay-amazon,
.hp-pay-venmo,
.hp-pay-paypal,
.hp-pay-card-btn,
.hp-pay-saved {
  width: 100%; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font: inherit; font-size: 14px; font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity .15s, background .15s;
}
.hp-pay-apple:disabled,
.hp-pay-google:disabled,
.hp-pay-amazon:disabled,
.hp-pay-venmo:disabled,
.hp-pay-paypal:disabled,
.hp-pay-card-btn:disabled,
.hp-pay-saved:disabled { opacity: 0.5; cursor: default; }

.hp-pay-apple.is-quote-active { box-shadow: 0 0 0 2px rgba(255,255,255,0.35); }
.hp-pay-paypal.is-quote-active { border-color: #003087; box-shadow: 0 0 0 2px rgba(0,48,135,0.12); }

/* Apple Pay */
.hp-pay-apple { background: #000; color: #fff; border: 0; }
.hp-pay-apple:hover:not(:disabled) { opacity: 0.85; }

/* Google Pay */
.hp-pay-google {
  background: #fff; color: #3c4043;
  border: 1.5px solid #e0e4ea;
}
.hp-pay-google:hover:not(:disabled) { background: #f6f8ff; }
.hp-pay-gpay-logo { font-size: 14px; font-weight: 500; }

/* Amazon Pay */
.hp-pay-amazon {
  background: #FF9900; color: #111;
  border: 0;
}
.hp-pay-amazon:hover:not(:disabled) { opacity: 0.9; }
.hp-pay-amazon-logo {
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.02em;
}
.hp-pay-amazon-pay {
  font-size: 11px; font-weight: 400;
  vertical-align: middle; margin-left: 3px;
  letter-spacing: 0;
}

/* Venmo */
.hp-pay-venmo {
  background: #008CFF;
  color: #fff;
  border: 0;
}
.hp-pay-venmo:hover:not(:disabled) { opacity: 0.9; }
.hp-pay-venmo-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* PayPal */
.hp-pay-paypal {
  background: #fff;
  color: #003087;
  border: 1.5px solid #e0e4ea;
}
.hp-pay-paypal:hover:not(:disabled) { background: #f6f8ff; }
.hp-pay-paypal-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hp-pay-paypal-p { color: #003087; }
.hp-pay-paypal-pal { color: #009CDE; }


/* card form */
.hp-pay-card {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 12px;
  animation: hp-card-in .2s ease;
}
@keyframes hp-card-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hp-pay-field {
  width: 100%; height: 42px;
  border: 1.5px solid rgba(0,31,102,.12); border-radius: 10px;
  padding: 0 12px;
  font: inherit; font-size: 13px; color: var(--espresso);
  background: #fff; outline: none;
  transition: border-color .15s;
}
.hp-pay-field:focus { border-color: #0052FF; box-shadow: 0 0 0 3px rgba(0,82,255,.1); }
.hp-pay-field::placeholder { color: rgba(0,31,102,.35); }
.hp-pay-field:disabled { background: rgba(0,31,102,.03); }
.hp-pay-row { display: flex; gap: 8px; }
.hp-pay-row .hp-pay-field { flex: 1; }

.hp-pay-btn {
  width: 100%; height: 46px;
  background: #0052FF; color: #fff;
  border: 0; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity .15s;
  margin-top: 2px;
}
.hp-pay-btn:hover:not(:disabled) { opacity: 0.9; }
.hp-pay-btn:disabled { cursor: default; }

/* spinner used on pay buttons */
.hp-pay-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hp-spin .65s linear infinite;
}
.hp-pay-spinner-dark {
  border-color: rgba(0,0,0,.15);
  border-top-color: #3c4043;
}
@keyframes hp-spin { to { transform: rotate(360deg); } }

.hp-pay-loading { cursor: default; }

.hp-pay-secure {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 14px;
  font-size: 11px; color: rgba(0,31,102,.35);
  letter-spacing: 0.01em;
}

/* ── Confirmation screen ── */
.hp-confirm {
  position: absolute; inset: 0;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center;
  animation: fadeIn .3s ease;
  z-index: 20;
  padding: 24px 24px 36px;
  border-radius: 40px;
  overflow: hidden;
}
.hp-confirm-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hp-confirm-bean {
  position: absolute;
  left: 50%;
  top: 38%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  animation: beanBurst 1.3s var(--delay, 0s) ease-out forwards;
  filter: drop-shadow(0 2px 4px rgba(0, 31, 102, .15));
  mix-blend-mode: screen;
}
@keyframes beanBurst {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
  }
  42% {
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1) rotate(var(--rot));
    opacity: 1;
  }
  58% {
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.85) rotate(var(--rot));
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
}
.hp-confirm-content {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hp-confirm-logo {
  width: 140px; height: auto; object-fit: contain;
  position: relative; z-index: 1;
  animation: popIn .35s .1s cubic-bezier(.2,.8,.2,1.3) both;
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hp-confirm-title {
  font-size: 24px; font-weight: 700; letter-spacing: -0.03em;
  color: #fff;
  animation: popIn .3s .2s cubic-bezier(.2,.8,.2,1.3) both;
}
.hp-confirm-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  text-align: center;
  animation: popIn .3s .28s ease both;
  max-width: 100%;
  padding: 0 14px;
  line-height: 1.45;
  text-wrap: balance;
  text-wrap: pretty;
}
.hp-confirm-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #4CAF82;
  color: #fff;
  margin-top: 6px;
  animation: popIn .3s .35s cubic-bezier(.2,.8,.2,1.3) both;
}
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .45; }
  40%            { transform: translateY(-6px); opacity: 1; }
}
.hp-confirm-reset {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin: 0;
  padding: 14px 48px; border-radius: 999px;
  background: var(--espresso);
  color: #fff;
  border: 0;
  cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  animation: popIn .3s .4s ease both;
  box-shadow: 0 8px 24px -12px rgba(0, 31, 102, .35);
}
.hp-confirm-reset:hover {
  background: var(--espresso-2);
}

/* received-peek behind/beside phone */
.received-peek {
  position: absolute;
  bottom: 10%; left: -160px;
  z-index: 3;
  pointer-events: none;
  background: var(--card);
  border-radius: 18px;
  padding: 12px 16px 12px 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 22px 40px -18px rgba(0, 31, 102, .22);
  border: 1px solid rgba(255,255,255,.6);
  transform: rotate(-4deg);
  animation: floatPeek 8s ease-in-out infinite -2s;
  min-width: 230px;
}
.received-peek > div:nth-child(2),
.toast-left > div:nth-child(2),
.toast-tr > div:nth-child(2) {
  flex: 1;
  text-align: left;
}
@keyframes floatPeek {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-8px); }
}
.received-peek .rp-cup {
  width: 38px; height: 38px; border-radius: 12px;
  background: #0052FF;
  display: grid; place-items: center;
  color: #fff; flex: none;
  box-shadow: 0 6px 12px -4px rgba(0, 82, 255, .35);
}
.received-peek .rp-eyebrow,
.received-peek .rp-name,
.tl-name,
.tl-sub,
.ttr-label,
.ttr-sub,
.floating-tag {
  text-align: left;
}
.rp-eyebrow {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0, 31, 102, 0.55);
}
.rp-name {
  font-size: 13.5px; font-weight: 500; color: var(--espresso); margin-top: 2px;
  letter-spacing: -0.005em;
}
.rp-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: #22a06b;
  color: #fff;
  display: grid; place-items: center;
  flex: none;
}

/* floating "Sent in 8 seconds" tag */
.floating-tag {
  position: absolute;
  top: 8%; right: -150px;
  z-index: 3;
  pointer-events: none;
  background: var(--card);
  border-radius: 999px;
  padding: 10px 16px 10px 14px;
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px;
  font-size: 13px; color: var(--espresso); font-weight: 450;
  letter-spacing: -0.005em;
  text-align: left;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 16px 30px -14px rgba(0, 31, 102, .18);
  border: 1px solid rgba(255,255,255,.6);
  animation: floatTag 7s ease-in-out infinite -1s;
}
@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.ft-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0052FF;
  box-shadow: 0 0 0 4px rgba(0, 82, 255, .2);
}

/* left-mid toast */
.toast-left {
  position: absolute;
  left: -170px; top: 40%;
  z-index: 3;
  pointer-events: none;
  background: var(--card);
  border-radius: 18px;
  padding: 11px 15px 11px 11px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 36px -16px rgba(0, 31, 102, .2);
  border: 1px solid rgba(255,255,255,.6);
  transform: rotate(3deg);
  animation: floatLeft 8s 1.5s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes floatLeft {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%       { transform: rotate(3deg) translateY(-9px); }
}
.tl-avatar {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(140deg, #e8c98a, #c07840);
  display: grid; place-items: center;
  color: #3d2914;
  flex-shrink: 0;
}
.tl-name {
  font-size: 13px; font-weight: 550; color: var(--espresso);
  letter-spacing: -0.01em;
}
.tl-sub {
  font-size: 11px; color: rgba(0, 31, 102, 0.65); margin-top: 1px;
}

/* top-right redeemed toast */
.toast-tr {
  position: absolute;
  right: -155px; top: 22%;
  z-index: 3;
  pointer-events: none;
  background: var(--card);
  border-radius: 18px;
  padding: 11px 15px 11px 11px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 20px 36px -16px rgba(0, 31, 102, .2);
  border: 1px solid rgba(255,255,255,.6);
  transform: rotate(2deg);
  animation: floatTR 7s 3s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes floatTR {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%       { transform: rotate(2deg) translateY(-7px); }
}
.ttr-icon {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(150deg, #d4eac8, #a8ce96);
  display: grid; place-items: center;
  color: #1a5c2e; flex-shrink: 0;
}
.ttr-label {
  font-size: 13px; font-weight: 550; color: var(--espresso);
  letter-spacing: -0.01em;
}
.ttr-sub {
  font-size: 11px; color: rgba(0, 31, 102, 0.65); margin-top: 1px;
}

@media (max-width: 960px) {
  .hero {
    overflow: visible;
    padding-bottom: 48px;
  }
  .hero-grid {
    gap: 48px;
  }
  .hero-copy {
    width: 100%;
    padding-bottom: 4px;
  }
  .hero-ctas {
    position: relative;
    z-index: 10;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 20px;
  }
  .hero-ctas .btn-large {
    max-width: 100%;
  }
  .hero-phone-stage {
    margin-top: 0;
    min-height: 0;
    padding: 12px 0 24px;
    overflow: visible;
  }
  .received-peek,
  .toast-left,
  .toast-tr,
  .floating-tag {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-phone-stage {
    min-height: 0;
    width: 100%;
    max-width: min(320px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-phone-stage .hero-phone.phone {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 440 / 940;
    padding: 8px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    animation: none;
    transform: none;
    box-shadow:
      0 1px 0 rgba(255,255,255,.06) inset,
      0 24px 48px -20px rgba(22, 51, 0, .3);
  }
  .hero-phone-stage .hero-phone .phone-screen,
  .hero-phone-stage .hero-phone .hero-phone-screen {
    flex: 1;
    width: 100%;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-radius: 40px;
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #E8F2FF 100%) !important;
    overflow: hidden;
  }
  .hp-phone-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 16px;
    box-sizing: border-box;
  }
  .hp-phone-main {
    display: block;
  }
  .hp-cup {
    width: 102px;
    height: 102px;
  }
  .hp-cup-wrap {
    padding: 0;
    margin-top: -6px;
  }
  .hp-amount-wrap {
    margin-top: 0;
  }
  .hp-amount-edit-hint {
    top: 4px;
    right: -4px;
  }
  .hp-amount {
    font-size: 52px;
    margin-top: 0;
  }
  .hp-amount-whole-input {
    font-size: 52px;
  }
  .hp-amount-cur,
  .hp-amount-dec {
    font-size: 24px;
  }
  .hp-amount-fee {
    margin-bottom: 2px;
  }
  .hp-field-group {
    margin-top: 8px;
  }
  .hp-note {
    margin-top: 6px;
  }
  .hp-brand-pill {
    margin-top: 6px;
  }
  .hp-send {
    margin-top: 6px;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hero-phone-stage {
    max-width: min(288px, 94vw);
    padding-bottom: 28px;
  }
  .hero-phone-stage .hero-phone.phone {
    aspect-ratio: 440 / 940;
  }
  .hp-cup {
    width: 100px;
    height: 100px;
  }
  .hp-amount {
    font-size: 46px;
  }
  .hp-amount-whole-input {
    font-size: 46px;
  }
  .hp-app-head {
    padding: 6px 0 2px;
  }
  .hp-app-title {
    font-size: 13px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }
}
.float-acc {
  position: absolute; pointer-events: none;
}
.bean {
  position: absolute;
  width: 22px; height: 30px;
  background: var(--espresso);
  border-radius: 50%;
  opacity: .35;
}
.bean::after {
  content: ""; position: absolute; inset: 4px 50% 4px 50%;
  border-left: 1px solid rgba(244,236,220,.3);
  transform: translateX(-0.5px) rotate(0);
}
.bean-1 { top: 12%; right: -20px; transform: rotate(-25deg); animation: float 9s ease-in-out infinite; }
.bean-2 { bottom: 8%; left: -28px; transform: rotate(35deg); width: 16px; height: 22px; opacity: .25; animation: float 11s ease-in-out infinite -3s; }

.steam {
  position: absolute;
  width: 6px; height: 36px;
  background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,.7));
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0;
  animation: steam 4s ease-in-out infinite;
}
@keyframes steam {
  0%   { transform: translateY(0) scaleX(1); opacity: 0; }
  20%  { opacity: .8; }
  100% { transform: translateY(-60px) scaleX(1.6); opacity: 0; }
}

/* ── Section base ── */
.section {
  padding: clamp(80px, 11vw, 160px) clamp(20px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.section-eyebrow-row .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--caramel);
}
.section h2 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 88px);
  max-width: 22ch;
  letter-spacing: -0.03em;
}
.section h2 .serif-italic { color: var(--ink); font-style: normal; font-family: inherit; }

/* ── Process ── */
.process { background: transparent; }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.process-head p {
  margin: 0; font-size: 17px; color: var(--ink-soft);
  max-width: 360px; line-height: 1.5;
}
.steps {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border-radius: 28px;
  padding: 32px 32px 36px;
  min-height: 320px;
  display: flex; flex-direction: column;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 24px 50px -28px rgba(42,29,21,.18);
  border: 1px solid rgba(255,255,255,.5);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 50px -22px rgba(42,29,21,.22); }

.step-num {
  font-family: "Instrument Serif", "Georgia", serif;
  font-size: 26px; font-style: italic; color: var(--caramel-deep);
  letter-spacing: 0;
}
.step-icon {
  margin: 24px 0 28px;
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--card-warm);
  display: grid; place-items: center;
  color: var(--espresso);
  overflow: visible;
}
.step-real-icon {
  width: 96px; height: 96px;
  object-fit: contain;
  transform: translate(6px, -10px) rotate(-6deg);
  filter: drop-shadow(0 12px 18px rgba(42,29,21,.22));
  animation: fiBob 6s ease-in-out infinite;
  --rot: -6deg;
}
.step:nth-child(2) .step-real-icon { transform: translate(4px, -8px) rotate(8deg); --rot: 8deg; animation-delay: -1.5s; }
.step:nth-child(3) .step-real-icon { transform: translate(10px, -10px) rotate(-10deg); --rot: -10deg; animation-delay: -3s; width: 110px; height: 110px; }
.step h3 {
  margin: 36px 0 0;
  font-size: 28px; letter-spacing: -0.02em; font-weight: 500;
  color: var(--espresso);
  line-height: 1.15;
}
.step p {
  margin: 12px 0 0;
  color: rgba(0, 31, 102, 0.7); font-size: 14.5px; line-height: 1.55;
}

/* ── Receiving experience ── */
.receive {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 960px) {
  .receive-grid { grid-template-columns: 1fr; }
}
.receive-copy h2 { margin-bottom: 22px; }
.receive-copy p {
  margin: 0; font-size: 17px; color: var(--ink-soft);
  line-height: 1.55; max-width: 460px;
}
.receive-quote {
  margin: 36px 0 0;
  font-family: "Instrument Serif", "Georgia", serif;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 16ch;
}

/* iPhone */
.phone-stage {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.phone {
  width: 320px; height: 660px;
  background: var(--espresso);
  border-radius: 52px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 40px 80px -30px rgba(42,29,21,.45),
    0 20px 40px -20px rgba(42,29,21,.3);
  position: relative;
  animation: float 8s ease-in-out infinite;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 44px;
  background: linear-gradient(165deg, #f6e5c8 0%, #ecc998 55%, #d49a64 100%);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 20px 22px;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px; background: #1a120c; border-radius: 999px; z-index: 5;
  pointer-events: none;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: #2a1d15;
  padding: 4px 6px 0 14px;
  position: relative;
  z-index: 10;
}
.phone-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--espresso);
  flex-shrink: 0;
}
.phone-status-icons svg {
  display: block;
}
.phone-status-cell { width: 14px; height: 9px; }
.phone-status-wifi { width: 12px; height: 9px; }
.phone-status-battery { width: 22px; height: 10px; }
.phone-content {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
}
.phone-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(42,29,21,.55);
  margin-bottom: 18px;
}
.cup-illo {
  width: 170px; height: 170px;
  position: relative;
  margin-bottom: 20px;
}
.cup-illo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(42,29,21,.28));
  transform: rotate(-4deg);
  animation: cupBob 6s ease-in-out infinite;
}
.cup-illo .saucer {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 14px; border-radius: 50%;
  background: rgba(42,29,21,.18); filter: blur(3px);
}
.cup-illo .mug {
  position: absolute; left: 12px; right: 12px; bottom: 8px;
  height: 78px;
  background: #fff8ec;
  border-radius: 14px 14px 26px 26px / 14px 14px 36px 36px;
  box-shadow: inset 0 -10px 0 rgba(42,29,21,.08);
}
.cup-illo .mug::after {
  content: ""; position: absolute; right: -16px; top: 14px;
  width: 26px; height: 38px; border-radius: 0 50% 50% 0;
  border: 5px solid #fff8ec; border-left: 0;
}
.cup-illo .crema {
  position: absolute; left: 18px; right: 18px; bottom: 70px;
  height: 14px; border-radius: 50%;
  background: linear-gradient(180deg, #6b4a2a, #3a2515);
}
.cup-illo .steam-line {
  position: absolute; top: -8px; left: 50%;
  width: 4px; height: 38px; border-radius: 2px;
  background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,.9));
  filter: blur(2px);
  animation: steam 3.2s ease-in-out infinite;
}
.cup-illo .steam-line.s2 { left: 40%; animation-delay: -1.2s; height: 30px; top: -2px; }
.cup-illo .steam-line.s3 { left: 60%; animation-delay: -2.2s; height: 32px; top: -2px; }

.phone-title {
  font-family: "Bricolage Grotesque", "Instrument Serif", Georgia, serif;
  font-size: 32px; font-weight: 500; letter-spacing: -0.025em;
  line-height: 1.1; color: #2a1d15;
  margin: 0 0 10px;
}
.phone-title .heart { color: #a86d3f; }
.phone-sub {
  font-family: "Instrument Serif", "Georgia", serif;
  font-style: italic;
  font-size: 17px; color: rgba(42,29,21,.7);
  margin: 0;
}
.phone-from {
  margin-top: 28px; font-size: 13px; color: rgba(42,29,21,.55);
}
.phone-redeem {
  margin-top: 24px;
  height: 52px; padding: 0 22px;
  background: #0052FF; color: #fff;
  border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 24px -10px rgba(0, 82, 255, .4);
}
.phone-foot {
  padding: 6px 4px 12px; text-align: center;
  font-size: 11px; color: rgba(42,29,21,.45);
  letter-spacing: 0.04em;
}

/* sparkles around phone */
.spark {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--caramel);
  opacity: .35;
  animation: float 6s ease-in-out infinite;
}
.spark.s1 { top: 12%; left: 18%; }
.spark.s2 { bottom: 18%; right: 8%; width: 10px; height: 10px; background: var(--sage); opacity: .45; animation-delay: -2s; }
.spark.s3 { top: 60%; left: 6%; width: 6px; height: 6px; animation-delay: -4s; }

/* Big CTA below */
.big-cta {
  margin-top: clamp(100px, 12vw, 160px);
  text-align: center;
  position: relative;
}
.big-cta h2 {
  margin: 0 auto;
  max-width: 22ch;
  font-size: clamp(48px, 7.4vw, 108px);
  letter-spacing: -0.03em;
}
.big-cta p {
  margin: 24px auto 36px;
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 17px; line-height: 1.55;
}

/* ── Footer ── */
/* ── Coffee joke ticker ── */
.joke-ticker {
  background: var(--espresso);
  padding: 36px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.joke-track {
  display: flex; gap: 0;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.joke-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px;
  font-size: 14px; color: rgba(255,255,255,.55);
  letter-spacing: -0.005em;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.1);
}
.joke-pill:last-child { border-right: 0; }
.joke-icon {
  width: 32px; height: 32px; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  flex-shrink: 0;
}

footer {
  background: var(--espresso);
  color: #fff;
  padding: 56px clamp(20px, 5vw, 80px) 40px;
}
.foot-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
}
.foot-logo {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.foot-logo-img {
  height: 60px;
  width: auto;
}
.foot-logo-name {
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
  color: #fff;
}
.foot-desc {
  font-size: 13px; line-height: 1.4;
  color: rgba(255,255,255,.55);
  margin: -4px 0 0;
  font-style: italic;
}
.foot-bottom {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px; color: rgba(255,255,255,.35);
  margin-top: 8px;
}
.foot-link {
  color: inherit;
  text-decoration: none;
}
.foot-link:hover { color: rgba(255,255,255,.6); }
.foot-link-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* hide nav on small */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav {
    padding: 10px 12px 10px 8px;
  }
  .brand-logo-img {
    height: 55px;
  }
  .brand span {
    font-size: 16px;
  }
  .nav-menu-btn {
    margin-right: -4px;
    padding: 10px 6px 10px 10px;
  }
}


/* ─── Floating 3D coffee icons ─── */
.float-icon {
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(42,29,21,.18));
  will-change: transform;
  user-select: none;
}
.fi-bob   { animation: fiBob var(--dur, 7s) ease-in-out infinite; animation-delay: var(--dly, 0s); }
.fi-sway  { animation: fiSway var(--dur, 8s) ease-in-out infinite; animation-delay: var(--dly, 0s); }
.fi-drift { animation: fiDrift var(--dur, 10s) ease-in-out infinite; animation-delay: var(--dly, 0s); }
@keyframes fiBob {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(-12px); }
}
@keyframes fiSway {
  0%, 100% { transform: rotate(calc(var(--rot, 0deg) - 4deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--rot, 0deg) + 4deg)) translateY(-6px); }
}
@keyframes fiDrift {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translate(0, 0); }
  33%      { transform: rotate(calc(var(--rot, 0deg) + 2deg)) translate(8px, -10px); }
  66%      { transform: rotate(calc(var(--rot, 0deg) - 2deg)) translate(-6px, -4px); }
}

/* containers must be positioning roots so floats settle correctly */
.hero, .section, .receive, footer { position: relative; }
.section-inner, .hero-grid, .receive-grid, .big-cta { position: relative; }


/* ratings row (initial decl above; this fills in display+layout) */
.hero-ratings {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
}
.hero-ratings { margin-bottom: 4px; }
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.rating-pill b { color: #fff; font-weight: 600; }
.rp-icon {
  width: 22px; height: 22px;
  background: var(--caramel); color: var(--espresso);
  border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 11px;
}
.rp-apple {
  width: 18px; height: 18px;
  background: none;
  border-radius: 0;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* tighter hero phone fit on blue */
.phone-screen { background: linear-gradient(165deg, #ffffff 0%, #E8F2FF 60%, #B3D4FF 100%); }
.phone.hero-phone .phone-screen,
.phone.hero-phone .hero-phone-screen {
  background: linear-gradient(180deg, #ffffff 0%, #E8F2FF 100%);
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* steam over white screen needs darker color */
.hp-steam {
  background: linear-gradient(to top, rgba(0,31,102,0), rgba(0,31,102,.35));
}
.cup-illo .steam-line {
  background: linear-gradient(to top, rgba(0,31,102,0), rgba(0,31,102,.45));
}

/* floating toasts — white cards, dark text on blue hero */
.received-peek,
.floating-tag,
.toast-left,
.toast-tr {
  background: var(--card);
  border-color: rgba(255, 255, 255, .6);
}
.received-peek .rp-eyebrow,
.floating-tag { color: var(--espresso); }
.received-peek .rp-eyebrow { color: rgba(0, 31, 102, 0.55); }
.received-peek .rp-name,
.toast-left .tl-name,
.toast-tr .ttr-label { color: var(--espresso); }
.toast-left .tl-sub,
.toast-tr .ttr-sub { color: rgba(0, 31, 102, 0.65); }

/* step card on blue */
.step { background: var(--card); border: 1px solid rgba(0,31,102,.06); }
.step-num { color: var(--espresso); font-family: "Instrument Serif", Georgia, serif; }

/* spark accents */
.spark { background: var(--espresso); opacity: .35; }
.spark.s2 { background: var(--espresso); opacity: .25; }

/* phone redeem button */
.phone-redeem { background: #0052FF; color: #fff; }
.phone-title .heart { color: var(--espresso); }

/* hp-send + confirm actions */
.hp-send, .hp-cd-btn, .hp-cd-detail-done, .hp-cd-fee-done {
  background: #0052FF;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset;
}
.send-btn {
  background: #0052FF;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset;
}
.cup-glyph { background: var(--espresso); color: #fff; box-shadow: none; }

/* hide the secondary "Delivered instantly" pill — Wise look is cleaner */
@media (min-width: 961px) {
  .floating-tag { display: none; }
}

/* card warm becomes light-blue tinted */
.hp-note,
.hp-field-box {
  background: #E8F2FF;
  border-color: rgba(0,31,102,.06);
}
.hp-field-row input { color: var(--espresso); }
.hp-amount, .hp-app-title, .hp-note-text { color: var(--espresso) !important; }
.hp-close { background: rgba(0,31,102,.08); color: var(--espresso); }
.hp-cup-shadow { background: rgba(0,31,102,.18); }
.phone { background: var(--espresso); }
.phone-notch { background: #001233; }
.phone-status { color: var(--espresso); }

/* nav button text fix already in place via .nav-links a.btn override */
.brand-mark { background: var(--espresso); color: var(--cream); }

/* eyebrow updates */
.eyebrow { color: var(--ink-soft); }
.section-eyebrow-row .dot { background: var(--espresso); }
