/* Loungr CSS — marketing.
   Split from the former monolithic style.css; this file is canonical
   now — edit it directly. Pages load base.css first, then their
   concern files (marketing / auth / dashboard / channel-groups). */

/* ─── HOME (index) ─── */
body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 62% at 82% -12%, rgba(var(--accent-rgb), 0.20), transparent 55%),
    radial-gradient(ellipse 70% 45% at 8% 100%, rgba(255, 200, 87, 0.08), transparent 52%),
    var(--bg-base);
}

.home-shell {
  width: auto;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Top bar */
.home-top {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-top .home-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.home-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.home-nav a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.home-nav a:hover { color: var(--text-primary); }
.nav-signin {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary) !important;
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.nav-signin:hover {
  border-color: var(--accent-text);
  color: var(--text-primary) !important;
  background: rgba(var(--accent-rgb), 0.08);
}

/* Landing hero */
.landing-hero {
  text-align: center;
  padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--border);
}
.landing-eyebrow {
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 28px;
}
.landing-headline {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-wrap: balance;
  text-shadow: 0 0 120px rgba(var(--accent-rgb), 0.18);
}
.landing-headline-accent {
  color: var(--accent-text);
  font-weight: 700;
}
.landing-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}
.landing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Product showcase */
.home-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: clamp(48px, 6vw, 80px) 0 64px;
}
.product-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.showcase-panel { min-width: 0; }

.showcase-pricing {
  min-width: 0;
}
.pricing-headline {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}
.price-detail {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

/* Legacy hero classes kept for buy block */
.hero-buy {
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(var(--accent-rgb), 0.55);
}
.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
  line-height: 1;
}
.price-period {
  font-size: 16px;
  color: var(--text-muted);
}
.price-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 22px;
  max-width: 440px;
  overflow-wrap: anywhere;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--accent-glow);
}
.cta-arrow { transition: transform var(--transition); display: inline-block; }
.cta:hover .cta-arrow { transform: translateX(3px); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.secondary-link {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition);
}
.secondary-link:hover { color: var(--text-primary); }

.cta-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Product preview */
.hero-panel { min-width: 0; }
.tv-preview {
  position: relative;
  padding-bottom: 36px;
  width: 100%;
  max-width: 100%;
}
.tv-screen {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1505 / 1202;
  border: 1px solid rgba(215, 219, 226, 0.18);
  border-radius: 14px;
  background: var(--bg-raised);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.025),
    0 32px 70px -30px rgba(0, 0, 0, 0.85),
    0 0 70px rgba(var(--accent-rgb), 0.14);
  overflow: hidden;
}

.tv-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tv-base {
  width: 42%;
  height: 10px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(215, 219, 226, 0.36), transparent);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.capability-grid div {
  background: rgba(21, 22, 26, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.capability-label {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.capability-grid strong {
  display: block;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
}

/* FAQ */
.faq-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--border);
}
.faq-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
}
.faq-list {
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}
.faq-item summary:hover { color: var(--accent-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-bottom: 20px;
  max-width: 620px;
}

/* Legal pages */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 48px 64px;
}
.legal-page h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-page p,
.legal-page li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.legal-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

/* Footer */
.home-foot {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(11, 12, 16, 0.85));
}
.home-foot .home-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  font-size: 13px;
  color: var(--text-muted);
}
.foot-brand {
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', monospace;
  font-weight: 600;
  color: var(--text-secondary);
}
.foot-copy { color: var(--text-muted); }
.foot-link {
  margin-left: auto;
  color: var(--text-muted);
  transition: color var(--transition);
}
.foot-link:hover { color: var(--text-primary); }

