:root {
  color-scheme: light dark;
  --bg: #f5f5f7; --surface: #ffffff; --text: #000000; --line: rgba(0,0,0,.12);
  --link: #0a66d8; --blue: #2f5bea; --coral: #f0436b;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0f13; --surface: #1b1d24; --text: #ffffff; --line: rgba(255,255,255,.16); --link: #6fa8ff; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 42rem; }
header.top { display: flex; align-items: center; gap: 10px; padding: 18px 0; }
header.top a.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
header.top img { width: 34px; height: 34px; }
nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.hero { text-align: center; padding: 48px 0 56px; }
.hero img { width: 128px; height: 128px; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.1; margin: 20px 0 14px; letter-spacing: -.02em; }
.lede { font-size: 1.2rem; max-width: 38rem; margin: 0 auto; }
.cta { display: inline-block; margin-top: 28px; padding: 12px 24px; border-radius: 999px; background: var(--blue); color: #ffffff; font-weight: 600; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }
.note { display: inline-block; margin-top: 14px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
h2 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
section { padding: 36px 0; }
.layouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.layouts figure { margin: 0; text-align: center; font-weight: 600; font-size: 15px; }
.layouts svg { width: 100%; height: auto; display: block; margin-bottom: 8px; border-radius: 14px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card svg { width: 30px; height: 30px; color: var(--blue); }
.card h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; font-size: 16px; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.2rem; margin-top: 30px; }
footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 0 40px; font-size: 14px; }
footer p { margin: 6px 0; }
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .layouts { grid-template-columns: repeat(2, 1fr); }
}
