:root {
  --header-height: 82px;
  --ink: #35271f;
  --muted: #746860;
  --line: #e3d5c0;
  --paper: #f8f1e6;
  --paper-deep: #f1e3cf;
  --white: #fffaf2;
  --brown: #694128;
  --brown-deep: #412517;
  --tan: #e4bd7c;
  --green: #3e8157;
  --blue: #578fc3;
  --shadow: 0 24px 60px rgba(85, 49, 25, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: radial-gradient(circle at 82% 0%, rgba(228, 189, 124, .34), transparent 26%), var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-height); padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(248, 241, 230, .9); border-bottom: 1px solid rgba(105, 65, 40, .12);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brown-deep); font-size: 1.02rem; font-weight: 850; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; width: 48px; height: 48px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 15px rgba(73, 41, 23, .22); }
.site-nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.site-nav a { padding: 8px 11px; border-radius: 9px; color: var(--muted); font-size: .92rem; font-weight: 720; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brown-deep); background: rgba(105, 65, 40, .08); }
.site-nav .primary-nav-link { color: #fffaf2; background: var(--brown); box-shadow: 0 4px 10px rgba(73, 41, 23, .15); }
.site-nav .primary-nav-link:hover { color: white; background: var(--brown-deep); }

.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(340px, 1.09fr); align-items: center; gap: clamp(32px, 6vw, 88px); min-height: calc(100vh - var(--header-height)); padding: clamp(50px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 92px); }
.hero-copy { max-width: 645px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .77rem; font-weight: 850; letter-spacing: .095em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3, .game-heading strong, .app-store-badge strong { font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
h1 { max-width: 740px; margin: 0; color: var(--brown-deep); font-size: clamp(3.15rem, 7.15vw, 6.8rem); line-height: .94; letter-spacing: -.07em; }
h2 { margin: 0; color: var(--brown-deep); font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.03; letter-spacing: -.055em; }
h3 { margin: 0 0 8px; color: var(--brown-deep); font-size: 1.17rem; line-height: 1.2; }
.lead { max-width: 605px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.app-store-badge { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.app-store-badge img { display: block; width: auto; height: 48px; }
.app-store-badge:hover { transform: translateY(-1px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 9px; color: var(--brown-deep); background: rgba(255, 250, 242, .7); font-weight: 800; text-decoration: none; }
.button:hover { background: var(--white); border-color: #cdb797; }
.app-store-note { margin: 12px 0 0; color: #9d8f83; font-size: .8rem; }

.hero-media { min-width: 0; }
.hero-screenshot { width: min(100%, 500px); margin: 0 auto; transform: rotate(1.5deg); }
.hero-screenshot img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border: 1px solid #e0cfb6; border-radius: 28px; box-shadow: var(--shadow); }
.hero-screenshot figcaption { margin-top: 13px; color: #9b8878; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

.section { padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px); }
.features-section { background: rgba(244, 229, 206, .55); border-block: 1px solid rgba(105, 65, 40, .09); }
.section-heading { max-width: 730px; margin-bottom: 30px; }.section-heading > p:last-child, .showcase-copy > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 1.06rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { min-height: 218px; padding: 25px; background: rgba(255, 250, 242, .8); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 13px 34px rgba(105, 65, 40, .05); }.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(105, 65, 40, .11); }.feature-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 20px; color: #fffaf2; background: var(--brown); border-radius: 13px; font-family: Georgia, serif; font-size: 1.42rem; }.feature:nth-child(2) .feature-icon { background: var(--green); font-family: inherit; }.feature:nth-child(3) .feature-icon { background: var(--blue); font-family: inherit; }.feature p { margin: 0; color: var(--muted); }
.play-section { background: var(--brown-deep); }.play-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 7vw, 90px); align-items: center; max-width: 1180px; margin: 0 auto; }.play-card h2 { color: #fff9ef; }.play-card .eyebrow { color: #e8c780; }.play-card p:not(.eyebrow) { max-width: 600px; margin: 20px 0 0; color: #d6c4b4; font-size: 1.05rem; }.status-card { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 17px; background: rgba(255,255,255,.08); }.status-card > div { padding: 14px; border-radius: 11px; background: #fff9ef; }.status-card .recent-move { grid-column: 1 / -1; background: #eac989; }.status-card span { display: block; color: #7e6658; font-size: .64rem; font-weight: 850; letter-spacing: .08em; }.status-card strong { display: block; margin-top: 3px; color: var(--brown-deep); font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-size: 1.25rem; letter-spacing: -.05em; }.status-card i { color: #b08749; font-style: normal; }
.app-showcase { overflow: hidden; }.showcase-copy { max-width: 780px; margin-bottom: 30px; }.screenshots { display: flex; gap: clamp(14px, 2vw, 22px); overflow-x: auto; padding: 8px 0 24px; scroll-snap-type: x mandatory; scrollbar-color: var(--brown) #eee0cb; }.screenshot-card { flex: 0 0 clamp(280px, 31vw, 420px); margin: 0; scroll-snap-align: start; }.screenshot-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border: 1px solid #e0cfb6; border-radius: 26px; box-shadow: 0 15px 35px rgba(85,49,25,.12); }.screenshot-card figcaption { margin-top: 10px; color: var(--brown-deep); font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-size: .92rem; line-height: 1.2; text-align: center; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; padding: 44px clamp(20px, 5vw, 72px); color: #bfae9e; background: #24160f; }.site-footer .brand { color: #fff9ef; }.footer-brand .brand-mark { width: 31px; height: 31px; border-radius: 10px; font-size: 1.2rem; }.site-footer p { margin: 0; font-size: .9rem; }.site-footer > div { display: flex; gap: 17px; }.site-footer a { text-decoration: none; font-weight: 750; }.site-footer > div a:hover { color: #fff9ef; }.site-footer small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .73rem; }.site-footer.compact { margin-top: auto; }

.content-page { width: min(930px, 100%); min-height: calc(100vh - var(--header-height)); margin: 0 auto; padding: clamp(62px, 9vw, 118px) clamp(20px, 5vw, 72px); }.content-page h1 { font-size: clamp(3rem, 7vw, 5.8rem); }.page-intro { max-width: 670px; margin: 20px 0 0; color: var(--muted); font-size: 1.12rem; }.notice { display: grid; gap: 5px; margin: 38px 0; padding: 18px 20px; color: #6d472d; border: 1px solid #d9bb7d; border-radius: 12px; background: #fff5db; }.notice span { color: #856b57; font-size: .92rem; }.policy { margin-top: clamp(46px, 7vw, 72px); }.policy h2 { margin-bottom: 28px; }.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }.policy-card { min-height: 190px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 250, 242, .76); box-shadow: 0 12px 30px rgba(105, 65, 40, .045); }.policy-card h3 { margin: 0; }.policy-card p { margin: 10px 0 0; color: var(--muted); }.policy-card-accent { border-color: #ccaf78; background: linear-gradient(135deg, #fff7e4, #f5e3bd); }.privacy-contact { margin-top: 48px; padding: clamp(26px, 4vw, 38px); color: #f4e6d7; border-radius: 18px; background: var(--brown-deep); box-shadow: var(--shadow); }.privacy-contact .eyebrow { margin-bottom: 10px; color: #e8c780; }.privacy-contact h2 { color: #fff9ef; font-size: clamp(1.8rem, 4vw, 2.8rem); }.privacy-contact p:last-child { max-width: 620px; margin: 12px 0 0; color: #decbbc; }.privacy-contact a { color: #fff6dc; font-weight: 800; text-underline-offset: 3px; }.support-page { display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 760px) { :root { --header-height: 96px; } .site-header { flex-wrap: wrap; justify-content: center; gap: 8px; min-height: var(--header-height); padding: 10px 16px; }.brand { font-size: .9rem; }.brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 1.2rem; }.site-nav { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 2px; margin-left: 0; }.site-nav a { padding: 6px 5px; font-size: clamp(.66rem, 2.9vw, .76rem); }.hero { grid-template-columns: 1fr; padding-top: 46px; }.hero-copy { text-align: center; }.actions { justify-content: center; }.app-store-note { text-align: center; }.hero-media { max-width: 500px; margin: 0 auto; }.hero-screenshot { transform: none; }.feature-grid, .play-card, .policy-grid { grid-template-columns: 1fr; }.feature { min-height: 0; }.policy-card { min-height: 0; }.section { padding-block: 70px; }.site-footer { grid-template-columns: 1fr; }.site-footer > div { grid-row: 2; }.site-footer small { grid-column: auto; }.content-page { min-height: calc(100vh - var(--header-height)); } }
@media (max-width: 320px) { :root { --header-height: 126px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.feature, .app-store-badge { transition: none; }.feature:hover, .app-store-badge:hover { transform: none; } }
