:root {
  --orange: #ff9e0a;
  --red: #ff3314;
  --gradient: linear-gradient(135deg, var(--orange), var(--red));
  --bg: #ffffff;
  --surface: #f4f3f1;
  --text: #17130f;
  --muted: #6b645d;
  --line: rgba(23, 19, 15, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0b0a;
    --surface: #1b1816;
    --text: #f5f2ee;
    --muted: #a69e96;
    --line: rgba(245, 242, 238, 0.12);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--red); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 72px; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 40px rgba(255, 51, 20, 0.35); }
.hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 28px 0 14px; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient); color: #fff; text-decoration: none;
  font-weight: 600; padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 51, 20, 0.3);
}
.button svg { width: 20px; height: 20px; fill: currentColor; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Features */
.section-title { text-align: center; font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-bottom: 72px; }
.card { background: var(--surface); border-radius: 22px; padding: 24px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gradient); display: grid; place-items: center; color: #fff; font-size: 22px; }
.card h3 { margin: 16px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Text pages */
.doc { max-width: 760px; margin: 0 auto; padding-top: 24px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); letter-spacing: -0.02em; margin: 16px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc .summary { background: var(--surface); border-radius: 18px; padding: 18px 22px; margin-bottom: 8px; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
details { background: var(--surface); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

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

@media (max-width: 560px) {
  .top nav a { margin-left: 12px; }
  .hero { padding-top: 32px; padding-bottom: 56px; }
  .hero p { font-size: 18px; }
}
