:root {
  --paper: #fbfaf6;
  --card: #ffffff;
  --ink: #12161b;
  --muted: #5b6470;
  --line: #e4e1d8;
  --ok: #1f9d55;
  --ok-soft: #e3f4ea;
  --wait: #c98a12;
  --wait-soft: #fbf0d9;
  --accent: #2f5bea;
  --radius: 14px;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 40px; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--ok); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 10px; font-weight: 600; }
.btn:hover { background: #2a313a; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); margin-left: 8px; }
.small { font-size: 14px; color: var(--muted); }

/* grid mock */
.mock { margin: 44px 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; overflow-x: auto; box-shadow: 0 10px 30px rgba(18, 22, 27, 0.06); }
.mock table { border-collapse: separate; border-spacing: 8px; width: 100%; min-width: 680px; }
.mock th { font-size: 13px; color: var(--muted); font-weight: 600; text-align: left; padding: 0 4px; }
.mock td.row { font-size: 14px; font-weight: 600; white-space: nowrap; padding-right: 8px; }
.cell { border-radius: 10px; padding: 8px 10px; font-size: 13px; line-height: 1.35; min-height: 52px; }
.cell b { display: block; font-weight: 600; }
.cell.ok { background: var(--ok-soft); border: 1px solid #bfe3cd; }
.cell.ok b::before { content: "✓ "; color: var(--ok); }
.cell.wait { background: var(--wait-soft); border: 1px solid #efd9a6; }
.cell.wait b::before { content: "○ "; color: var(--wait); }
.cell.empty { border: 1px dashed var(--line); }
.cell span { color: var(--muted); }

/* sections */
section { padding: 48px 0; }
section h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
section > .wrap > p.intro { color: var(--muted); max-width: 680px; margin: 0 0 28px; font-size: 18px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { counter-increment: s; padding: 4px 0; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.platforms li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; }
.band h2 { color: #fff; }
.band p { color: #c9ced6; max-width: 640px; }
.band .btn { background: var(--ok); }
.band .btn:hover { background: #188448; }

/* legal pages */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; }
.legal h2 { font-size: 21px; margin: 36px 0 8px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2b3138; }
.legal .meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 24px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 600px) {
  .hero { padding: 44px 0 24px; }
  .btn.ghost { margin: 10px 0 0; }
  .band { padding: 24px; }
}
