:root {
  --green: #1a7a4c;
  --green-dark: #145c3a;
  --green-soft: #e7f5ee;
  --paper: #f6f1e8;
  --card: #fff;
  --ink: #1c241f;
  --muted: #5c6b63;
  --line: #d9e0d9;
  --amber: #e8a317;
  --shadow: 0 12px 32px rgba(20, 40, 30, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, Roboto, sans-serif;
  background:
    radial-gradient(1000px 380px at 8% -8%, #dcefe4, transparent 55%),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--green), #0f4d30);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.hero h1 { margin: 0; letter-spacing: 0.04em; }
.hero p { color: var(--muted); margin: 8px 0 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: var(--green-soft); color: var(--green-dark); margin-top: 10px; }

.note {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.95rem;
}

.install-msg {
  display: none;
  margin-top: 16px;
  background: #145c3a;
  color: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
}

.install-msg.show,
.install-msg:not([hidden]) {
  display: block;
}

.install-msg[hidden] {
  display: none !important;
}

.section {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.section h2 { margin: 0 0 10px; }
.section p, .section li { color: var(--muted); }

.steps { display: grid; gap: 14px; margin-top: 14px; }
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}
.num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.shots {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 700px) {
  .shots { grid-template-columns: 1fr 1fr; }
}

.shot {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-soft);
}
.shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; background: #efe8dc; }
.shot figcaption { padding: 10px 12px; font-size: 0.9rem; color: var(--muted); }

.phone {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(#fff, #f3faf6);
}
.phone strong { display: block; margin-bottom: 6px; }

.warn {
  background: #fff6dd;
  color: #7a5b00;
  border-radius: 14px;
  padding: 12px 14px;
}

nav.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
nav.toc a {
  background: var(--green-soft);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}
