:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #059669;
  --ink: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "PingFang SC", system-ui, sans-serif;
}
.page { min-height: calc(100vh - 72px); }
.hero {
  min-height: 72vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(rgba(15,23,42,.48), rgba(15,23,42,.18)),
    url("https://images.unsplash.com/photo-1502904550040-7534597429ae?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: var(--ink);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
}
.nav span { opacity: .86; }
.hero-body {
  width: min(760px, calc(100% - 36px));
  align-self: end;
  padding: 0 0 clamp(56px, 12vh, 110px) clamp(18px, 5vw, 72px);
}
h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1.04;
}
.hero p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.actions a,
.back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--text);
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
}
.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}
.section h2,
.doc h1 {
  margin: 0 0 20px;
  font-size: 30px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
article,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}
h3,
.doc h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}
.contact {
  border-top: 1px solid var(--line);
}
.doc {
  width: min(760px, calc(100% - 36px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 42px 0;
}
.doc .back {
  margin-bottom: 24px;
  background: #ecfdf5;
  color: #047857;
}
footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line);
  background: #ffffff;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
@media (max-width: 760px) {
  .hero { min-height: 78vh; }
  .nav { align-items: flex-start; flex-direction: column; }
  .hero-body { padding-left: 18px; }
  .hero p { font-size: 17px; }
  .actions a { width: 100%; }
  .grid { grid-template-columns: 1fr; }
}
