:root {
  color-scheme: dark;
  --bg: #1f1e1b;
  --surface: #282723;
  --surface-2: #302f2a;
  --line: #44423b;
  --text: #f4f3ef;
  --muted: #b8b6ad;
  --green: #81b64c;
  --green-soft: #a9d477;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(31,30,27,.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand svg { width: 28px; height: 28px; }

.nav { display: flex; align-items: center; gap: 24px; }

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover, .nav a:focus-visible { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 80px;
  min-height: 650px;
  padding: 96px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--green-soft);
  font-size: 14px;
  font-weight: 750;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 1.04;
  letter-spacing: -.065em;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 3px 0 #171613;
  transition: transform .16s ease, background .16s ease;
}

.button:hover { transform: translateY(-1px); background: #383730; }
.button.primary { border-color: #8dc655; background: var(--green); color: #14200c; box-shadow: 0 3px 0 #4f7629; }
.button.primary:hover { background: #8dc655; }

.board-shell {
  width: min(100%, 470px);
  justify-self: end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  background: #25251f;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.board {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  background-color: #d6c39c;
  background-image:
    repeating-linear-gradient(to right, transparent 0 calc(12.5% - 1px), rgba(73,61,41,.35) calc(12.5% - 1px) 12.5%),
    repeating-linear-gradient(to bottom, transparent 0 calc(12.5% - 1px), rgba(73,61,41,.35) calc(12.5% - 1px) 12.5%);
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.08);
}

.stone {
  position: absolute;
  width: 10.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 10px rgba(0,0,0,.22);
}

.stone.black { background: radial-gradient(circle at 35% 28%, #33453e, #0b1511 70%); }
.stone.white { background: radial-gradient(circle at 35% 28%, #fff, #ddd9cd 75%); }
.stone.green { background: radial-gradient(circle at 35% 28%, #c5f0d2, #72bd93 75%); box-shadow: 0 0 0 4px rgba(129,182,76,.45), 0 5px 10px rgba(0,0,0,.18); }

.section { padding: 100px 0; border-top: 1px solid rgba(255,255,255,.07); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.section-lead { max-width: 500px; margin-bottom: 0; color: var(--muted); }

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

.card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: var(--surface);
}

.card-number { color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.card h3 { margin: 42px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.card p { margin-bottom: 0; color: var(--muted); }

.support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: var(--surface);
}

.support-panel h2 { margin-bottom: 10px; font-size: 32px; }
.support-panel p { margin-bottom: 0; color: var(--muted); }

.legal-main { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 88px 0 120px; }
.legal-main h1 { font-size: clamp(40px, 6vw, 62px); }
.legal-main h2 { margin: 52px 0 14px; font-size: 27px; letter-spacing: -.035em; }
.legal-main h3 { margin: 34px 0 10px; font-size: 20px; }
.legal-main p, .legal-main li { color: #d2d0c8; }
.legal-main a { color: var(--green-soft); }
.legal-meta { margin-bottom: 50px; color: var(--muted) !important; }
.legal-main ul { padding-left: 22px; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: 54px 0; }
.footer-brand { margin-bottom: 10px; font-size: 20px; font-weight: 800; }
.footer-copy, .footer-meta { color: var(--muted); font-size: 14px; }
.footer-meta { text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; margin-bottom: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 820px) {
  .nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 56px; min-height: auto; padding: 74px 0 88px; }
  .board-shell { width: min(100%, 520px); justify-self: start; }
  .section { padding: 76px 0; }
  .section-head, .support-panel { align-items: flex-start; flex-direction: column; }
  .features { grid-template-columns: 1fr; }
  .card { min-height: 190px; }
  .card h3 { margin-top: 28px; }
}

@media (max-width: 560px) {
  .wrap, .legal-main { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; }
  .brand { font-size: 21px; }
  .nav { gap: 14px; }
  .hero { padding-top: 58px; }
  h1 { font-size: 47px; }
  .board-shell { padding: 14px; border-radius: 20px; }
  .support-panel { padding: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

