:root {
  color-scheme: light;
  --paper: #f7f0de;
  --paper-deep: #eadfca;
  --ink: #1f1d1a;
  --muted: #6f665c;
  --red: #c9352d;
  --blue: #2f557f;
  --line: rgba(31, 29, 26, 0.16);
  --panel: rgba(255, 252, 244, 0.74);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 53, 45, 0.08), transparent 30rem),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
  min-height: 100vh;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.topnav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero {
  padding: 52px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(31, 29, 26, 0.08);
}

.hero.compact {
  padding: 36px 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.05;
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  border-color: var(--red);
  background: var(--red);
}

.section {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

h2 {
  margin: 0 0 12px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 26px;
}

p {
  margin: 0 0 12px;
  line-height: 1.85;
}

p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.contact {
  display: inline-flex;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(47, 85, 127, 0.08);
  font-size: 18px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-weight: 900;
}

details {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

details:first-of-type {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
  line-height: 1.6;
}

details p {
  margin-top: 10px;
  color: var(--muted);
}

.footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 560px) {
  .page {
    padding: 16px 12px 36px;
  }

  .hero,
  .hero.compact,
  .section {
    padding: 20px;
  }

  .lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }
}
