/* ==========================================================================
   LOVTAG – pre-launch market-research website
   One stylesheet for all pages. Colours and sizes live in :root below.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/poppins-bold.woff") format("woff"); }

:root {
  /* Brand palette (from approved mock-up) */
  --blush: #fdeef1;          /* page background */
  --blush-deep: #fbe1e7;     /* hero wash, ghost banner, score tiles */
  --blush-soft: #fff6f7;     /* subtle card tint */
  --cream: #fffaf8;
  --white: #ffffff;
  --coral: #f0385e;          /* headline accent (large text) */
  --coral-btn: #e02a50;      /* buttons: passes 4.5:1 with white text */
  --coral-btn-hover: #c81f44;
  --ink: #15151d;            /* main text */
  --ink-soft: #4b4f5c;       /* body copy */
  --muted: #6b6f7b;          /* small print */
  --line: #f3d9df;           /* card borders */
  --taupe: #d8ccc3;          /* Alex avatar */
  --taupe-dark: #a8978a;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-card: 0 10px 30px rgba(224, 42, 80, .08), 0 2px 6px rgba(21, 21, 29, .04);
  --max: 1120px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--blush);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--coral-btn); }
a:hover { color: var(--coral-btn-hover); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
.accent { color: var(--coral); }

:focus-visible { outline: 3px solid var(--coral-btn); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 28px;
  font: 500 17px/1.2 var(--font);
  color: #fff; background: var(--coral-btn);
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(224, 42, 80, .22);
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--coral-btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--small { min-height: 42px; padding: 9px 22px; font-size: 15px; }
.btn--ghost {
  background: transparent; color: var(--ink); box-shadow: none;
  border: 2px solid var(--line);
}
.btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; padding: 14px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1240px; }
.logo {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 36px; letter-spacing: -0.02em; line-height: 1;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo svg { width: 55px; height: 50px; flex: none; }
.logo .logo-love { color: var(--coral); }
.logo:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 400; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--coral-btn); }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font: 500 15px var(--font); cursor: pointer; min-height: 42px;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -78px; padding-top: 78px; background:
  radial-gradient(120% 90% at 85% 0%, #fde3e9 0%, rgba(253, 227, 233, 0) 60%), var(--blush); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; min-height: 360px; max-width: 1240px; }
.hero__copy { position: relative; z-index: 3; padding: 34px 0 70px 30px; }
.hero h1 { font-size: clamp(36px, 4.9vw, 58px); }
.hero h1 span { display: block; white-space: nowrap; }
.hero__tagline { margin-top: 20px; font-size: clamp(19px, 2.1vw, 27px); color: var(--ink); }
.hero__tagline svg { display: inline-block; vertical-align: -0.12em; width: 1.05em; height: 0.95em; margin-left: .2em; color: var(--coral); }
.nowrap { white-space: nowrap; }
.hero__cta { margin-top: 30px; }
.hero__cta .btn { font-size: 17px; padding: 14px 30px; }

.hero__media { position: relative; align-self: end; height: 100%; min-height: 360px; }
.hero__blob {
  position: absolute; z-index: 0; right: -10%; top: -40%;
  width: 135%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 60%, #fbd6df 0%, #fce4ea 55%, rgba(252, 228, 234, 0) 72%);
}
.hero__photo {
  position: absolute; z-index: 1; right: -10px; bottom: -190px;
  width: 470px; max-width: none; height: auto;
}
.hero__hearts { position: absolute; z-index: 2; right: -24px; top: 110px; width: 70px; color: var(--coral); }
.hero__hearts svg:first-child { width: 48px; transform: rotate(14deg); margin-left: 6px; }
.hero__hearts svg:last-child { width: 32px; margin: 8px 0 0 30px; transform: rotate(-8deg); }


/* ---------- Main panel (white sheet that overlaps hero) ---------- */
.sheet {
  position: relative; z-index: 5; margin-top: -8px;
  background: linear-gradient(180deg, var(--white) 0, var(--cream) 520px, var(--blush) 100%);
  border-radius: 48px 48px 0 0;
  padding: 44px 0 30px;
}

/* ---------- Concept + profile ---------- */
.concept { display: grid; grid-template-columns: 1fr 1.18fr; gap: 44px; align-items: center; }
.concept h2 { font-size: clamp(30px, 3.6vw, 40px); }
.concept h2 span { display: block; }
.concept__lead { margin-top: 26px; font-size: 18px; color: var(--ink-soft); max-width: 420px; }

.profile-wrap { text-align: center; }
.profile-card {
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card);
  border: 1px solid #f7e6ea; padding: 30px; text-align: left;
}
.profile-card__head { display: flex; align-items: center; gap: 16px; }
.avatar { width: 66px; height: 66px; flex: none; border-radius: 50%; background: var(--taupe); overflow: hidden; }
.avatar svg { width: 100%; height: 100%; }
.profile-card__name { font-size: 31px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.profile-card__sub { font-size: 15px; color: var(--ink-soft); }
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.score {
  position: relative; background: var(--blush-soft); border: 1px solid #fbe3e8;
  border-radius: var(--radius-sm); padding: 22px 12px 18px; text-align: center;
}
.score__value { font-size: 46px; font-weight: 700; color: var(--coral); line-height: 1; letter-spacing: -0.02em; }
.score__label { margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.3; }
.profile-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Information icon + tooltip (hover, keyboard focus and tap) */
.info { position: relative; display: inline-block; margin-top: 8px; }
.info__btn {
  width: 32px; height: 32px; display: inline-grid; place-items: center;
  background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  border-radius: 50%;
}
.info__btn svg { width: 22px; height: 22px; }
.info__btn:hover { color: var(--coral-btn); }
.info__tip {
  position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: 240px; padding: 12px 14px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.45; text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  visibility: hidden; opacity: 0; transition: opacity .15s ease;
}
.info__tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--ink);
}
.info:hover .info__tip, .info.is-open .info__tip, .info__btn:focus-visible + .info__tip { visibility: visible; opacity: 1; }
.info.is-dismissed .info__tip { visibility: hidden; opacity: 0; }

