:root {
  /* Dreamy Dark — default app palette (lib/core/theme/app_themes.dart) */
  --bg: #0f1021;
  --bg-deep: #060814;
  --text: #e8e8ff;
  --text-bright: #ffffff;
  --muted: #a0a4d0;
  --accent: #5d5fef;
  --accent-hover: #4a4ccc;
  --accent-soft: #a5a6f6;
  --border: #3a3d6e;
  --outline: #6567a8;
  --soft: #151835;
  --surface: #1a1e42;
  --surface-high: #22264e;
  --surface-bright: #262a52;
  --tertiary: #ffc107;
  --radius: 24px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 48px rgba(6, 8, 20, 0.55);
  --max: 42rem;
  --max-legal: 40rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(93, 95, 239, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(165, 166, 246, 0.08), transparent 45%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: var(--text-bright);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem) 3rem;
}

main {
  width: 100%;
  max-width: var(--max);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(3rem, 8vw, 4.5rem);
}

.legal-main {
  max-width: var(--max-legal);
  align-items: stretch;
  text-align: left;
  gap: 0;
}

.site-nav {
  width: 100%;
  max-width: var(--max-legal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.brand {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text-bright);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-soft);
}

.eyebrow {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--text-bright);
}

h1 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--text-bright);
}

.legal-main h1 {
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.legal-main section {
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

h2 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-bright);
}

.legal-main h2 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.section-sub {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.legal-main ul {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
}

.legal-main li {
  margin-bottom: 0.45rem;
}

.legal-main strong {
  color: var(--text);
  font-weight: 600;
}

.card {
  background: var(--surface-high);
  border: 1px solid rgba(58, 61, 110, 0.55);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin-top: 0.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 22rem;
  background: var(--surface-high);
  border: 1px solid rgba(58, 61, 110, 0.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.icon-wrap {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(93, 95, 239, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(93, 95, 239, 0.35);
}

.icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.product-name {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
  color: var(--text-bright);
}

.product-tag {
  margin: -0.35rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.stores a {
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  position: relative;
}

.stores a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.stores a:hover {
  color: var(--text-bright);
}

.stores a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  background: var(--text-bright);
}

.cta-block h2 {
  font-size: 1.25rem;
}

.cta-sub {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--dark {
  background: var(--surface-bright);
  color: var(--text-bright);
  border: 1px solid rgba(58, 61, 110, 0.55);
}

.btn--dark:hover {
  background: var(--surface-high);
  box-shadow: 0 8px 24px rgba(6, 8, 20, 0.4);
  color: var(--text-bright);
}

.btn--accent {
  background: var(--accent);
  color: #ffffff;
}

.btn--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(93, 95, 239, 0.45);
  color: #ffffff;
}

footer {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.8125rem;
  color: var(--outline);
  text-align: center;
}

.legal-footer {
  width: 100%;
  max-width: var(--max-legal);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.legal-footer a {
  font-size: 0.8125rem;
  color: var(--outline);
  font-weight: 500;
}

.legal-footer a:hover {
  color: var(--accent-soft);
}
