/* Selected v4 reference. Source proportions preserved; responsive rules below. */
.landing-v4 .eyebrow { color: var(--pink-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
/* Hero and workflow share the outer frame width, including padding and border. */
.landing-v4 { --landing-phone-limit: 350px; --landing-phone-width: var(--landing-phone-limit); }
.v4-hero .v4-phone, .scan-panel .device-shell { box-sizing: border-box; width: var(--landing-phone-width) !important; max-width: 100%; padding: 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 50px; background: #0f0c0a; }
.v4-hero .v4-phone { max-width: none; }
.scan-story { --story-space: 112px; padding: var(--story-space) 0; background: var(--surface); border-block: 1px solid var(--line); scroll-margin-top: 16px; }
.scan-story__inner { position: relative; width: min(var(--max), calc(100% - 48px)); margin: auto; }
.scan-story__copy { margin-bottom: 48px; text-align: center; }
.scan-story__copy h2 { max-width: none; margin: 0; font-size: clamp(40px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -.035em; }
.scan-story__copy h2 span { color: var(--pink-dark); }
.scan-story__phases { display: none; }
.scan-story__screens { --workflow-column-gap: 80px; min-width: 0; max-width: 1040px; margin-inline: auto; }
.scan-story__narrative { display: none; }
.scan-story__display { display: grid; gap: 40px; }
.scan-panel { display: grid; justify-items: center; gap: 20px; margin: 0; }
.scan-panel .device-shell { display: block; box-shadow: 0 32px 64px -38px #785548; }
.scan-panel .scan-picture { display: block; width: 100%; aspect-ratio: 880 / 1912; overflow: hidden; border-radius: 41px; }
.scan-panel .scan-picture img { display: block; width: 100%; height: auto; }
.scan-panel figcaption { max-width: 39ch; text-align: center; }
.scan-panel figcaption strong { display: block; font-size: 16px; }
.scan-panel figcaption span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.scan-story.is-scroll-workflow { height: calc(var(--workflow-stage-height) + var(--workflow-travel) + var(--story-space) * 2 + 2px); }
.is-scroll-workflow .scan-story__inner { height: 100%; }
.is-scroll-workflow .scan-story__screens { position: sticky; top: var(--workflow-top); }
.scan-story.is-enhanced { --workflow-heading-height: 58px; --workflow-heading-gap: 24px; --workflow-copy-gap: 0px; --workflow-copy-height: 0px; --workflow-phone-width: min(var(--landing-phone-width), max(190px, calc((var(--story-viewport-height, calc(100svh - 32px)) - 20px - var(--workflow-heading-height) - var(--workflow-heading-gap) - var(--workflow-copy-height) - var(--workflow-copy-gap)) * .460251 + 20px))); }
.is-enhanced .scan-story__copy { position: relative; display: grid; place-items: center; height: var(--workflow-heading-height); margin-bottom: var(--workflow-heading-gap); }
.is-enhanced .scan-story__copy h2 { grid-area: 1 / 1; opacity: var(--workflow-intro-opacity, 1); }
.is-enhanced .scan-story__phases { grid-area: 1 / 1; display: grid; font-family: var(--font-display); font-size: clamp(40px, 4.2vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; color: var(--pink-dark); }
.scan-story__phases span { grid-area: 1 / 1; opacity: var(--label-opacity, 0); }
.is-enhanced .scan-story__phases { justify-self: end; width: calc((100% - var(--workflow-column-gap)) / 2); }
.is-enhanced .scan-story__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--workflow-column-gap); align-items: center; }
.is-enhanced .scan-story__narrative { display: grid; min-width: 0; }
.scan-story__note { grid-area: 1 / 1; opacity: var(--note-opacity, 0); transform: translate3d(0, calc((1 - var(--note-opacity, 0)) * 16px), 0); will-change: opacity, transform; }
.scan-story__note h3 { max-width: 16ch; margin: 0; font: 700 clamp(28px, 3.3vw, 42px)/1.08 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.scan-story__note p { max-width: 35ch; margin: 20px 0 0; color: var(--muted); font: 400 18px/1.6 var(--font-sans); }
@media (min-width: 760px) and (max-width: 1023px) {
  .scan-story__screens { --workflow-column-gap: 40px; }
  .scan-story__note p { font-size: 17px; }
}
.is-enhanced .scan-story__device { box-sizing: border-box; width: var(--workflow-phone-width); max-width: 100%; margin: auto; padding: 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 50px; background: #0f0c0a; box-shadow: 0 32px 64px -38px #785548; }
.is-enhanced .scan-story__display { position: relative; gap: 0; aspect-ratio: 880 / 1912; overflow: hidden; border-radius: 41px; background: #fbf4ea; isolation: isolate; }
.is-enhanced .scan-panel { grid-area: 1 / 1; min-width: 0; gap: 0; opacity: var(--screen-opacity,1); will-change: opacity; }
.is-enhanced .scan-panel .device-shell { width: 100% !important; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.is-enhanced .scan-panel .scan-picture { border-radius: 0; }
.scan-story.is-enhanced .scan-panel figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.scan-story:not(.is-enhanced) .scan-story__display { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .landing-v4 { --landing-phone-limit: 280px; }
}
/* Keep the shared phone inside a laptop viewport, including its 20px shell. */
@media (min-width: 760px) and (max-height: 780px) {
  .landing-v4 { --landing-phone-width: min(var(--landing-phone-limit), max(240px, calc((100svh - 68px) * .460251 + 20px))); }
}
@media (max-width: 759px) {
  .landing-v4 { --landing-phone-width: min(300px, calc(100vw - 40px)); }
  .scan-story { --story-space: 88px; }
  .scan-story__inner { width: calc(100% - 40px); }
  .scan-story__copy { margin-bottom: 32px; }
  .scan-story__copy h2 { font-size: clamp(30px, 8.8vw, 44px); }
  .scan-story.is-enhanced { --workflow-heading-height: 46px; --workflow-heading-gap: 16px; --workflow-copy-gap: 18px; }
  .is-enhanced .scan-story__stage { grid-template-columns: minmax(0, 1fr); gap: var(--workflow-copy-gap); }
  .is-enhanced .scan-story__phases { width: 100%; justify-self: center; }
  .scan-story__note h3 { max-width: none; font-size: 26px; }
  .scan-story__note p { max-width: none; margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .is-enhanced .scan-story__phases { font-size: clamp(30px, 8.8vw, 44px); }
  .scan-story:not(.is-enhanced) .scan-story__display { grid-template-columns: 1fr; }
}

.landing-v4 { --max: 1160px; --site-header-height: 68px; }
.v4-section, .v4-section *, .v4-section *::before, .v4-section *::after { box-sizing: content-box; }
.v4-section h1, .v4-section h2, .v4-section h3 { text-wrap: pretty; }
.v4-hero-wrap { position: relative; isolation: isolate; background: radial-gradient(55% 60% at 80% 55%,rgba(216,30,91,.22),transparent 70%),radial-gradient(35% 40% at 15% 5%,rgba(61,190,119,.10),transparent 70%),#14110e; }
.v4-hero { background: transparent !important; }
.landing-v4 .site-header { background: rgba(20,17,14,.96); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); }
@media (min-width: 760px) {
  .landing-v4 #main > section, .landing-v4 #top { scroll-margin-top: 85px; }
}
.landing-v4 .site-header .brand { color: #fff; }
.landing-v4 .site-header .brand__mark { width: 26px; height: 30px; }
.landing-v4 .nav { gap: 16px; }
.landing-v4 .nav__links { gap: 4px; }
.landing-v4 .nav__links a { padding: 10px 12px; color: #c7bbaf; font-size: 14.5px; }
.landing-v4 .nav__links a:hover { color: #fff; }
.landing-v4 .nav__cta { display: inline-flex; box-sizing: content-box; min-height: 40px; padding: 9px 16px; border: 0; border-radius: 99px; background: #fff; color: #14110e; font-size: 14.5px; white-space: nowrap; }
.v4-section a:focus-visible, .landing-v4 .site-header a:focus-visible { outline-offset: 5px; }
.v4-hero a:focus-visible, #privacy a:focus-visible, .v4-closing a:focus-visible { outline-color: #ff9ab5; }
.v4-heroPhoneIn { justify-self: end; width: 100%; }
.v4-section .v4-store-badge { width: auto; min-width: 0; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.v4-store-badge:hover { opacity: .85; }
.v4-section .price-card--focused__aside { gap: 0; }
.v4-section .price-card--focused__aside > p { font-weight: 400; text-transform: none; letter-spacing: normal; }
.v4-section .price-card--focused__aside > .price-card--focused__label { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.v4-faq-item summary { list-style: none; cursor: pointer; }
.v4-faq-item summary::-webkit-details-marker { display: none; }
.v4-faq-item summary::after { content: "+"; flex: 0 0 auto; color: #a8123f; font: 500 22px 'Spline Sans Mono',monospace; }
.v4-faq-item[open] summary::after { content: "–"; }
.v4-founder-quote { margin: 0; }
.v4-founder-quote p { margin: 20px 0 0; font: 400 19px/1.55 var(--font-sans); color: #5d5249; }
.v4-founder-quote .v4-founder-quote__lead { margin: 0; font: 500 clamp(22px,2.4vw,30px)/1.25 var(--font-display); letter-spacing: -.02em; color: #211a17; }

/* Scroll transforms the same July total from merchant charges into categories. */
.v4-comparison { --m: 0; --g: 1; --p: 0; --comparison-fit: 1; padding: 112px 0; }
.v4-compareFit { width: 100%; }
.v4-cardStyle { background: #fffdf8; border-radius: 22px; padding: 28px 30px; border: 1.5px solid #eadfce; box-shadow: 0 40px 80px -50px rgba(60,42,29,.4); }
.v4-bankRowsStyle + .v4-barsStyle { margin-top: 24px; }
.v4-rollStyle, .v4-labelRollStyle { display: block; }
.v4-rollStyle > span:first-child, .v4-labelRollStyle > span:first-child { display: none !important; }
.v4-comparison__progress { display: none !important; }
.v4-barsStyle i { display: block; height: 100%; border-radius: 99px; width: calc(var(--bar-width) * var(--g)); background: var(--bar-color); }
.v4-bar1 { --bar-color: #d4a017; --bar-width: 100%; }
.v4-bar2 { --bar-color: #c0492f; --bar-width: 87%; }
.v4-bar3 { --bar-color: #2f8f5b; --bar-width: 85%; }
.v4-bar4 { --bar-color: #7c5cbf; --bar-width: 82%; }
.v4-bar5 { --bar-color: #b45309; --bar-width: 72%; }
.v4-bar6 { --bar-color: #a89b90; --bar-width: 52%; }
.v4-comparison.is-scroll-comparison { height: 170vh; min-height: 1200px; padding: 0; }
.is-scroll-comparison .v4-comparison__sticky { position: sticky; top: var(--comparison-top, 84px); height: var(--story-viewport-height, calc(100svh - 100px)); display: flex; align-items: center; }
.is-scroll-comparison .v4-compareFit { transform: scale(var(--comparison-fit)); transform-origin: 50% 50%; }
.is-scroll-comparison .v4-rollStyle > span:first-child, .is-scroll-comparison .v4-labelRollStyle > span:first-child { display: block !important; }
.is-scroll-comparison .v4-rollStyle, .is-scroll-comparison .v4-labelRollStyle { transform: translateY(calc(var(--m) * -50%)); }
.is-scroll-comparison .v4-comparison__progress { display: flex !important; }
.is-scroll-comparison .v4-progressStyle { position: absolute; inset: 0; width: calc(var(--p) * 100%); background: #d81e5b; border-radius: 99px; }
.is-scroll-comparison .v4-cardStyle { transition: border-color .3s, box-shadow .3s; }
.is-scroll-comparison.is-categories .v4-cardStyle { border-color: #d81e5b; box-shadow: 0 40px 80px -50px rgba(60,42,29,.6); }
.is-scroll-comparison .v4-bankRowsStyle { opacity: calc(1 - var(--m)); transform: translateY(calc(var(--m) * -16px)); }
.is-scroll-comparison .v4-barsStyle { position: absolute; inset: 0; margin: 0; opacity: var(--m); transform: translateY(calc((1 - var(--m)) * 16px)); }
.is-scroll-comparison .v4-stepBankStyle { color: #211a17; }
.is-scroll-comparison .v4-stepRadishStyle { color: #a89b90; }
.is-scroll-comparison.is-categories .v4-stepBankStyle { color: #a89b90; }
.is-scroll-comparison.is-categories .v4-stepRadishStyle { color: #a8123f; }

@media (max-width: 1023px) {
  .v4-hero__layout { grid-template-columns: minmax(0,1fr) minmax(240px,280px) !important; gap: 36px !important; }
  .v4-free-pill { flex-wrap: wrap; border-radius: 18px !important; line-height: 1.45; }
  .v4-comparison__layout { gap: 30px !important; grid-template-columns: minmax(0,1fr) minmax(320px,420px) !important; }
  .v4-privacy__layout { gap: 36px !important; }
  .v4-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 32px !important; }
  .v4-household__layout dl > div { flex-wrap: wrap; gap: 8px 16px !important; }
}
@media (max-width: 759px) {
  .landing-v4 .site-header { position: relative; }
  .landing-v4 { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .landing-v4 .site-header__inner { min-height: 64px; width: calc(100% - 40px); gap: 10px; }
  .landing-v4 .nav { gap: 10px; }
  .landing-v4 .nav__links { display: none; }
  .landing-v4 .nav__cta { min-height: 24px; padding: 10px 16px; }
  .v4-section { padding-top: 64px !important; padding-bottom: 64px !important; }
  .v4-section > div:not(.v4-comparison__sticky):not(.v4-household__sticky), .v4-comparison__layout { width: calc(100% - 40px) !important; }
  .v4-hero__layout, .v4-household__layout, .v4-privacy__layout, .v4-faq__layout { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 40px !important; }
  .v4-hero h1 { font-size: clamp(40px,10.8vw,60px) !important; }
  .v4-free-pill { font-size: 12px !important; padding-right: 10px !important; }
  .v4-heroPhoneIn { width: min(280px,calc(100% - 20px)); justify-self: center; margin-right: 20px; }
  .v4-hero__trust { gap: 12px 20px !important; font-size: 12px !important; }
  .v4-section[aria-label="Key facts"] { padding: 0 !important; }
  .v4-section[aria-label="Key facts"] > div { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px !important; padding: 22px 0 !important; }
  .v4-section[aria-label="Key facts"] > div > div { white-space: normal !important; font-size: 12px !important; line-height: 1.45; }
  .v4-comparison__layout { grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
  .v4-comparison h2 { font-size: clamp(29px,8.4vw,38px) !important; }
  .v4-comparison__layout > div:first-child > p:not(:first-child) { font-size: 15px !important; }
  .v4-comparison__progress { margin-top: 20px !important; font-size: 11px !important; gap: 10px !important; }
  .v4-comparison__progress > span:nth-child(2) { width: 80px !important; }
  .v4-cardStyle { padding: 22px 18px; }
  .v4-cardStyle > p { font-size: 10px !important; }
  .v4-bankRowsStyle .comparison-row { gap: 9px !important; }
  .v4-bankRowsStyle .comparison-row > span:nth-child(2) > span:first-child { font-size: 11px !important; }
  .v4-bankRowsStyle .comparison-row > b { font-size: 13px !important; }
  .v4-barsStyle .comparison-row:not(:nth-child(8)) { grid-template-columns: 114px minmax(0,1fr) 62px !important; gap: 8px !important; font-size: 13px !important; }
  .v4-barsStyle .comparison-row > b { font-size: 12px !important; }
  .v4-comparison.is-scroll-comparison { padding: 0 !important; height: 180svh; min-height: 1350px; }
  .is-scroll-comparison .v4-comparison__sticky { top: var(--comparison-top, 16px); height: var(--story-viewport-height, calc(100svh - 32px)); }
  .v4-household__layout dl > div { flex-wrap: nowrap; }
  .v4-household__layout dd { text-align: right; font-size: 12px !important; }
  .v4-founder__layout { grid-template-columns: 1fr !important; gap: 24px !important; }
  .v4-price-grid { grid-template-columns: minmax(0,1fr) !important; gap: 30px !important; }
  .v4-price-grid > div { padding: 32px 24px !important; }
  .v4-price-grid a > span { box-sizing: border-box; }
  .v4-desktop-handoff { display: none !important; }
  .v4-closing > div:first-child { width: 100% !important; }
}
@media (max-width: 359px) {
  .landing-v4 .site-header__inner { width: calc(100% - 32px); }
  .v4-feature-grid { grid-template-columns: minmax(0,1fr) !important; }
  .v4-hero__conversion { gap: 18px !important; }
  .v4-hero h1 { font-size: 38px !important; }
  .v4-household__layout dl > div { flex-wrap: wrap; }
  .v4-comparison .v4-cardStyle { padding: 20px 14px; }
  .v4-barsStyle .comparison-row:not(:nth-child(8)) { grid-template-columns: 108px minmax(0,1fr) 58px !important; gap: 6px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-v4 *, .landing-v4 *::before, .landing-v4 *::after { scroll-behavior: auto; }
}

.v4-reveal-ready { opacity: 0; transform: translateY(var(--reveal-distance,50px)); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay,0s); }
.v4-reveal-ready.v4-visible { opacity: 1; transform: none; }
@media (max-width: 759px) {
  .v4-free-pill { display: flex !important; flex-wrap: nowrap !important; }
  .v4-free-pill__copy { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .v4-reveal-ready { opacity: 1; transform: none; transition: none; }
}

/* The script-free comparison labels each complete view independently. */
.v4-static-category-label { margin: 0 0 14px; color: #a8123f; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.v4-comparison:not(.is-scroll-comparison) .v4-labelRollStyle > span:first-child { display: block !important; }
.v4-comparison:not(.is-scroll-comparison) .v4-labelRollStyle > span:last-child { display: none !important; }
.is-scroll-comparison .v4-static-category-label { display: none; }
@media (min-width: 760px) and (max-width: 1023px) {
  .v4-hero .v4-phone { box-sizing: border-box; }
  .v4-section[aria-label="Key facts"] > div { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 28px !important; }
}

/* Shared resource pricing rules must not recolor the reference monthly card. */
.v4-section .price-card--focused__aside span { font-size: inherit; line-height: normal; color: inherit; }
.v4-section .price-figure__amount { font-variant-numeric: normal; }

.v4-featIn, .v4-privIn { --reveal-distance: 30px; }
.is-scroll-comparison .v4-rollStyle, .is-scroll-comparison .v4-labelRollStyle { transition: transform .15s linear; }
.v4-hero h1 > span > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .v4-heroIn0, .v4-heroIn1, .v4-heroIn2, .v4-heroPhoneIn { animation: v4-rise .7s cubic-bezier(.22,.61,.36,1) both; }
  .v4-heroIn1 { animation-delay: .45s; }
  .v4-heroIn2 { animation-delay: .6s; }
  .v4-heroPhoneIn { animation-delay: .25s; --reveal-distance: 40px; }
  .v4-hero h1 > span > span { animation: v4-word .8s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--word-delay,.05s); }
  .v4-hero h1 > span:nth-child(2) { --word-delay: .10s; }
  .v4-hero h1 > span:nth-child(3) { --word-delay: .15s; }
  .v4-hero h1 > span:nth-child(4) { --word-delay: .20s; }
  .v4-hero h1 > span:nth-child(5) { --word-delay: .25s; }
  .v4-hero h1 > span:nth-child(6) { --word-delay: .30s; }
  .v4-hero h1 > span:nth-child(7) { --word-delay: .35s; }
  .v4-hero h1 > span:nth-child(8) { --word-delay: .40s; }
  .v4-hero h1 > span:nth-child(9) { --word-delay: .45s; }
}
@keyframes v4-rise { from { opacity: 0; transform: translateY(var(--reveal-distance,24px)); } to { opacity: 1; transform: none; } }
@keyframes v4-word { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: none; } }

/* One scroll sequence: QR invitation, partner arrival, then shared history. */
#household { --household-space: 112px; }
.v4-household__sticky { width: 100%; }
.v4-household__visual { min-width: 0; }
.v4-household__layout { width: min(1160px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 632px); gap: 56px; align-items: center; }
.v4-household__phones { --phone-gap: 72px; --phone-limit: min(280px, max(220px, calc((var(--story-viewport-height, calc(100svh - 48px)) - 76px) * .460251 + 18px))); position: relative; display: flex; justify-content: center; align-items: center; gap: var(--phone-gap); }
.v4-houseIn1, .v4-houseIn2 { flex: 0 0 auto; width: min(var(--phone-limit), calc((100% - var(--phone-gap)) / 2)); min-width: 0; }
.v4-houseIn2 { margin-top: 56px; }
.v4-section .household-device { --device-radius: 42px; box-sizing: border-box; width: 100%; padding: 8px; border: 1px solid #5c5e58; border-radius: var(--device-radius); }
@media (min-width: 760px) and (max-width: 1099px) {
  .v4-household__layout { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 32px; }
  .v4-household__phones { --phone-gap: 40px; }
  .v4-section .household-device { --device-radius: 34px; padding: 6px; }
  .v4-household__phones .household-phone__display, .v4-household__phones img { border-radius: 27px !important; }
}
.household-phone__display { display: grid; overflow: hidden; border-radius: 33px; }
.household-phone__display > picture { grid-area: 1 / 1; }
.household-initial-picture { display: none; }
.household-initial-picture img { display: block; width: 100%; height: auto; }
.household-qr { display: none; }




.v4-section.is-household-story { box-sizing: border-box; padding: var(--household-space) 0 !important; height: calc(var(--household-height) + var(--household-travel) + var(--household-space) * 2 + 2px); }
.is-household-story .v4-household__sticky { position: sticky; top: var(--household-top); }
.is-household-story .v4-houseIn1 { opacity: var(--owner-appear,0); transform: translate3d(0,calc((1 - var(--owner-appear,0)) * 40px),0); will-change: opacity,transform; }
.is-household-story .v4-houseIn2 { opacity: var(--partner-appear,0); transform: translate3d(calc((1 - var(--partner-appear,0)) * -24px),calc((1 - var(--partner-appear,0)) * 48px),0); will-change: opacity,transform; }
.is-household-story .household-initial-picture { display: block; opacity: calc(1 - var(--household-shared,0)); }
.is-household-story .household-qr { position: absolute; display: grid; justify-items: center; gap: 10px; top: 36%; left: 75%; width: 136px; padding: 22px 16px; border: 1px solid #dfd2bf; border-radius: 20px; background: #fffdf8; box-shadow: 0 18px 40px -24px #785548; opacity: var(--qr-appear,0); transform: translate3d(calc(-50% - var(--partner-appear,0) * 64px),calc((1 - var(--qr-appear,0)) * 16px),0); pointer-events: none; }
.household-qr span { font: 700 16px var(--font-display); }
.household-qr small { font: 400 13px/1.45 var(--font-sans); color: #6f635b; text-align: center; }
@media (max-width: 759px) {
  #household { --household-space: 88px; }
  .v4-household__layout { width: calc(100% - 40px) !important; }
  .v4-household__phones { --phone-gap: 28px; width: 100%; }
  .v4-section .household-device { --device-radius: 28px; padding: 5px; }
  .v4-household__phones .household-phone__display, .v4-household__phones img { border-radius: 22px !important; }
  .is-household-story .v4-houseIn2 { transform: translate3d(0,calc((1 - var(--partner-appear,0)) * 48px),0); }


  .is-household-story .household-qr { box-sizing: border-box; width: 128px; padding: 16px 8px; top: 30%; }
  .household-qr img { width: 40px; height: 40px; border-radius: 0 !important; }
  .household-qr span { font-size: 15px; }
  .household-qr small { font-size: 12px; }
}

/* Approved Optional story: readable HTML copy and totals around a product close-up. */
.v4-section.optional-spending { padding: 96px 0 104px; background: var(--bg); scroll-margin-top: 24px; }
.optional-spending, .optional-spending * { box-sizing: border-box; }
.optional-spending__layout { width: min(1160px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro visual" "saving visual"; grid-template-rows: 1.2fr .8fr; column-gap: 40px; row-gap: 48px; align-items: center; }
.optional-spending__intro { grid-area: intro; align-self: end; }
.optional-spending__intro .eyebrow { margin: 0 0 24px; }
.optional-spending__intro h2 { margin: 0; max-width: none; font-family: var(--font-display); font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.045em; }
.optional-spending__intro h2 span { color: var(--pink-dark); }
.optional-spending__description { margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; }
.optional-spending__visual { grid-area: visual; min-width: 0; width: 100%; max-width: 560px; justify-self: center; }
.optional-spending__phone { margin: 0 auto; width: var(--landing-phone-width); max-width: 100%; padding: 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 50px 50px 0 0; background: #0f0c0a; box-shadow: 0 32px 64px -38px #785548; }
.optional-spending__phone picture { display: block; width: 100%; aspect-ratio: 1320 / 2140; overflow: hidden; border-radius: 41px 41px 0 0; }
.optional-spending__phone img { display: block; width: 100%; height: auto; }
.optional-spending__month { position: relative; margin-top: -18px; padding: 24px 26px 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 24px 48px -26px rgba(71, 48, 31, .35); }
.optional-spending__month-label { margin: 0 0 12px; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.optional-spending__month-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.optional-spending__month-heading h3 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 27px); line-height: 1.1; letter-spacing: -.03em; }
.optional-spending__total { margin: 0; color: var(--pink-dark); font-family: var(--font-display); font-size: clamp(34px, 3.7vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.optional-spending__items { margin: 8px 0 0; }
.optional-spending__items > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.optional-spending__items > div + div { border-top: 1px solid var(--line); }
.optional-spending__items dt { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 18px; line-height: 1.3; }
.optional-spending__items dd { margin: 0; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.optional-spending__icon { flex: 0 0 38px; width: 38px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fce8e4; }
.optional-spending__icon img { display: block; }
.optional-spending__saving { grid-area: saving; align-self: start; }
.optional-spending__saving-label { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.optional-spending__annual { display: flex; align-items: baseline; gap: 10px; margin: 0; color: #08623e; font-family: var(--font-display); line-height: 1; letter-spacing: -.045em; }
.optional-spending__annual strong { font-size: clamp(72px, 7.2vw, 104px); font-weight: 700; }
.optional-spending__annual span { font-size: clamp(27px, 2.8vw, 38px); font-weight: 600; letter-spacing: -.03em; }
.optional-spending__condition { margin: 18px 0 0; max-width: 36ch; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
@media (min-width: 760px) and (max-width: 1023px) {
  .optional-spending__layout { column-gap: 24px; row-gap: 32px; }
  .optional-spending__intro h2 { font-size: 46px; }
  .optional-spending__description br { display: none; }
  .optional-spending__month { padding: 20px 18px 12px; margin-top: -24px; }
  .optional-spending__month-heading { flex-wrap: wrap; gap: 8px; }
  .optional-spending__items dt { gap: 10px; font-size: 16px; }
  .optional-spending__items dd { font-size: 17px; }
}
@media (max-width: 759px) {
  .v4-section.optional-spending { padding: 64px 0 72px; }
  .optional-spending__layout { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "intro" "visual" "saving"; gap: 32px; }
  .optional-spending__intro { max-width: 520px; justify-self: center; width: 100%; }
  .optional-spending__intro .eyebrow { margin-bottom: 18px; font-size: 10.5px; }
  .optional-spending__intro h2 { font-size: clamp(43px, 11.2vw, 62px); }
  .optional-spending__description { margin-top: 20px; font-size: 18px; }
  .optional-spending__description br { display: none; }
  .optional-spending__visual { max-width: 440px; }
  .optional-spending__month { padding: 20px 18px 12px; margin-top: -24px; border-radius: 18px; }
  .optional-spending__month-heading { gap: 12px; }
  .optional-spending__month-heading h3 { max-width: 12ch; font-size: 22px; }
  .optional-spending__total { font-size: 39px; }
  .optional-spending__items dt { font-size: 16px; gap: 10px; }
  .optional-spending__items dd { font-size: 17px; }
  .optional-spending__icon { flex-basis: 34px; width: 34px; height: 36px; }
  .optional-spending__saving { width: 100%; max-width: 440px; justify-self: center; margin-top: 12px; }
  .optional-spending__condition { margin-top: 14px; font-size: 18px; }
}
@media (max-width: 359px) {
  .optional-spending__month { padding-inline: 14px; }
  .optional-spending__month-heading h3 { font-size: 20px; }
  .optional-spending__total { font-size: 34px; }
  .optional-spending__items dt { font-size: 15px; gap: 8px; }
}

/* One detailed shell for every homepage phone; all screen pixels stay native. */
.landing-v4 .iphone-shell { position: relative; isolation: isolate; box-sizing: border-box; border-color: #5c5e58 !important; background: linear-gradient(115deg, #92958b 0%, #242622 9%, #080908 28%, #141613 62%, #81847b 84%, #171916 100%) !important; box-shadow: inset 0 0 0 1px #aaa99d, inset 0 0 0 3px #20221e, var(--device-shadow, 0 32px 48px -24px rgba(50, 34, 22, .46)) !important; }
.iphone-shell::before { content: ""; position: absolute; z-index: -1; inset: 3px; border: 1px solid #080908; border-radius: inherit; background: #070807; pointer-events: none; }
.iphone-shell::after, .iphone-shell__buttons, .iphone-shell__buttons::before, .iphone-shell__buttons::after { position: absolute; width: 1.3px; border-radius: .8px; background: linear-gradient(90deg, #363932, #909388 50%, #42453d); pointer-events: none; }
.iphone-shell::after { content: ""; top: calc(30% * var(--device-controls-scale, 1)); right: -1.5px; height: calc(10% * var(--device-controls-scale, 1)); }
.iphone-shell__buttons { top: calc(18% * var(--device-controls-scale, 1)); left: -1.5px; height: calc(2.6% * var(--device-controls-scale, 1)); }
.iphone-shell__buttons::before { content: ""; left: 0; top: 220%; height: 180%; }
.iphone-shell__buttons::after { content: ""; left: 0; top: 440%; height: 180%; }
.v4-hero .iphone-shell { --device-shadow: 0 60px 120px -50px rgba(216,30,91,.45), 0 30px 60px -30px rgba(0,0,0,.8); }
.optional-spending__phone.iphone-shell { --device-controls-scale: 1.34; }
/* Static reading mode uses four individual frames; animation uses one shared frame. */
.landing-v4 .scan-story:not(.is-enhanced) .scan-story__device.iphone-shell,
.landing-v4 .scan-story.is-enhanced .scan-panel .iphone-shell { background: transparent !important; box-shadow: none !important; border: 0; isolation: auto; }
.scan-story:not(.is-enhanced) .scan-story__device.iphone-shell::before,
.scan-story:not(.is-enhanced) .scan-story__device.iphone-shell::after,
.scan-story:not(.is-enhanced) .scan-story__device.iphone-shell > .iphone-shell__buttons,
.scan-story.is-enhanced .scan-panel .iphone-shell::before,
.scan-story.is-enhanced .scan-panel .iphone-shell::after,
.scan-story.is-enhanced .scan-panel .iphone-shell > .iphone-shell__buttons { display: none; }
@media (max-width: 759px) {
  .v4-household__phones .iphone-shell::before { inset: 2px; }
  .v4-household__phones .iphone-shell::after { right: -1px; }
  .v4-household__phones .iphone-shell__buttons { left: -1px; }
  .v4-household__phones .iphone-shell::after, .v4-household__phones .iphone-shell__buttons,
  .v4-household__phones .iphone-shell__buttons::before, .v4-household__phones .iphone-shell__buttons::after { width: 1px; }
}
