/* Oneeva's website: the same cream paper, plum ink, coral accent and sticker
   cards as the app (src/lib/theme.ts). */
:root {
  --bg: #fff8f0;
  --card: #ffffff;
  --ink: #2b2340;
  --ink-soft: #4a3f66;
  --muted: #6b6380;
  --accent: #ff8a70;
  --sun: #ffd66b;
  --mint: #bdefd8;
  --lilac: #dccbff;
  --peach: #ffc9b9;
  --sky: #bfe3ff;
  --butter: #ffe7a3;
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

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

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { font-family: var(--display); font-weight: 700; font-size: 26px; text-decoration: none; }
.top nav a { font-weight: 700; font-size: 15px; margin-left: 18px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 32px 0 56px; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 9vw, 88px); line-height: 1; margin: 0; letter-spacing: 0.5px; }
.tagline { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3vw, 28px); color: var(--ink-soft); margin: 8px 0 20px; line-height: 1.25; }
.lead { font-size: 18px; color: var(--muted); max-width: 30em; margin: 0 0 28px; }

.pill {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 5px 0 var(--ink);
}

.mascot-row { display: flex; align-items: flex-end; gap: 6px; justify-content: center; }
.mascot { width: 190px; height: auto; flex: none; }
.bubble {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 14px 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 130px;
}

/* The waving arm, like the app's hello pose */
.wave, .bob { transform-box: view-box; }
.wave { transform-origin: 32px 82px; animation: wave 1s ease-in-out infinite alternate; }
.bob { animation: bob 2.6s ease-in-out infinite alternate; }
@keyframes wave { from { transform: rotate(-13deg); } to { transform: rotate(13deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .wave, .bob { animation: none; } }

/* Sections */
section { padding: 40px 0; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 36px); margin: 0 0 20px; line-height: 1.15; }
h3 { font-family: var(--display); font-weight: 600; font-size: 21px; margin: 0 0 6px; line-height: 1.25; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 20px 22px;
}
.card p { margin: 0; color: var(--ink-soft); }
.step { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.lilac { background: var(--lilac); }
.peach { background: var(--peach); }
.sky { background: var(--sky); }
.butter { background: var(--butter); }
.mint { background: var(--mint); }

.gets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gets .card { border-radius: 20px; padding: 16px 20px; }

/* A sample plan, shown as stop chips */
.route { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.route li { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 15px; }

/* Footer */
footer { border-top: 2px solid var(--ink); margin-top: 40px; padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
footer .links a { font-weight: 700; margin-right: 18px; }
.name-story { font-family: var(--display); font-weight: 600; color: var(--ink-soft); font-size: 17px; margin: 0 0 12px; }
.fine { font-size: 13px; line-height: 1.5; max-width: 52em; }

/* Privacy page */
.doc h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 44px); margin: 16px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 24px; margin: 32px 0 8px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc p { margin: 8px 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 8px 0 8px; gap: 24px; }
  section { padding: 28px 0; }
  .mascot { width: 150px; }
  .bubble { font-size: 18px; margin-bottom: 104px; }
  .cards, .gets { grid-template-columns: 1fr; }
  .top nav a { margin-left: 12px; }
}
