:root {
  --ink: #16202a;
  --muted: #5a6672;
  --line: #e3e7eb;
  --bg: #fbfaf7;
  --card: #ffffff;
  --accent: #c2410c;
  --accent-soft: #fdeee6;
  --deep: #0f2a3d;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(251, 250, 247, .92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.menu-toggle { display: none; }

/* hero */
.hero { padding: 84px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: #18405c; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: #c9d0d6; }
.hero-art { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15, 42, 61, .35); }

/* sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; }
.alt { background: #f3f1ec; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.card .icon svg { width: 24px; height: 24px; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 4px 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); font-weight: 700; color: var(--accent); font-size: 14px; display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

.band { background: var(--deep); color: #e8eef3; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: #b9c7d2; margin: 0; }
.band .btn-primary { background: #fff; color: var(--deep); }
.band .btn-primary:hover { background: #eef3f6; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { border: 1px solid var(--line); background: var(--card); padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }

/* pages */
.page-hero { padding: 64px 0 24px; }
.page-hero .lead { margin-bottom: 0; }
.prose { max-width: 720px; }
.prose p { margin: 0 0 18px; }
.prose h2 { margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.fact { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.fact strong { display: block; font-size: 18px; }
.fact span { color: var(--muted); font-size: 15px; }

.post { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post time { color: var(--muted); font-size: 14px; }
.post h3 { font-size: 24px; margin: 6px 0 10px; }
.post p { color: var(--muted); margin: 0 0 12px; max-width: 46em; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.contact-list li span:first-child { color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap, .band { grid-template-columns: 1fr; }
  .grid-3, .steps, .facts { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 48px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .menu-toggle { display: block; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; color: var(--ink); }
  .site-header.open .nav { display: flex; }
  .grid-3, .grid-2, .steps, .facts { grid-template-columns: 1fr; }
  .band { padding: 32px 24px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}
