@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --ink: #2c2722;
  --sub: #8a8077;
  --line: #f0e6da;
  --bg: #fff8f1;          /* warm cream */
  --card: #ffffff;
  --accent: #ff7d33;      /* warm Headspace-ish orange */
  --accent-ink: #c1551a;
  --accent-soft: #ffe9d8;
  --maxw: 720px;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(255, 125, 51, 0.10), 0 4px 12px rgba(44, 39, 34, 0.05);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
}

/* ── Header ── */
header.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 22px 0;
}
header.site a.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
header.site a.brand::before {
  content: "";
  width: 32px; height: 32px;
  border-radius: 9px;
  background: url("/icon.png") center / cover no-repeat;
  box-shadow: 0 3px 10px rgba(255, 125, 51, 0.30);
}

/* ── Legal content ── */
main {
  max-width: var(--maxw);
  margin: 22px auto 0;
  padding: 30px 24px 90px;
}

h1 {
  font-weight: 900;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
h2 {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 42px 0 10px;
}
.updated { color: var(--sub); font-size: 15px; font-weight: 600; margin: 0 0 28px; }

p, li { color: var(--ink); }
a { color: var(--accent-ink); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.note {
  background: var(--accent-soft);
  border: none;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #9a4517;
  margin: 0 0 36px;
}

/* ── Footer ── */
footer.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px 64px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
footer.site a {
  color: var(--accent-ink);
  text-decoration: none;
  background: var(--accent-soft);
  padding: 8px 16px;
  border-radius: 999px;
}
footer.site a:hover { background: #ffdcc4; }
footer.site span { margin-left: auto; }

/* ── Landing hero ── */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 130px 22px 140px;
  text-align: center;
  overflow: hidden;
}
.hero::before {            /* soft warm blob */
  content: "";
  position: absolute;
  top: 4%; left: 50%;
  width: 460px; height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%, #ffd9bf, rgba(255, 217, 191, 0) 70%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero .appicon {
  width: 100px; height: 100px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 56px;
  background: linear-gradient(120deg, var(--accent), #ff9d4d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: var(--sub); font-size: 20px; font-weight: 600; }
.hero .links { margin-top: 30px; }
.hero .links a {
  display: inline-block;
  margin: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  background: var(--card);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.hero .links a:hover { transform: translateY(-1px); }

@media (max-width: 520px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 42px; }
}
