@font-face {
  font-family: "DM Sans";
  src: url("fonts/dmsans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F4F1EA;
  --cream2: #EFE6D2;
  --blue: #3868D0;
  --blue-soft: #98B8F8;
  --wash: #EFF3F8;
  --ink: #1B1A19;
  --muted: #6E7375;
  --line: rgba(56, 104, 208, 0.18);
  --paper: #ffffff;
  --hold: #F2AD1F;
  --hold-ink: #5C3A00;
  --shadow: 0 10px 28px rgba(27, 26, 25, 0.08);
  --r-card: 18px;
  --r-btn: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", "Liberation Sans", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "RELOVI";
  position: fixed;
  left: -4%;
  top: 8%;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: min(28vw, 340px);
  letter-spacing: -0.06em;
  color: #3868D0;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-18deg);
  line-height: 0.85;
  white-space: nowrap;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #2C54B0; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus {
  left: 12px; top: 12px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 20;
  border-radius: 8px;
}
.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 22px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
.brand {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand-relovi {
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.brand-club {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  display: block;
}
.nav-links {
  display: flex;
  gap: 22px;
  justify-self: start;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.linkish:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 16px;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover { background: #2C54B0; color: #fff; }
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid rgba(56, 104, 208, 0.22);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 14px 22px; }
.btn-ig { gap: 8px; }
.ig-icon { flex: 0 0 auto; display: block; }
.btn-nav { padding: 10px 16px; }

.hero {
  padding: 56px 0 20px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.slab {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  background: none;
  color: var(--muted);
  border-radius: 0;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.slab .cool { color: var(--blue); }

.hero h1 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--ink);
}
.lede {
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.lede em, .mark {
  color: var(--blue);
  font-style: normal;
}
.deck, .section-deck {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 38rem;
}
.feature-chips { display: none; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hold {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36rem;
}
.chip {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: 1px;
}
.chip-hold { display: none; }

.hero-panel { position: relative; }
.panel-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  position: relative;
}
.panel-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D8D4CA;
}
.dot:first-child { background: #E8A8A0; }
.panel-title {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.panel-label {
  margin: 0 0 12px;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
}
.cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cats li {
  background: var(--wash);
  border-radius: 14px;
  padding: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.cats .star { color: var(--blue); margin-right: 4px; }
.panel-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}
.star-cluster { color: var(--blue); letter-spacing: 0.2em; }
.float-star {
  position: absolute;
  color: var(--blue);
  opacity: 0.9;
  pointer-events: none;
}
.s1 { top: -18px; right: 18px; font-size: 22px; color: var(--blue); }
.s2 { bottom: 24px; left: -16px; font-size: 18px; color: var(--blue-soft); }
.s3 { bottom: -8px; right: -6px; font-size: 16px; color: var(--blue-soft); }

.how { padding: 36px 0 20px; }
.how h2, .help h2, .safety h2 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1.12;
}
.kicker-plain {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 20px;
  box-shadow: none;
}
.card-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.card p:last-child { margin: 0; color: var(--muted); }

.help, .safety { padding: 12px 0; }
.help-box, .safety-box {
  border-radius: var(--r-card);
  padding: 28px 32px;
}
.help-box {
  background: var(--paper);
  border: 1px solid var(--line);
}
.safety-box {
  background: var(--paper);
  border: 1px solid rgba(56, 104, 208, 0.2);
}
.help-box p, .safety-box p { margin: 0; color: var(--muted); max-width: 44rem; }

.foot {
  margin-top: 28px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.foot-inner { display: grid; gap: 14px; }
.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 7px;
}
.foot-brand p { width: 100%; }
.foot .brand-relovi { font-size: 1.2rem; }
.foot-brand p { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 400; }
.foot-links a:hover { color: var(--blue); }
.age {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.soon {
  border: 0;
  border-radius: 22px;
  padding: 0;
  width: min(420px, calc(100% - 32px));
  box-shadow: 0 24px 60px rgba(27, 26, 25, 0.22);
  background: var(--paper);
}
.soon::backdrop { background: rgba(27, 26, 25, 0.4); }
.soon form { padding: 24px 24px 22px; }
.soon h2 {
  margin: 10px 0 8px;
  font-family: "Plus Jakarta Sans", "DM Sans", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.soon p { margin: 0 0 16px; color: var(--muted); }
.soon .btn { min-width: 96px; }

@media (max-width: 820px) {
  .hero-grid { display: block; }
  .hero-panel { margin-top: 28px; max-width: 420px; }
  .hero { padding-top: 28px; }
  .cards { grid-template-columns: 1fr; }
  .nav {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "links links";
    gap: 14px 14px;
    min-height: 0;
    padding-top: 4px;
    padding-bottom: 16px;
  }
  .brand { grid-area: brand; }
  .nav-actions { grid-area: actions; }
  .nav-links { grid-area: links; margin: 0; gap: 18px; padding-bottom: 2px; }
  .wrap { width: min(1080px, calc(100% - 32px)); }
  body::before { font-size: 52vw; opacity: 0.03; }
  .float-star { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav-inner {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 16px;
    gap: 14px 12px;
  }
  .brand-stars { display: none; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 2.05rem; }
  .lede { font-size: 1.18rem; }
  .help-box, .safety-box { padding: 22px 18px; }
  .slab { font-size: 0.95rem; }
}
