@font-face { font-family: "Poppins"; src: url("Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0F2A44;
  --muted: #4A5B6E;
  --teal: #0B7A75;
  --teal-light: #CDEFEC;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --border: #E1E7EE;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--teal); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

header.site { background: var(--surface); border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 28px; height: 35px; }
.brand b { font-weight: 700; }
.brand span { color: var(--teal); }
nav a { margin-left: 16px; text-decoration: none; font-weight: 600; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img { width: 72px; height: 90px; }
.hero h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: 16px 0 8px; line-height: 1.2; }
.hero h1 span { color: var(--teal); }
.hero p { color: var(--muted); font-size: 1.125rem; max-width: 520px; margin: 0 auto 24px; }
.note { display: inline-block; background: var(--teal-light); color: var(--navy); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; padding-bottom: 40px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h2 { font-size: 1.05rem; margin: 8px 0 4px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-light); display: grid; place-items: center; font-size: 22px; }

article.doc { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin: 32px 0; }
article.doc h1 { line-height: 1.25; margin-top: 0; }
article.doc h2 { font-size: 1.15rem; margin-top: 28px; }
article.doc .updated { color: var(--muted); font-style: italic; }
.todo { background: #FFF1DC; color: #8A5300; border-radius: 8px; padding: 2px 6px; font-weight: 600; }

footer.site { color: var(--muted); font-size: 0.9rem; padding: 24px 0 40px; border-top: 1px solid var(--border); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 480px) {
  nav a { margin-left: 12px; }
  article.doc { padding: 18px; }
}
