/* =============================================================
   STATIC PAGES — Privacy, Terms, Support (index / plans aesthetic)
   ============================================================= */

.page-static {
  background: var(--color-bg);
}

.page-static .ambient {
  display: block !important;
  z-index: 0;
}

.page-static .ambient__orb {
  filter: blur(120px);
  opacity: 0.22;
  animation: none;
}

.page-static .ambient__orb--1 {
  width: min(620px, 100vw);
  height: min(620px, 100vw);
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(70, 150, 210, 0.12) 0%,
    rgba(50, 120, 180, 0.05) 30%,
    transparent 70%
  );
}

.page-static .ambient__orb--2 {
  width: min(480px, 80vw);
  height: min(480px, 80vw);
  bottom: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(45, 110, 170, 0.07) 0%, transparent 68%);
}

.page-static .ambient__orb--3 {
  display: none;
}

.static-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.static-backdrop__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(100, 210, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(80, 140, 220, 0.05), transparent 50%);
}

.static-backdrop__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

.static-backdrop__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.static-page {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 5rem);
}

/* Hero — matches plans-hero typography */
.static-hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.static-hero__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-shadow: 0 1px 14px rgba(100, 210, 255, 0.35);
}

.static-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
  background: linear-gradient(180deg, var(--color-text) 0%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.static-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.55;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
  max-width: 34rem;
}

.static-hero__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.static-hero__contact {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.static-hero__contact a {
  color: var(--color-accent);
  text-decoration: none;
}

.static-hero__contact a:hover {
  text-decoration: underline;
}

/* Content card */
.static-card {
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.35rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.28);
}

.static-card__section + .static-card__section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.static-card__section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.static-card__section p,
.static-card__section li {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  letter-spacing: -0.005em;
}

.static-card__section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.static-card__section li {
  margin-bottom: 0.45rem;
}

.static-card__section li:last-child {
  margin-bottom: 0;
}

.static-card__section a {
  color: var(--color-accent);
}

/* FAQ — support */
.static-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.static-faq__item {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.static-faq__item[open] {
  border-color: rgba(100, 210, 255, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.static-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  color: var(--color-text);
}

.static-faq__item summary::-webkit-details-marker {
  display: none;
}

.static-faq__item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 220ms ease;
}

.static-faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.static-faq__item p {
  margin: 0;
  padding: 0 1.35rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Footer actions */
.static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.static-actions .glass-pill {
  min-height: 44px;
  padding-inline: 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Reveal */
.page-static .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-static .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-static .reveal-delay-1 { transition-delay: 80ms; }
.page-static .reveal-delay-2 { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .page-static .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html[data-theme="light"] .static-hero__title {
  background: linear-gradient(180deg, #0a0a12 0%, rgba(10, 10, 18, 0.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="light"] .static-card,
html[data-theme="light"] .static-faq__item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .static-card__section + .static-card__section {
  border-top-color: rgba(0, 0, 0, 0.06);
}
