/* Mqias One: one dark page with green light in the corners and a glass orb. */
:root {
  color-scheme: dark;
  --bg: #030806;
  --text: #F2F5F3;
  --muted: #8A958F;
  --accent: #3BE39B;
  --logo-tone: #1C5E43;
  --tile: rgba(255, 255, 255, 0.05);
  --edge: rgba(255, 255, 255, 0.08);
  --sep: rgba(255, 255, 255, 0.09);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(44rem 34rem at -8% -10%, rgba(46, 216, 142, 0.30), transparent 68%),
    radial-gradient(36rem 28rem at 110% 0%, rgba(163, 230, 53, 0.10), transparent 70%),
    radial-gradient(64rem 32rem at 50% 118%, rgba(46, 216, 142, 0.12), transparent 70%);
}
/* Faint grid that fades out toward the edges: the futuristic layer */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }

.glass {
  background: var(--tile);
  box-shadow: inset 0 0 0 1px var(--edge);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
}

/* ---------- Header ---------- */
.site-header { padding-top: env(safe-area-inset-top); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 1.75rem; height: 1.75rem; display: block; }
.brand b { font-weight: 600; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px;
  font-weight: 500; font-size: 0.9375rem; white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: #FFFFFF; color: #050A08; min-height: 3.25rem; padding: 0 1.75rem; font-size: 1rem; }
.btn-primary:hover { background: #E6FFF2; }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Hero: the one fold ---------- */
main { flex: 1; display: grid; align-items: center; }
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(1rem, 3svh, 2.5rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.4rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem; border-radius: 999px;
  font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.01em;
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 {
  margin: 0; font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 650;
  text-wrap: balance;
}
.grad {
  background: linear-gradient(100deg, #3BE39B 0%, #C4F56A 55%, #9BF8E6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 1.4rem 0 2rem; max-width: 34rem; color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.stores { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--muted); }
.stores li { display: inline-flex; align-items: center; gap: 0.45rem; }
.stores svg { width: 1rem; height: 1rem; color: var(--accent); }

/* ---------- The orb ---------- */
.visual { display: grid; place-items: center; }
.orb {
  --size: clamp(15rem, min(36vw, 58svh), 30rem);
  position: relative; width: var(--size); aspect-ratio: 1; border-radius: 50%;
  container-type: inline-size; isolation: isolate;
}
.orb-core {
  position: absolute; inset: 0; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 46%, #07130E 0%, #030806 62%, #020504 100%);
  box-shadow: inset 0 0 0 1px rgba(110, 230, 170, 0.16);
  display: grid; place-content: center; justify-items: center; text-align: center;
}
.orb-halo {
  position: absolute; inset: -10%; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(59, 227, 155, 0.16) 52%, transparent 70%);
  filter: blur(22px);
}
.orb-ring, .orb-edge {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1; pointer-events: none;
  animation: orb-sway 14s ease-in-out infinite alternate;
}
.orb-ring {
  background: conic-gradient(from 0deg,
    rgba(190, 248, 120, 1) -6deg, rgba(150, 236, 110, 0.85) 22deg, rgba(90, 210, 120, 0.25) 50deg,
    rgba(120, 228, 110, 0.6) 66deg, rgba(185, 248, 105, 1) 86deg, rgba(150, 236, 110, 0.75) 104deg,
    rgba(70, 190, 115, 0.18) 140deg, rgba(40, 150, 100, 0.08) 180deg,
    rgba(110, 220, 190, 0.45) 205deg, rgba(205, 255, 248, 1) 224deg, rgba(90, 210, 160, 0.4) 244deg,
    rgba(30, 140, 90, 0.1) 286deg, rgba(90, 205, 120, 0.4) 326deg, rgba(190, 248, 120, 1) 354deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 83%, rgba(0, 0, 0, 0.4) 91%, #000 96.5%, #000 99%, transparent 100%);
  mask: radial-gradient(farthest-side, transparent 83%, rgba(0, 0, 0, 0.4) 91%, #000 96.5%, #000 99%, transparent 100%);
  filter: blur(0.8cqi) saturate(1.15);
}
.orb-edge {
  background:
    radial-gradient(ellipse 34% 9% at 57% 3.5%, rgba(200, 248, 160, 0.5), transparent 72%),
    radial-gradient(ellipse 17% 8% at 19% 88%, rgba(210, 255, 250, 0.45), transparent 72%);
  box-shadow: inset 0 0 0 1px rgba(150, 240, 170, 0.22), 0 0 70px -14px rgba(59, 227, 155, 0.35);
}
@keyframes orb-sway { from { transform: rotate(-7deg); } to { transform: rotate(9deg); } }
.orb-one {
  position: relative; z-index: 2; font-size: 46cqi; line-height: 1; font-weight: 200; letter-spacing: -0.05em;
  background: linear-gradient(160deg, #F2F5F3 20%, #9BF8E6 60%, #3BE39B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-inline-start: -3cqi;
}
.orb-label { position: relative; z-index: 2; margin-top: 1cqi; font-size: max(0.6875rem, 3.6cqi); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: env(safe-area-inset-bottom); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-block: 1.25rem 1.5rem; border-top: 1px solid var(--sep); font-size: 0.8125rem; color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Text pages (privacy, 404) ---------- */
.doc { width: min(100% - 2.5rem, 42rem); margin: 1.5rem auto 4rem; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; letter-spacing: -0.01em; }
.doc p, .doc li { color: #C9D2CD; }
.doc ul { padding-inline-start: 1.25rem; }
.doc .meta { color: var(--muted); font-size: 0.9375rem; margin: 0 0 2rem; }
.page-doc main { display: block; }
.center { text-align: center; }

/* ---------- Small screens: orb on top, text below, still one fold ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; padding-block: 0.5rem 1.5rem; }
  .visual { order: -1; }
  .site-header .wrap { height: 4rem; }
  .orb { --size: clamp(8rem, min(50vw, 25svh), 14rem); }
  .lead { margin: 0.9rem auto 1.4rem; }
  .cta, .stores { justify-content: center; }
  .cta { flex-wrap: nowrap; gap: 0.5rem; }
  .btn-primary { min-height: 3rem; padding: 0 1.25rem; font-size: 0.9375rem; }
  .stores { margin-top: 1.25rem; }
  .eyebrow { margin-bottom: 0.9rem; }
  .site-footer .wrap { justify-content: center; text-align: center; padding-block: 1rem; }
  .f-email { display: none; }
}
@media (max-width: 360px) {
  .btn-ghost.glass[href="/privacy/"] svg { display: none; }
  .cta .btn { padding: 0 1rem; }
}
@media (max-height: 700px) and (max-width: 760px) {
  .orb { --size: 7rem; }
  .eyebrow, .stores { display: none; }
  h1 { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb-ring, .orb-edge { animation: none; }
  .btn { transition: none; }
}
