:root {
  --bg: #fafafa;
  --surface: #f1edea;
  --surface-elevated: #ffffff;
  --text: #1b1b1b;
  --text-muted: #6f6a66;
  --text-on-accent: #ffffff;
  --border: #e3ddd8;
  --accent: #f4511e;
  --accent-muted: #fde0d3;
  --success: #2e7d32;
  --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121110;
    --surface: #1e1c1a;
    --surface-elevated: #28251f;
    --text: #f4efea;
    --text-muted: #a79e97;
    --text-on-accent: #ffffff;
    --border: #38332d;
    --accent: #ff7a50;
    --accent-muted: #4a2c1c;
    --success: #66bb6a;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

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

header.site {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

nav.site {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
}

nav.site a:hover {
  color: var(--accent);
}

.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero .icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

section {
  padding: 40px 0;
}

section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 24px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.feature .emoji {
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}

.feature h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.feature p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.steps {
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

footer.site nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--text-muted);
  text-decoration: none;
}

footer.site a:hover {
  color: var(--accent);
}

/* Legal pages (privacy policy / terms) */
.legal h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.legal h2 {
  text-align: left;
  font-size: 19px;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--text);
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  word-break: break-word;
}
