/* ============================================================
   Lightman Streams - site.css
   Design tokens locked in reference/design_tokens.md.
   ============================================================ */

/* --- Self-hosted fonts --- */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter.ttf') format('truetype-variations'),
       url('/assets/fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Vermin';
  src: url('/assets/fonts/Vermin.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* --- Tokens --- */

:root {
  --bg-base:     #0A1220;
  --bg-surface:  #131C2E;
  --bg-elevated: #1B2540;
  --accent:      #1FB6FF;
  --accent-hi:   #4FC8FF;
  --accent-dim:  rgba(31, 182, 255, 0.15);
  --border:      #243049;
  --text-pri:    #E8EEF7;
  --text-mut:    #8A95AA;
  --text-dim:    #5A6478;
  --exclude:     #B45A5A;
  --exclude-hi:  #D26E6E;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;

  --content-max: 1280px;
}

/* --- Reset / base --- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-pri);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(180deg, rgba(10,18,32,0.92) 0%, rgba(10,18,32,0.97) 100%),
    url('/assets/images/swirl_background.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  overflow-x: hidden;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(31,182,255,0.06), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(31,182,255,0.04), transparent 50%);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 120ms ease;
}
a:hover, a:focus { color: var(--accent-hi); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .display {
  font-family: 'Vermin', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-pri);
  line-height: 1.1;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  position: relative;
  z-index: 1;
  .container--wide {
  max-width: 1400px;
}
}

main { min-height: 60vh; }

/* Tighter section rhythm. Was 96px; now 72px. */
section {
  padding: 48px 0;
  position: relative;
}

/* --- Section headers --- */

.section-head {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.section-title {
  font-family: 'Vermin', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 2px;
  margin-bottom: var(--sp-4);
}

.section-lead {
  font-size: 17px;
  color: var(--text-mut);
  max-width: 640px;
  margin: 0 auto;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto var(--sp-5);
  max-width: 480px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider svg {
  width: 16px;
  height: 22px;
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(31,182,255,0.6));
}

/* --- Site nav --- */

.site-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
}

.site-nav__brand {
  opacity: 1;
  visibility: visible;
  transition: opacity 250ms ease, visibility 250ms ease;
}

/* On the home page only, hide the nav wordmark at the top
   (we have the big hero wordmark instead) and fade it in on scroll. */
body.is-home .site-nav__brand {
  opacity: 0;
  visibility: hidden;
}

body.is-home.scrolled .site-nav__brand {
  opacity: 1;
  visibility: visible;
}
.site-nav__brand img { height: 32px; width: auto; }

body.scrolled .site-nav__brand {
  opacity: 1;
  visibility: visible;
}

.site-nav__links {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
  margin-left: auto;
}

.site-nav__links a {
  color: var(--text-mut);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.site-nav__links a:hover { color: var(--accent); }

/* --- Hero --- Tighter top/bottom padding */

.hero {
  text-align: center;
  padding: 90px 0 40px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(31,182,255,0.25), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.hero__wordmark {
  max-width: 100%;
  width: 720px;
  height: auto;
  margin: 0 auto var(--sp-5);
  filter: drop-shadow(0 0 30px rgba(31,182,255,0.3));
}

.hero__tagline {
  font-size: 18px;
  color: var(--text-mut);
  max-width: 600px;
  margin: 0 auto;
}

/* --- About section --- */

.about {
  padding: 40px 0 56px;
}

.about__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.about__inner p {
  color: var(--text-mut);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.about__inner p:last-child { margin-bottom: 0; }

.about__inner p:first-child {
  color: var(--text-pri);
  font-size: 17px;
}

/* --- Plan grid --- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31,182,255,0.15);
}

.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 40px rgba(31,182,255,0.2);
}

.plan-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 2px;
  z-index: 2;
}

.plan-card img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-card__desc {
  padding: 18px 20px 22px;
  flex: 1;
}

.plan-card__lead {
  color: var(--text-pri);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 var(--sp-2) 0;
}

.plan-card__tail {
  color: var(--text-mut);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* --- Where to Buy --- */

.stores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  max-width: 900px;
  margin: var(--sp-5) auto 0;
}

.store-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31,182,255,0.15);
}

.store-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.store-card h3 {
  font-family: 'Vermin', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text-pri);
  margin-bottom: var(--sp-3);
}

.store-card p {
  color: var(--text-mut);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.store-card .visit {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: auto;
}

.store-card:hover .visit { color: var(--accent-hi); }

@media (max-width: 700px) {
  .stores { grid-template-columns: 1fr; }
}

/* --- Live Radio block (matches placeholder) --- */

.live-radio {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  max-width: 640px;
  margin: var(--sp-5) auto 0;
  text-align: center;
  position: relative;
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.live-pulse::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.live-radio h3 {
  font-family: 'Vermin', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.live-radio__sub {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}

.player-frame {
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
}

.player-frame iframe {
  width: 100%;
  height: 140px;
  border: 0;
  display: block;
  background: transparent;
}

/* --- Reach Us (icon row) --- */

.reach-icons {
  display: flex;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

.reach-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  border-radius: 50%;
  transition: all 0.2s ease;
  position: relative;
}

.reach-icons a:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(31,182,255,0.35);
  transform: translateY(-2px);
}

.reach-icons svg {
  width: 32px;
  height: 32px;
  fill: var(--text-mut);
  transition: fill 0.2s ease;
}

.reach-icons a:hover svg { fill: var(--accent-hi); }

.reach-icons a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mut);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.reach-icons a:hover::after { opacity: 1; }

/* --- Footer --- */

.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  margin-top: 40px;
}

.site-footer__wordmark {
  width: 220px;
  opacity: 0.45;
  margin: 0 auto var(--sp-5);
}

.footer-nav {
  margin-bottom: var(--sp-5);
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  color: var(--text-mut);
  font-size: 13px;
  letter-spacing: 0.5px;
}

.footer-nav a:hover { color: var(--accent-hi); }

.footer-nav .sep { color: var(--text-dim); font-size: 13px; }

.site-footer p {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.cookie-notice {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: var(--sp-4);
  padding: 0 var(--sp-5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.5px;
}

.disclaimer {
  margin-top: var(--sp-4);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* --- Mobile --- */

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-5); }
  section { padding: 36px 0; }
  .hero { padding: 48px 0 24px; }
  .hero__wordmark { width: 90%; }
  .about { padding: 24px 0 32px; }
  .about__inner p:first-child { font-size: 16px; }
  .site-nav__links { gap: var(--sp-4); }
  .site-nav__links a { font-size: 11px; letter-spacing: 1px; }
  .reach-icons { gap: var(--sp-5); }
  .live-radio { padding: 24px 16px; }
}

/* --- Legal / long-form prose pages (TOS, Privacy, future docs) --- */

.legal-page {
  padding: 56px 0 80px;
}

.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.legal-page__inner h1 {
  font-family: 'Vermin', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px;
  color: var(--text-pri);
  margin-bottom: var(--sp-3);
  text-align: center;
}

.legal-page__inner h2 {
  font-family: 'Vermin', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.legal-page__inner h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-pri);
  letter-spacing: 0.5px;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}

