:root {
  color-scheme: light;
  --ink: #241c17;
  --muted: #75695e;
  --paper: #f7f2e8;
  --surface: #fffcf7;
  --cocoa: #6f4e37;
  --sand: #c5a37c;
  --line: rgba(83, 59, 44, 0.18);
  --shadow: rgba(76, 52, 39, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.hero,
.page-header {
  color: #fffaf3;
  background:
    radial-gradient(circle at 74% 18%, rgba(224, 196, 160, 0.28), transparent 30rem),
    linear-gradient(145deg, #261c17, #5a4032 58%, #2e211b);
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.nav {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav a {
  text-decoration: none;
}

.brand {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.hero-content,
.page-header > div {
  width: min(1080px, calc(100% - 40px));
  margin: auto;
  padding: 72px 0 100px;
}

.page-header > div {
  padding-top: 52px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: #e0c4a0;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.section-label {
  color: var(--cocoa);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 800px;
  font-size: clamp(3rem, 8.5vw, 7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-header h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.updated {
  color: rgba(255, 255, 255, 0.65);
}

main > section,
.policy {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

h2 {
  margin-bottom: 36px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps li,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.8);
  box-shadow: 0 12px 32px var(--shadow);
}

.steps li {
  padding: 28px;
}

.steps li > span {
  width: 36px;
  height: 36px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--cocoa);
  font-size: 0.82rem;
  font-weight: 750;
}

.steps p,
.faq-grid p,
.contact p,
.notice p,
.policy p,
.policy li {
  color: var(--muted);
}

.tinted {
  position: relative;
}

.tinted::before {
  position: absolute;
  z-index: -1;
  inset: 28px -28px;
  border-radius: 36px;
  background: rgba(197, 163, 124, 0.18);
  content: "";
}

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

.faq-grid article {
  padding: 28px;
}

.contact {
  text-align: center;
}

.contact p {
  max-width: 660px;
  margin: 0 auto 28px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--cocoa);
  box-shadow: 0 8px 20px rgba(76, 52, 39, 0.2);
  text-decoration: none;
  font-weight: 700;
}

.notice {
  padding-top: 42px;
}

.notice p {
  max-width: 760px;
}

.policy {
  max-width: 780px;
}

.policy section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.policy h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

code {
  overflow-wrap: anywhere;
}

footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: 630px;
  }

  .hero-content,
  .page-header > div {
    padding: 56px 0 76px;
  }

  .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  main > section,
  .policy {
    padding: 66px 0;
  }

  .tinted::before {
    inset: 22px -12px;
  }

  footer {
    gap: 16px;
    flex-direction: column;
  }
}
