/* ==========================================================================
   Home page
   ========================================================================== */

/* ---------- Light "app" surface used inside the phone and the feature previews ---------- */
.app-ui {
  --fg: #0a0a0a;
  --fg-2: rgba(10, 10, 10, .76);
  --fg-3: rgba(10, 10, 10, .62);
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .9);
  --glass-line: rgba(171, 29, 113, .14);
  --glass-hi: #fff;
  --glass-shadow: 0 14px 30px -20px rgba(171, 29, 113, .45);
  --btn-bg: var(--crimson); --btn-fg: #fff; --focus: var(--crimson);
  --line: rgba(10, 10, 10, .1);
  --soft: #f7edf1;
  --yes: #AB1D71; --maybe: #D6568F; --no: #1a1a1a; --wait: #e2d3d9;
  color: var(--fg);
  background:
    radial-gradient(18rem 14rem at 100% 0%, rgba(214, 86, 143, .3), transparent 70%),
    radial-gradient(16rem 14rem at 0% 100%, rgba(171, 29, 113, .2), transparent 70%),
    #fff;
}
.app-ui .glass { border-radius: 20px; }
.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c, var(--crimson)); color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .02em;
  border: 2px solid #fff;
}
.avatar--sm { width: 30px; height: 30px; font-size: .6875rem; }
.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -9px; }
.pill {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 .65rem;
  border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.pill--yes { background: #FBE0EA; color: #8A0C3E; }
.pill--wait { background: #ECE6E8; color: #3d3438; }
.pill--no { background: #1a1a1a; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; align-items: center; padding-bottom: 2.25rem; }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; justify-items: start; container-type: inline-size; }
.hero__title {
  font-size: clamp(2rem, .85rem + 5.2vw, 3.9rem);
  font-size: clamp(1.9rem, 8.4cqi, 3.9rem);
  line-height: 1.04;
}
.hero__title span { display: block; }
.hero__points { display: grid; grid-template-columns: minmax(0, 1fr); gap: .7rem; color: var(--fg-2); font-weight: 600; }
@media (max-width: 559px) { .hero .btn-row { width: 100%; } .hero .btn-row .btn { flex: 1 1 100%; } }
.hero__points li { display: flex; align-items: center; gap: .65rem; }
.hero__points .i { color: #fff; }

.occasions { padding-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.occasions .rail { gap: .6rem; }
.occasions .chip { cursor: default; min-height: 46px; font-size: 1rem; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; }
}

/* Segmented control */
.seg {
  display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-hi);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
}
.seg button {
  min-height: 44px; padding: 0 1.4rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg); font-weight: 700; font-size: .9375rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background-color .25s var(--ease), color .25s;
  -webkit-tap-highlight-color: transparent;
}
.seg button[aria-selected="true"] { background: var(--chip-on-bg); color: var(--chip-on-fg); }

/* Demo stage */
.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.1rem; }
.demo .hero-petals { width: 150%; max-width: none; left: 50%; right: auto; top: 52%; transform: translate(-50%, -50%); }
@media (min-width: 960px) { .demo .hero-petals { width: 860px; left: 54%; } }
.phone {
  position: relative; width: min(100%, 340px);
  padding: 10px; border-radius: 48px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .14));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 40px 80px -30px rgba(30, 0, 14, .75), inset 0 1px 0 rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
.phone__screen {
  position: relative; overflow: hidden; border-radius: 38px;
  height: 620px; display: flex; flex-direction: column;
}
.app-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 4px; font-size: .8125rem; font-weight: 800; flex: none;
}
.app-status .i { width: 1rem; height: 1rem; }
.app-status span:last-child { display: inline-flex; gap: .3rem; }
.app-view { flex: 1 1 auto; display: flex; flex-direction: column; gap: .75rem; padding: .5rem 14px 0; overflow: hidden; animation: view-in .45s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }
.app-head { display: flex; align-items: center; justify-content: space-between; padding: .35rem .2rem; }
.app-hello { font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.app-sub { font-size: .8125rem; color: var(--fg-3); }
.app-head .avatar { width: 40px; height: 40px; }

.ev-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 1rem 1.1rem;
  color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem;
  background: linear-gradient(135deg, #C23D82, #6D1248);
  box-shadow: 0 16px 30px -18px rgba(109, 18, 72, .9);
}
.ev-card--trip { background: linear-gradient(135deg, #1b0910, #6D1248 70%, #AB1D71); }
.ev-card__petals {
  position: absolute; right: -6%; bottom: -34%; width: 62%;
  --p1: rgba(255, 255, 255, .5); --p2: rgba(255, 255, 255, .3); --p3: rgba(255, 255, 255, .18);
}
.ev-card small { font-size: .8125rem; font-weight: 600; opacity: .88; }
.ev-card .ev-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.ev-card p { font-size: .875rem; font-weight: 600; }

.rsvp { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.2; transition: stroke-dasharray .9s var(--ease), stroke-dashoffset .9s var(--ease); }
.ring__num { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-content: center; text-align: center; line-height: 1.05; }
.ring__num strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.ring__num span { font-size: .6875rem; font-weight: 700; color: var(--fg-3); }
.legend { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; flex: 1; font-size: .8125rem; font-weight: 600; }
.legend li { display: flex; align-items: center; gap: .5rem; }
.legend b { margin-left: auto; font-weight: 800; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }

.fn-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.fn { display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; }
.fn__date {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px;
  background: var(--soft); color: var(--crimson-600); font-weight: 800; font-size: .75rem; line-height: 1.1; text-align: center;
}
.fn b { display: block; font-size: .9375rem; line-height: 1.25; }
.fn small { color: var(--fg-3); font-size: .8125rem; }

.app-dock {
  margin: auto 10px 10px; flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  padding: 6px; border-radius: 22px;
}
.app-dock span {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; padding: 6px 0; border-radius: 16px;
  font-size: .625rem; font-weight: 700; color: var(--fg-3);
}
.app-dock span.is-on { background: rgba(171, 29, 113, .11); color: var(--crimson); }
.app-dock .i { width: 20px; height: 20px; }

.owe { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: .85rem 1rem; }
.owe small { color: var(--fg-3); font-weight: 600; font-size: .8125rem; }
.owe strong { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--crimson); }
.owe__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.mini-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 .9rem; border-radius: 999px;
  background: var(--crimson); color: #fff; font-weight: 700; font-size: .8125rem;
}
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.mem { aspect-ratio: 1; border-radius: 16px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--m1), var(--m2)); }
.mem::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .3)); }
.mem .i { position: absolute; z-index: 1; left: 8px; bottom: 7px; width: 16px; height: 16px; color: #fff; }

/* push notification inside the phone */
.push {
  position: absolute; z-index: 5; left: 10px; right: 10px; top: 12px;
  display: flex; gap: .7rem; align-items: center; padding: .7rem .8rem; border-radius: 20px;
  color: #0a0a0a; background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 36px -14px rgba(60, 0, 28, .55), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(20px) saturate(190%); backdrop-filter: blur(20px) saturate(190%);
  transform: translateY(-140%); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
  pointer-events: none;
}
.push.is-on { transform: none; opacity: 1; }
.push img { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.push b { display: block; font-size: .8125rem; line-height: 1.2; }
.push span { display: block; font-size: .8125rem; color: rgba(10, 10, 10, .75); line-height: 1.3; }

.chip-float {
  position: absolute; z-index: 6; display: none; align-items: center; gap: .6rem;
  padding: .7rem 1rem; font-weight: 700; font-size: .9375rem; border-radius: 20px;
}
.chip-float .i { color: #fff; width: 1.3em; height: 1.3em; }
.chip-float small { display: block; font-weight: 600; opacity: .85; font-size: .8125rem; }
@media (min-width: 960px) {
  .chip-float { display: flex; }
  .chip-float--a { left: -3.5rem; bottom: 7rem; }
  .chip-float--b { right: -2.5rem; top: 10rem; }
}
.chip-float[hidden] { display: none !important; }

@media (max-width: 639px) {
  .phone { width: 100%; padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .phone__screen { border-radius: 30px; height: auto; min-height: 560px; box-shadow: 0 30px 60px -28px rgba(30, 0, 14, .7); }
}

/* ---------- Occasions + How it works ---------- */
.how__grid, .steps, .ev-grid, .faq-grid, .explorer, .explorer-wrap, .plans { grid-template-columns: minmax(0, 1fr); }
.step__body { min-width: 0; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
.how__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem; padding: 1.3rem 1.3rem 1.4rem; }
.step__n {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--crimson); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1;
  box-shadow: 0 10px 20px -10px rgba(171, 29, 113, .8);
}
.step__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; justify-items: start; }
.step__body p { color: var(--fg-2); max-width: 46ch; }
.step__vis { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.step__vis .chip { cursor: default; min-height: 34px; font-size: .875rem; background: rgba(255, 255, 255, .8); }
.bubble {
  max-width: 100%; padding: .7rem .95rem; border-radius: 18px 18px 18px 6px;
  background: #E7FFDB; color: #0b2a14; font-size: .9375rem; font-weight: 500; line-height: 1.4;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .4);
}
.bubble__link { display: flex; align-items: center; gap: .45rem; margin-top: .45rem; padding: .5rem .65rem; border-radius: 12px; background: rgba(255, 255, 255, .85); font-weight: 700; color: #075E3A; }
.photo-tiles { display: flex; gap: .45rem; flex-wrap: wrap; }
.photo-tiles .mem { width: 62px; height: 62px; aspect-ratio: auto; }

@media (min-width: 960px) {
  .how__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .how__intro { position: sticky; top: 110px; }
  .steps { gap: 1.1rem; }
}

/* ---------- Feature explorer ---------- */
.explorer-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.explorer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.ex-list { display: flex; gap: .5rem; }
.ex-tab {
  display: flex; align-items: center; gap: .85rem; text-align: left;
  min-height: 52px; padding: .6rem 1rem .6rem .8rem; border-radius: 22px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--fg);
  font-weight: 700; font-size: .9375rem; line-height: 1.25;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .15s var(--ease);
}
.ex-tab:active { transform: scale(.97); }
.ex-tab .i { width: 22px; height: 22px; flex: none; }
.ex-tab__ic {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 38px; height: 38px; border-radius: 14px; flex: none;
  background: rgba(255, 255, 255, .1);
}
.ex-tab small { display: none; font-weight: 500; font-size: .8125rem; color: var(--fg-3); }
.ex-tab[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
.ex-tab[aria-selected="true"] small { color: rgba(0, 0, 0, .7); }
.ex-tab[aria-selected="true"] .ex-tab__ic { background: var(--crimson); color: #fff; }

.ex-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem; border-radius: var(--r-xl);
  animation: view-in .45s var(--ease) both;
}
.ex-panel__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; align-content: start; }
.ex-panel__text p { color: var(--fg-2); max-width: 40ch; }
.ex-panel__ui { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.ui {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; padding: 1rem; border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 #fff;
}
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ui-title { font-weight: 800; font-size: 1.0625rem; line-height: 1.2; }
.ui-sub { font-size: .8125rem; color: var(--fg-3); font-weight: 600; }
.ui-chipbtn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 34px; padding: 0 .85rem; border-radius: 999px;
  background: var(--soft); color: var(--crimson-600); font-weight: 700; font-size: .8125rem;
}
.ui-chipbtn .i { width: 1.1em; height: 1.1em; }
.ui-row { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.ui-row:first-child { border-top: 0; }
.ui-row .grow { flex: 1; min-width: 0; }
.ui-row b { display: block; font-size: .9375rem; line-height: 1.25; }
.ui-row small { display: block; color: var(--fg-3); font-size: .8125rem; font-weight: 500; }

/* timeline */
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; padding-left: 1.6rem; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(var(--crimson) 0 5px, transparent 5px 9px); opacity: .45; }
.tl li { position: relative; }
.tl li::before { content: ""; position: absolute; left: -1.6rem; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--crimson); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--crimson); }
.tl b { display: block; font-size: .9375rem; }
.tl small { display: flex; flex-wrap: wrap; gap: .1rem 1rem; color: var(--fg-3); font-size: .8125rem; font-weight: 600; }
.tl small span { display: inline-flex; align-items: center; gap: .3rem; }
.tl small .i { width: 1em; height: 1em; }

/* co-host permissions + tasks */
.perm { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; padding: .85rem 1rem; border-radius: 20px; background: var(--soft); }
.perm__who { display: flex; align-items: center; gap: .7rem; padding-bottom: .5rem; }
.perm__who b, .perm__who small { display: block; line-height: 1.3; }
.perm__line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .9375rem; }
.app-ui .switch { background: rgba(10, 10, 10, .32); }
.app-ui .switch[aria-checked="true"] { background: var(--crimson); }
.task { position: relative; display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.task:first-of-type { border-top: 0; }
.task input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; }
.task label { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 0; cursor: pointer; min-height: 44px; }
.task__box {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; flex: none; width: 26px; height: 26px; border-radius: 9px;
  border: 2px solid rgba(10, 10, 10, .45); color: transparent; background: #fff;
  transition: background-color .2s, border-color .2s, color .2s;
}
.task__box .i { width: 16px; height: 16px; stroke-width: 3; }
.task input:checked + label .task__box { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.task input:focus-visible + label .task__box { outline: 3px solid var(--crimson); outline-offset: 2px; }
.task input:checked + label .task__name { text-decoration: line-through; color: var(--fg-3); }
.task__name { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.bar { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar > i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #E0196A, var(--crimson)); transition: width .5s var(--ease); }
.bar--ink > i { background: linear-gradient(90deg, #444, #000); }

/* budget */
.bud { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: .35rem 0; }
.bud__top { display: flex; justify-content: space-between; font-weight: 700; font-size: .9375rem; }
.bud__top span:last-child { font-variant-numeric: tabular-nums; }
.big-num { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--crimson); }

/* shagun */
.gift-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
.qr-card { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .5rem; padding: 1rem; border-radius: 20px; background: var(--soft); text-align: center; }
.qr { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 14px; }
.qr svg { width: 100%; height: 100%; shape-rendering: crispEdges; }
.qr-card b { font-size: .9375rem; }
.qr-card small { color: var(--fg-3); font-weight: 600; font-size: .8125rem; }
.gift-item .i { color: var(--crimson); }

/* story */
.story { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 86px; gap: .45rem; }
.story .mem { aspect-ratio: auto; border-radius: 18px; }
.story .mem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.story .mem:nth-child(4) { grid-column: span 2; }
.note {
  display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .9rem; border-radius: 18px;
  background: var(--soft); font-size: .9rem; font-weight: 500; line-height: 1.4;
}
.note b { display: block; font-size: .8125rem; color: var(--crimson-600); }

/* chat */
.chat { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.msg { max-width: 82%; padding: .65rem .9rem; border-radius: 18px; font-size: .9375rem; line-height: 1.4; font-weight: 500; }
.msg small { display: block; font-size: .6875rem; font-weight: 700; margin-bottom: .1rem; opacity: .75; }
.msg--in { background: var(--soft); border-bottom-left-radius: 6px; justify-self: start; }
.msg--out { background: var(--crimson); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.msg__meta { display: flex; align-items: center; justify-content: flex-end; gap: .2rem; font-size: .6875rem; font-weight: 700; margin-top: .15rem; opacity: .9; }
.msg__meta .i { width: 14px; height: 14px; stroke-width: 2.4; }
.msg__meta .i + .i { margin-left: -9px; }
.typing { display: inline-flex; gap: 4px; padding: .8rem .95rem; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--soft); justify-self: start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(10, 10, 10, .45); animation: blink 1.2s 5 ease-in-out; } /* stops after ~6s (WCAG 2.2.2) */
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* trips */
.link-row { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 16px; background: var(--soft); font-weight: 600; font-size: .9375rem; }
.link-row .i { color: var(--crimson); }
.settle { display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border-radius: 16px; background: var(--soft); font-weight: 600; font-size: .9375rem; }
.settle b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--crimson-600); }
.exp { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.exp:first-of-type { border-top: 0; }
.exp .grow { flex: 1; min-width: 0; }
.exp b { display: block; font-size: .9375rem; }
.exp small { color: var(--fg-3); font-size: .8125rem; font-weight: 500; }
.exp span:last-child { font-weight: 800; font-variant-numeric: tabular-nums; }
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.feed .mem { aspect-ratio: 4 / 5; border-radius: 20px; }
.feed .mem span { position: absolute; z-index: 1; left: 10px; bottom: 8px; color: #fff; font-weight: 700; font-size: .8125rem; display: inline-flex; align-items: center; gap: .3rem; }
.feed .mem .i { position: static; width: 15px; height: 15px; }

/* explorer layout */
@media (max-width: 899px) {
  .ex-list { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-snap-type: x proximity; }
  .ex-list::-webkit-scrollbar { display: none; }
  .ex-tab { flex: none; scroll-snap-align: start; border-radius: 999px; padding-right: 1.1rem; }
  .ex-tab__ic { width: 30px; height: 30px; border-radius: 50%; }
  .ex-tab .i { width: 18px; height: 18px; }
}
@media (min-width: 640px) { .gift-grid { grid-template-columns: 1fr auto; align-items: start; } .ex-panel { padding: 1.75rem; } }
@media (min-width: 900px) {
  .explorer { grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: 1.5rem; align-items: start; }
  .ex-list { flex-direction: column; }
  .ex-tab { padding-right: 1.1rem; }
  .ex-tab small { display: block; }
  .ex-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; padding: 2rem; min-height: 520px; }
}
.explorer[hidden] { display: none; }

/* ---------- Everywhere + plans ---------- */
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--glass-line); }
.perk:first-child { border-top: 0; padding-top: 0; }
.perk__ic {
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 48px; height: 48px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--crimson);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
.perk h3 { margin-bottom: .2rem; }
.perk p { color: var(--fg-2); max-width: 44ch; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.5rem; justify-items: start; }
.plan--hi {
  background: linear-gradient(150deg, rgba(194, 61, 130, .96), rgba(109, 18, 72, .96));
  color: #fff; --fg: #fff; --fg-2: rgba(255, 255, 255, .88); --btn-bg: #fff; --btn-fg: var(--crimson); --focus: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.plan__name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
.plan p { color: var(--fg-2); }
.plan--hi .checks .i { color: #fff; }
.plans__note { color: var(--fg-3); font-size: .9rem; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } .plans__note { grid-column: 1 / -1; } }
@media (min-width: 960px) { .ev-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } }

/* ---------- Tickets teaser ---------- */
.teaser__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
.teaser__head .section-head { margin-bottom: 0; }
.teaser .rail { gap: 1rem; padding-bottom: 1rem; }
.teaser .rail > .ecard { width: min(66vw, 250px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; align-content: start; }
.faq details { border-radius: 22px; overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: .9rem 1.25rem; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .3s var(--ease); flex: none; color: var(--crimson); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; color: var(--fg-2); max-width: 62ch; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 4rem; } .faq-grid > .section-head { position: sticky; top: 110px; align-self: start; } }

.home-posts__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.home-posts__head .section-head { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.cta-band .hero-petals { right: -10%; width: min(34rem, 100vw); opacity: .9; }
.cta-band .lede { max-width: 48ch; }
.store-btn[data-pending="true"] { cursor: default; }
/* Home "get the app" band: store buttons centred on desktop; heading + buttons centred on mobile. */
#get-app .store-row { justify-self: center; justify-content: center; }
@media (max-width: 899px) { #get-app .cta-band__inner { justify-items: center; text-align: center; } }
