:root {
  --brand: #F37423; --brand-deep: #E8551F; --brand-ink: #1A1A1A;
  --ink: #161616; --muted: #525252; --border: #e0e0e0; --bg: #ffffff; --soft: #f4f4f4;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f4f4f4; --muted: #c6c6c6; --border: #393939; --bg: #161616; --soft: #1f1f1f; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
nav a { color: var(--muted); text-decoration: none; margin-left: 24px; font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { padding: 96px 0 80px; }
.eyebrow { color: var(--brand-deep); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 24px; max-width: 14em; }
.hero p { font-size: 20px; color: var(--muted); max-width: 36em; margin: 0 0 32px; }
.button { display: inline-block; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none;
          padding: 12px 22px; border-radius: 8px; }
.button:hover { background: var(--brand-deep); }

section { padding: 72px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 12px; }
section .intro { color: var(--muted); max-width: 40em; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--soft); border-radius: 12px; padding: 28px; }
.card .num { color: var(--brand); font-weight: 700; font-size: 14px; }
.card h3 { margin: 8px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-bottom: 1px solid var(--border); }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--brand); font-weight: 700; }
.steps b { display: block; }
.steps span { color: var(--muted); }

.contact { background: var(--brand-ink); color: #f4f4f4; border-top: 0; }
.contact h2 { color: #fff; }
.contact .intro { color: #c6c6c6; }
.contact a.mail { color: #fff; font-size: 26px; font-weight: 700; text-decoration-color: var(--brand); }

footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); }

.doc { padding: 64px 0 40px; max-width: 760px; }
.doc h1 { font-size: 40px; letter-spacing: -0.02em; margin: 0 0 8px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  nav a { margin-left: 16px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
}
