/* ==========================================================================
   The Love Finder Cafe — modernized stylesheet
   Design tokens
   ========================================================================== */

:root {
  --espresso: #2b1b12;
  --espresso-soft: #4a3324;
  --parchment: #f1e6d8;
  --cream: #fffbf5;
  --rose: #c1516b;
  --rose-deep: #9c3a51;
  --gold: #b8912f;
  --line: rgba(43, 27, 18, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 18px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------------------------
   Signature element: coffee-ring stamp, used as a section divider
   ------------------------------------------------------------------------- */

.ring-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
}

.ring-divider svg { opacity: 0.55; }

/* -------------------------------------------------------------------------
   Top bar
   ------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--espresso);
}

.brand img { height: 40px; width: auto; }

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.login-link:hover { background: var(--espresso); color: var(--cream); }
.login-link img { height: 16px; width: auto; }

/* mobile login shown only on small screens */
.mobile-login { display: none; }

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

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(43, 27, 18, 0.82) 0%,
    rgba(43, 27, 18, 0.55) 32%,
    rgba(43, 27, 18, 0.08) 58%,
    rgba(43, 27, 18, 0) 100%);
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: clamp(24px, 6vw, 90px);
}

.hero-copy { max-width: 380px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 600;
  text-wrap: balance;
}

.hero p.lede {
  font-size: 1.08rem;
  color: rgba(255, 251, 245, 0.9);
  max-width: 50ch;
  margin: 0 0 30px;
}

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rose);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(193, 81, 107, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover { background: var(--rose-deep); transform: translateY(-1px); }

.free-note {
  font-size: 0.85rem;
  color: rgba(255, 251, 245, 0.75);
}

/* -------------------------------------------------------------------------
   News strip
   ------------------------------------------------------------------------- */

.news-strip {
  background: var(--gold);
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  padding: 10px 0;
  letter-spacing: 0.01em;
}

/* -------------------------------------------------------------------------
   Reasons section (menu-card layout)
   ------------------------------------------------------------------------- */

.reasons {
  padding: 72px 0 48px;
}

.reasons .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 20px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-list li:last-child { border-bottom: none; }

.menu-list .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.pitch p { margin: 0 0 16px; }

.pitch strong { color: var(--rose-deep); }

.free-callout {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.95rem;
  margin-top: 20px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.trust-row img { height: 54px; width: auto; }

.social-line {
  margin-top: 28px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* -------------------------------------------------------------------------
   Site nav links (menu tabs)
   ------------------------------------------------------------------------- */

.page-links {
  padding: 36px 0;
}

.page-links .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.page-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--espresso);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.page-links a:hover { background: var(--espresso); color: var(--cream); }

/* -------------------------------------------------------------------------
   Cross-sell
   ------------------------------------------------------------------------- */

.cross-sell {
  background: var(--cream);
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}

.cross-sell h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-align: center;
  margin: 0 0 30px;
}

.affiliate-btn {
  display: block;
  max-width: 480px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 18px 22px;
  background: var(--rose-deep);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
}

.affiliate-btn span { display: block; font-size: 1.05rem; margin-top: 4px; }

.ad-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.ad-row img { border-radius: 10px; }

.intl-links {
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.intl-links img { display: inline; height: 12px; width: auto; }

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

footer.site-footer {
  background: var(--espresso);
  color: rgba(255, 251, 245, 0.75);
  padding: 26px 0;
  font-size: 0.85rem;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 251, 245, 0.45);
  padding-bottom: 22px;
  background: var(--espresso);
}

/* -------------------------------------------------------------------------
   Long-form article header (used by FAQ page)
   ------------------------------------------------------------------------- */

.article-head {
  background: var(--espresso);
  color: var(--cream);
  padding: 56px 0 40px;
}

.article-head .wrap { max-width: 760px; }

.article-head .eyebrow { margin-bottom: 14px; }

.article-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 600;
}

.article-head p.lede {
  color: rgba(255, 251, 245, 0.85);
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0;
}

/* Table of contents */

.toc {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.toc .wrap { max-width: 760px; }

.toc-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose-deep);
  display: block;
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding: 0 0 0 1.2em;
  columns: 2;
  gap: 24px;
  font-size: 0.92rem;
}

.toc li { break-inside: avoid; margin-bottom: 6px; }

.toc a { text-decoration: none; color: var(--espresso); }
.toc a:hover { color: var(--rose-deep); }

/* FAQ accordion — native <details>/<summary>, no JS required,
   fully readable by search engines and AI crawlers regardless of state */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 4px 22px;
  scroll-margin-top: 90px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
  color: var(--espresso);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 14px;
  font-size: 1.4rem;
  color: var(--rose);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0 0 18px;
  color: var(--espresso-soft);
  line-height: 1.65;
}

/* -------------------------------------------------------------------------
   Sales-page components
   ------------------------------------------------------------------------- */

.sales-hero .eyebrow { color: var(--gold); }

.benefit-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.benefit-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.benefit-card p { margin: 0; color: var(--espresso-soft); font-size: 0.95rem; }

.cta-band {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  padding: 52px 24px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 22px;
  font-weight: 600;
}

.objection-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.objection-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 20px;
}

.objection-list { list-style: none; margin: 0; padding: 0; }

.objection-list li {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.objection-list li:last-child { border-bottom: none; }

.objection-list strong { display: block; margin-bottom: 4px; color: var(--rose-deep); }

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

@media (max-width: 860px) {
  .hero .wrap { text-align: left; }
  .hero-copy { max-width: 100%; }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(43, 27, 18, 0.1) 0%,
      rgba(43, 27, 18, 0.35) 40%,
      rgba(43, 27, 18, 0.9) 100%);
  }
  .reasons .wrap { grid-template-columns: 1fr; gap: 40px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .objection-section { grid-template-columns: 1fr; gap: 32px; }
  .toc ol { columns: 1; }
  .topbar .login-link.desktop-only { display: none; }
  .mobile-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--espresso);
  }
}

@media (max-width: 480px) {
  .hero { min-height: 64vh; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .btn-primary { width: 100%; justify-content: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary, .login-link, .page-links a { transition: none; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
