/* ============================================================
   The Relist — Coming Soon Page
   ============================================================ */

/* ── TT Chocolates Font ──────────────────────────────────── */
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fonts/TT_Chocolates_Regular.woff2') format('woff2'),
       url('../fonts/TT_Chocolates_Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fonts/TT_Chocolates_Medium.woff2') format('woff2'),
       url('../fonts/TT_Chocolates_Medium.woff')  format('woff');
  font-weight: 500 600;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: 'TT Chocolates';
  src: url('../fonts/TT_Chocolates_DemiBold.woff2') format('woff2'),
       url('../fonts/TT_Chocolates_DemiBold.woff')  format('woff');
  font-weight: 700 800;
  font-style: normal;
  font-display: optional;
}

/* ── Variables ───────────────────────────────────────────── */
:root {
  --orange:    #F5600E;
  --pink:      #F2C1F1;
  --yellow:    #F4ECBE;
  --blue:      #86C6F2;
  --off-white: #FFFFF7;
  --black:     #000000;
  --gray-500:  #666666;
  --font: 'TT Chocolates', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── Page layout ─────────────────────────────────────────── */
.cs-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px clamp(24px, 6vw, 80px);
}

/* ── Star decoration (top right) ─────────────────────────── */
.cs-star {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 560px;
  height: 560px;
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

/* ── Pink blob (bottom left) ─────────────────────────────── */
.cs-blob {
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 480px;
  height: 480px;
  background: var(--pink);
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
}

/* ── Content ─────────────────────────────────────────────── */
.cs-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Logo */
.cs-logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Eyebrow */
.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.cs-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Heading */
.cs-heading {
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}

/* Sub */
.cs-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 460px;
}

/* ── Klaviyo form wrapper ─────────────────────────────────── */
.cs-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
}

/*
  Klaviyo renders its own form inside .klaviyo-form-XXXXX.
  These rules nudge it to match the brand.
  Klaviyo's embedded forms respect body font-family automatically.
*/
.cs-form-wrap .klaviyo-form input[type="email"],
.cs-form-wrap .klaviyo-form input[type="text"],
.cs-form-fallback input[type="email"] {
  font-family: var(--font) !important;
  border-radius: 12px !important;
  border: 1.5px solid #d8d8d0 !important;
  padding: 14px 18px !important;
  font-size: 1rem !important;
}

.cs-form-wrap .klaviyo-form button[type="submit"],
.cs-form-fallback button[type="submit"] {
  font-family: var(--font) !important;
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.18s ease !important;
}

.cs-form-wrap .klaviyo-form button[type="submit"]:hover,
.cs-form-fallback button[type="submit"]:hover {
  background: #C44A09 !important;
}

/*
  Fallback inline form — shown only if Klaviyo JS hasn't loaded
  (or as a visual reference before Klaviyo IDs are configured).
*/
.cs-form-fallback {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cs-form-fallback input[type="email"] {
  flex: 1 1 240px;
  font-family: var(--font);
  font-size: 1rem;
  padding: 14px 18px;
  border: 1.5px solid #d8d8d0;
  border-radius: 12px;
  background: #fff;
  color: var(--black);
  outline: none;
  transition: border-color 0.18s ease;
}

.cs-form-fallback input[type="email"]:focus {
  border-color: var(--orange);
}

.cs-form-fallback input[type="email"]::placeholder {
  color: #aaa;
}

.cs-form-fallback button[type="submit"] {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.cs-form-fallback button[type="submit"]:hover {
  background: #C44A09;
}

.cs-privacy {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.5;
}

/* ── Trust pills ─────────────────────────────────────────── */
.cs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.cs-pills li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--yellow);
  color: var(--black);
}

.cs-pills li:nth-child(2) { background: var(--pink); }
.cs-pills li:nth-child(3) { background: var(--blue); }

/* ── Footer strip ────────────────────────────────────────── */
.cs-footer {
  text-align: center;
  padding: 20px clamp(24px, 6vw, 80px);
  font-size: 0.78rem;
  color: #aaa;
  border-top: 1px solid #e8e8e4;
  background: var(--off-white);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .cs-star {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -80px;
  }

  .cs-blob {
    width: 280px;
    height: 280px;
    bottom: -100px;
    left: -100px;
  }

  .cs-form-row {
    flex-direction: column;
  }

  .cs-form-fallback button[type="submit"] {
    width: 100%;
  }
}