/* ─── RESPONSIVE ─── */
@media (prefers-reduced-motion: reduce) {

  body.home .landing-hero > *,
  body.home .showcase-panel {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 768px) {

  /* Home */
  .home-shell {
    max-width: 100vw;
    padding: 0 24px;
    overflow: hidden;
  }
  .home-top .home-shell { height: 64px; }
  .home-nav {
    gap: 14px;
    flex-shrink: 0;
  }
  .home-nav a { font-size: 12px; }
  .landing-hero { padding: 48px 0 40px; }
  .landing-headline { font-size: 36px; margin-bottom: 20px; }
  .landing-sub { font-size: 16px; margin-bottom: 28px; }

  .home-main { padding: 32px 0 48px; }
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
    min-width: 0;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }
  .showcase-panel,
  .showcase-pricing,
  .price-meta {
    width: 100%;
    max-width: 100%;
  }
  .pricing-headline { font-size: 20px; }
  .price-amount { font-size: 32px; }
  .faq-section { padding: 40px 0; }
  .faq-heading { font-size: 20px; margin-bottom: 24px; }
  .legal-page { padding: 32px 24px 48px; }
  .capability-grid { grid-template-columns: 1fr; }
  .home-foot .home-shell {
    flex-wrap: wrap;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {

  body.home .home-shell {
    width: min(100%, 390px);
    margin-left: 0;
    margin-right: 0;
  }
  body.home .hero {
    width: 100%;
    max-width: 100%;
  }
  .home-nav a:last-child {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Landing v2, hero screenshot, comparison, how-it-works, pricing,    */
/* multi-column footer.                                                */
/* ------------------------------------------------------------------ */

.hero-screenshot {
  margin: clamp(40px, 6vw, 72px) auto 0;
  max-width: 1080px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(var(--accent-rgb), 0.06),
              0 0 80px -20px rgba(var(--accent-rgb), 0.18);
  animation: hero-enter 600ms ease both;
  animation-delay: 120ms;
}
.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.section-heading {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* "Both, done right" comparison */
.compare-section {
  padding: clamp(72px, 9vw, 112px) 0;
  border-top: 1px solid var(--border);
}
.compare-table {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raised);
  max-width: 880px;
}
.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
}
.compare-head {
  background: var(--bg-stripe);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.compare-col-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.compare-row {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.compare-row:last-child { border-bottom: none; }
.compare-row-self {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.10), rgba(var(--accent-rgb), 0.02));
}
.compare-row-self strong { color: var(--text-primary); }
.compare-row-label { color: var(--text-secondary); }
.compare-strong {
  text-align: center;
  font-weight: 600;
  color: var(--accent-text);
}
.compare-weak {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.compare-none {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* Bring your own / direct */
.byo-section {
  padding: clamp(72px, 9vw, 112px) 0;
  border-top: 1px solid var(--border);
}
.byo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
  list-style: none;
}
.byo-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.byo-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}
.byo-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.byo-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
@media (max-width: 768px) {

  .byo-grid { grid-template-columns: 1fr; }
}

/* How it works */
.how-section {
  padding: clamp(72px, 9vw, 112px) 0;
  border-top: 1px solid var(--border);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
  list-style: none;
}
.how-step {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.how-step:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}
.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-text);
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.how-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Pricing section (the two-tier plan grid lives in the Landing v2 block) */
.pricing-section {
  padding: clamp(72px, 9vw, 112px) 0;
  border-top: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
}
.pricing-features li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
/* Footer v2 */
.home-foot-shell {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: auto !important;
  padding-top: 32px;
  padding-bottom: 32px;
}
.foot-brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.foot-tag {
  font-size: 12px;
  color: var(--text-muted);
}
.foot-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.home-foot .foot-link {
  margin-left: 0;
}
.home-foot .foot-copy {
  text-align: right;
  font-size: 13px;
}

/* Contact page */
.contact-page { max-width: 880px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.contact-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.contact-card h2 {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px !important;
}
.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.55;
}
.contact-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-text);
  word-break: break-all;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--accent-hover); }
.contact-meta {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin: 12px 0 0 !important;
}

/* Landing v2, responsive */
@media (max-width: 880px) {

  .compare-head,
  .compare-row {
    grid-template-columns: 1.2fr 1fr 1fr;
    padding: 14px 16px;
  }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .home-foot-shell {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .foot-brand-block { align-items: center; }
  .foot-nav { flex-wrap: wrap; }
  .home-foot .foot-copy { text-align: center; }
}

/* ─── Landing v2: hero pillars, alternating feature rows, two-tier pricing ─── */
.pillars-section {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
}
.pillar h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  padding-left: 16px;
}
.pillar-mono {
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 0.9em;
  color: var(--text-muted);
}
@media (max-width: 860px) {

  .pillars { grid-template-columns: 1fr; gap: 22px; }
}

.feature-section {
  padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding: clamp(40px, 6vw, 72px) 0;
}
.feature + .feature { border-top: 1px solid var(--border); }
.feature.reverse .feature-body { order: 2; }
.feature.reverse .feature-media { order: 1; }
/* Text-only feature (no screenshot): single readable centered column. */
.feature.feature-solo {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}
.feature.feature-solo .feature-text { max-width: none; }
.feature-eyebrow {
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
}
.feature-heading {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-wrap: balance;
}
.feature-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 22px;
  max-width: 480px;
}
.feature-points {
  list-style: none;
  display: grid;
  gap: 12px;
}
.feature-points li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.feature-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.75),
              0 0 60px -28px rgba(var(--accent-rgb), 0.20);
}
.feature-media img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {

  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature-body { order: 2; }
  .feature-media { order: 1; }
  .feature-text { max-width: none; }
}

/* Pill toggle, shared by the landing pricing toggle and the dashboard
   plan/interval selectors (the latter are created in JS, so these rules
   have no matching class in any .html file). */
.plan-toggle {
  display: inline-flex;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}
.plan-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.plan-toggle-btn:hover { color: var(--text-primary); }
.plan-toggle-btn.is-active {
  background: var(--accent);
  color: #fff;
}
.plan-toggle-btn.is-active:hover { color: #fff; }
.plan-toggle-save {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(74, 222, 128, 0.18);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 999px;
}
.plan-toggle-btn.is-active .plan-toggle-save {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.pricing-title { text-align: center; }
.pricing-sub { text-align: center; margin-left: auto; margin-right: auto; }
.pricing-toggle { display: flex; width: fit-content; margin: 0 auto 32px; }
.plans.plans-single { grid-template-columns: 1fr; max-width: 460px; }
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 8px auto 0;
  align-items: stretch;
}
.plan {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(28px, 3.2vw, 40px);
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.20),
              0 26px 60px -34px rgba(0, 0, 0, 0.85),
              0 0 70px -26px var(--accent-glow);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: clamp(28px, 3.2vw, 40px);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.plan-amount {
  font-size: 46px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.plan-period { font-size: 16px; color: var(--text-muted); }
.plan-tagline {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.plan .pricing-features { margin: 0 0 28px; flex: 1; }
.plan .cta { width: 100%; justify-content: center; }
.plan-fine {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}
.plans-included {
  max-width: 540px;
  margin: 36px auto 0;
  text-align: center;
}
.plans-included-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.plans-included .pricing-features {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  text-align: left;
  margin: 0;
}
@media (max-width: 768px) {

  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plans-included .pricing-features { grid-template-columns: 1fr; }
}