/* ---------- Generic card ---------- */
.card {
  background: rgba(255, 255, 255, .72); border: 1px solid #fae6ea;
  border-radius: var(--radius-lg); padding: 36px 30px 34px;
}
.section { margin-top: 26px; }

/* ---------- How it could work ---------- */
.how h2 { font-size: clamp(26px, 3.2vw, 34px); padding-left: 2px; }
.how__note {
  display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500;
  color: var(--ink-soft); background: var(--blush-deep); border-radius: 999px; padding: 4px 12px;
}
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; column-gap: 6px; align-items: start; text-align: center; }
.step__icon {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--white); box-shadow: 0 6px 18px rgba(224, 42, 80, .12);
  display: grid; place-items: center; color: var(--coral);
}
.step__icon svg { width: 40px; height: 40px; }
.step h3 { font-size: 16px; letter-spacing: -0.025em; }
.step p { margin: 10px auto 0; max-width: 260px; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.step-arrow { align-self: start; margin-top: 28px; color: #e7b3be; width: 26px; }
.step-arrow svg { width: 26px; height: 26px; }

/* ---------- Ghost banner ---------- */
.ghost {
  display: grid; grid-template-columns: 270px 1fr; align-items: center; gap: 26px;
  background: linear-gradient(90deg, #fbd9e0 0%, #fde6eb 100%);
  border-radius: var(--radius-lg); padding: 18px 40px 18px 30px; overflow: hidden;
}
.ghost__art { position: relative; height: 170px; }
.ghost__art svg { position: absolute; }
.ghost h2 { font-size: clamp(30px, 3.9vw, 44px); }
.ghost h2 .heart-inline { display: inline-block; vertical-align: -0.08em; width: 0.9em; height: 0.82em; margin-left: .15em; color: var(--coral); }
.ghost p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }

/* ---------- Waitlist / Brevo form ---------- */
.waitlist { background: var(--white); text-align: center; padding: 38px 30px 30px; }
.waitlist h2 { font-size: clamp(26px, 3.2vw, 32px); }
.waitlist__intro { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }

/* Brevo markup is kept (ids, names, classes) but styled here instead of Brevo's stylesheet */
.sib-form { margin-top: 22px; }
.sib-form-container { max-width: 640px; margin: 0 auto; }
.sib-form-message-panel { display: none; margin: 0 auto 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid; text-align: left; font-size: 15px; }
.sib-form-message-panel--active { display: block; }
.sib-form-message-panel__text { display: flex; align-items: center; gap: 10px; }
.sib-notification__icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
#success-message { color: #0f5132; background: #e8f8ef; border-color: #a7e3c1; }
#error-message { color: #7a1d2e; background: #fff0f2; border-color: #f4b2bf; }

.signup-row { display: flex; gap: 14px; justify-content: center; align-items: flex-start; }
.signup-row .entry__field { flex: 1; max-width: 390px; }
.signup-row input[type="email"] {
  width: 100%; min-height: 52px; padding: 12px 22px;
  font: 400 16px var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #e9cdd4; border-radius: 999px;
}
.signup-row input[type="email"]::placeholder { color: #8a8d98; }
.signup-row input[type="email"]:focus { outline: none; border-color: var(--coral-btn); box-shadow: 0 0 0 4px rgba(224, 42, 80, .14); }
.signup-row .btn { min-height: 52px; padding: 12px 30px; }
.entry__error:empty { display: none; }
.entry__error { display: block; margin-top: 6px; font-size: 13.5px; color: #a3122f; text-align: left; padding-left: 18px; }
.input--hidden { display: none !important; }
.sib-hide-loader-icon { display: none; }
.progress-indicator__icon { animation: lp-spin 1s linear infinite; fill: currentColor; }
@keyframes lp-spin { to { transform: rotate(360deg); } }

.consent { max-width: 560px; margin: 16px auto 0; text-align: left; }
.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; line-height: 1.5; }
.consent input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--coral-btn); }
.consent .checkbox { display: none; } /* Brevo's custom checkbox graphic is not used */
.consent .entry__error { padding-left: 32px; }
.consent--age + .consent { margin-top: 10px; }
.age-error { margin: 6px 0 0; padding-left: 32px; font-size: 13.5px; color: #a3122f; }
.inbox-note { margin: 10px auto 0; max-width: 560px; font-size: 13.5px; color: var(--muted); line-height: 1.5; text-align: center; }
.small-print { margin: 12px auto 0; max-width: 560px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.no-spam { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-preview-note { display: none; margin: 12px auto 0; max-width: 560px; font-size: 13.5px; color: #7a4b00; background: #fff6e0; border: 1px solid #f2d79a; border-radius: 12px; padding: 10px 14px; }
.form-preview-note.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { padding: 34px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--ink-soft); }
.site-footer__note { flex-basis: 100%; font-size: 13px; }

/* ---------- Inner pages (Vision, Privacy, Confirmed) ---------- */
.page-hero { padding: 36px 0 60px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.page-hero h1 span { display: block; }
.page-hero p { margin: 18px auto 0; max-width: 640px; font-size: 19px; color: var(--ink-soft); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 14px; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0 0; }
.prose li + li { margin-top: 6px; }
.prose ul + p { margin-top: 14px; }
.prose .card + .card { margin-top: 22px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.value { background: var(--white); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; box-shadow: var(--shadow-card); }
.value svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--coral); }
.value h3 { margin: 0; font-size: 16.5px; }
.value p { margin-top: 6px !important; font-size: 14px !important; line-height: 1.45; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  font-size: 13px; font-weight: 500; color: #7a1d2e; background: var(--blush-deep);
  border-radius: 999px; padding: 5px 12px;
}
.quote {
  margin: 18px 0; padding: 18px 22px; border-left: 4px solid var(--coral);
  background: var(--blush-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 20px; font-weight: 500; color: var(--ink);
}
.tagline-strong { font-weight: 700; color: var(--ink) !important; }
.cta-card { text-align: center; }
.cta-card p { margin: 10px auto 20px; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.draft-banner {
  max-width: 760px; margin: 0 auto 22px; padding: 14px 18px; border-radius: 14px;
  background: #fff6e0; border: 1px solid #f2d79a; color: #5c3b00; font-size: 15px;
}
.todo { background: #fff1b8; padding: 0 4px; border-radius: 4px; color: #5c3b00; font-weight: 500; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.data-table th { color: var(--ink); font-weight: 500; background: var(--blush-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .nav__links { gap: 18px; }
  .hero .container { grid-template-columns: 1.3fr 1fr; }
  .hero h1 span { white-space: normal; }
  .hero__photo { width: 400px; bottom: -150px; right: -70px; }
  .hero__copy { padding-left: 0; }
  .concept { grid-template-columns: 1fr; gap: 30px; }
  .concept__lead { max-width: 560px; }
  .profile-wrap { max-width: 520px; }
  .ghost { grid-template-columns: 220px 1fr; padding-right: 30px; }
  .values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav__links {
    display: none; position: absolute; right: 20px; top: 66px; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0; min-width: 220px;
    background: var(--white); border-radius: 18px; box-shadow: var(--shadow-card); padding: 8px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .nav__links a:hover { background: var(--blush-soft); }
  .nav .btn--small { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .logo { font-size: 27px; gap: 11px; }
  .logo svg { width: 42px; height: 37px; }
  .hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 18px 0 0; text-align: left; }
  .hero__media { min-height: 0; height: 330px; margin-top: 10px; }
  .hero__photo { left: 50%; right: auto; transform: translateX(-42%); width: 330px; bottom: -60px; }
  .hero__blob { right: -30%; top: -10%; width: 120%; }
  .hero__hearts { right: 6px; top: 6px; }
  .sheet { border-radius: 32px 32px 0 0; padding-top: 34px; }
  .profile-card { padding: 24px; }
  .avatar { width: 58px; height: 58px; }
  .profile-card__name { font-size: 28px; }
  .profile-card__sub { font-size: 14.5px; }
  .scores { gap: 10px; margin-top: 20px; }
  .score { padding: 18px 12px 16px; }
  .score__value { font-size: 34px; }
  .score__label { font-size: 14px; }
  .info__tip { width: 210px; }
  .scores .score:first-child .info__tip { left: 0; transform: none; }
  .scores .score:first-child .info__tip::after { left: 40px; }
  .scores .score:last-child .info__tip { left: auto; right: 0; transform: none; }
  .scores .score:last-child .info__tip::after { left: auto; right: 24px; transform: none; }
  .card { padding: 30px 20px; border-radius: 26px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step-arrow { display: none; }
  .ghost { grid-template-columns: 1fr; text-align: center; padding: 10px 22px 30px; }
  .ghost__art { height: 130px; width: 220px; margin: 0 auto; }
  .ghost h2 { font-size: 28px; }
  .signup-row { flex-direction: column; align-items: stretch; }
  .signup-row .entry__field { max-width: none; }
  .signup-row .btn { width: 100%; }
  .values { grid-template-columns: 1fr 1fr; }
  .page-hero { padding-bottom: 44px; }
  .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table th { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table td { border: 0; padding: 4px 0; }
  .data-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .data-table td::before { content: attr(data-label); display: block; font-weight: 500; color: var(--ink); font-size: 13px; }
}

@media (max-width: 380px) {
  .values { grid-template-columns: 1fr; }
  .score__value { font-size: 30px; }
}

/* Direct survey link (added 18 Nov 2026) */
.hero__survey { margin: 14px 0 0; font-size: 15px; color: var(--ink-soft); }
.hero__survey a { color: var(--coral-btn); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.survey-alt { margin: 26px auto 0; padding-top: 22px; border-top: 1px solid rgba(224, 42, 80, .15); max-width: 560px; text-align: center; }
.survey-alt__text { margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.survey-alt .btn svg { width: 18px; height: 18px; }
