/* Website layout only — colors, type, buttons, cards and the bubble come from /shared/ui.css (same as the desktop app). */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
main, .site-nav, .site-foot { position: relative; z-index: 1; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(48px, 8vw, 96px) 0 0; }
.title { font-size: clamp(28px, 4.4vw, 52px); font-weight: 900; line-height: 1.02; }
.fine { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 0; }
a { color: inherit; }

/* ============ hanglers ============ */
#site-hangler { position: fixed; right: 0; width: 380px; height: min(640px, calc(100vh - 70px)); z-index: 9; pointer-events: none; }
#site-hangler.on { pointer-events: auto; cursor: grab; }
#site-hangler.grabbing { pointer-events: auto; cursor: grabbing; }
.feat-new { font: 900 10px Unbounded, sans-serif; text-transform: uppercase; vertical-align: middle; padding: 3px 7px; border-radius: 99px; background: var(--pink); color: #fff; border: 2px solid var(--line); }
.card.hang.active { outline: 3px solid var(--lime); outline-offset: 4px; }
.star-stage.hang-stage { align-items: center; }
.star-stage.hang-stage img { width: 78%; margin-inline: 0; height: 200px; object-position: center; transform-origin: 50% 0; animation: hang-sway 2.6s ease-in-out infinite alternate; }
.card.hang .tag { position: absolute; top: -14px; right: 18px; z-index: 2; margin: 0; padding: 6px 12px; border-radius: 99px; border: 2.5px solid var(--line); background: var(--lime); color: #16112b; font: 700 11px 'Unbounded', sans-serif; transform: rotate(4deg); box-shadow: 3px 3px 0 var(--shadow); }
@keyframes hang-sway { from { rotate: -5deg; } to { rotate: 5deg; } }
.hang-note { margin-top: 16px; }
#site-drifter { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; pointer-events: none; overflow: hidden; }
#site-drifter.on { pointer-events: auto; cursor: grab; }
#site-drifter.grabbing { pointer-events: auto; cursor: grabbing; }
.star-stage.hang-stage.space { background:
  radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 40% 66%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 54%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 22% 84%, #fff 50%, transparent 51%), radial-gradient(circle at 80% 90%, #7c4dff66, transparent 55%),
  linear-gradient(160deg, #1b1240, #0b0820); }
.star-stage.hang-stage.space img { transform-origin: 50% 50%; animation: drift-float 5s ease-in-out infinite alternate; }
@keyframes drift-float { from { translate: -6px 4px; rotate: -6deg; } to { translate: 6px -6px; rotate: 6deg; } }
@media (max-width: 820px) { #site-hangler, #site-drifter { display: none; } }

/* ============ nav ============ */
.site-nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 2.5px solid var(--line);
}
.site-nav .brand { font-size: 17px; }
.site-nav .brand img { width: 30px; height: 30px; }
.links { display: flex; gap: 6px; margin-left: 12px; }
.links a {
  text-decoration: none; font: 700 13px 'Unbounded', sans-serif; padding: 8px 12px; border-radius: 99px;
  border: 2px solid transparent; transition: background 0.15s, transform 0.15s;
}
.links a:hover { background: var(--card); border-color: var(--line); transform: rotate(-2deg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#account { display: flex; align-items: center; gap: 8px; }
.me { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border: 2px solid var(--line); border-radius: 99px; background: var(--card); font: 700 12px 'Unbounded', sans-serif; }
.me img, .me .av { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); object-fit: cover; display: grid; place-items: center; background: var(--lime); color: #16112b; }
.me a { text-decoration: none; color: var(--ink-soft); padding: 4px 8px; border-radius: 99px; }
.me a:hover { background: var(--card-2); color: var(--ink); }

/* ============ hero ============ */
.hero-site {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px);
  align-items: center; padding-top: clamp(32px, 6vw, 72px);
}
.hero-site h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 900; line-height: 0.98; letter-spacing: -0.045em; margin: 18px 0 18px; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); max-width: 46ch; margin: 0; }
.lead em { font-style: normal; color: var(--ink); font-weight: 700; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.soon { background: var(--card-2); color: var(--ink-soft); opacity: 1; box-shadow: none; border-style: dashed; }
[data-theme='midnight'] .btn.soon { color: var(--ink-soft); }

/* fake desktop */
.desk { padding: 0; overflow: hidden; }
.desk-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 2.5px solid var(--line); background: var(--card); }
.desk-bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--pink); }
.desk-bar i:nth-child(2) { background: var(--yellow); }
.desk-bar i:nth-child(3) { background: var(--lime); }
.desk-bar span { margin-left: 8px; font: 700 11px 'Unbounded', sans-serif; color: var(--ink-soft); }
.desk-screen {
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, #ffffff66 0 9%, transparent 10%),
    linear-gradient(160deg, #8ec5ff, #c9b6ff 55%, #ffc2e2);
}
[data-theme='midnight'] .desk-screen { background: radial-gradient(circle at 78% 24%, #ffffff22 0 9%, transparent 10%), linear-gradient(160deg, #1d1b4b, #3b1d5e 55%, #5e1d4a); }
.desk-icons { position: absolute; top: 16px; left: 16px; display: grid; gap: 12px; }
.desk-icons b { width: 42px; height: 42px; display: grid; place-items: center; font-size: 22px; background: #ffffff55; border-radius: 12px; }
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 9%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #16112bdd; padding: 0 12px;
}
.taskbar i { width: 18px; height: 18px; border-radius: 6px; background: #ffffff33; }
.taskbar i:first-child { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.taskbar span { position: absolute; right: 14px; color: #fff; font: 700 11px 'Unbounded', sans-serif; }
.demo-actor { position: absolute; bottom: 9%; left: 0; height: 46%; will-change: transform; }
.demo-actor .mascot-box { position: relative; height: 100%; }
.demo-jailer { height: 100%; width: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(3px 5px 0 rgba(22,17,43,0.18)); display: block; }
.demo-canvas { height: 100%; width: 100%; object-fit: contain; display: block; }
.demo-bubble {
  position: absolute; width: min(64%, 300px); padding: 16px 14px 13px; border-radius: 22px;
  transform-origin: 50% 100%; animation: pop-in 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.demo-bubble[hidden] { display: none; }
.demo-bubble.out { animation: pop-out 0.25s ease-in both; }
.demo-bubble .sticker { width: 38px; height: 38px; font-size: 19px; top: -16px; left: -12px; }
.demo-bubble .q { font-size: clamp(15px, 1.8vw, 21px); margin: 2px 2px 12px; }
.demo-bubble .bts span { font-size: clamp(10px, 1vw, 12px); padding: 8px 10px; transition: transform 0.12s, box-shadow 0.12s; }
.demo-bubble .bts span.pressed { transform: translate(3px, 3px); box-shadow: 0 0 0 #16112b; }
@keyframes pop-out { to { opacity: 0; transform: scale(0.6) translateY(16px) rotate(6deg); } }

/* ============ marquee ============ */
.marquee {
  margin-top: clamp(48px, 7vw, 80px); border-block: 2.5px solid var(--line); background: var(--yellow); color: #16112b;
  overflow: hidden; transform: rotate(-1.5deg) scale(1.02); position: relative; z-index: 1;
}
.marquee .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { padding: 14px 22px; font: 900 clamp(14px, 1.6vw, 18px) 'Unbounded', sans-serif; white-space: nowrap; }
.marquee span::after { content: '✦'; margin-left: 44px; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ features ============ */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feat { transition: transform 0.18s, box-shadow 0.18s; }
.feat:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: 9px 9px 0 var(--accent); }
.feat-ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 16px; border: 2.5px solid var(--line); background: var(--accent); margin-bottom: 16px; }
.feat h3, .step h3, .buddy h3, .dl h3 { font-size: 17px; margin-bottom: 6px; }
.feat p, .step p, .buddy p, .dl p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ============ steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding-top: 26px; }
.step .num {
  position: absolute; top: -18px; left: 22px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 2.5px solid var(--line); background: var(--yellow); color: #16112b; font: 900 16px 'Unbounded', sans-serif; box-shadow: 3px 3px 0 var(--shadow);
}
.step .num.n2 { background: var(--lime); }
.step .num.n3 { background: var(--pink); color: #fff; }
.step-m { height: 170px; display: grid; justify-items: center; margin-bottom: 14px; }
.step-m .mascot-box { height: 100%; }

/* ============ buddies ============ */
.buddies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.buddy { cursor: pointer; transition: transform 0.18s; }
.buddy:hover { transform: rotate(-1deg) translateY(-3px); }
.buddy-stage {
  height: 240px; display: grid; justify-items: center; align-items: end; margin-bottom: 16px; border-radius: 18px; border: 2.5px solid var(--line);
  background: repeating-conic-gradient(var(--check-a) 0 25%, var(--check-b) 0 50%) 0 0 / 22px 22px; padding-top: 14px;
}
.buddy-stage .mascot-box { height: 205px; }
.byo { cursor: default; }
.byo-stage { place-content: center; align-items: center; gap: 6px; text-align: center; border-style: dashed; background: var(--card-2); }
.byo-stage span { font-size: 48px; }
.byo-stage b { font-family: 'Unbounded', sans-serif; }

/* star buddies (image characters) */
.buddy { position: relative; display: flex; flex-direction: column; }
.buddy .tag {
  position: absolute; top: -14px; right: 18px; z-index: 2; padding: 6px 12px; border-radius: 99px;
  border: 2.5px solid var(--line); background: var(--accent); color: #16112b; font: 700 11px 'Unbounded', sans-serif;
  transform: rotate(4deg); box-shadow: 3px 3px 0 var(--shadow);
}
.buddy-badge { align-self: flex-start; margin-top: 10px; font: 700 12px 'Unbounded', sans-serif; padding: 6px 13px; border-radius: 99px; border: 2.5px solid var(--line); }
.buddy-badge.yours { background: var(--lime); color: #16112b; }
.buddy-badge.pro { background: var(--pink); color: #fff; }
.buddy-badge.free { background: var(--card-2); color: var(--ink-soft); }
.star-stage {
  overflow: hidden; align-items: end;
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%),
              repeating-conic-gradient(var(--check-a) 0 25%, var(--check-b) 0 50%) 0 0 / 22px 22px;
}
.star-stage img {
  width: 112%; max-width: none; height: 236px; object-fit: contain; object-position: bottom; margin-inline: -6%;
  filter: drop-shadow(4px 6px 0 #16112b33); transform-origin: 50% 100%;
  animation: star-idle 2.4s ease-in-out infinite;
}
.star:hover .star-stage img { animation: star-hype 0.42s ease-in-out infinite alternate; }
@keyframes star-idle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-1.2deg); } }
@keyframes star-hype { from { transform: translateY(0) scale(1); } to { transform: translateY(-12px) scale(1.03) rotate(1.5deg); } }

/* ============ download ============ */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.dl { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-ico { width: 64px; height: 64px; display: grid; place-items: center; font-size: 32px; border-radius: 20px; border: 2.5px solid var(--line); background: var(--cyan); }
.dl.ios .dl-ico { background: var(--card-2); }
.dl-body { flex: 1; min-width: 180px; }
.dl.win { background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 30%, var(--card)), var(--card)); }
.dl.mac { background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 26%, var(--card)), var(--card)); }
.dl.ios { opacity: 0.9; }
.soon-pill { background: var(--yellow); color: #16112b; transform: rotate(-3deg); }

/* ============ footer ============ */
.site-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(56px, 8vw, 100px); padding: 26px 0 40px; border-top: 2.5px solid var(--line); color: var(--ink-soft); font-size: 13.5px;
}

/* ============ login modal ============ */
.modal-back[hidden] { display: none; }
.login-card { width: min(440px, 100%); text-align: center; display: grid; justify-items: center; gap: 12px; padding-top: 28px; }
.login-card .close { position: absolute; top: 14px; right: 14px; }
.login-card h2 { font-size: 24px; font-weight: 900; }
.login-card .sub { margin: 0 0 6px; }
.login-m { height: 140px; display: grid; justify-items: center; }
.login-m .mascot-box { height: 100%; }
.btn.google { background: #fff; color: #16112b; text-decoration: none; width: 100%; }
[data-theme='midnight'] .btn.google { color: #16112b; }
.login-card .btn.ghost { text-decoration: none; }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .hero-site { grid-template-columns: 1fr; }
  .buddies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .downloads { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .links { display: none; }
  .site-nav .brand span { font-size: 15px; }
  .me span.name { display: none; }
  .buddies { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; }
}

/* ============ pricing page ============ */
.links a.active { background: var(--yellow); color: #16112b; border-color: var(--line); }
.muted { color: var(--ink-soft); font-size: 13px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.pcard { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px 18px 22px;
  transition: transform 0.18s, box-shadow 0.18s; }
.pcard.new { box-shadow: 6px 6px 0 var(--accent); }
.pcard:hover { transform: translate(-3px, -3px) rotate(-0.6deg); box-shadow: 9px 9px 0 var(--accent); }
.pcard .ribbon { position: absolute; top: -13px; right: 16px; font: 700 10px 'Unbounded', sans-serif; padding: 5px 11px;
  background: var(--accent); color: #16112b; border: 2.5px solid var(--line); border-radius: 99px; transform: rotate(4deg); box-shadow: 3px 3px 0 var(--line); }
.pcard.owned { opacity: 0.92; }
.pprev { height: 150px; width: 100%; display: grid; place-items: end center; border-radius: 16px; border: 2.5px solid var(--line);
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 62%),
              repeating-conic-gradient(var(--check-a) 0 25%, var(--check-b) 0 50%) 0 0 / 20px 20px; overflow: hidden; }
.pprev img { width: 98%; height: 142px; object-fit: contain; object-position: bottom; filter: drop-shadow(3px 4px 0 #16112b33); }
.pprev.hang-pp { place-items: center; }
.pprev.hang-pp img { width: 80%; height: 130px; object-position: center; }
.pprev .mascot-box { position: relative; height: 130px; margin-bottom: 4px; }
.pcard h3 { font-size: 18px; }
.pcard .tag { color: var(--ink-soft); font-size: 13px; margin: 0; min-height: 34px; }
.pprice b { font: 900 26px 'Unbounded', sans-serif; letter-spacing: -0.03em; }
.pprice b.free { font-size: 18px; background: var(--lime); color: #16112b; border: 2.5px solid var(--line); border-radius: 99px; padding: 4px 14px; -webkit-text-stroke: 0; }
.owned-tag { font: 700 13px 'Unbounded', sans-serif; padding: 10px 16px; border-radius: 99px; border: 2.5px solid var(--line);
  background: var(--lime); color: #16112b; box-shadow: 3px 3px 0 var(--line); }
.slot-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.slot-count { display: flex; align-items: baseline; gap: 10px; }
.slot-count b { font: 900 clamp(36px, 6vw, 56px) 'Unbounded', sans-serif; letter-spacing: -0.04em; }
.slot-count span { font: 700 14px 'Unbounded', sans-serif; color: var(--ink-soft); }
.slot-buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.faq h3 { font-size: 15px; margin-bottom: 6px; }
.faq p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* coupon bar */
.coupon-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border: 2.5px dashed var(--line); border-radius: 16px; background: var(--card-2); }
.coupon-bar .cb-label { font: 700 13px 'Unbounded', sans-serif; }
.coupon-bar input { padding: 9px 12px; border: 2.5px solid var(--line); border-radius: 12px; background: var(--input); font: 700 13px 'Unbounded', sans-serif; text-transform: uppercase; width: 160px; }
.cb-ok { color: #00b06b; font: 700 12px 'Unbounded', sans-serif; }
[data-theme='midnight'] .cb-ok { color: var(--lime); }
.cb-bad { color: var(--pink); font: 700 12px 'Unbounded', sans-serif; }
.pprice .was { color: var(--ink-soft); font: 700 15px 'Unbounded', sans-serif; margin-right: 6px; text-decoration-thickness: 2px; }

/* sign-in modal character carousel */
.login-m { height: auto !important; display: block !important; width: 100%; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); height: 150px; }
.carousel-slide { flex: 0 0 100%; display: grid; place-items: end center; position: relative; }
.carousel-slide img { height: 144px; object-fit: contain; object-position: bottom; filter: drop-shadow(3px 4px 0 #16112b33); }
.carousel-slide .mascot-box { position: relative; height: 134px; }
.carousel-name { position: absolute; bottom: 0; font: 700 11px 'Unbounded', sans-serif; background: var(--card); border: 2px solid var(--line); border-radius: 99px; padding: 3px 11px; }
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.carousel-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--track); border: 1.5px solid var(--line); transition: background 0.3s, transform 0.3s; }
.carousel-dots i.on { background: var(--pink); transform: scale(1.25); }

/* feedback page */
.fb-wrap { max-width: 640px; margin: 0 auto; }
.fb-card { display: grid; gap: 16px; }
.fb-label { font: 700 11.5px 'Unbounded', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.fb-card textarea.input { resize: vertical; min-height: 120px; font-family: inherit; }
.fb-card .chip.on { background: var(--pink); color: #fff; }
.fb-done { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 40px 24px; }
.fb-done-emoji { font-size: 60px; animation: floaty 3s ease-in-out infinite; }
.fb-done h2 { font-size: 26px; font-weight: 900; }

/* custom-character guide */
.custom-guide { border: 2.5px dashed var(--line); border-radius: 18px; padding: 16px 18px; background: color-mix(in srgb, var(--lime) 14%, var(--card)); }
.custom-guide h3 { margin: 0 0 4px; font-size: 16px; }
.custom-guide .sub { margin: 0 0 12px; }
.angles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.angles figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.angle-img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; font-size: 30px; background: var(--card); border: 2.5px solid var(--line); border-radius: 14px; }
.angles figcaption { font: 700 11px 'Unbounded', sans-serif; }

/* image upload */
.hint-inline { font: 400 12px 'Space Grotesk', sans-serif; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; cursor: pointer;
  border: 2.5px dashed var(--line); border-radius: 18px; background: var(--card); transition: background 0.15s, box-shadow 0.15s; }
.dropzone:hover, .dropzone.over { background: color-mix(in srgb, var(--pink) 10%, var(--card)); box-shadow: 4px 4px 0 var(--shadow); }
.dz-emoji { font-size: 30px; }
.dz-text { font-weight: 700; color: var(--ink-soft); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; margin: 0; aspect-ratio: 1; border: 2.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: #16112b; font-weight: 900; line-height: 1; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 520px) { .angles { grid-template-columns: repeat(2, 1fr); } }

/* how-it-works + character images */
.step-m img { height: 170px; object-fit: contain; object-position: bottom; filter: drop-shadow(4px 5px 0 #16112b33); }

/* pricing plans (Free / Pro) */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 2.5px solid var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--shadow); padding: 28px 24px; display: flex; flex-direction: column; }
.plan.pro { box-shadow: 7px 7px 0 var(--pink); }
.plan.current { outline: 3px solid var(--lime); outline-offset: 3px; }
.plan-badge { position: absolute; top: -13px; right: 20px; font: 700 10px 'Unbounded', sans-serif; padding: 5px 11px; background: var(--pink); color: #fff; border: 2.5px solid var(--line); border-radius: 99px; transform: rotate(3deg); box-shadow: 2px 2px 0 var(--line); }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.plan-head h3 { font: 900 24px 'Unbounded', sans-serif; }
.plan-price b { font: 900 30px 'Unbounded', sans-serif; letter-spacing: -0.03em; }
.plan-price span { color: var(--ink-soft); font-size: 13px; }
.plan-price .was { color: var(--ink-soft); font: 700 18px 'Unbounded', sans-serif; margin-right: 6px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.plan-feats li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.plan-feats li.no { color: var(--ink-soft); }
.plan-feats .tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 11px 'Unbounded', sans-serif; border: 2px solid var(--line); flex: none; }
.plan-feats li.yes .tick { background: var(--lime); color: #16112b; }
.plan-feats li.no .tick { background: var(--card-2); color: var(--ink-soft); }
.plan .btn, .plan a.btn { margin-top: auto; }
.plan-cta-note { margin-top: auto; text-align: center; font: 700 13px 'Unbounded', sans-serif; color: var(--ink-soft); padding: 12px; display: grid; justify-items: center; gap: 2px; }
.first-month-note { margin: -8px 0 16px; font: 600 12.5px 'Space Grotesk', sans-serif; color: var(--ink-soft); display: grid; gap: 1px; }
.first-month-note span { font-size: 11.5px; opacity: 0.85; color: var(--ink-soft); font-weight: 600; }
.first-month-note.promo { color: var(--pink); font-weight: 700; font-size: 13px; }
.cancel-flag { font: 700 11px 'Unbounded', sans-serif; color: var(--pink); margin-top: 8px; }
.cb-label small { font-weight: 400; color: var(--ink-soft); }
.pro-tag { font: 700 13px 'Unbounded', sans-serif; padding: 10px 16px; border-radius: 99px; border: 2.5px solid var(--line); background: var(--pink); color: #fff; box-shadow: 3px 3px 0 var(--line); }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* ---------- buddy bundles (tabs) ---------- */
.bundle-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 26px; }
.btab { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border: 3px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); font: 700 15px 'Unbounded', sans-serif; cursor: pointer; box-shadow: 3px 3px 0 var(--shadow);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s; }
.btab:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow); }
.btab .be { font-size: 20px; line-height: 1; }
.btab .bc { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: var(--card-2); color: var(--ink-soft); font-size: 12px; text-align: center; }
.btab.on { background: var(--pink); border-color: var(--line); color: #fff; }
.btab.on .bc { background: #fff; color: #16112b; }
.bblurb { flex-basis: 100%; margin: 2px 0 0 6px; color: var(--ink-soft); font-size: 15px; }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(22px,4vw,48px) 0 64px; }
.legal h1 { font: 900 clamp(34px,6vw,56px) 'Unbounded', sans-serif; letter-spacing: -2px; margin: 0 0 6px; }
.legal .updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; }
.legal .lead { font-size: 17px; line-height: 1.6; }
.legal h2 { font: 700 23px 'Unbounded', sans-serif; letter-spacing: -0.5px; margin: 36px 0 10px; }
.legal h3 { font: 700 16px 'Unbounded', sans-serif; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.68; color: var(--ink); }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin: 7px 0; }
.legal a { color: var(--purple); font-weight: 700; }
.legal strong { font-weight: 700; }
.legal .note { background: var(--card); border: 2.5px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 20px 0; box-shadow: 4px 4px 0 var(--shadow); font-size: 14.5px; }
.legal table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.legal td, .legal th { border: 2px solid var(--line); padding: 9px 13px; text-align: left; font-size: 14.5px; vertical-align: top; }
.legal th { background: var(--card-2); font-family: 'Unbounded', sans-serif; font-size: 13px; }
.foot-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.foot-links a:hover { color: var(--pink); }
