/* ============================================================
   Deengle marketing site — "Quiet Confidence".
   Light, typography-led, hairline-ruled. No fades, no gradients
   in the chrome; colour belongs to the product cards alone.
   Shared with the legal pages (.legal, .site-foot).
   ============================================================ */

/* ---------------- Nav ---------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.site-nav .brand-mark { height: 32px; width: 32px; }
.site-nav .brand-name { font-weight: 800; font-size: 1.14rem; letter-spacing: -0.02em; color: var(--ink); }
.site-nav a.navlink { color: var(--ink-2); font-weight: 600; font-size: 0.92rem; }
.site-nav a.navlink:hover { color: var(--ink); text-decoration: none; }
/* Desktop: the wrapper is layout-transparent so the links keep sitting in
   the nav's own flex row. Mobile: it becomes a dropdown panel under the bar. */
.nav-links { display: contents; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 9px;
  width: 38px;
  height: 38px;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.nav-toggle svg { display: block; }
.nav-toggle .nt-x { display: none; }
.site-nav.menu-open .nav-toggle .nt-bars { display: none; }
.site-nav.menu-open .nav-toggle .nt-x { display: block; }
@media (max-width: 720px) {
  .nav-toggle { display: grid; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 14px;
  }
  .site-nav.menu-open .nav-links { display: grid; gap: 2px; }
  .nav-links .navlink { display: block; padding: 11px 8px; font-size: 1rem; border-top: 1px solid var(--line); }
  .nav-links .navlink:first-child { border-top: 0; }
}

/* ---------------- Shared type ---------------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.sect-head { max-width: 640px; margin-bottom: 48px; }
.sect-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; }
.sect-sub { color: var(--muted); max-width: 52ch; margin-top: 12px; }

.textlink {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  align-self: center;
}
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Reveal system ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
              transform 650ms cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Hero ----------------
   Flat near-black with the Deengle signature: a faint grid of stamp dots —
   the product's own motif as texture. Hard hairline edges, no fades.       */
.hero {
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    #0A0A0C;
  color: #fff;
  padding: 84px 28px 96px;
}
.hero .eyebrow { color: #8E8E97; }
.hero h1 { color: #FFFFFF; }
.hero .lede { color: #A6A6B0; }
.hero .textlink { color: #FFFFFF; }
.hero-points { color: #8E8E97; }
.hero .hero-points li::before { background: #FFFFFF; }
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero { padding: 48px 22px 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 18px;
}
.hero .lede { font-size: 1.12rem; max-width: 44ch; }
.hero-ctas { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.hero-points {
  list-style: none;
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  padding: 0;
  margin: 22px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.5;
}

/* White-on-dark button (final CTA band) */
.btn-inverse { background: #FFFFFF; color: var(--ink); }
.btn-inverse:hover { background: #E9E9EC; }

/* ---------------- Hero card stage ---------------- */
.hero-stage { position: relative; perspective: 1200px; padding: 26px 0 34px; }
.stack {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.stack .dg-card { box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6); }
.stack .front { position: relative; z-index: 3; }
.stack .back {
  position: absolute; inset: 0; z-index: 1;
  animation: floaty 7s ease-in-out infinite alternate;
}
.stack .back-1 { transform: translate(8%, -10%) rotate(5deg) scale(0.94); opacity: 0.9; z-index: 2; }
.stack .back-2 { transform: translate(-9%, 8%) rotate(-6deg) scale(0.9); opacity: 0.75; animation-delay: -3s; }
@keyframes floaty { from { margin-top: 0; } to { margin-top: -10px; } }

.dg-stamp.filled.pop { animation: stampPop 420ms cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes stampPop { 0% { transform: scale(0.2); } 65% { transform: scale(1.25); } 100% { transform: scale(1); } }
#demoCard.celebrate { animation: cardBounce 700ms cubic-bezier(0.2, 1.4, 0.4, 1); }
@keyframes cardBounce { 0% { transform: scale(1); } 35% { transform: scale(1.045); } 100% { transform: scale(1); } }

.hero-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 10, 11, 0.12);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 15px;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
}
.hero-chip.show { opacity: 1; transform: translateY(0) scale(1); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip-dot.ok { background: #16A34A; }
.chip-dot.amber { background: var(--amber-500); }
.chip-code { top: -6%; right: 2%; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 12px 12px 10px; }
.chip-code .chip-qr { display: block; width: 60px; height: 60px; }
.chip-code .chip-label { font-size: 0.66rem; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.chip-tick { bottom: 4%; left: -2%; }
.chip-reward { top: 40%; right: -4%; }
@media (max-width: 880px) {
  .chip-code { right: 0; }
  .chip-tick { left: 0; }
  .chip-reward { right: 0; }
}

/* ---------------- Bands ---------------- */
.band { padding: 88px 0; background: var(--surface); }
.band-rule { border-top: 1px solid var(--line); }
.band-tint { background: var(--paper); }

/* ---------------- The life of a card ----------------
   No scroll pinning: the sequence plays itself when the section enters
   view, then loops — the page always scrolls like a page.               */
.story { background: var(--surface); padding: 96px 0; }
.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 820px) {
  .story { padding: 66px 0; }
  .story-inner { grid-template-columns: 1fr; gap: 34px; }
}

.beat {
  display: flex;
  gap: 16px;
  opacity: 0.22;
  transform: translateY(4px);
  transition: opacity 280ms ease, transform 280ms ease;
  margin-bottom: 30px;
  max-width: 44ch;
}
.beat.active { opacity: 1; transform: none; }
.beat-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
  flex: none;
}
.beat h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); letter-spacing: -0.02em; margin-bottom: 4px; }
.beat p { color: var(--muted); margin: 0; font-size: 0.96rem; }
@media (max-width: 820px) {
  .beat { margin-bottom: 14px; }
}

.story-stage { position: relative; perspective: 1400px; max-width: 410px; margin: 0 auto; width: 100%; }
.story-glow {
  position: absolute;
  inset: -22%;
  background: radial-gradient(circle, rgba(252, 185, 15, 0.35), transparent 62%);
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
  transition: opacity 700ms ease;
}
.story-stage.flipped .story-glow { opacity: 0.9; }
.story-flip {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.45, 0, 0.2, 1);
}
.story-stage.flipped .story-flip { transform: rotateY(180deg); }
.story-flip .dg-card { box-shadow: 0 24px 60px rgba(10, 10, 11, 0.25); }
.story-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.story-front { transform: rotateY(0deg); }
.story-back { position: absolute; inset: 0; transform: rotateY(180deg); }

.story-front .dg-card { position: relative; }
.story-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 22px;
  background: linear-gradient(135deg, #052E16 0%, #0A7D4B 55%, #052E16 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease;
}
.story-wash.washed { opacity: 1; }
.story-front .dg-card-inner { z-index: 2; }

.reward-face { background: linear-gradient(135deg, #241A02 0%, #C28E06 55%, #241A02 100%) !important; }
.reward-inner {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2cqw;
}
.reward-emoji { font-size: 15cqw; }
.reward-title { font-size: 7cqw; font-weight: 800; letter-spacing: -0.02em; }
.reward-sub { font-size: 3.8cqw; opacity: 0.85; max-width: 80%; }

/* ---------------- How: real product moments ---------------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

.how-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin: 18px 0 6px;
}
.step-no {
  width: 24px; height: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex: none;
}
.how-col p { color: var(--muted); font-size: 0.94rem; margin: 0; }

.how-ui {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 300px;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.mini-editor { width: 100%; max-width: 250px; display: grid; gap: 14px; }
.mini-swatches { display: flex; gap: 8px; justify-content: center; }
.mini-swatches i {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: default;
}
.mini-swatches i.active { border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.mini-editor .dg-card { box-shadow: 0 12px 30px rgba(10, 10, 11, 0.18); }

.mini-poster {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(10, 10, 11, 0.1);
  padding: 20px 26px;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.mp-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.mp-qr svg { width: 120px; height: 120px; display: block; }
.mp-cta { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; }

.mini-checkin {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(10, 10, 11, 0.1);
  padding: 22px 24px;
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 270px;
}
.mc-title { font-weight: 800; font-size: 0.95rem; }
.mc-code { display: flex; gap: 6px; }
.mc-code i {
  flex: 1;
  aspect-ratio: 0.82;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 1.05rem;
}
.mc-result {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 0.88rem;
}
.mc-sub { color: var(--muted); font-weight: 500; }

/* ---------------- Card wall ---------------- */
.card-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .card-wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .card-wall { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }
.card-wall .dg-card {
  box-shadow: 0 14px 34px rgba(10, 10, 11, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.card-wall .dg-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(10, 10, 11, 0.22); }

/* ---------------- Numbers + feature index ---------------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 56px;
}
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
/* The whole figure line (number + unit) is the big element. */
.num b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.05; }
.num b .count { font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
/* Only the caption underneath is small/muted — target the direct child so it
   never leaks onto the .count number nested inside <b>. */
.num > span { display: block; margin-top: 8px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }

.feature-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
@media (max-width: 760px) { .feature-index { grid-template-columns: 1fr; } }
.fi-row {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.f-icon { width: 22px; height: 22px; color: var(--ink); flex: none; margin-top: 2px; }
.fi-row h3 { font-size: 1rem; margin-bottom: 4px; }
.fi-row p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------------- Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; gap: 30px; } }
.pricing-grid .sect-head { margin-bottom: 0; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
}
.price-top { display: flex; align-items: center; justify-content: space-between; }
.price-card .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amount small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.price-card li { padding-left: 26px; position: relative; font-size: 0.94rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--ink); font-weight: 800; }

/* ---------------- Founder note (credibility, no fake reviews) ---------------- */
.founder-note { max-width: 620px; margin: 0 auto; text-align: center; }
.founder-note h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.14; margin-bottom: 14px; }
.founder-note p:not(.eyebrow) { color: var(--muted); font-size: 0.98rem; }

/* ---------------- Pricing trust lines ---------------- */
.trial-note {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 22px auto 6px;
}
.trust-strip {
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  margin: 18px auto 0;
}
.cta-trial { color: #9C9CA6; font-size: 0.88rem; font-weight: 600; margin: 16px auto 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
  text-align: center;
  padding: 92px 24px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.05) 1.4px, transparent 1.6px) 0 0 / 26px 26px,
    #0A0A0C;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-band p { color: #9C9CA6; max-width: 46ch; margin: 0 auto 26px; }

/* ---------------- Footer ---------------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 52px 0 0; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding-bottom: 40px;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.foot-brand .brand-mark { height: 30px; width: 30px; }
.foot-brand .brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); }
.foot-tag { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.foot-head {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.foot-col a { display: block; color: var(--ink-2); font-size: 0.92rem; font-weight: 500; padding: 5px 0; }
.foot-col a:hover { color: var(--ink); text-decoration: none; }
.foot-base {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  padding-bottom: 26px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------------- Scroll progress stamps ---------------- */
.scroll-stamps {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  z-index: 60;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.scroll-stamps.visible { opacity: 1; }
.scroll-stamps i {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: background 220ms ease, border-color 220ms ease;
}
.scroll-stamps i.filled { background: var(--ink); border-color: var(--ink); }
@media (max-width: 680px) { .scroll-stamps { display: none; } }

/* ---------------- Legal pages ---------------- */
.legal { max-width: 760px; margin: 0 auto; padding: 30px 20px 80px; }
.legal h1 { font-size: 2rem; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin-top: 34px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stack .back { animation: none !important; }
  .scroll-stamps { display: none; }
  .story-flip, .story-wash, .story-glow { transition: none !important; }
  .beat { opacity: 1; transform: none; }
}

/* Card page — store details */
.v-info { display: grid; gap: 8px; }
.v-hours { border: 1px solid var(--hairline, #E4E4E7); border-radius: 12px; padding: 10px 14px; margin-bottom: 4px; }
.v-hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; color: #4A4D5A; }
.v-hours-row.today { font-weight: 700; color: #0A0A0C; }
.v-info-row { display: block; font-size: 14px; padding: 10px 14px; border: 1px solid var(--hairline, #E4E4E7); border-radius: 12px; color: inherit; text-decoration: none; }
.v-info-row:hover { background: #FAFAFB; }

/* App promo */
.v-promo-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--hairline, #E4E4E7); border-radius: 14px; }
.v-promo-card strong { font-size: 14.5px; }
.v-promo-card p { margin: 2px 0 0; font-size: 13px; }
.v-promo-card .btn { margin-left: auto; flex-shrink: 0; }
.app-strip { border-top: 1px solid var(--hairline, #E4E4E7); background: #FAFAFB; }
.app-strip-inner { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.app-strip p { margin: 0; font-size: 14px; color: #4A4D5A; }


/* Shared with dashboard.css — keep in sync */
/* ---- Plans & billing (v29) ------------------------------------------ */
.plans-panel { margin-bottom: 18px; }
.plans-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cycle-toggle { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; flex: none; }
.cycle-btn { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.cycle-btn.active { background: var(--ink); color: #fff; }
.save-tag { font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--amber-500); color: #1D1D1F; }
.cycle-btn.active .save-tag { background: var(--amber-500); color: #1D1D1F; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 18px; background: var(--surface); display: flex; flex-direction: column; }
.plan-card.plan-popular { border: 2px solid var(--amber-500); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.plan-card.plan-current { border-color: var(--ink); }
.plan-flag { position: absolute; top: -12px; left: 20px; background: var(--amber-500); color: #1D1D1F; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan-card h4 { font-size: 1.25rem; margin: 0 0 4px; }
.plan-tagline { color: var(--muted); font-size: 0.9rem; min-height: 2.6em; margin: 0 0 12px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-per { color: var(--muted); font-weight: 600; }
.plan-billed { color: var(--muted); font-size: 0.85rem; margin: 2px 0 14px; }
.plan-billed s { opacity: 0.6; margin-left: 6px; }
.plan-features { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 0; }
.plan-features li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.88rem; }
.plan-features li i { font-style: normal; font-weight: 800; color: var(--ink); flex: none; }
.plan-features li b { font-weight: 700; text-align: right; flex: none; max-width: 55%; }
.plan-features li.off { color: var(--muted); }
.plan-features li.off i { color: #E5484D; font-weight: 700; }
.plan-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 0.9rem; font-weight: 600; }
.plan-bar-warn { background: #FFF4E5; color: #7A4B00; }
.cycle-btn.active .save-tag { background: var(--amber-500); color: #1D1D1F; }
.cycle-toggle.center { margin: 0 auto 26px; display: flex; width: max-content; }
.plan-save-hint { color: var(--ink); font-weight: 600; }

.feat-new { background: #F2B705; color: #0d0d12; font-style: normal; font-weight: 800; font-size: 10px; border-radius: 6px; padding: 2px 6px; margin-left: 6px; letter-spacing: .4px; white-space: nowrap; }
