:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-accent: #edf4ff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-solid: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: rgba(23, 32, 51, 0.10);
  --accent: #4775e6;
  --accent-soft: rgba(71, 117, 230, 0.12);
  --shadow: 0 24px 80px rgba(44, 62, 100, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(151, 184, 255, 0.26), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(195, 225, 255, 0.28), transparent 32%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-accent) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.24) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 85%);
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.suspension-shell,
.terms-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.suspension-page {
  display: grid;
  grid-template-rows: 1fr auto;
}

.suspension-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 40px 24px;
}

.suspension-card {
  width: min(980px, 100%);
  padding: clamp(36px, 6vw, 80px);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-soft);
  animation: pulse 2.8s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.suspension-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.supporting-text {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: center;
  min-height: 72px;
  padding: 20px 24px 28px;
  font-size: 12px;
}

.site-footer a,
.back-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--accent);
}

.terms-page {
  padding: 0;
}

.terms-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.terms-card {
  padding: clamp(28px, 6vw, 72px);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 600;
}

.terms-header {
  padding-bottom: 34px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.terms-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.terms-intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.terms-card section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.terms-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.terms-card p {
  margin: 0 0 14px;
  color: #475467;
  font-size: 15px;
  line-height: 1.85;
}

.terms-card p:last-child {
  margin-bottom: 0;
}

.legal-note {
  margin-top: 32px;
  padding: 20px 22px;
  color: #475467;
  font-size: 13px;
  line-height: 1.7;
  background: var(--accent-soft);
  border: 1px solid rgba(71,117,230,0.12);
  border-radius: var(--radius-md);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.72; }
}

@media (max-width: 640px) {
  .suspension-shell {
    min-height: calc(100vh - 60px);
    padding: 20px 16px;
  }

  .suspension-card {
    padding: 36px 22px;
    border-radius: 22px;
  }

  .site-footer {
    min-height: 60px;
    padding: 16px 16px 20px;
  }

  .terms-shell {
    width: min(100% - 20px, 1040px);
    padding: 10px 0 28px;
  }

  .terms-card {
    border-radius: 20px;
  }

  .back-link {
    margin-bottom: 28px;
  }

  .terms-intro {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
