:root {
  --coral: #FF6F61;
  --coral-dark: #E85A4D;
  --teal: #118AB2;
  --teal-dark: #0D6F8F;
  --cream: #FFF8F0;
  --cream-deep: #FFF0E0;
  --ink: #2B2320;
  --ink-soft: #5C534E;
  --line: #F0E4D8;
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .brand {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
}

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

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

nav.links { display: flex; gap: 28px; }

nav.links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

nav.links a:hover { color: var(--coral); }

.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 72px 24px 56px;
  text-align: center;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(255, 111, 97, 0.25);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.15;
}

.hero h1 span { color: var(--coral); }

.hero p.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 36px;
}

.badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }

.badge svg { width: 22px; height: 22px; flex-shrink: 0; }

.badge .badge-text { text-align: left; line-height: 1.2; }
.badge .badge-text small { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.8; }
.badge .badge-text strong { display: block; font-size: 0.98rem; }

/* Features */
.features {
  padding: 20px 24px 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 26px;
  text-align: left;
}

.feature-card .emoji {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-card:nth-child(1) .emoji { background: #FFE3DE; }
.feature-card:nth-child(2) .emoji { background: #DCF1F7; }
.feature-card:nth-child(3) .emoji { background: #FFF1D6; }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Section shell for legal/support content */
section.page {
  padding: 64px 24px;
}

section.page.alt { background: var(--cream-deep); }

section.page .wrap { max-width: 760px; }

section.page h1.page-title {
  font-size: 2.1rem;
  margin: 0 0 8px;
}

section.page h2 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}

section.page .meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 32px;
}

section.page h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
}

section.page p, section.page li { color: var(--ink-soft); }

section.page ol { padding-left: 22px; }

/* Support */
.support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.support-card p { margin: 0 0 24px; }

.mail-btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  transition: background 0.15s ease;
}

.mail-btn:hover { background: var(--coral-dark); }

/* Footer */
footer {
  padding: 40px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

footer .foot-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--coral); }

@media (max-width: 720px) {
  nav.links { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .badges { flex-direction: column; align-items: center; }
  .badge { width: 100%; max-width: 280px; justify-content: center; }
}
