/*
 * Before I Die — Legal pages shared stylesheet
 * Used by: terms.html, privacy.html, refund.html, memory.html
 * NOTE: intentionally standalone — does NOT import styles.css (which has overflow:hidden on body)
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #050409;
  color: #f5f5f7;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

button:focus-visible,
a:focus-visible { outline: 2px solid #e5c158; outline-offset: 2px; }

/* ── Navigation ───────────────────────────────────────────── */

.l-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(5, 4, 9, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 193, 88, 0.1);
}

.l-nav-back {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6b7280;
  transition: color 0.2s;
}

.l-nav-back:hover { color: #e5c158; }

.l-nav-word {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e5c158;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.l-nav-lang {
  background: none;
  border: 1px solid rgba(229, 193, 88, 0.25);
  color: #6b7280;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.l-nav-lang:hover { border-color: #e5c158; color: #e5c158; }

/* ── Main layout ──────────────────────────────────────────── */

.l-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px 80px;
}

/* ── Hero ─────────────────────────────────────────────────── */

.l-hero {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(229, 193, 88, 0.1);
}

.l-hero-label {
  font-size: 0.62rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #4b4853;
  margin-bottom: 16px;
}

.l-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5f5f7;
  margin-bottom: 16px;
  line-height: 1.2;
}

.l-hero-sub {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 20px;
  font-style: italic;
}

.l-hero-date {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: #4b4853;
}

/* ── Content sections ─────────────────────────────────────── */

.l-section {
  margin-bottom: 48px;
}

.l-section:last-child { margin-bottom: 0; }

.l-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e5c158;
  margin-bottom: 16px;
}

.l-section p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #a1a1aa;
  margin-bottom: 12px;
}

.l-section p:last-child { margin-bottom: 0; }

.l-section ul,
.l-section ol {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #a1a1aa;
  padding-left: 20px;
  margin-bottom: 12px;
}

.l-section li { margin-bottom: 6px; }
.l-section a { color: #e5c158; }
.l-section a:hover { text-decoration: underline; }
.l-section strong { color: #f5f5f7; font-weight: 500; }
.l-section em { font-style: italic; }

/* ── Pricing page ─────────────────────────────────────────── */

.l-price-card {
  border: 1px solid rgba(229, 193, 88, 0.2);
  border-radius: 6px;
  padding: 52px 40px;
  text-align: center;
  margin: 0 0 48px;
  background: rgba(229, 193, 88, 0.02);
}

.l-price-amount {
  font-family: 'Cinzel', serif;
  font-size: 3.6rem;
  font-weight: 400;
  color: #e5c158;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

.l-price-currency {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}

.l-price-period {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4b4853;
  margin-bottom: 40px;
}

.l-benefits {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 44px;
  padding-left: 0;
}

.l-benefits li {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #a1a1aa;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.l-benefits li:last-child { border-bottom: none; }

.l-benefits li::before {
  content: '·';
  color: #e5c158;
  font-size: 1.5rem;
  line-height: 0.9;
  flex-shrink: 0;
}

.l-cta {
  display: inline-block;
  padding: 15px 44px;
  background: #e5c158;
  color: #050409;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.l-cta:hover {
  background: #f0d06a;
  box-shadow: 0 4px 24px rgba(229, 193, 88, 0.25);
  text-decoration: none;
}

.l-callout {
  border: 1px solid rgba(229, 193, 88, 0.15);
  border-radius: 6px;
  padding: 28px 32px;
  background: rgba(229, 193, 88, 0.03);
  margin-bottom: 48px;
}

.l-callout-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e5c158;
  margin-bottom: 12px;
}

.l-callout p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #8a8895;
}

/* ── Footer ───────────────────────────────────────────────── */

.l-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 40px 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.l-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 16px;
}

.l-footer-links a {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4b4853;
  transition: color 0.2s;
}

.l-footer-links a:hover { color: #6b7280; }
.l-footer-links a.active { color: #6b7280; pointer-events: none; }

.l-footer-sep { color: #2e2c35; font-size: 0.68rem; }

.l-footer-tag {
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: #2e2c35;
  line-height: 1.6;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .l-nav { padding: 0 20px; }
  .l-nav-word { display: none; }
  .l-main { padding: 48px 24px 64px; }
  .l-hero-title { font-size: 1.6rem; }
  .l-price-card { padding: 40px 20px; }
  .l-price-amount { font-size: 2.8rem; }
  .l-callout { padding: 24px 20px; }
  .l-footer { padding: 28px 24px 48px; }
}
