/* Lovario — bubbly / playful editorial style
   Original layout & class structure, built for lovario.click */

:root{
  --bg: #fff6e8;
  --ink: #33261a;
  --muted: #8a7660;
  --coral: #ff8552;
  --coral-dark: #e8683a;
  --yellow: #e2b13c;
  --card: #ffffff;
  --line: #f0dcc0;
  --radius-blob: 42% 58% 63% 37% / 45% 40% 60% 55%;
  --radius-blob2: 58% 42% 38% 62% / 52% 60% 40% 48%;
  --shadow-soft: 0 14px 30px -14px rgba(51,38,26,0.25);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo{
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p{ margin: 0 0 1em; }

a{ color: inherit; text-decoration: none; }

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

.container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Baloo 2", sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--coral);
  color: #fff6e8;
  box-shadow: 0 10px 0 0 var(--coral-dark);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 13px 0 0 var(--coral-dark); }
.btn-primary:active{ transform: translateY(2px); box-shadow: 0 6px 0 0 var(--coral-dark); }

.btn-nav{ padding: 10px 22px; font-size: .95rem; }

.btn-ghost{
  background: #fff;
  color: var(--coral-dark);
  border: 2px solid var(--coral);
  box-shadow: none;
}
.btn-ghost:hover{ background: var(--coral); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,246,232,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--line);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo{
  font-size: 1.6rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo-dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  transform: translateY(-8px) rotate(8deg);
}
.nav-links{
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-family: "Baloo 2", sans-serif;
}
.nav-links a{ color: var(--muted); transition: color .15s; }
.nav-links a:hover{ color: var(--coral-dark); }

/* ---------- Hero ---------- */
.hero{ position: relative; padding: 70px 0 40px; }
.hero-inner{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}
.eyebrow{
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 18px;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 18px;
}
.hero-text h1{
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  letter-spacing: -0.5px;
}
.hero-text .lead{
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-cta{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.hero-note{ color: var(--muted); font-size: .9rem; font-weight: 700; }

.hero-art{
  position: relative;
  height: 360px;
}
.blob{
  position: absolute;
  border-radius: var(--radius-blob);
}
.blob-1{
  width: 260px; height: 260px;
  background: var(--coral);
  top: 10px; right: 30px;
  transform: rotate(-6deg);
  opacity: .95;
}
.blob-2{
  width: 170px; height: 170px;
  background: var(--yellow);
  border-radius: var(--radius-blob2);
  bottom: 0; right: 130px;
  transform: rotate(10deg);
  opacity: .9;
}
.blob-3{
  width: 90px; height: 90px;
  background: #fff;
  border: 4px solid var(--ink);
  bottom: 40px; right: 0;
  transform: rotate(-4deg);
}
.hero-emoji{
  position: absolute;
  font-size: 2.4rem;
  top: 60%;
  left: 20px;
  transform: rotate(-10deg);
}

/* ---------- Intro ---------- */
.intro{ padding: 30px 0 10px; }
.intro h2{ font-size: 2rem; transform: rotate(-1deg); display:inline-block; }
.intro p{ max-width: 68ch; color: var(--ink); }

/* ---------- Features ---------- */
.features{ padding: 50px 0; }
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-card{
  background: var(--card);
  padding: 32px 26px;
  border-radius: 34px 34px 34px 8px;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.feature-card:nth-child(2){ transform: rotate(1deg); }
.feature-card:nth-child(1){ transform: rotate(-1deg); }
.feature-card:nth-child(3){ transform: rotate(1.5deg); }
.feature-card:hover{ transform: translateY(-6px) rotate(0deg); }
.feature-icon{
  width: 58px; height: 58px;
  border-radius: 50% 50% 50% 12px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.feature-card h3{ font-size: 1.2rem; }
.feature-card p{ color: var(--muted); margin-bottom: 0; font-size: .97rem; }

/* ---------- Articles ---------- */
.articles{ padding: 50px 0 70px; }
.articles h2{ font-size: 2rem; }
.articles > .container > p{ color: var(--muted); max-width: 60ch; margin-bottom: 34px; }
.article-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.article-card{
  background: var(--card);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-icon{
  width: 52px; height: 52px;
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transform: rotate(-4deg);
  margin-bottom: 6px;
}
.article-card h3{ font-size: 1.28rem; margin-bottom: 4px; }
.article-card h3 a:hover{ color: var(--coral-dark); }
.article-card p{ color: var(--muted); flex-grow: 1; }
.article-card .btn-pill{ align-self: flex-start; margin-top: 6px; }

/* ---------- Article page ---------- */
.article-page{ padding: 50px 0 80px; }
.article-page .container{ max-width: 760px; }
.article-back{
  display: inline-block;
  margin-bottom: 22px;
  font-weight: 700;
  color: var(--coral-dark);
  font-family: "Baloo 2", sans-serif;
}
.article-page h1{ font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article-meta{ color: var(--muted); font-weight: 700; margin-bottom: 28px; }
.article-page h2{ font-size: 1.4rem; margin-top: 1.6em; transform: rotate(-0.6deg); display:inline-block; }
.article-page p{ color: var(--ink); }
.article-cta{
  margin-top: 40px;
  background: #fff;
  border: 2px dashed var(--coral);
  border-radius: 26px;
  padding: 26px;
  text-align: center;
}
.article-cta p{ margin-bottom: 14px; font-weight: 700; }

/* ---------- Footer ---------- */
footer{
  background: var(--ink);
  color: #fff6e8;
  padding: 46px 0 30px;
  border-radius: 46px 46px 0 0;
  margin-top: 20px;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
footer .logo{ color: #fff6e8; }
.footer-links{ display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a{ color: #f0dcc0; font-weight: 700; }
.footer-links a:hover{ color: var(--yellow); }
.footer-note{
  color: #b8a68e;
  font-size: .85rem;
  margin-top: 20px;
}

/* ---------- Legal pages ---------- */
.legal-page{ padding: 60px 0 80px; }
.legal-page .container{ max-width: 760px; }
.legal-page h1{ font-size: 2rem; }
.legal-page h2{ font-size: 1.25rem; margin-top: 1.6em; }
.legal-page p, .legal-page li{ color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 820px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ height: 240px; }
  .feature-grid{ grid-template-columns: 1fr; }
  .article-grid{ grid-template-columns: 1fr; }
  .nav-links{ display: none; }
}
