:root {
  --teal: #619394;
  --teal-dark: #4F7C7E;
  --seafoam: #C3D1D1;
  --seafoam-light: #DFE7E7;
  --pink: #FDD6CF;
  --coral: #FDADA4;
  --gold: #E8B86C;
  --cream: #FFF8F3;
  --cream-deep: #FCEFE6;
  --text: #2A3A3A;
  --text-muted: #6B7878;
  --border: #C3D1D1;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1F2828;
    --cream-deep: #283434;
    --text: #F0E8E0;
    --text-muted: #A4B4B5;
    --border: #3A4848;
    --seafoam: #3A4848;
    --seafoam-light: #2D3838;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.nav-brand {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; }

.nav-links a {
  margin-left: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 24px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 600px;
}

.cta {
  display: inline-block;
  background: var(--teal);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}
.cta:hover { background: var(--teal-dark); text-decoration: none; }

.cta.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 6px;
}
.cta.secondary:hover { background: var(--cream-deep); border-color: var(--teal); }

section { margin-bottom: 52px; }

section h2 {
  font-size: 22px;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.card {
  background: var(--cream-deep);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  transition: border-color 0.18s, transform 0.1s;
}
.card:hover { border-color: var(--teal); }

.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

ol.steps {
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

ol.steps li {
  counter-increment: step;
  padding: 18px 18px 18px 58px;
  background: var(--cream-deep);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  position: relative;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  background: var(--teal);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

ol.steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--text);
}

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

.faq h3 {
  margin: 28px 0 6px;
  font-size: 16px;
  color: var(--text);
}

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

footer {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 64px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--text-muted);
  margin-right: 18px;
}

footer a:hover { color: var(--text); text-decoration: none; }

article h1 {
  font-size: 34px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--text);
}

article .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

article h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text);
}

article p, article li { color: var(--text); }

article ul { padding-left: 22px; }

code {
  background: var(--cream-deep);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--teal-dark);
}
