:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --text: #1c2430;
  --muted: #5b6675;
  --accent: #1f5f8b;
  --accent-dark: #164766;
  --border: #e1e5ea;
  --radius: 10px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --bg-alt: #1a2028;
    --text: #e6eaef;
    --muted: #9aa5b2;
    --accent: #5aa7dc;
    --accent-dark: #3d8cc4;
    --border: #2a323d;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); margin-left: 4px; }
nav a {
  margin-left: 24px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
nav a:hover { color: var(--text); }
nav a.nav-login {
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius);
}

/* Hero */
.hero { padding: 110px 0 100px; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}
.hero-art { width: 260px; height: 260px; }
.art-ring { fill: none; stroke: var(--border); stroke-width: 2; }
.art-fill { fill: var(--accent); opacity: 0.15; }
.art-dot { fill: var(--accent); }
.art-dot.alt { fill: var(--muted); }
.art-line { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0.6; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.button:hover { background: var(--accent-dark); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 24px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.card h3 { margin: 0 0 8px; }
.card-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; line-height: 1; }
.big { font-size: 1.15rem; }
.principles { padding: 0; list-style: none; margin: 28px 0 0; }
.principles li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--muted); }
.principles strong { color: var(--text); margin-right: 6px; }
.card p { margin: 0; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-list strong { display: inline-block; width: 90px; }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

@media (max-width: 560px) {
  nav a { margin-left: 12px; font-size: 0.9rem; }
  nav a[href="#approach"] { display: none; }
  nav a.nav-login { padding: 4px 10px; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 56px 0; }
}
