:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #121826;
  --muted: #5b6475;
  --line: #e3e6ee;
  --accent: #2f7cf6;
  --teal: #2ed9c7;
  --indigo: #5c45e6;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1220;
    --surface: #161c2c;
    --text: #eef1f7;
    --muted: #9aa3b5;
    --line: #262e42;
    --accent: #5b9bff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
header.site .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
header.site .brand img { width: 32px; height: 32px; }
header.site nav { display: flex; gap: 20px; font-size: 15px; }

.hero {
  background: linear-gradient(135deg, #0c2a4d 0%, #22348c 55%, #45309f 100%);
  color: #fff;
  border-radius: 28px;
  padding: 44px 36px 0;
  overflow: hidden;
  text-align: center;
}
.hero img.icon { width: 88px; height: 88px; }
.hero h1 {
  font: 800 clamp(34px, 6vw, 52px)/1.08 ui-rounded, -apple-system, "SF Pro Rounded", sans-serif;
  margin: 16px 0 10px;
  letter-spacing: -0.02em;
}
.hero p { color: rgba(255,255,255,0.8); margin: 0 auto 26px; max-width: 520px; }
.hero img.shot { display: block; width: min(100%, 460px); margin: 28px auto 0; border-radius: 16px 16px 0 0; }

.button {
  display: inline-block; background: #fff; color: #18306e; font-weight: 600;
  padding: 11px 22px; border-radius: 999px;
}
.button:hover { text-decoration: none; opacity: 0.92; }

main section { padding: 40px 0 8px; }
h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 26px 0 6px; }
p, li { color: var(--muted); }
strong { color: var(--text); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 10px 0;
}
details summary { cursor: pointer; font-weight: 600; color: var(--text); }
details p { margin: 10px 0 2px; }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.contact a.mail { font-weight: 600; font-size: 18px; }

footer { padding: 40px 0 50px; font-size: 14px; color: var(--muted); text-align: center; }
footer a { color: var(--muted); }

.doc h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -0.02em; margin: 24px 0 4px; }
.doc .updated { margin-top: 0; }

@media (max-width: 560px) {
  .hero { padding: 32px 20px 0; border-radius: 22px; }
  header.site nav { gap: 14px; }
}
