/* ————————————————————————————————————————
   KETO.PINK — candy shop, berries & cream
   ———————————————————————————————————————— */

:root {
  --bg: #FFF0F5;
  --card: #FFFBFD;
  --line: #F4CFDD;
  --ink: #4A1330;
  --muted: #96607A;
  --pink: #E0447C;
  --pink-deep: #B82D60;
  --cream: #FFE3EE;
  --display: "Baloo 2", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(85% 55% at 50% -8%, #FFE0EC, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: #fff; }

a { color: var(--pink-deep); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 8px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span { color: var(--pink); }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 26px);
  font-size: 13.5px;
  font-weight: 600;
}

.site-header nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.site-header nav a:hover { color: var(--ink); }

/* hero */

.hero {
  position: relative;
  padding: clamp(76px, 12vh, 140px) var(--gutter) clamp(70px, 11vh, 116px);
  overflow: hidden;
}

.bubbles { position: absolute; inset: 0; pointer-events: none; }

.bubbles i {
  position: absolute;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  opacity: 0.7;
  animation: bob 7s ease-in-out infinite;
}

.bubbles i:nth-child(1) { width: 90px; height: 90px; right: 8%; top: 16%; }
.bubbles i:nth-child(2) { width: 46px; height: 46px; right: 20%; top: 52%; animation-delay: -2s; }
.bubbles i:nth-child(3) { width: 28px; height: 28px; right: 4%; top: 62%; animation-delay: -4s; }
.bubbles i:nth-child(4) { width: 60px; height: 60px; left: 4%; bottom: 8%; animation-delay: -1s; }
.bubbles i:nth-child(5) { width: 22px; height: 22px; left: 14%; top: 22%; animation-delay: -5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.kicker {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}

.hero h1 {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 9.6vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.hero h1 em { font-style: normal; color: var(--pink); }

.lede {
  position: relative;
  max-width: 56ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--pink);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  box-shadow: 0 12px 30px rgba(224, 68, 124, 0.32);
  transition: transform 0.15s, background 0.2s;
}

.hero-cta:hover { background: var(--pink-deep); transform: translateY(-2px); }

/* sections */

.section {
  padding: clamp(58px, 9vh, 106px) var(--gutter);
  border-top: 1px solid var(--line);
}

.section-head { max-width: 800px; margin-bottom: clamp(26px, 4vh, 42px); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p { color: var(--muted); max-width: 58ch; }

/* dessert cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 3px 10px rgba(184, 45, 96, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(184, 45, 96, 0.12);
}

.c-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.carbs {
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.c-how { color: var(--muted); font-size: 14.5px; }

/* for her */

.her { background: var(--cream); }

.her-card { max-width: 760px; }

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-deep);
  border: 1px solid var(--pink);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
  background: var(--card);
}

.her-card h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.her-card p { color: var(--ink); margin-bottom: 14px; max-width: 68ch; }

.her-card em { color: var(--muted); font-size: 0.92em; }

/* rules */

.rules { list-style: none; max-width: 740px; }

.rules li {
  padding: 15px 4px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
}

.rules li:first-child { border-top: 1px dashed var(--line); }

.rules strong { color: var(--ink); font-family: var(--display); font-weight: 700; }

/* footer */

.site-footer {
  padding: 34px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links span { color: var(--muted); }
.footer-links a { text-decoration: none; color: var(--pink-deep); }
.footer-links a:hover { color: var(--ink); }

.site-footer > p { color: var(--muted); font-size: 13px; }

/* reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubbles i { animation: none; }
  .card:hover, .hero-cta:hover { transform: none; }
}

@media (max-width: 760px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-header nav { flex-wrap: wrap; row-gap: 8px; }
}
