:root {
  --green: #176b57;
  --green-dim: #0f4a3c;
  --orange: #e4935c;
  --ink: #17352f;
  --muted: #60736c;
  --line: #e4eae5;
  --pale: #f5f7f3;
  --surface: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --green-dim: #2a8a70;
    --ink: #e7f1ec;
    --muted: #9fb6ac;
    --line: #2b3f38;
    --pale: #101c18;
    --surface: #17251f;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- header: brand mark + a quiet gradient wash, not a full hero ---- */
.masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.masthead::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 220px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 16%, transparent), transparent);
  pointer-events: none;
}

.masthead-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

.brand span {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.masthead h1 {
  font-weight: 800;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding-bottom: 32px;
}

/* ---- body copy ---- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

h2 {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.005em;
  margin: 40px 0 12px;
}

p, li {
  font-size: 15.5px;
  color: var(--ink);
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--green);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

/* a quiet accent card for the sections worth pausing on */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
}

.card ul {
  margin-bottom: 0;
}

/* numbered steps for genuinely sequential content, echoing the app's own "how it works" */
.steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 0;
}

.steps .num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 14%, transparent);
  color: var(--green-dim);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-color-scheme: dark) {
  .steps .num {
    color: #bfe9d9;
  }
}

.steps strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 2px;
}

.steps span.detail {
  color: var(--muted);
  font-size: 14.5px;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

footer a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .masthead h1 {
    font-size: 28px;
  }
}
