:root {
  --ink: #14181f;
  --muted: #4a5262;
  --line: #e2e5ea;
  --accent: #c2410c;
  --bg: #fff;
  --soft: #f6f4f0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-size: 17px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(30px, 6vw, 48px);
}
h2 {
  font-size: clamp(24px, 4vw, 34px);
}
h3 {
  font-size: 20px;
}
p {
  margin: 0 0 1em;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 56px 0;
}
section + section {
  border-top: 1px solid var(--line);
}
.soft {
  background: var(--soft);
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 12px;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  min-height: 56px;
}
.btn:hover {
  filter: brightness(0.94);
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.hero {
  padding: 64px 0;
}
.hero .grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
.hero .sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 560px;
}
.hero .note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.photo {
  border-radius: 20px;
  background: var(--soft);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.cols {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
}
.card .n {
  display: inline-block;
  background: var(--soft);
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 700;
  margin-bottom: 10px;
}
.steps {
  counter-reset: s;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.steps .card::before {
  counter-increment: s;
  content: counter(s);
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.price {
  font-size: 44px;
  font-weight: 800;
  margin: 8px 0;
}
details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
details:last-of-type {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
summary::after {
  content: "+";
  color: var(--muted);
}
details[open] summary::after {
  content: "–";
}
footer {
  padding: 40px 0;
  font-size: 14px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
}
footer .disclaimer {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin: 16px 0;
}
.banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  z-index: 50;
  font-size: 15px;
}
.banner[hidden] {
  display: none;
}
.banner label {
  display: block;
  margin: 8px 0;
}
.banner .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.banner .btn {
  padding: 12px 18px;
  min-height: 44px;
  font-size: 16px;
}
.banner .ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 31, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal .box {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.modal img {
  margin: 12px auto;
  width: 240px;
  height: 240px;
}
.modal a.link {
  display: block;
  margin-top: 10px;
  word-break: break-all;
}
@media (min-width: 760px) {
  .hero .grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .cols.three {
    grid-template-columns: repeat(3, 1fr);
  }
  .cols.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .cols.two {
    grid-template-columns: repeat(2, 1fr);
  }
}