.legal-page__inner p {
  color: var(--text-pri);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.legal-page__inner p strong {
  color: var(--text-pri);
}

.legal-page__inner ul,
.legal-page__inner ol {
  color: var(--text-pri);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-5);
}

.legal-page__inner li {
  margin-bottom: var(--sp-2);
}

.legal-page__inner li strong {
  color: var(--accent);
}

.legal-page__inner a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(31, 182, 255, 0.4);
  text-underline-offset: 3px;
}

.legal-page__inner a:hover {
  color: var(--accent-hi);
  text-decoration-color: var(--accent-hi);
}

/* Date/metadata line right under the h1 */
.legal-page__inner h1 + p {
  text-align: center;
  color: var(--text-mut);
  font-size: 14px;
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 600px) {
  .legal-page { padding: 32px 0 56px; }
  .legal-page__inner h2 { font-size: 18px; margin-top: var(--sp-6); }
  .legal-page__inner p,
  .legal-page__inner li { font-size: 14px; }
}

/* Mobile nav: swap long labels for short ones */
@media (max-width: 600px) {
  .site-nav__links { gap: var(--sp-3); }
  .site-nav__links a { font-size: 10px; letter-spacing: 0.5px; }
  .nav-long { display: none; }
}
@media (min-width: 601px) {
  .nav-short { display: none; }
}

@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; gap: 32px; }
  .plan-card { max-width: 400px; margin: 0 auto; }
  .reach-icons a { width: 60px; height: 60px; }
  .reach-icons svg { width: 28px; height: 28px; }
}

/* ============================================================
   Plan detail page (Phase 2)
   Append to site.css. All tokens already declared in :root above.
   ============================================================ */

/* --- Buttons (introduced for plan-page CTAs) --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-pri);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover, .btn:focus {
  border-color: var(--accent);
  color: var(--accent-hi);
  box-shadow: 0 0 20px rgba(31,182,255,0.2);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-hi);
}

.btn-primary:hover, .btn-primary:focus {
  background: rgba(31,182,255,0.25);
  box-shadow: 0 0 30px rgba(31,182,255,0.4);
  color: var(--accent-hi);
}

.btn-bolt {
  width: 12px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* The little "View details" link inside home-page plan cards */
.plan-card__details {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}

.plan-card:hover .plan-card__details {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent-hi);
}

/* --- Plan detail layout --- */

.plan-detail {
  padding-bottom: var(--sp-8);
}

.plan-section {
  padding: 56px 0;
}

.plan-section--prose {
  padding-top: 40px;
  padding-bottom: 40px;
}

.plan-section--cta {
  padding-top: 40px;
}

/* --- Hero --- */

.plan-hero {
  padding: 56px 0 40px;
  position: relative;
}

.plan-hero::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(31,182,255,0.18), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

.plan-hero__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--sp-8);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.plan-hero__card {
  position: relative;
}

.plan-hero__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.4), 0 0 60px rgba(31,182,255,0.15);
}

.plan-hero__body {
  text-align: left;
}

