:root {
  --bg: #fbfaf7; --surface: #ffffff; --ink: #17181c; --muted: #5d6068; --line: #e6e3dc;
  --teal: #0f766e; --violet: #5b3fd6; --accent-ink: #ffffff;
  --radius: 18px; --max: 760px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121317; --surface: #1b1d22; --ink: #eceef2; --muted: #a3a7b0; --line: #2c2f36; --teal: #2bb3a6; --violet: #9b87ff; --accent-ink: #0d1110; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--teal); }
img { max-width: 100%; height: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--max); margin: 0 auto; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand img { border-radius: 9px; }
.get { color: var(--teal); font-weight: 600; text-decoration: none; white-space: nowrap; }

main { max-width: var(--max); margin: 0 auto; padding: 0 16px 40px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 14px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
.lead { font-size: 19px; color: var(--ink); margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 15px; margin: 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-top: 8px; }
.crumbs a { color: var(--muted); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 52px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px; background: var(--line); }
.steps p { margin: 4px 0 12px; }
.steps figure { margin: 0; }
.steps figure img { width: 216px; border-radius: 22px; border: 6px solid #15161a; box-shadow: 0 10px 30px rgba(0,0,0,.18); background: #fff; }

.tips { padding-left: 20px; }
.tips li { margin-bottom: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.related { padding-left: 20px; }
.related li { margin-bottom: 6px; }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 32px 0 8px; padding: 18px;
  border-radius: var(--radius); background: linear-gradient(135deg, #0f766e, #5b3fd6); color: #fff; /* brand colours in both themes: white text needs the dark ones */
}
.cta img { border-radius: 14px; }
.cta div { flex: 1 1 180px; }
.cta p { margin: 0; }
.cta-title { font-weight: 700; font-size: 19px; }
.btn {
  display: inline-block; background: #fff; color: #10121a; font-weight: 700; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.hero .btn { background: var(--teal); color: var(--accent-ink); margin-top: 10px; }
.cards { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cards a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 12px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3;
}
.cards a:hover { border-color: var(--teal); }
.cards img { width: 54px; flex: none; border-radius: 8px; border: 2px solid #15161a; }

footer { max-width: var(--max); margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
