:root {
  --cream: #f7f0df;
  --cream-soft: #fffaf0;
  --paper: #fffdf7;
  --forest: #173f35;
  --forest-2: #235647;
  --ink: #17322b;
  --sage: #dfe7d6;
  --sage-soft: #eef2e9;
  --gold: #b98a3d;
  --gold-soft: #e7c781;
  --terracotta: #c96c4b;
  --muted: #66736d;
  --line: rgba(23, 63, 53, 0.16);
  --shadow: 0 24px 70px rgba(37, 52, 42, 0.13);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 63, 53, 0.1);
  background: rgba(247, 240, 223, 0.9);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  width: min(1160px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 63, 53, 0.14);
  border-radius: 12px;
  background: var(--paper);
  object-fit: cover;
  box-shadow: 3px 4px 0 rgba(185, 138, 61, 0.35);
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #3f5850;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current='page'] {
  background: rgba(255,255,255,0.62);
  color: var(--forest);
}

.container { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 36px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 9.5vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.lede { max-width: 660px; margin: 20px 0 0; color: #4c625a; font-size: clamp(1.05rem, 2vw, 1.3rem); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 72px;
}
.hero::before {
  content: '';
  position: absolute;
  width: 540px;
  height: 540px;
  top: -260px;
  right: -120px;
  border: 1px solid rgba(185,138,61,0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(185,138,61,0.045), 0 0 0 140px rgba(185,138,61,0.035);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 76px; }
.hero-copy { padding-bottom: 10px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero-tagline { max-width: 600px; margin: 24px 0 0; color: var(--forest); font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.15; }
.hero-sub { max-width: 570px; margin: 14px 0 0; color: #455e55; font-size: clamp(1.02rem, 1.8vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 9px 20px rgba(23, 63, 53, .15);
}
.button:hover { background: #0f332a; transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--forest); box-shadow: none; }
.button.secondary:hover { background: rgba(255,255,255,.5); }
.button.disabled { cursor: default; opacity: .86; pointer-events: none; }
.button.disabled:hover { background: var(--forest); transform: none; }
.button svg { width: 18px; height: 18px; }
.microcopy { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }

.phone-stage { position: relative; min-height: 575px; display: grid; place-items: center; }
.phone-stage::before {
  content: '';
  position: absolute;
  inset: 9% 4%;
  border-radius: 50%;
  background: var(--sage);
  transform: rotate(-9deg);
}
.phone {
  position: relative;
  z-index: 2;
  width: min(320px, 86vw);
  padding: 11px;
  border: 2px solid #183b33;
  border-radius: 43px;
  background: #102e27;
  box-shadow: var(--shadow), -25px 24px 0 rgba(185,138,61,.22);
  transform: rotate(2.5deg);
}
.phone-screen { min-height: 532px; overflow: hidden; border-radius: 32px; background: #fcf6e8; }
.phone-top { height: 35px; display: flex; align-items: center; justify-content: center; }
.phone-notch { width: 76px; height: 18px; border-radius: 0 0 12px 12px; background: #102e27; }
.game-ui { padding: 13px 18px 22px; }
.game-ui-head { display: flex; align-items: center; justify-content: space-between; color: var(--forest); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.game-ui-title { margin: 32px 0 6px; text-align: center; font-family: var(--serif); font-size: 2.12rem; line-height: 1; }
.game-ui-sub { margin: 0 auto 26px; max-width: 190px; text-align: center; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.link-word { width: 77%; margin: 0 auto; padding: 10px 14px; border: 1px solid rgba(23,63,53,.17); border-radius: 13px; background: white; text-align: center; font-family: var(--serif); font-size: 1.07rem; box-shadow: 0 7px 20px rgba(23,63,53,.07); }
.link-line { width: 1px; height: 17px; margin: auto; background: var(--gold); }
.link-word.active { border-color: var(--gold); background: #fff9e9; }
.phone-footer { display: flex; justify-content: center; gap: 7px; margin-top: 31px; }
.phone-footer span { width: 8px; height: 8px; border-radius: 50%; background: #d5d7cc; }
.phone-footer span:first-child { width: 25px; border-radius: 20px; background: var(--forest); }
.tile-float { position: absolute; z-index: 3; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 17px; background: var(--paper); font-family: var(--serif); font-size: 1.65rem; box-shadow: 8px 10px 0 rgba(185,138,61,.2); }
.tile-a { top: 49px; left: 0; transform: rotate(-8deg); }
.tile-b { right: 0; bottom: 80px; transform: rotate(8deg); }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.26); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 22px 26px; text-align: center; font-size: .84rem; font-weight: 800; letter-spacing: .03em; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item span { display: block; color: var(--terracotta); font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }

.section { padding: 104px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 44px; }
.section-note { max-width: 420px; margin: 0; color: var(--muted); }
.games-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.game-card { position: relative; overflow: hidden; min-height: 390px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.game-card h3 { margin: 76px 0 10px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.game-card p { max-width: 390px; margin: 0; }
.game-card:nth-child(1) { grid-column: span 7; background: var(--forest); color: white; }
.game-card:nth-child(1) p { color: #dbe9e3; }
.game-card:nth-child(2) { grid-column: span 5; background: var(--paper); }
.game-card:nth-child(3) { grid-column: 3 / span 8; min-height: 300px; background: var(--sage); }
.card-number { position: absolute; top: 28px; left: 32px; color: var(--gold-soft); font-family: var(--serif); font-size: 1rem; }
.game-card:nth-child(2) .card-number, .game-card:nth-child(3) .card-number { color: var(--terracotta); }
.mini-chain { position: absolute; top: 31px; right: 32px; display: flex; align-items: center; }
.mini-chain span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 11px; font-family: var(--serif); }
.mini-chain i { width: 11px; height: 1px; background: currentColor; opacity: .55; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.ritual { background: var(--paper); }
.ritual-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream-soft); }
.step-num { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--sage); color: var(--forest); font-family: var(--serif); font-size: 1.35rem; }
.step h3 { margin: 2px 0 4px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .9rem; }

.cta-section { padding: 90px 0; }
.cta-panel { position: relative; overflow: hidden; padding: clamp(38px, 8vw, 82px); border-radius: var(--radius-lg); background: var(--forest); color: white; text-align: center; }
.cta-panel::after { content: 'CG'; position: absolute; right: -20px; bottom: -72px; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: 13rem; line-height: 1; }
.cta-panel .section-title { position: relative; z-index: 1; }
.cta-panel p { position: relative; z-index: 1; max-width: 550px; margin: 20px auto 0; color: #d7e4de; }
.cta-panel .actions { position: relative; z-index: 1; justify-content: center; }
.cta-panel .button { border-color: var(--gold-soft); background: var(--gold-soft); color: var(--forest); box-shadow: none; }

.page-hero { padding: 70px 0 52px; border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(3rem, 8vw, 5.8rem); }
.content-section { padding: 70px 0 100px; }
.prose h2 { margin: 52px 0 14px; font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 1rem; }
.prose p, .prose li { color: #445b53; }
.prose ul, .prose ol { padding-left: 23px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--forest); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.notice { margin: 30px 0; padding: 22px 24px; border: 1px solid rgba(185,138,61,.45); border-radius: var(--radius); background: #fff8e6; }
.notice p { margin: 0; }
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.faq summary { padding: 18px 54px 18px 20px; cursor: pointer; list-style: none; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 14px; color: var(--gold); font-family: var(--serif); font-size: 1.55rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 20px 20px; }
.contact-card { margin-top: 54px; padding: 34px; border-radius: var(--radius-lg); background: var(--forest); color: white; }
.contact-card h2 { margin: 0 0 9px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; }
.contact-card p { margin: 0; color: #d9e6e0; }
.contact-card a { display: inline-block; margin-top: 19px; color: var(--gold-soft); font-size: 1.05rem; font-weight: 800; }
.placeholder-note { display: block; margin-top: 9px; color: #b7c9c1; font-size: .76rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--muted); font-size: .86rem; }
.data-table { width: 100%; margin: 24px 0 12px; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--sage-soft); color: var(--forest); }

.site-footer { padding: 46px 0 34px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.footer-copy { max-width: 410px; margin: 14px 0 0; color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-links a { color: #40594f; font-size: .86rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copyright { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: #78827e; font-size: .76rem; }

:focus-visible { outline: 3px solid rgba(201,108,75,.55); outline-offset: 3px; }

@media (max-width: 860px) {
  .hero-grid, .ritual-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero-copy { text-align: center; }
  .hero-kicker { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-tagline { margin-inline: auto; }
  .actions { justify-content: center; }
  .phone-stage { min-height: 555px; }
  .section-head { align-items: start; flex-direction: column; }
  .game-card:nth-child(1), .game-card:nth-child(2), .game-card:nth-child(3) { grid-column: span 12; }
  .game-card:nth-child(3) { min-height: 330px; }
  .ritual-grid { gap: 44px; }
}

@media (max-width: 620px) {
  .nav-wrap { min-height: 66px; }
  .brand { font-size: .95rem; }
  .brand-logo { width: 38px; height: 38px; border-radius: 11px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 0 8px; font-size: .78rem; }
  .nav-links a:first-child { display: none; }
  .hero { padding-top: 50px; }
  .display { font-size: clamp(3.3rem, 18vw, 5.25rem); }
  .hero-sub { font-size: 1.05rem; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .tile-a { left: -8px; }
  .tile-b { right: -8px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .game-card { min-height: 350px; padding: 28px; }
  .game-card h3 { margin-top: 82px; }
  .step { grid-template-columns: 45px 1fr; padding: 18px; }
  .step-num { width: 45px; height: 45px; }
  .page-hero { padding-top: 52px; }
  .content-section { padding-top: 52px; }
  .data-table { display: block; overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .actions { display: none; }
  body { background: white; color: black; }
  .content-section { padding-top: 20px; }
  .prose p, .prose li { color: black; }
}
