:root {
  color-scheme: light;
  --bg: #FFF8EC;
  --surface: #FFFFFF;
  --text: #1F2A44;
  --muted: #5B6785;
  --teal: #147E96;
  --orange: #FF7A45;
  --line: #EADFCB;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span { color: var(--orange); }

nav a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover { color: var(--text); }

h1 { font-size: 38px; line-height: 1.15; margin: 24px 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin-top: 40px; }
.lead { font-size: 20px; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); }

.card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin-top: 16px;
}

.card img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.card h3 { margin: 0 0 4px; font-size: 21px; }
.card p { margin: 0 0 8px; }

.badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 2px 10px;
}

.links a { margin-right: 14px; font-weight: 600; }

.hero-icon { width: 120px; height: 120px; border-radius: 26px; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 16px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .card { flex-direction: column; align-items: flex-start; }
  nav a { margin-left: 12px; }
}

/* Sections, buttons and grids for the fuller pages */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 46px; }
.hero-logo { width: 100%; max-width: 420px; height: auto; display: block; margin: 8px 0 4px; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: var(--surface); color: var(--teal); border: 2px solid var(--teal); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 16px; }
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.tile .emoji { font-size: 34px; line-height: 1; }
.tile h3 { margin: 10px 0 6px; font-size: 18px; }
.tile p { margin: 0; color: var(--muted); }

.steps { counter-reset: step; }
.steps .tile h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
}

.faq h3 { font-size: 18px; margin: 24px 0 4px; }
.faq p { margin: 0; }

footer nav { margin-bottom: 8px; }
footer nav a { margin: 0 16px 0 0; font-size: 14px; }

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