:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #2b2622;
  --muted: #7a706a;
  --line: rgba(43, 38, 34, 0.12);
  --accent: #e2674f;
  --accent-dark: #b83232;
  --accent-soft: #fbe3dc;
  --gold: #e9a21b;
  --violet: #7c5cd6;
  --night: #221537;
  --success: #3f9b6b;
  --radius: 20px;
  --shadow: 0 18px 60px rgba(43, 38, 34, 0.10);
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(242, 182, 50, 0.12), transparent 20rem),
    radial-gradient(circle at 94% 12%, rgba(124, 92, 214, 0.10), transparent 22rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: .65rem .9rem;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 240, .86);
  border-bottom: 1px solid rgba(43,38,34,.06);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.04em;
  font-size: 1.22rem;
}
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--muted); font-size: .95rem; }
.nav-links a:hover, .nav-links a:focus { color: var(--ink); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: .55rem .7rem; }

.hero { padding: 5.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.5rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(226,103,79,.16);
  border-radius: 999px;
  padding: .42rem .8rem;
  font-weight: 800;
  font-size: .82rem;
}
.eyebrow::before { content: "✦"; }
h1 { margin: 1rem 0 1.1rem; font-size: clamp(3.1rem, 8vw, 6rem); line-height: .95; letter-spacing: -.065em; }
.hero p { max-width: 620px; color: var(--muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .7rem 1rem;
  border-radius: 14px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(43,38,34,.10); }
.button-primary { background: var(--accent); color: #fff; }
.button-secondary { background: var(--surface); border-color: var(--line); }
.button-gold { background: var(--gold); color: #2b2622; }

.hero-art {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}
.board-frame {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.board {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid rgba(43,38,34,.75);
  border-radius: 20px;
  background: #fff;
}
.cell { border-right: 1px solid rgba(43,38,34,.18); border-bottom: 1px solid rgba(43,38,34,.18); display: grid; place-items: center; font-size: clamp(.62rem, 2vw, 1rem); }
.cell:nth-child(3n) { border-right-width: 2px; border-right-color: rgba(43,38,34,.45); }
.cell:nth-child(9n) { border-right: 0; }
.cell:nth-child(n+73) { border-bottom: 0; }
.region-1 { background:#f6c6c1; } .region-2 { background:#f9ddb1; } .region-3 { background:#f3e9a2; }
.region-4 { background:#cde6b5; } .region-5 { background:#b5e0d6; } .region-6 { background:#bbd5f1; }
.region-7 { background:#cfc5ef; } .region-8 { background:#edc3e3; } .region-9 { background:#dcd4c7; }
.cat {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 48% 48% 42% 42%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(43,38,34,.18);
  position: relative;
}
.cat::before, .cat::after { content:""; position:absolute; top:-16%; width:36%; height:38%; background:#fff; }
.cat::before { left:4%; clip-path: polygon(0 100%, 18% 0, 100% 80%); }
.cat::after { right:4%; clip-path: polygon(100% 100%, 82% 0, 0 80%); }
.cell .dot { width: 26%; aspect-ratio:1; border-radius:50%; background:rgba(43,38,34,.3); }
.float-card { position:absolute; padding:.75rem .9rem; background:rgba(255,255,255,.94); border:1px solid var(--line); border-radius:16px; box-shadow: 0 14px 32px rgba(43,38,34,.12); font-weight:800; }
.float-card.one { top: 7%; left: -3%; transform: rotate(-6deg); }
.float-card.two { bottom: 9%; right: -2%; transform: rotate(5deg); }

.section { padding: 4.5rem 0; }
.section-alt { background: rgba(255,255,255,.55); border-block: 1px solid rgba(43,38,34,.05); }
.section-heading { max-width: 680px; margin-bottom: 2rem; }
.section-heading h2 { margin: .45rem 0 .6rem; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 8px 30px rgba(43,38,34,.05); }
.card-icon { width: 46px; height: 46px; display:grid; place-items:center; background: var(--accent-soft); border-radius: 14px; font-size: 1.35rem; }
.card h3 { margin: 1rem 0 .4rem; }
.card p { margin:0; color: var(--muted); }

.split { display:grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.callout { border-radius: 24px; padding: 2rem; background: var(--night); color: #fff; box-shadow: var(--shadow); }
.callout p { color: rgba(255,255,255,.72); }
.check-list { display:grid; gap:.7rem; margin:1.2rem 0 0; padding:0; list-style:none; }
.check-list li { display:flex; gap:.65rem; align-items:flex-start; }
.check-list li::before { content:"✓"; flex:none; width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:rgba(242,182,50,.2); color:var(--gold); font-weight:900; }

.site-footer { padding: 2rem 0 2.75rem; }
.footer-grid { display:grid; grid-template-columns: 1fr auto; gap: 1rem; align-items:end; }
.footer-links { display:flex; flex-wrap:wrap; gap:1rem; justify-content:flex-end; }
.footer-links a { color:var(--muted); text-decoration:none; font-weight:700; }
.small { color:var(--muted); font-size:.9rem; }

.page { padding: 4rem 0 5rem; }
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: .8rem; }
.prose h2 { margin: 2.1rem 0 .6rem; font-size: 1.45rem; }
.prose h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.prose p, .prose li { color: #574f49; }
.prose a { color: var(--accent-dark); font-weight: 700; }
.meta { color:var(--muted); font-size:.9rem; }
.notice { background: var(--accent-soft); border: 1px solid rgba(226,103,79,.18); padding:1rem 1.1rem; border-radius:16px; }
.contact-box { display:grid; gap:1rem; grid-template-columns: repeat(3, 1fr); margin-top:1.5rem; }
.contact-box .card a { word-break: break-word; }

@media (max-width: 850px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-art { min-height: 420px; }
  .cards, .contact-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-links { justify-content:flex-start; }
  .nav-links { display:none; }
  .menu-button { display:block; }
  .mobile-menu { border-top: 1px solid var(--line); padding: .8rem 0 1rem; }
  .mobile-menu a { display:block; padding:.65rem 0; text-decoration:none; font-weight:800; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition:none; }
  .button:hover { transform:none; }
}
