@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(/assets/fonts/Nunito-800.ttf) format("truetype"); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(/assets/fonts/Nunito-900.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-400.ttf) format("truetype"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/Inter-600.ttf) format("truetype"); }

:root {
  --night: #0F1626;
  --firefly: #F7D44C;
  --lime: #B8E986;
  --coral: #FF6B5B;
  --bg: #FFF8EC;
  --surface: #FFFCF6;
  --border: #F0E6D6;
  --text: #1E2230;
  --muted: #6E7180;
  --chip: #F6EDE0;
  --shadow: 0 8px 24px rgba(118, 91, 46, .10);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1626;
    --surface: #18213A;
    --border: #26304A;
    --text: #FFF8EC;
    --muted: #A7ACBD;
    --chip: #222C47;
    --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: Nunito, system-ui, sans-serif; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }

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

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.top .logo { display: block; height: 34px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: 40px 64px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero .mascot { justify-self: center; width: min(100%, 380px); filter: drop-shadow(0 18px 40px rgba(247, 212, 76, .45)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero .mascot { animation: none; } }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-block-start: 10px; }
  .hero p.lead { margin-inline: auto; }
  .hero .mascot { grid-row: 1; width: 220px; }
  .highlight { white-space: normal; }
  .top nav { gap: 14px; }
  .cta-row { justify-content: center; }
}
.highlight { position: relative; white-space: nowrap; }
.highlight::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .14em;
  background: var(--firefly); border-radius: 99px; transform: rotate(-1.5deg); z-index: -1;
}

/* Buttons */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px;
  font: 800 1.05rem Nunito, system-ui, sans-serif; text-decoration: none; border: 1px solid transparent;
}
.btn.primary { background: var(--firefly); color: #1E2230; box-shadow: 0 8px 22px rgba(247, 212, 76, .45); }
.btn.secondary { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow); }
.badge-soon { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Features */
.section { padding-block: 56px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  padding: 24px; box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(247, 212, 76, .35); font-size: 26px; margin-bottom: 14px;
}
.card p { color: var(--muted); margin: 0; }

.promise {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: rgba(184, 233, 134, .18); border-radius: 30px; padding: 32px;
}
.promise img { width: 150px; }
@media (max-width: 640px) { .promise { grid-template-columns: 1fr; text-align: center; } .promise img { margin: 0 auto; } }

/* Legal / prose pages */
.prose { padding-block: 24px 64px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose .updated { color: var(--muted); font-size: .95rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose .note { background: var(--chip); border-radius: 18px; padding: 16px 20px; }
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 16px 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: .8em 0 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
