:root {
  --bg: #fff8ee;
  --surface: #fffdf9;
  --ink: #263430;
  --muted: #74807b;
  --line: #eadfce;
  --honey: #e9a23b;
  --honey-dark: #c77b17;
  --teal: #0f766e;
  --teal-soft: #ddf0ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211f1b;
    --surface: #2b2924;
    --ink: #f7f0e5;
    --muted: #a9aaa3;
    --line: #403d35;
    --teal: #5fbfb3;
    --teal-soft: #26423d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--teal); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; gap: 10px; }
header img { width: 36px; height: 36px; border-radius: 9px; }
header a.brand { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }

.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--honey-dark); }
.hero p { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 30em; }
.hero .art { display: flex; justify-content: center; }
.badge {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 15px;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0 60px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h2 { font-size: 18px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--honey); margin-bottom: 14px; }
.card:nth-child(2) .dot { background: var(--teal); }
.card:nth-child(3) .dot { background: #ec7468; }

.doc { padding: 30px 0 60px; max-width: 720px; }
.doc h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc li { margin-bottom: 6px; }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .art { order: -1; }
  .features { grid-template-columns: 1fr; }
  nav { gap: 12px; }
}

.art { display: grid !important; grid-template-columns: repeat(3, 96px); gap: 12px; justify-content: center; }
.tile {
  aspect-ratio: 1; border-radius: 18px; background: #f2b65d; color: #5f3515;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 12px; font-weight: 700; transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(87, 65, 38, 0.16);
}
.tile:nth-child(even) { transform: rotate(3deg); }
.tile:nth-child(4) { background: var(--teal-soft); color: var(--teal); }
.tile i {
  width: 52px; height: 52px; background: currentColor;
  -webkit-mask: var(--img) center / contain no-repeat; mask: var(--img) center / contain no-repeat;
}
@media (max-width: 700px) { .art { grid-template-columns: repeat(3, 84px); } }
