/* Landing page, styled as an iOS app: system type, frosted bars, grouped rounded surfaces,
   capsule buttons with press feedback. Black and white, with the red accent used sparingly. */
html:has(> body.landing) { scrollbar-width: none; scroll-padding-top: 72px; scroll-behavior: smooth; }
html:has(> body.landing)::-webkit-scrollbar { display: none; }
body.landing { overflow-x: hidden; }

.lp {
  --f-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --ios-group: #F2F2F7;
  --ios-sep: rgba(60, 60, 67, .16);
  --ios-glass: rgba(255, 255, 255, .72);
  position: relative;
  overflow: clip;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------- top bar (frosted, like a navigation bar) */
.lp__top { position: sticky; top: 0; z-index: 30; flex-wrap: wrap; min-height: 56px; padding: 10px clamp(16px, 4vw, 40px); background: var(--ios-glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid var(--ios-sep); }
.lp__top .logo { height: 20px; }
.lp__top nav { gap: 18px; align-items: center; font: 500 15px/1 var(--f-ui); }
.lp__navlink { text-decoration: none; color: var(--ink); }
.lp__navlink:hover { color: var(--hot); }
.lp__top .btn { min-height: 34px; padding: 0 16px; font-size: 14px; }

/* language: iOS segmented control */
.lang { display: inline-flex; gap: 0; align-items: center; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, .12); font: 600 12px/1 var(--f-ui); }
.lang__opt { padding: 6px 10px; border-radius: 7px; text-decoration: none; color: var(--ink-2); transition: background .2s ease, color .2s ease; }
.lang__opt:hover { color: var(--ink); }
.lang__opt.is-on { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }

/* ---------------------------------------------------------------- buttons: capsules with press feedback */
.lp .btn { border-radius: 999px; font: 600 16px/1 var(--f-ui); min-height: 50px; padding: 0 24px; transition: transform .15s ease, background .2s ease, color .2s ease; }
.lp .btn:active { transform: scale(.96); }
.lp .btn--hot { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.lp .btn--hot:hover { background: #222222; color: #FFFFFF; }
.lp .btn--ghost { background: var(--ios-group); border-color: transparent; color: var(--ink); }
.lp .btn--ghost:hover { background: #E5E5EA; color: var(--ink); }
.lp .btn--lg { min-height: 54px; padding: 0 30px; font-size: 17px; }
.lp .btn--sm { min-height: 34px; padding: 0 16px; font-size: 14px; }

/* ---------------------------------------------------------------- hero */
.lp__hero { max-width: 1240px; margin: 0 auto; padding: clamp(36px, 7vh, 72px) clamp(20px, 4vw, 40px) clamp(56px, 9vh, 96px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp .eyebrow { font: 600 15px/1.3 var(--f-ui); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.lp__title { font: 700 clamp(44px, 8vw, 96px)/1.02 var(--f-display); letter-spacing: -.045em; margin: 10px 0 0; }
.lp__title em { font-style: normal; color: var(--hot); }
.lp__hero .lede { max-width: 40ch; margin: 18px auto 30px; font: 400 clamp(17px, 1.6vw, 20px)/1.45 var(--f-ui); color: var(--ink-2); }
.lp__hero .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.lp__media { width: 100%; margin-top: clamp(40px, 8vh, 72px); border-radius: 28px; overflow: hidden; background: var(--ios-group); aspect-ratio: 16 / 9; position: relative; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .35); }
.lp__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* demo-card stage: shown until hero.mp4 is added to static/video */
.lp__stage { position: absolute; inset: 0; isolation: isolate; }
.lp__stage::before { content: ""; position: absolute; width: 56%; aspect-ratio: 1; left: 22%; top: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 68%); filter: blur(12px); opacity: 0; transform: scale(.7); }
.lp.is-ready .lp__stage::before { animation: lpStageGlow 1.4s ease 1s both; }
.lp__card { position: absolute; width: clamp(180px, 20vw, 260px); display: block; text-decoration: none; transform: rotate(var(--r)); transform-origin: 50% 90%; will-change: transform, opacity; }
.lp__card--1 { --r: -7deg; --from-x: 118%; --from-y: 20%; --deal-delay: 860ms; left: 14%; top: 16%; z-index: 1; }
.lp__card--2 { --r: 2deg; --from-x: 0%; --from-y: 34%; --deal-delay: 720ms; left: 39%; top: 6%; z-index: 3; }
.lp__card--3 { --r: 9deg; --from-x: -112%; --from-y: 12%; --deal-delay: 1000ms; left: 62%; top: 24%; z-index: 2; }
.lp.is-ready .lp__card { animation: lpDealCard 1.15s cubic-bezier(.16, .84, .28, 1.12) var(--deal-delay) both; }
.lp__card .ohc { animation: lpBob 7s ease-in-out infinite; transition: transform .4s cubic-bezier(.2, .9, .3, 1.3); }
.lp__card--2 .ohc { animation-delay: -2.5s; }
.lp__card--3 .ohc { animation-delay: -5s; }
.lp__card:hover .ohc { transform: translateY(-8px); }
@keyframes lpBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes lpDealCard {
  0% { opacity: 0; transform: translate(var(--from-x), var(--from-y)) rotate(0deg) scale(.72); filter: blur(5px); }
  58% { opacity: 1; filter: blur(0); }
  78% { transform: translate(0, -2%) rotate(var(--r)) scale(1.025); }
  100% { opacity: 1; transform: translate(0, 0) rotate(var(--r)) scale(1); filter: blur(0); }
}
@keyframes lpStageGlow { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }

/* ---------------------------------------------------------------- sections */
.lp__sec { max-width: 1040px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 40px); }
.lp__sec--group { max-width: none; background: var(--ios-group); }
.lp__sec--group > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.lp__h2 { font: 700 clamp(34px, 5vw, 60px)/1.04 var(--f-display); letter-spacing: -.04em; margin: 8px 0 14px; max-width: 16ch; }
.lp__anchor { scroll-margin-top: 72px; }
.lp__h2 em { font-style: normal; color: var(--hot); }
.lp__lead { font: 400 clamp(17px, 1.6vw, 21px)/1.45 var(--f-ui); color: var(--ink-2); max-width: 46ch; margin: 0 0 32px; }

/* icon-led summaries: built to be understood at a glance */
.lp__icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; background: var(--ink); color: #FFFFFF; }
.lp__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp__pillars { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; }
.lp__pillars li { min-height: 190px; padding: 22px; border-radius: 22px; background: #FFFFFF; }
.lp__pillars .lp__icon { margin-bottom: 34px; }
.lp__pillars b { display: block; font: 650 20px/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 7px; }
.lp__pillars p { margin: 0; font: 400 15px/1.4 var(--f-ui); color: var(--ink-2); }

/* how it works: a four-step visual flow */
.lp__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; counter-reset: steps; }
.lp__steps li { position: relative; min-height: 230px; padding: 18px; border-radius: 22px; background: var(--ios-group); }
.lp__steps li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -13px; top: 42px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; color: var(--ink-3); font: 500 15px/1 var(--f-ui); box-shadow: 0 0 0 1px var(--ios-sep); }
.lp__steps .lp__icon { margin: 14px 0 34px; background: #FFFFFF; color: var(--ink); box-shadow: 0 0 0 .5px var(--ios-sep); }
.lp__step-no { font: 600 12px/1 var(--f-ui); color: var(--ink-3); }
.lp__steps b { display: block; font: 700 25px/1.1 var(--f-display); letter-spacing: -.03em; margin-bottom: 7px; }
.lp__steps p { margin: 0; font: 400 14px/1.4 var(--f-ui); color: var(--ink-2); }

/* templates and custom cards, inside the pricing section */
.lp__subhead { margin: 72px 0 28px; }
.lp__h3 { font: 700 clamp(26px, 3.4vw, 36px)/1.1 var(--f-display); letter-spacing: -.03em; margin: 8px 0 10px; }
.lp__custom { margin-top: 56px; padding: 28px; border-radius: 22px; background: var(--ios-group); }
.lp__custom .lp__lead { margin-bottom: 20px; }

/* demo cards: a horizontal carousel on phones, a grid on desktop */
.lp__demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 24px; }
.lp__demo { display: grid; gap: 12px; text-decoration: none; }
.lp__demo .ohc { transition: transform .45s cubic-bezier(.2, .9, .3, 1.3); }
.lp__demo:hover .ohc { transform: translateY(-6px) rotate(-.6deg); }
.lp__demo:active .ohc { transform: scale(.97); }
.lp__demo .eyebrow { font-size: 14px; color: var(--ink-3); }

/* ---------------------------------------------------------------- plans (iOS cards, featured plan inverted) */
.lp .plans { gap: 14px; margin-top: 8px; }
.lp .plan { border: 0; border-radius: 22px; padding: 24px; background: var(--ios-group); box-shadow: none; transition: transform .15s ease; }
.lp .plan:active { transform: scale(.985); }
.lp .plan h2 { font: 700 28px/1.1 var(--f-display); letter-spacing: -.03em; }
.lp .plan .eyebrow { font-size: 13px; color: var(--ink-3); }
.lp .plan__price b { font: 700 44px/1 var(--f-display); letter-spacing: -.04em; }
.lp .plan__list li::before { color: var(--ink); }
.lp .plan--featured { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.lp .plan--featured h2, .lp .plan--featured .plan__price b { color: #FFFFFF; }
.lp .plan--featured .eyebrow, .lp .plan--featured .muted { color: rgba(255, 255, 255, .72); }
.lp .plan--featured .plan__list li::before { color: #FFFFFF; }
.lp .plan--featured .btn--hot { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.lp .plan--featured .btn--hot:hover { background: #F2F2F7; color: var(--ink); }
.lp .plan .btn--ghost { background: #FFFFFF; }

/* ---------------------------------------------------------------- footer */
.lp .lp__footer { display: block; border-top: .5px solid var(--ios-sep); font: 400 14px/1.45 var(--f-ui); color: var(--ink-2); padding: clamp(48px, 7vw, 76px) clamp(20px, 4vw, 40px) 28px; }
.lp__footer-main, .lp__footer-bottom { width: min(1160px, 100%); margin-inline: auto; }
.lp__footer-main { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(420px, 1fr); gap: 64px; }
.lp__footer-brand .logo { height: 24px; }
.lp__footer-brand p { max-width: 29ch; margin: 18px 0 10px; font-size: 16px; color: var(--ink-2); }
.lp__footer a { color: inherit; text-decoration: none; }
.lp__footer a:hover { color: var(--ink); }
.lp__footer-email { display: inline-block; font-weight: 600; color: var(--ink) !important; }
.lp__footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp__footer-nav div { display: grid; align-content: start; gap: 11px; }
.lp__footer-nav b { margin-bottom: 4px; font-size: 13px; color: var(--ink); }
.lp__footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 56px; padding-top: 22px; border-top: .5px solid var(--ios-sep); font-size: 12px; color: var(--ink-3); }

/* ---------------------------------------------------------------- legal pages */
.lp__legal { max-width: 760px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 40px); }
.lp__legal h1 { margin: 8px 0 10px; font: 700 clamp(40px, 7vw, 72px)/1.02 var(--f-display); letter-spacing: -.045em; }
.lp__legal h2 { margin: 36px 0 8px; font: 650 22px/1.2 var(--f-display); letter-spacing: -.02em; }
.lp__legal p { margin: 0; font: 400 17px/1.65 var(--f-ui); color: var(--ink-2); }
.lp__legal .lp__legal-date { font-size: 14px; color: var(--ink-3); }
.lp__legal a { color: var(--ink); font-weight: 600; }
.lp__legal-nav { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 48px; padding: 4px; border-radius: 12px; background: var(--ios-group); }
.lp__legal-nav a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font: 600 13px/1 var(--f-ui); }
.lp__legal-nav a[aria-current="page"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.lp__legal-draft { margin: 28px 0; padding: 16px 18px; border-radius: 14px; background: #FFF4D6; color: #6B4B00; font: 400 14px/1.5 var(--f-ui); }
.lp__legal-summary { margin-top: 34px !important; padding-bottom: 30px; border-bottom: .5px solid var(--ios-sep); font-size: 20px !important; line-height: 1.5 !important; color: var(--ink) !important; }

/* ---------------------------------------------------------------- bottom action bar (phones only) */
.lp__tabbar { display: none; }

/* ---------------------------------------------------------------- intro overlay */
.lp__intro { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: #FFFFFF; cursor: pointer; animation: lpIntroOut .8s cubic-bezier(.7, 0, .2, 1) 2.1s forwards; }
.lp__intro-logo { width: min(72vw, 820px); height: auto; clip-path: inset(0 100% 0 0); animation: lpWipe 1.1s cubic-bezier(.7, 0, .2, 1) .25s forwards; }
@keyframes lpWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes lpIntroOut { to { opacity: 0; visibility: hidden; } }

/* ---------------------------------------------------------------- entrance */
.lp.is-intro .lp__reveal { opacity: 0; }
.lp.is-ready .lp__reveal { animation: lpRise 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes lpRise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.can-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.can-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- tablet navigation */
@media (max-width: 900px) {
  .lp__top nav { gap: 12px; font-size: 14px; }
  .lp__top nav > a.lp__navlink, .lp__top nav > a.lp__signin { display: none; }
  .lp__top .btn { display: none; }
  .lp .footer { padding-bottom: 120px; }
  .lp__tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--ios-glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .35), 0 0 0 .5px var(--ios-sep); }
  .lp__tabbar a:not(.btn) { min-height: 40px; padding: 0 8px; display: inline-flex; align-items: center; font: 600 13px/1 var(--f-ui); color: var(--ink); text-decoration: none; white-space: nowrap; }
  .lp__tabbar .btn { min-height: 40px; padding: 0 16px; font-size: 13px; white-space: nowrap; }
}

/* ---------------------------------------------------------------- phones: app layout */
@media (max-width: 720px) {
  .lp__media { aspect-ratio: 4 / 5; border-radius: 24px; }
  .lp__card { width: 42vw; }
  .lp__card--1 { left: 4%; top: 22%; }
  .lp__card--2 { left: 30%; top: 4%; }
  .lp__card--3 { left: 54%; top: 36%; }
  .lp__pillars { grid-template-columns: 1fr; }
  .lp__pillars li { min-height: 0; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .lp__pillars .lp__icon { grid-row: 1 / 3; margin: 0; }
  .lp__pillars b { align-self: end; }
  .lp__pillars p { align-self: start; }
  .lp__steps { grid-template-columns: repeat(2, 1fr); }
  .lp__steps li { min-height: 210px; }
  .lp__steps li:not(:last-child)::after { display: none; }
  .lp__demos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; }
  .lp__demo { flex: 0 0 78%; scroll-snap-align: start; }
  .lp__footer-main { grid-template-columns: 1fr; gap: 42px; }
  .lp__footer-nav { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .lp__footer-bottom { align-items: flex-start; flex-direction: column-reverse; margin-top: 44px; }
}

@media (max-width: 430px) {
  .lp__top { padding-inline: 14px; }
  .lp__top .lang { display: none; }
  .lp__hero { padding-inline: 16px; }
  .lp__title { font-size: clamp(40px, 13vw, 58px); }
  .lp__hero .row { width: 100%; }
  .lp__hero .row .btn { flex: 1 1 100%; }
  .lp__steps { grid-template-columns: 1fr; }
  .lp__steps li { min-height: 0; display: grid; grid-template-columns: 52px 1fr; column-gap: 15px; align-items: center; }
  .lp__steps .lp__step-no { grid-column: 1; text-align: center; margin-bottom: 5px; }
  .lp__steps .lp__icon { grid-column: 1; grid-row: 2 / 4; margin: 0; }
  .lp__steps b { grid-column: 2; grid-row: 2; }
  .lp__steps p { grid-column: 2; grid-row: 3; }
  .lp__tabbar { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); padding-left: 8px; }
  .lp__tabbar a:not(.btn) { padding-inline: 5px; font-size: 11px; }
  .lp__tabbar .btn { padding-inline: 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after, .lp__intro { animation: none !important; transition: none !important; }
  .can-reveal [data-reveal] { opacity: 1; transform: none; }
  .lp__stage::before { opacity: 1; transform: none; }
}

/* waitlist */
.lp__form { display: grid; gap: 4px; max-width: 520px; background: #FFFFFF; border-radius: 22px; padding: 22px; }
.lp__form .field { margin-bottom: 12px; }
.lp__flash { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; font: 600 15px/1.4 var(--f-ui); max-width: 520px; }
.lp__flash--ok { background: #E7F7EC; color: #14532D; }
.lp__flash--err { background: #FDECEC; color: #7F1D1D; }

/* ---------------------------------------------------------------- skeleton screen */
.sk { position: fixed; inset: 0; z-index: 50; background: #FFFFFF; padding: 0 0 40px; transition: opacity .45s ease; overflow: hidden; }
.sk.is-done { opacity: 0; pointer-events: none; }
.sk__bar { height: 56px; border-bottom: .5px solid var(--ios-sep); background: #FAFAFA; }
.sk__wrap { max-width: 1040px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 40px) 0; }
.sk__block { border-radius: 12px; background: linear-gradient(90deg, #EFEFF2 25%, #F8F8FA 37%, #EFEFF2 63%); background-size: 400% 100%; animation: skShimmer 1.4s ease infinite; }
.sk__block--eyebrow { width: 140px; height: 12px; border-radius: 6px; }
.sk__block--title { width: min(90%, 620px); height: 52px; margin-top: 18px; }
.sk__block--title.sk__block--short { width: min(60%, 400px); margin-top: 12px; }
.sk__block--line { width: min(100%, 520px); height: 16px; border-radius: 8px; margin-top: 22px; }
.sk__block--line.sk__block--short { width: min(70%, 380px); margin-top: 10px; }
.sk__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 44px; }
.sk__card { height: 220px; border-radius: 22px; }
@keyframes skShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .sk__block { animation: none; } }

/* ---------------------------------------------------------------- plans: hover, first tap selection */
.lp .plan[data-plan-card] { cursor: pointer; position: relative; outline: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background .25s ease; }
.lp .plan[data-plan-card]:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
.lp .plan[data-plan-card]:focus-visible { box-shadow: 0 0 0 3px var(--hot); }
.lp .plan.is-selected { box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -24px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.lp .plan--featured.is-selected { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--hot), 0 18px 40px -24px rgba(0, 0, 0, .35); }
.plan__check { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: grid; place-items: center; font: 700 14px/1 var(--f-ui); transform: scale(0) rotate(-40deg); transition: transform .4s cubic-bezier(.2, .9, .3, 1.4); }
.lp .plan--featured .plan__check { background: #FFFFFF; color: var(--ink); }
.lp .plan.is-selected .plan__check { transform: scale(1) rotate(0); }

/* ---------------------------------------------------------------- pricing page */
.lp__pricing { max-width: 1040px; padding-top: clamp(40px, 7vw, 80px); padding-bottom: 120px; }
.lp__pricing .lp__h2 { max-width: none; }
.lp__more-block { margin-top: 56px; }
.lp__pricing .plans { margin-top: 24px; }

/* bottom bar: "Choose a plan", then "Continue" after the first tap */
.plan-bar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 999px; max-width: calc(100vw - 32px); background: var(--ios-glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .35), 0 0 0 .5px var(--ios-sep); }
.plan-bar__hint { font: 500 14px/1.2 var(--f-ui); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-bar__btn { min-height: 44px; padding: 0 22px; font-size: 15px; transition: opacity .2s ease, background .2s ease; }
.plan-bar__btn.is-idle { background: var(--ink); opacity: .35; cursor: default; }
.plan-bar.is-pop .plan-bar__btn { animation: planPop .5s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes planPop { 0% { transform: scale(.9); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (max-width: 720px) { .plan-bar { bottom: calc(70px + env(safe-area-inset-bottom)); } .plan-bar__hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp .plan[data-plan-card], .plan__check, .plan-bar__btn, .plan-bar.is-pop .plan-bar__btn { transition: none !important; animation: none !important; } }
