:root {
  --bg: #0a0a0f;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --border: rgba(255, 255, 255, 0.1);
  --primary: #f43f5e;
  --card: #12121a;
  --link: #fb7185;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(244, 63, 94, 0.18), transparent),
    var(--bg);
  min-height: 100vh;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fda4af;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 15, 0.9);
  border-bottom: 1px solid var(--border);
}

.site-header-inner,
.site-footer-inner,
.page {
  width: min(860px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.75rem 0;
}

.brand {
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  font-family: system-ui, sans-serif;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: system-ui, sans-serif;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--fg);
}

.page {
  padding: 2.5rem 0 4rem;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--primary);
}

h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  font-family: system-ui, sans-serif;
}

h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  font-family: system-ui, sans-serif;
}

p,
li {
  color: #e4e4e7;
}

ul,
ol {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.4rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin: 1.25rem 0;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin: 0.75rem 0;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-list a {
  font-family: system-ui, sans-serif;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
}

.site-footer-inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-family: system-ui, sans-serif;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.15rem;
}

.footer-links a:hover {
  color: var(--fg);
}

.guide-list {
  list-style: none;
  padding: 0;
}

.guide-list li {
  margin: 0.75rem 0;
}

.guide-list a {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--fg);
  font-family: system-ui, sans-serif;
  min-height: 48px;
}

.guide-list a:hover {
  border-color: rgba(244, 63, 94, 0.45);
}

.guide-list span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.35rem;
  font-family: Georgia, serif;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    justify-content: flex-end;
  }
}
