:root {
  --bg: #f7f8fa; --panel: #ffffff; --text: #18232e; --muted: #556373; --line: #e1e5ea;
  --accent: #1f5f8b; --accent-soft: #e5eff7; --highlight: #c98a12;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10151b; --panel: #171e26; --text: #e4eaf0; --muted: #9aa8b6; --line: #27313c;
    --accent: #7cc4f0; --accent-soft: #1b3346; --highlight: #f2b84b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  overflow-wrap: break-word; hyphens: auto;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); background: var(--panel); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav.site { display: flex; gap: 18px; font-size: 15px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--text); }
.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0; }
section { padding: 36px 0; }
section h2 { font-size: 26px; margin: 0 0 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.product { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.product .tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.product h3 { font-size: 24px; margin: 0 0 10px; }
.product ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.product li { margin: 4px 0; }
.contact { font-size: 18px; }
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer.site a { color: var(--muted); }
.legal h1 { font-size: 32px; margin: 48px 0 20px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .note { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) {
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero { padding: 44px 0 28px; }
}