.plan-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.plan-hero__title {
  font-family: 'Vermin', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 2px;
  color: var(--text-pri);
  margin: 0 0 var(--sp-3);
  line-height: 1;
}

.plan-hero__body .divider {
  margin: var(--sp-4) 0;
  max-width: 280px;
}

.plan-hero__body .divider::before,
.plan-hero__body .divider::after {
  flex: 1;
}

.plan-hero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mut);
  margin-bottom: var(--sp-5);
  max-width: 540px;
}

.plan-hero__price {
  margin-bottom: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  display: inline-block;
}

.plan-hero__price-amount {
  font-family: 'Vermin', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--text-pri);
  line-height: 1;
}

.plan-hero__price-period {
  font-family: 'Vermin', sans-serif;
  font-size: 20px;
  color: var(--text-mut);
  margin-left: 4px;
}

.plan-hero__price-note {
  font-size: 12px;
  color: var(--text-mut);
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* CTA rows */
.plan-cta-row {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.plan-cta-row--center {
  justify-content: center;
  margin-top: var(--sp-5);
}

/* --- Prose block (the "What is" section) --- */

.plan-prose {
  max-width: 720px;
  margin: 0 auto;
}

.plan-prose h2 {
  font-family: 'Vermin', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 2px;
  color: var(--text-pri);
  margin: 0 0 var(--sp-5);
  text-align: center;
}

.plan-prose p {
  color: var(--text-pri);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}

.plan-prose p:last-child { margin-bottom: 0; }

.plan-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(31,182,255,0.4);
  text-underline-offset: 3px;
}

.plan-prose a:hover { color: var(--accent-hi); }

.plan-prose strong { color: var(--text-pri); font-weight: 600; }

/* --- Spec table --- */

.spec-table {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.spec-row:last-child { border-bottom: 0; }

.spec-row dt {
  color: var(--text-mut);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.spec-row dd {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-feature-settings: "tnum";
}

/* --- Feature list (Included) --- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-5);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-pri);
  font-size: 14px;
  line-height: 1.5;
}

.feature-list__bolt {
  width: 12px;
  height: 16px;
  fill: var(--accent);
  filter: drop-shadow(0 0 4px rgba(31,182,255,0.5));
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Exclude list (Not included) --- */

.exclude-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3) var(--sp-5);
}

.exclude-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-mut);
  font-size: 14px;
}

.exclude-list__mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--exclude-hi);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* --- Screenshot grid --- */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  max-width: 980px;
  margin: 0 auto;
}

.shot {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.shot:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.shot__link { display: block; }

.shot img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-elevated);
}

/* Placeholder appearance when an <img> fails to load */
.shot img[alt]:not([src*=".png"]):not([src*=".jpg"]):not([src*=".webp"]),
.shot img:not([src]) {
  min-height: 200px;
}

.shot figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-mut);
  border-top: 1px solid var(--border);
  text-align: center;
  line-height: 1.5;
}

/* --- Bottom CTA block --- */

.plan-bottom-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-6) var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
}

.plan-bottom-cta::before,
.plan-bottom-cta::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent);
  opacity: 0.7;
}

.plan-bottom-cta::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.plan-bottom-cta::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.plan-bottom-cta__title {
  font-family: 'Vermin', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 2px;
  color: var(--text-pri);
  margin: 0 0 var(--sp-2);
}

.plan-bottom-cta__note {
  color: var(--text-mut);
  font-size: 14px;
  margin: 0;
}

.plan-bottom-cta__back {
  margin-top: var(--sp-5);
  font-size: 13px;
  color: var(--text-mut);
}

.plan-bottom-cta__back a {
  color: var(--text-mut);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.plan-bottom-cta__back a:hover { color: var(--accent-hi); }

/* --- Responsive --- */

@media (max-width: 860px) {
  .plan-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    max-width: 480px;
  }

  .plan-hero__card {
    max-width: 280px;
    margin: 0 auto;
  }

  .plan-hero__body {
    text-align: center;
  }

  .plan-hero__body .divider {
    margin-left: auto;
    margin-right: auto;
  }

  .plan-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .plan-cta-row {
    justify-content: center;
  }

  .feature-list,
  .exclude-list {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .plan-section { padding: 36px 0; }
  .plan-hero { padding: 32px 0 24px; }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }

  .spec-row dd { text-align: left; }

  .plan-hero__price { width: 100%; text-align: left; }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================================
   Lightbox - inline image viewer for plan screenshots
   Append to site.css (or to plan-detail.css if you kept that separate).
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: rgba(5, 10, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease, visibility 0s linear 0s;
}

.lightbox__inner {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
  background: var(--bg-elevated);
  cursor: default;
}

.lightbox__caption {
  color: var(--text-pri);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  max-width: 720px;
  padding: 0 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-pri);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s ease;
}

.lightbox__close:hover,
.lightbox__close:focus {
  border-color: var(--accent);
  color: var(--accent-hi);
  background: var(--accent-dim);
}

/* Lock background scroll when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

/* Mobile: smaller padding */
@media (max-width: 600px) {
  .lightbox { padding: 20px; }
  .lightbox__img { max-height: calc(100vh - 120px); }
  .lightbox__close { top: 10px; right: 10px; }
}