:root {
  --ink: #141414;
  --muted: #6b6f7b;
  --line: #e8e8ec;
  --bg: #ffffff;
  --soft: #f6f6f4;
  --yellow: #ffe500;
  --accent: #4262ff;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
header.top nav a { text-decoration: none; color: var(--muted); }
header.top nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20, 20, 20, 0.18); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; color: #fff !important; }
.btn.light { background: var(--soft); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .logo { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 30px rgba(20, 20, 20, 0.12); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; margin: 26px 0 16px; }
.hero h1 .mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 4px; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta small { color: var(--muted); font-size: 14px; }

/* ---------- board illustration ---------- */
.shot { margin: 56px auto 0; max-width: 960px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 80px rgba(20, 24, 40, 0.14); overflow: hidden; }
.shot .bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafafa; }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e2e6; }
.shot .bar i:nth-child(1) { background: #ff5f57; }
.shot .bar i:nth-child(2) { background: #febc2e; }
.shot .bar i:nth-child(3) { background: #28c840; }
.shot .bar span { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: #444; }
.shot svg { display: block; width: 100%; height: auto; }

/* ---------- features ---------- */
section { padding: 72px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; text-align: center; }
section p.sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 600px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; margin-bottom: 14px; font-size: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.card h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.price { max-width: 460px; margin: 0 auto; border: 1px solid var(--line); border-radius: 20px; padding: 34px; text-align: center; box-shadow: 0 20px 50px rgba(20, 24, 40, 0.07); }
.price .amount { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .amount small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price ul { list-style: none; padding: 0; margin: 24px 0 28px; text-align: left; }
.price li { padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; }
.price li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.price .btn { width: 100%; }
.price .note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }

/* ---------- legal pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 0 80px; }
.doc h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 20px; text-align: left; margin: 32px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #333; font-size: 16px; }
.doc ul { padding-left: 20px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr 1fr; }
  header.top nav a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 56px 0; }
  .price { padding: 26px 20px; }
}
