/* C1 Pilot LP — simple, mobile-first. No build step. */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --border: #e4e2dc;
  --accent: #0b5fff;
  --accent-hover: #0948c7;
  --danger-soft: #f4ece8;
  --ok-soft: #e8f2ea;
  --radius: 12px;
  --max: 720px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Segoe UI", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.draft-banner {
  background: #3d2b1f;
  color: #fff8f0;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.55rem 1rem;
}

.draft-banner strong {
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 2.75rem 0 2rem;
}

.hero h1 {
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero .sub {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
}

.trust {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* CTA */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

@media (min-width: 540px) {
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  border-color: var(--muted);
}

.btn-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

/* Sections */
section {
  padding: 2.25rem 0;
}

section.alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  line-height: 1.4;
}

h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

ol,
ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.card.soft-ok {
  background: var(--ok-soft);
  border-color: #c5dcc9;
}

.card.soft-no {
  background: var(--danger-soft);
  border-color: #e0cfc6;
}

.split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0 0 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: #f0eee8;
  font-weight: 700;
  width: 32%;
}

tr:last-child td,
tr:last-child th {
  border-bottom: none;
}

.price-big {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding: 0.9rem 0.9rem 0.9rem 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.75rem;
  top: 0.95rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q. ";
  color: var(--accent);
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
}

.faq .a {
  color: var(--muted);
  font-size: 0.95rem;
}

.closing {
  text-align: center;
  padding-bottom: 3rem;
}

.closing .notes {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: left;
}

footer {
  padding: 1.25rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Signup form (FormSubmit) */
.form-intro {
  color: var(--muted);
  font-size: 0.95rem;
}

.signup-form {
  margin-top: 1.25rem;
}

.signup-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.1rem 1.15rem 1.25rem;
  margin: 0 0 1rem;
}

.signup-form legend {
  font-weight: 700;
  padding: 0 0.35rem;
}

.signup-form label,
.signup-form .field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}

.signup-form label:first-of-type,
.signup-form .field-label:first-of-type {
  margin-top: 0.35rem;
}

.signup-form .req {
  color: #b42318;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.signup-form .opt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.25rem;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form select,
.signup-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-color: var(--accent);
}

.signup-form textarea {
  resize: vertical;
  min-height: 5rem;
}

.check-grid {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.check {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500 !important;
  margin: 0.15rem 0 !important;
  cursor: pointer;
}

.check input {
  width: auto;
  accent-color: var(--accent);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.deposit-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #f0eee8;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.deposit-note strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.deposit-note ul {
  margin: 0;
  padding-left: 1.15rem;
}

.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 0.35rem;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--accent-hover);
}

.thank-you {
  min-height: 60vh;
}

.thank-you .card h3 {
  font-size: 1.05rem;
}
