/* SkillDojo sales page — ink-meets-tech (plan.md WS1: sumi-e brush motifs on a clean modern-tech base).
   Hand-written, no framework, system fonts only, no external assets. */

:root {
  --paper: #f7f4ee;
  --paper-alt: #efebe2;
  --ink: #191a1c;
  --ink-soft: #43454a;
  --seal: #b23a2a;        /* hanko red */
  --seal-dark: #93291b;
  --line: #d8d3c8;
  --white-belt: #c9c5bb;
  --yellow-belt: #d9a441;
  --green-belt: #4a7c59;
  --blue-belt: #3b6ea5;
  --brown-belt: #7a5230;
  --black-belt: #1a1a1a;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -0.01em; }

a { color: var(--seal-dark); }
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid var(--seal);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }

.enso { width: 1.6rem; height: 1.6rem; color: var(--seal); }
.enso-footer { width: 1.1rem; height: 1.1rem; vertical-align: -0.2rem; }

.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--seal-dark); text-decoration: underline; }

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(38rem 24rem at 85% 0%, rgba(178, 58, 42, 0.07), transparent 65%),
    var(--paper);
}

.badge {
  display: inline-block;
  border: 1px solid var(--seal);
  color: var(--seal-dark);
  border-radius: 999px;
  padding: 0.3rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  background: rgba(178, 58, 42, 0.05);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  max-width: 20ch;
  margin-bottom: 0.9rem;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--seal-dark);
  margin-bottom: 1.4rem;
}

.hero-promise {
  max-width: 46rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 0.4rem;
  border: 2px solid var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(25, 26, 28, 0.18); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-big { font-size: 1.15rem; padding: 1rem 2rem; }

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }
.section-alt { background: var(--paper-alt); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--seal-dark);
  margin-bottom: 0.6rem;
}

.kanji {
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-left: 0.5rem;
}

.section h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
  max-width: 30ch;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 44rem; margin-bottom: 1.2rem; }

.section p + p { margin-top: 0.9rem; }

/* ---------- The art (loop list) ---------- */

.loop-list {
  counter-reset: loop;
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}
.loop-list li {
  counter-increment: loop;
  position: relative;
  padding: 0.9rem 1.1rem 0.9rem 3.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.loop-list li::before {
  content: counter(loop);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  width: 1.7rem;
  height: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--seal);
}

/* ---------- How grid ---------- */

.how-grid, .need-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.how-card, .need-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.4rem 1.5rem;
}
.how-card h3, .need-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.how-card p, .need-card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Belt ladder ---------- */

.rollout-note {
  border-left: 4px solid var(--seal);
  background: rgba(178, 58, 42, 0.06);
  padding: 0.9rem 1.1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.belt-list { list-style: none; display: grid; gap: 1rem; }

.belt {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-radius: 0.6rem;
  padding: 1.25rem 1.4rem;
}
.belt-emoji { font-size: 1.5rem; line-height: 1.9; }
.belt h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.belt p { font-size: 0.98rem; color: var(--ink-soft); }
.belt p + p { margin-top: 0.35rem; }

.belt-white  { border-left-color: var(--white-belt); }
.belt-yellow { border-left-color: var(--yellow-belt); }
.belt-green  { border-left-color: var(--green-belt); }
.belt-blue   { border-left-color: var(--blue-belt); }
.belt-brown  { border-left-color: var(--brown-belt); }
.belt-black  { border-left-color: var(--black-belt); }

.belt-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--seal-dark);
  border: 1px solid var(--seal);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  vertical-align: 0.15rem;
  margin-left: 0.4rem;
  white-space: nowrap;
}

/* ---------- Founding (ink panel) ---------- */

.section-ink {
  background: var(--ink);
  color: var(--paper);
}
.section-ink .kicker { color: #e0846f; }
.section-ink .lede { color: #cfccc4; }
.section-ink p { color: #e8e5de; max-width: 46rem; }
.section-ink strong { color: #fff; }

/* ---------- Pricing ---------- */

.price-entry {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  padding: 2.2rem 2rem;
  margin: 2rem 0 1.4rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(25, 26, 28, 0.08);
}

.price-figure { margin-bottom: 1rem; }
.price-amount {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.2rem);
  font-weight: 700;
}
.price-term { display: block; font-size: 1.05rem; color: var(--ink-soft); }

.price-includes {
  list-style: none;
  max-width: 30rem;
  margin: 0 auto 1.6rem;
  text-align: left;
}
.price-includes li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.45rem;
}
.price-includes li::before {
  content: "▸";
  position: absolute;
  left: 0.3rem;
  color: var(--seal);
}

.price-fine { margin-top: 0.9rem; font-size: 0.92rem; color: var(--ink-soft); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1.4rem 1.5rem;
}
.tier-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.tier-note {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--seal);
  border-radius: 999px;
  color: var(--seal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.tier-card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0.9rem; }
.tier-card .btn { font-size: 0.95rem; padding: 0.55rem 1.1rem; }

/* ---------- Guarantee ---------- */

.guarantee {
  border: 1px solid var(--line);
  border-top: 4px solid var(--seal);
  background: #fff;
  border-radius: 0.6rem;
  padding: 1.6rem 1.7rem;
}
.guarantee h3 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.guarantee ul { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 1.1rem; }
.guarantee li { padding-left: 1.6rem; position: relative; }
.guarantee li::before { content: "▸"; position: absolute; left: 0.3rem; color: var(--seal); }

.warn {
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--yellow-belt);
  padding: 0.5rem 0 0.5rem 1rem;
  background: rgba(217, 164, 65, 0.08);
}

/* ---------- FAQ ---------- */

#faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin-bottom: 0.7rem;
  padding: 0;
}
#faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 1.1rem;
  padding: 1rem 1.2rem;
  list-style-position: inside;
}
#faq summary:hover { color: var(--seal-dark); }
#faq details p { padding: 0 1.2rem 1.1rem 1.2rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: var(--paper-alt);
}
.site-footer p { margin-bottom: 0.4rem; }
.footer-line { color: var(--ink-soft); font-size: 0.95rem; }
.footer-fine { color: var(--ink-soft); font-size: 0.85rem; margin-top: 0.8rem; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .how-grid, .need-grid, .tier-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.8rem; }
  .section { padding: 2.8rem 0; }
  .site-nav { gap: 0.8rem; }
  .site-nav a { font-size: 0.88rem; }
  .brand-name { font-size: 1.15rem; }
  .belt { flex-direction: row; }
  .btn-big { width: 100%; text-align: center; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
}

/* ===== Legal pages ===== */
.legal { max-width: 46rem; }
.legal h1 { font-size: 2.2rem; margin-bottom: 0.4rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 0.8rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 0.8rem 0 1.2rem; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--rule, #ddd6c9); }
.legal code { font-size: 0.9em; }
.site-footer a { color: inherit; text-decoration: underline; }
