:root {
  color-scheme: light dark;
  --canvas: #f6f4ef;
  --surface: #ffffff;
  --text: #17211e;
  --muted: #5f6c67;
  --brand: #3f6f64;
  --brand-soft: #dce9e0;
  --accent: #b98a5a;
  --border: #d9dfda;
  --shadow: 0 18px 50px rgba(25, 45, 39, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0f1715;
    --surface: #17211e;
    --text: #f5f2eb;
    --muted: #b8c3be;
    --brand: #9bc7a9;
    --brand-soft: #20352f;
    --accent: #e7b86b;
    --border: #32423d;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; }

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--canvas);
  color: var(--text);
}

body { margin: 0; }

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: blur(16px);
}

nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding: 88px 0;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-art {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 28%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-art img {
  display: block;
  width: 100%;
  border-radius: 24%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 72px;
}

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

.card h2, .card h3 { margin-top: 0; }
.card p { color: var(--muted); }

main.page {
  max-width: 780px;
  padding: 72px 0 96px;
}

main.page h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

main.page h2 { margin-top: 44px; }
main.page li + li { margin-top: 8px; }

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border-radius: 0 12px 12px 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 44px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0; }
  .hero-art { max-width: 420px; }
  .grid { grid-template-columns: 1fr; }
  nav { align-items: flex-start; padding: 12px 0; }
  .nav-links { justify-content: flex-end; gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

