:root {
  --yellow: #F5D049;
  --ink: #1d1d1f;
  --muted: #55595f;
  --line: #e6e3d8;
  --bg: #ffffff;
  --soft: #fbf7e6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
header.site img { height: 56px; width: auto; display: block; }
nav a { font-weight: 600; text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

.hero { background: var(--soft); border-bottom: 6px solid var(--yellow); }
.hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.5px; max-width: 760px; }
.hero p { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.btn:hover { background: #000; }

section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 18px; letter-spacing: -0.3px; }
h3 { font-size: 20px; margin: 28px 0 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.tile b { display: block; font-size: 18px; margin-bottom: 4px; }
.tile span { color: var(--muted); font-size: 15px; }

.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-size: 38px; line-height: 1.15; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

.box { background: var(--soft); border-left: 6px solid var(--yellow); padding: 18px 22px; border-radius: 10px; margin: 20px 0; }
.kw { background: var(--yellow); padding: 1px 8px; border-radius: 6px; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; }
.cards figure { margin: 0; }
.cards img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; display: block; }
.cards figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

footer { background: var(--ink); color: #d8d8d8; }
footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }
footer a { color: #fff; margin-right: 18px; }

@media (max-width: 600px) {
  header.site img { height: 42px; }
  nav a { margin-left: 12px; font-size: 14px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
}
