:root {
  color-scheme: light;
  --bg: #f4efe6;
  --panel: rgba(255, 251, 245, 0.9);
  --panel-strong: #fffdf9;
  --text: #243028;
  --muted: #66736d;
  --line: rgba(36, 48, 40, 0.12);
  --accent: #a85b2d;
  --accent-deep: #7e411d;
  --leaf: #7a9d6f;
  --shadow: 0 22px 60px rgba(73, 56, 35, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(227, 185, 116, 0.28), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(130, 170, 121, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(134, 160, 176, 0.16), transparent 26%),
    var(--bg);
}

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

.container {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.container.narrow {
  width: min(780px, calc(100% - 32px));
}

.hero,
.card,
.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.lead {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  padding: 28px;
}

.muted {
  color: var(--muted);
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--leaf);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  text-decoration: none;
}

.link-list,
ul,
ol {
  padding-left: 20px;
}

.footer-card {
  margin-top: 18px;
}

.support-box {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.support-box p:last-child,
.card p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 980px);
    padding: 24px 0 40px;
  }

  .hero,
  .card,
  .notice {
    padding: 22px;
    border-radius: 18px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
