:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --ink: #182622;
  --muted: #48564e;
  --green: #205a50;
  --green-hover: #16483f;
  --light-green: #e7eee5;
  --line: #cbd7cc;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
p { line-height: 1.75; }
.wrap { width: min(100% - 7rem, 1260px); margin-inline: auto; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-header { padding-block: 1.6rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.4rem; font-weight: 750; }
.brand img { border-radius: 23%; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.7rem, 2.2vw, 2rem); }
nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
nav > a:not(.button):hover { text-decoration: underline; text-underline-offset: .3em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .65rem 1.65rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
}
.button:hover { background: var(--green-hover); }
.button-small { min-height: 44px; padding-inline: 1.15rem; font-size: .95rem; }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { background: var(--light-green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(.5rem, 3vw, 3rem);
  padding-block: clamp(1.8rem, 5vw, 4.25rem) clamp(2.8rem, 7vw, 6rem);
}
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 5.15rem); letter-spacing: -.055em; line-height: 1.17; font-weight: 800; }
.hero-copy p { margin-block: 1.6rem 1.85rem; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.hero-figure img { width: 100%; border-radius: 1.4rem; }
.hero-figure figcaption { margin-top: .5rem; color: var(--muted); text-align: right; font-size: .85rem; }

.steps-section, .privacy { scroll-margin-top: 1.4rem; }
.steps-section { padding-block: 0 clamp(3rem, 7vw, 6rem); }
.steps-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 3.5vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 3.6rem);
  text-align: center;
}
.steps-section h2::before, .steps-section h2::after { content: ""; flex: 1; max-width: 12rem; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.75rem, 3.25vw, 3rem); letter-spacing: -.035em; line-height: 1.25; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 5vw, 4rem); list-style: none; margin: 0; padding: 0; }
.steps li { padding-inline: clamp(0rem, 2vw, 1.4rem); text-align: center; }
.art {
  display: block;
  flex: none;
  width: 10rem;
  height: 6.5rem;
  background: url("steps.webp") no-repeat 0 50% / 400% auto;
}
.steps .art { margin: 0 auto 1rem; }
.art-check { background-position-x: 33.333%; }
.art-calendar { background-position-x: 66.667%; }
.art-privacy { background-position-x: 100%; }
.steps h3 { margin-bottom: .5rem; font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: 1.05rem; }
.privacy {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.35rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: var(--light-green);
}
.privacy p { margin-top: .6rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(2.4rem, 5vw, 4rem); padding-block: 1.5rem 2.4rem; }
.site-footer .brand { font-size: 1.14rem; }

@media (min-width: 1000px) {
  .hero-figure { width: calc(100% + 3.2vw); }
  .hero .button { min-height: 60px; padding-inline: 2rem; font-size: 1.15rem; }
  .art { width: 12.5rem; height: 8.25rem; }
}

@media (max-width: 850px) {
  .wrap { width: min(100% - 3rem, 1260px); }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-figure { width: min(100%, 560px); margin-inline: auto; }
}

@media (max-width: 540px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { padding-block: .85rem; gap: .25rem .8rem; }
  .site-header .brand { font-size: 1.2rem; }
  .site-header .brand img { width: 36px; }
  .site-header nav { gap: .65rem; font-size: .86rem; }
  .site-header .button-small { padding-inline: .7rem; font-size: .86rem; }
  .hero h1 { font-size: clamp(2.2rem, 10.2vw, 3.4rem); }
  .hero-copy p { margin-block: 1rem 1.35rem; }
  .desktop-break { display: none; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps li { display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; text-align: left; }
  .art { width: 4.3rem; height: 3.65rem; }
  .steps .art { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 0; }
  .privacy { align-items: flex-start; }
  .privacy h2 { font-size: 1.45rem; }
}
