/* s03 landing — light theme, mobile-first. No external fonts, no JS. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1c1f24;
  --text-soft: #565c66;
  --border: #e3e6ea;
  --accent: #1a6b4f;
  --accent-soft: #e6f3ee;
  --banner: #fff3cd;
  --banner-text: #7a5b00;
  --radius: 10px;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* draft banner */
.draft-banner {
  background: var(--banner);
  color: var(--banner-text);
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 16px;
}

/* header */
.site-header {
  padding: 20px 0 8px;
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-header a.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

/* hero */
.hero {
  padding: 36px 0 28px;
  text-align: center;
}

.hero h1 {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0 0 12px;
}

.hero .sub {
  color: var(--text-soft);
  font-size: 1rem;
  margin: 0 auto 24px;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-note {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.btn-link {
  color: var(--accent);
  text-decoration: underline;
}

/* sections */
section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 1.25rem;
  margin: 0 0 18px;
  text-align: center;
}

/* steps */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.step {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px;
}

.step .num {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* examples */
.examples {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.example {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.example h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.example p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* safety list */
.safety-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.safety-list li {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.95rem;
}

.safety-list strong {
  display: block;
  margin-bottom: 4px;
}

/* pricing */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table caption {
  text-align: left;
  margin-bottom: 8px;
  color: var(--text-soft);
}

.pricing-table th,
.pricing-table td {
  border: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.pricing-table thead th {
  background: var(--bg-soft);
}

.pricing-table .plan-name {
  font-weight: 700;
  white-space: nowrap;
}

.pricing-note {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* faq */
.faq-item {
  margin-bottom: 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 10px 0;
}

.faq-item p {
  margin: 4px 0 10px;
  color: var(--text-soft);
}

/* footer */
footer {
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-soft);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

footer a {
  color: var(--text-soft);
}

/* legal pages */
.legal main {
  padding: 24px 0 48px;
}

.legal h1 {
  font-size: 1.4rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 28px;
}

.legal h3 {
  font-size: 1rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.legal thead th {
  background: var(--bg-soft);
}

.legal p,
.legal li {
  font-size: 0.95rem;
}

.legal .eom {
  text-align: center;
  color: var(--text-soft);
}

.back-link {
  display: inline-block;
  margin: 16px 0;
  color: var(--accent);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .examples {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-row {
    flex-direction: row;
  }
}
