:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #0b1b2b;
  --muted: #566574;
  --line: #e3dfd6;
  --accent: #0f7b6c;
  --accent-soft: #e4f1ee;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 245, 240, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; letter-spacing: 0.04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; display: block; }
.brand small { display: block; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); font-size: 11px; line-height: 1.2; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { color: var(--ink); opacity: 0.8; }
.nav a:hover { opacity: 1; text-decoration: none; color: var(--accent); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
h1 { font-size: clamp(36px, 5.6vw, 60px); line-height: 1.07; letter-spacing: -0.02em; margin: 0 0 22px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
}
.btn:hover { text-decoration: none; background: var(--ink); color: #fff; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }

.hero-art { width: 100%; height: auto; display: block; }
.art-arc { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.art-arc.soft { stroke: var(--ink); opacity: 0.18; stroke-width: 2; }
.art-line { stroke: var(--ink); stroke-width: 2; opacity: 0.85; stroke-linecap: round; }
.art-node { fill: var(--surface); stroke: var(--ink); stroke-width: 2.5; }
.art-node.on { fill: var(--accent); stroke: var(--accent); }
.art-post { stroke: var(--ink); stroke-width: 2; opacity: 0.35; }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 14px; }
.section-intro { color: var(--muted); max-width: 680px; margin: 0 0 40px; font-size: 18px; }

.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about p { margin: 0 0 16px; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.facts strong { display: block; font-size: 16px; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact .section-intro { color: rgba(255, 255, 255, 0.72); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact address { font-style: normal; line-height: 1.8; color: rgba(255, 255, 255, 0.86); }
.contact a { color: #7fe0cf; }
.contact .meta { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, 0.6); line-height: 1.7; }

/* Footer */
.site-footer { padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Legal pages */
.doc { padding: 64px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #2b3a49; }
.doc ul { padding-left: 22px; }
.doc address { font-style: normal; line-height: 1.8; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.back { display: inline-block; margin-bottom: 28px; font-size: 15px; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 40px; }
  .hero .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 420px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .nav { gap: 18px; font-size: 14px; }
  .brand small { display: none; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .nav a:nth-child(1) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
