:root {
  --bg: #f6f7f8;
  --card: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --focus: #2457a6;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}
.site-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 32px 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}
.home-card { margin-top: max(0px, calc((100vh - 620px) / 2)); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0 0 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.site-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration-thickness: 2px;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h3 {
  margin: 1.45rem 0 0.4rem;
  font-size: 1.08rem;
  line-height: 1.35;
}
p { margin: 0 0 1.1rem; font-size: 1.0625rem; }
ul { margin: 0 0 1.25rem; padding-left: 1.35rem; }
li { margin: 0.35rem 0; }
.lede { max-width: 46rem; font-size: 1.18rem; }
.muted { color: var(--muted); }
.meta { color: var(--muted); font-size: 0.9375rem; }
.project,
.section-rule {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.project h2 { margin-top: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 1.25rem 0 1.75rem;
}
.contact-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.notice {
  margin: 1.5rem 0;
  padding: 16px 18px;
  border-left: 4px solid var(--text);
  background: var(--bg);
}
.notice p:last-child { margin-bottom: 0; }
footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 8px;
}
@media (max-width: 600px) {
  .site-shell { padding: 20px 14px; }
  .card { padding: 30px 24px; border-radius: 14px; }
  .home-card { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
