/* SharedSave — warm charcoal, friendly coral, fresh-green health accent.
   Appetizing and approachable; premium dark, like a good grocery at night. */

:root {
  --bg: #0f0d0c;
  --bg-2: #16120f;
  --panel: rgba(28, 22, 18, 0.72);
  --panel-2: #1a1511;
  --edge: rgba(251, 113, 133, 0.16);
  --ink: #ece4dc;
  --bright: #fdf8f3;
  --muted: #b3a596;
  --muted-strong: #dccfc1;

  --primary: #fb7185;
  --primary-bright: #fda4af;
  --primary-deep: #f43f5e;
  --primary-line: rgba(251, 113, 133, 0.42);
  --primary-faint: rgba(251, 113, 133, 0.13);

  --accent: #34d399;
  --accent-bright: #6ee7b7;
  --accent-line: rgba(52, 211, 153, 0.42);
  --accent-faint: rgba(52, 211, 153, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(ellipse 70% 55% at 12% -5%, rgba(251, 113, 133, 0.13), transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 8%, rgba(52, 211, 153, 0.1), transparent 52%),
    radial-gradient(ellipse 80% 60% at 85% 100%, rgba(251, 113, 133, 0.06), transparent 55%),
    linear-gradient(165deg, #0d0b0a 0%, #15110e 48%, #100c0a 100%);
  background-color: var(--bg);
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 113, 133, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 113, 133, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header ------------------------------------------------------------- */

header.site {
  padding: 26px 0 8px;
}

header.site .bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: inline-flex;
  filter: drop-shadow(0 0 18px rgba(251, 113, 133, 0.4));
}

.wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--bright);
  text-decoration: none;
}

.wordmark span {
  color: var(--primary);
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

header.site nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

header.site nav a:hover {
  color: var(--primary-bright);
  text-shadow: 0 0 16px var(--primary-line);
}

/* --- Hero -------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
  padding: 52px 0 30px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-bright);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--bright);
}

.glow {
  color: var(--primary);
  text-shadow: 0 0 42px rgba(251, 113, 133, 0.55);
}

.hero .sub,
.sub {
  font-size: 1.13rem;
  line-height: 1.65;
  color: var(--muted-strong);
  max-width: 560px;
  margin: 18px 0 0;
}

.sub strong {
  color: var(--bright);
  font-weight: 700;
}

.sub em {
  font-style: normal;
  color: var(--primary-bright);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art svg {
  width: 100%;
  height: auto;
  max-width: 480px;
  filter: drop-shadow(0 26px 50px rgba(8, 4, 2, 0.6));
}

/* --- Waitlist form ----------------------------------------------------- */

.waitlist {
  margin-top: 30px;
  max-width: 580px;
}

.wl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: rgba(10, 7, 6, 0.72);
  color: var(--bright);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.waitlist select {
  flex: 0 1 150px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: rgba(10, 7, 6, 0.72);
  color: var(--muted-strong);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

.waitlist input::placeholder {
  color: var(--muted);
}

.waitlist input:focus,
.waitlist select:focus {
  outline: none;
  border-color: var(--primary-line);
  box-shadow: 0 0 0 3px var(--primary-faint);
}

.wl-fine {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 2px 0;
}

.wl-msg {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 2px 0;
  min-height: 1px;
}

.wl-msg.ok {
  color: var(--accent-bright);
}

.wl-msg.err {
  color: #fca5a5;
}

/* --- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.96rem;
  font-family: inherit;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--primary-line);
  background: rgba(28, 22, 18, 0.6);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-bright));
  border-color: transparent;
  color: #2a0d12;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.32);
  flex: 0 0 auto;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(244, 63, 94, 0.44);
  filter: brightness(1.04);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* --- Trust strip ------------------------------------------------------- */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  color: var(--muted);
  font-size: 14px;
}

.trust-strip strong {
  color: var(--accent-bright);
  font-weight: 800;
}

.trust-strip .dot {
  color: var(--primary);
  opacity: 0.6;
}

/* --- Feature rows ------------------------------------------------------ */

.feature {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 38px;
  align-items: center;
  margin: 56px 0;
}

.feature:nth-of-type(even) .shot {
  order: -1;
}

.feature h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  color: var(--bright);
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--muted-strong);
  margin: 0 0 16px;
}

