:root {
  --rose-50: #fff5f7;
  --rose-100: #ffe4ea;
  --rose-300: #fda4b5;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --ink: #1a1215;
  --ink-muted: #6b5a60;
  --cream: #fffbfc;
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

a {
  color: var(--rose-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, #fda4b5 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, #ffe4ea 0%, transparent 45%),
    radial-gradient(ellipse 40% 35% at 0% 60%, #fff0f3 0%, transparent 50%),
    linear-gradient(180deg, #fff5f7 0%, #fffbfc 45%, #fff5f7 100%);
}

.atmosphere.soft {
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, #ffe4ea 0%, transparent 50%),
    linear-gradient(180deg, #fff5f7, #fffbfc);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--rose-600);
  text-decoration: none;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.top nav a {
  color: var(--ink-muted);
  text-decoration: none;
}

.top nav a:hover,
.top nav a[aria-current="page"] {
  color: var(--rose-600);
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3.5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 3rem)
    clamp(3rem, 8vh, 5rem);
  text-align: center;
  animation: rise 0.9s ease both;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-500);
  margin: 0 0 0.75rem;
}

.logo-hero {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  line-height: 0.95;
  color: var(--ink);
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-muted);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--rose-500);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--rose-600);
  color: var(--white);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

.features,
.store {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3.5rem;
  animation: rise 1s 0.15s ease both;
}

.features h2,
.store h2,
.doc h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 0.5rem;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--ink-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.08);
}

.grid h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.store {
  text-align: center;
  padding-bottom: 5rem;
}

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
  animation: rise 0.7s ease both;
}

.doc h1 {
  text-align: left;
  margin-bottom: 0.35rem;
}

.doc .meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.doc-lede {
  text-align: left;
  margin: 0 0 2rem;
}

.doc h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2rem 0 0.65rem;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li {
  margin-bottom: 0.45rem;
}

.support-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 1.35rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.support-card h2 {
  margin-top: 0;
}

.hint {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

details {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(244, 63, 94, 0.12);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.65rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--ink-muted);
  margin: 0.75rem 0 0.25rem;
}

.foot {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.foot a {
  color: var(--ink-muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .top nav {
    font-size: 0.85rem;
  }
}
