:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-muted: #f0f2f5;
  --text: #1d1d1f;
  --muted: #5c6370;
  --line: #d8dce3;
  --accent: #0a84ff;
  --accent-strong: #0063cc;
  --warning-bg: #fff5e6;
  --warning-line: #f3c980;
  --warning-text: #7a4d00;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --width: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fafbfc 0%, var(--bg) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
}

.site-shell {
  width: min(calc(100% - 32px), var(--width));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.site-header,
.card,
.banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: 1.45rem;
}

.lead,
.hint,
.meta,
.faq-answer {
  margin: 14px 0 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
  outline: none;
}

.banner {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--warning-bg);
  border-color: var(--warning-line);
  color: var(--warning-text);
}

.banner strong {
  display: block;
  margin-bottom: 10px;
}

.banner ul {
  margin: 0;
  padding-left: 20px;
}

.card-grid,
.stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.info-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.info-list dd {
  margin: 0;
  font-weight: 600;
}

.address-list,
.topic-list,
.link-list {
  list-style: none;
  margin: 0px 0 0;
  padding: 0;
}

.address-list li,
.topic-list li,
.link-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.address-list li:last-child,
.topic-list li:last-child,
.link-list li:last-child {
  border-bottom: 0;
}

.link-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-muted);
  padding: 16px 18px;
}

.faq-question {
  cursor: pointer;
  font-weight: 700;
}

.faq-question::-webkit-details-marker {
  display: none;
}

@media (max-width: 760px) {
  .site-header,
  .card-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}
