/* RuRu — the official appreciation site. Warm, playful, mobile-friendly. System fonts only, no dependencies. */

:root {
  --ink: #3d2323;
  --muted: #7a5b5b;
  --paper: #fff8f6;
  --tint: #fdeeed;
  --dark: #471f26;
  --dark-ink: #fbe9e9;
  --accent: #d63a5c;          /* raspberry rose */
  --accent-dark: #b02547;
  --accent-soft: #f8c9d4;
  --line: #f0d9d9;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 720px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 2.6rem; margin-bottom: 1rem; }
h2 { font-size: 1.9rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.center { text-align: center; }
.strong { font-weight: 600; }
.muted { color: var(--muted); font-size: 0.9rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 246, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand { font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.9rem; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-big { font-size: 1.3rem; padding: 1rem 2.2rem; margin-top: 1rem; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }

/* ---------- hero ---------- */
.hero { padding: 4.5rem 0 3.5rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  margin-bottom: 1rem;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 42rem; }
.hero-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 3.5rem 0; }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .section-sub { color: #e0b9c2; }
.section-tint { background: var(--tint); }
.section-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- cards / grids ---------- */
.two-col {
  display: grid; gap: 1.25rem; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(214, 58, 92, 0.06);
}
.card h3 { color: var(--accent); }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 1.5rem 0; }
.checklist li {
  padding: 0.65rem 0 0.65rem 2.25rem;
  position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.05rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "\2764"; position: absolute; left: 0.25rem; top: 0.65rem;
  color: var(--accent-soft); font-weight: 800;
}

/* ---------- stats ---------- */
.stats {
  display: grid; gap: 1.25rem; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

/* ---------- appreciate machine ---------- */
.appreciate-box {
  background: #fff; border: 2px solid var(--accent);
  border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
  margin-top: 1.5rem; box-shadow: 0 4px 24px rgba(214, 58, 92, 0.12);
}
.counter {
  font-size: 3.5rem; font-weight: 800; color: var(--accent);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.counter-label { color: var(--muted); margin: 0.5rem 0 0; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* ---------- floating hearts ---------- */
.float-heart {
  position: fixed; z-index: 9999; pointer-events: none;
  animation: float-up 1.6s ease-out forwards;
}
@keyframes float-up {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--drift, 0px), -180px) scale(1.4); }
}

/* ---------- faq ---------- */
details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
summary::-webkit-details-marker { color: var(--accent); }
details p { margin: 0.75rem 0 0.25rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .nav { display: none; }
  .header-inner .btn-small { margin-left: auto; }
  .cta-row .btn { flex: 1 1 100%; }
}