.feature p em {
  font-style: normal;
  color: var(--accent-bright);
}

.feature p strong {
  color: var(--bright);
}

.feature ul {
  color: var(--muted-strong);
  margin: 0;
  padding-left: 20px;
}

.feature li {
  margin: 9px 0;
}

.feature li::marker {
  color: var(--accent);
}

.shot {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow:
    0 0 40px rgba(251, 113, 133, 0.07),
    0 20px 46px rgba(8, 4, 2, 0.55);
  padding: 16px;
  display: flex;
  justify-content: center;
}

.shot svg {
  width: 100%;
  height: auto;
}

/* --- Panels ------------------------------------------------------------ */

.panel {
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(8, 5, 3, 0.5),
    0 20px 48px rgba(8, 4, 2, 0.5);
  padding: 36px;
  margin: 30px 0;
  backdrop-filter: blur(5px);
}

.panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--bright);
  letter-spacing: -0.01em;
}

.panel > p {
  color: var(--muted-strong);
  margin: 0 0 18px;
  max-width: 660px;
}

.honest .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-strong);
  background: rgba(10, 7, 6, 0.5);
  border: 1px solid var(--accent-line);
}

.join {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(251, 113, 133, 0.12), transparent 70%),
    var(--panel);
}

.join > p {
  margin-left: auto;
  margin-right: auto;
}

.join .waitlist {
  margin-left: auto;
  margin-right: auto;
}

.join .wl-row {
  justify-content: center;
}

.join .wl-fine,
.join .wl-msg {
  text-align: center;
}

/* --- SVG text helpers -------------------------------------------------- */

.svg-h {
  font: 700 16px "Segoe UI", system-ui, sans-serif;
}
.svg-s {
  font: 600 12px "Segoe UI", system-ui, sans-serif;
}
.svg-xs {
  font: 700 11px "Segoe UI", system-ui, sans-serif;
}
.svg-row {
  font: 700 13px "Segoe UI", system-ui, sans-serif;
}
.svg-big {
  font: 800 18px "Segoe UI", system-ui, sans-serif;
}
.svg-score {
  font: 800 30px "Segoe UI", system-ui, sans-serif;
}

/* --- Footer ------------------------------------------------------------ */

footer.site {
  margin: 60px 0 36px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

footer.site a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

footer.site a:hover {
  color: var(--primary-bright);
}

footer.site .spacer {
  margin-left: auto;
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 36px;
  }
  .hero-art {
    order: -1;
  }
  .hero-art svg {
    max-width: 380px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 44px 0;
  }
  .feature:nth-of-type(even) .shot {
    order: 0;
  }
  .panel {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .btn.primary {
    width: 100%;
  }
  .waitlist select {
    flex: 1 1 100%;
  }
}

/* --- Early access pill + platform chips -------------------------------- */

.ea-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-faint);
  border: 1px solid var(--accent-line);
  margin: 0 0 16px;
}

.ea-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: ea-pulse 2s infinite;
}

@keyframes ea-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-line);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(0, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 2px 0;
}

.join .platforms {
  justify-content: center;
}

.plat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-strong);
  background: rgba(10, 7, 6, 0.5);
  border: 1px solid var(--edge);
}

.plat svg {
  width: 15px;
  height: 15px;
  color: var(--accent-bright);
}

.wl-fine .soon {
  color: var(--accent-bright);
  font-weight: 700;
}

header.site nav a.nav-login {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--primary-line);
  color: var(--primary-bright);
  background: var(--primary-faint);
  font-weight: 800;
}

header.site nav a.nav-login:hover {
  background: var(--primary-line);
  color: var(--bright);
  text-shadow: none;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0 8px;
  transition: color 0.15s ease;
}

.back-home:hover {
  color: var(--primary-bright);
}
