/* Hushwater website: same cozy palette as the game (cream cards, warm wood, lake blue, gold). */
:root {
  --cream: #fff8e1;
  --paper: #fffdf6;
  --ink: #3a2a1f;
  --ink-soft: #6b5646;
  --wood: #6e3f1c;
  --wood-dark: #3b230f;
  --gold: #e2a92a;
  --lake: #2f6f8f;
  --green: #3f8f3a;
  --line: #e7d6b4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, .brand, .btn { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-weight: 600; line-height: 1.2; }
a { color: var(--lake); }
img { max-width: 100%; display: block; }

/* ---- top bar */
.top {
  background: var(--wood-dark);
  color: #fff3d6;
}
.top .in { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff3d6; text-decoration: none; font-size: 22px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: #f6d98f; text-decoration: none; font-weight: 700; }
.top nav a:hover { text-decoration: underline; }

/* ---- hero */
.hero {
  position: relative;
  color: #fff;
  background: #1c1a24 url("img/pro_festival.webp") center 60% / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,25,.35), rgba(10,10,25,.75)); }
.hero .in { position: relative; max-width: 1040px; margin: 0 auto; padding: 64px 16px 72px; text-align: center; }
.hero .logo { width: min(620px, 92%); margin: 0 auto 18px; }
.hero p.tag { font-size: clamp(19px, 3.2vw, 24px); max-width: 720px; margin: 0 auto 26px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.badge {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--green); color: #fff; border: 3px solid #f3d27a;
  font-family: "Fredoka", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: .5px;
}
.hero .small { margin-top: 12px; opacity: .9; font-size: 15px; }

/* ---- sections */
main { display: block; }
.sec { max-width: 1040px; margin: 0 auto; padding: 56px 16px; }
.sec h2 { font-size: clamp(26px, 4vw, 34px); color: var(--wood); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 760px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.story img { border-radius: 18px; box-shadow: 0 10px 30px rgba(59,35,15,.25); }
.quote { font-family: "Fredoka", sans-serif; font-size: 26px; color: var(--wood); margin: 18px 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.card { background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: 0 4px 0 var(--line); }
.card img { border-radius: 14px; margin-bottom: 12px; }
.card h3 { margin: 4px 0 6px; font-size: 22px; color: var(--wood); }
.card p { margin: 0; color: var(--ink-soft); }

.band { background: #f5e6c4; }

/* ---- documents (privacy, terms, support) */
.doc { max-width: 820px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); color: var(--wood); margin-bottom: 4px; }
.doc h2 { font-size: 24px; color: var(--wood); margin-top: 34px; }
.doc .meta { color: var(--ink-soft); margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15.5px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #f5e6c4; }
.todo { background: #ffe9a8; border-radius: 6px; padding: 0 5px; font-weight: 700; }
.note { background: #fff1c4; border: 2px dashed var(--gold); border-radius: 14px; padding: 10px 14px; margin: 16px 0; }
.faq dt { font-weight: 800; margin-top: 16px; }
.faq dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ---- footer */
footer { background: var(--wood-dark); color: #e8d3a8; }
footer .in { max-width: 1040px; margin: 0 auto; padding: 22px 16px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
footer a { color: #f6d98f; }
footer .right { margin-left: auto; }

@media (max-width: 760px) {
  .story, .features { grid-template-columns: 1fr; }
  .top nav { margin-left: 0; width: 100%; }
  .sec { padding: 40px 16px; }
  footer .right { margin-left: 0; }
}
