:root {
  color-scheme: light;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #183c37;
  background: #f3ead9;
  font-synthesis: none;
  --ink: #183c37;
  --green: #245b53;
  --red: #bf1e2e;
  --gold: #d8a333;
  --paper: #fffaf0;
  --sand: #f3ead9;
  --muted: #5f6e69;
  --line: rgba(94, 72, 36, .19);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--sand); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(243, 234, 217, .9); }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 900; letter-spacing: .045em; text-decoration: none; }
.brand b { color: var(--red); }
.brand-mark { width: 38px; height: 48px; display: grid; place-items: center; border: 3px solid var(--paper); border-radius: 7px; background: var(--green); color: white; box-shadow: 0 5px 12px rgba(24, 60, 55, .22); font-size: .78rem; letter-spacing: -.05em; transform: rotate(-4deg); }
.nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 750; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--red); }
.nav-contact { padding: 10px 15px; border: 1px solid var(--green); border-radius: 999px; }

.hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: 70px; padding: 72px 0 92px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: #8a7146; font-size: .76rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 740px; margin: 0 0 24px; font-size: clamp(3.8rem, 7vw, 7.25rem); line-height: .87; letter-spacing: -.07em; }
h1 em { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.lead { max-width: 620px; margin: 0; color: #4e625c; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.actions.compact { margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border: 2px solid var(--green); border-radius: 999px; background: var(--green); color: white; font-size: .94rem; font-weight: 850; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(24, 60, 55, .18); }
.button.secondary { background: transparent; color: var(--green); }
.button.light { border-color: var(--paper); background: var(--paper); color: var(--green); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; color: #66736e; font-size: .83rem; font-weight: 800; list-style: none; }
.hero-points li::before { content: "•"; margin-right: 8px; color: var(--red); }

.brand-cards { min-height: 420px; display: grid; align-content: center; justify-content: center; gap: 12px; padding: 42px 20px; border-radius: 42% 58% 47% 53% / 52% 42% 58% 48%; background: radial-gradient(circle, #2d6a60 0, #183c37 70%); box-shadow: inset 0 0 80px rgba(255,255,255,.06), 0 34px 70px rgba(24,60,55,.2); transform: rotate(1.5deg); }
.card-word { display: flex; justify-content: center; gap: 7px; }
.card-word-bottom { transform: translateY(5px); }
.letter { width: 48px; height: 72px; display: grid; place-items: center; border: 4px solid white; border-radius: 8px; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.3); font-size: 2.05rem; font-weight: 950; text-shadow: 0 2px 0 rgba(0,0,0,.12); }
.letter:nth-child(2n) { transform: translateY(3px) rotate(1deg); }
.letter:nth-child(3n) { transform: translateY(-2px) rotate(-1.5deg); }
.blue { color: #2466db; } .red { color: #e43b2c; } .orange { color: #ee8a24; } .green { color: #1aa45d; } .purple { color: #7a39d6; } .cyan { color: #16aeca; } .pink { color: #e04b97; } .yellow { color: #e9b91e; }

.project { padding: 90px 0; background: var(--green); color: white; }
.project-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.project .eyebrow { color: #e6c879; }
.project h2, .games-section h2, .contact-card h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.055em; }
.project-copy { display: grid; gap: 18px; }
.project-copy p { margin: 0; color: #e4eeeb; font-size: 1.13rem; line-height: 1.65; }

.games-section { padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); line-height: 1.6; }
.game-card { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--paper); box-shadow: 0 20px 50px rgba(86, 63, 25, .09); }
.game-visual { min-height: 460px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, #3d766b, #183c37 73%); }
.game-logo { width: min(270px, 68%); height: auto; object-fit: contain; filter: drop-shadow(0 13px 20px rgba(0,0,0,.38)); }
.game-content { align-self: center; padding: clamp(36px, 6vw, 74px); }
.game-content h3 { margin: 0 0 17px; font-size: clamp(3rem, 7vw, 5rem); line-height: .9; letter-spacing: -.06em; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.game-content > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.feature-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.feature-list span { padding: 8px 11px; border-radius: 999px; background: #e7eee9; color: var(--green); font-size: .8rem; font-weight: 850; }
.coming-soon { color: #7a746b; font-size: .8rem; font-weight: 750; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--line); }
.values article { padding: 34px; background: rgba(255,250,240,.78); }
.values article > span { color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.values h3 { margin: 22px 0 8px; font-size: 1.55rem; }
.values p { margin: 0; color: var(--muted); line-height: 1.55; }

.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-bottom: 100px; padding: 48px 52px; border-radius: 28px; background: var(--red); color: white; }
.contact-card .eyebrow { color: #f7c9c3; }
.contact-card h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.contact-card p:not(.eyebrow) { max-width: 560px; margin: 12px 0 0; color: #ffe9e5; line-height: 1.55; }

footer { padding: 58px 0 26px; background: #142f2b; color: #dbe6e3; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; }
.footer-brand { color: white; }
.footer-inner > div > p { max-width: 330px; color: #9fb5af; line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: .9rem; }
.footer-links strong { margin-bottom: 6px; color: white; }
.footer-links a { color: #b9cbc6; text-decoration: none; }
.footer-links a:hover { color: white; }
.copyright { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #849c96; font-size: .8rem; }

.legal-header { border-bottom: 1px solid var(--line); }
.legal-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-link { color: var(--green); font-size: .87rem; font-weight: 800; text-decoration: none; }
.legal { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 90px; color: #292825; }
.legal-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal h1 { margin: 8px 0 14px; color: var(--ink); font-size: clamp(2.75rem, 7vw, 5rem); line-height: .95; letter-spacing: -.06em; }
.legal h2 { margin: 40px 0 12px; color: var(--green); font-size: 1.45rem; letter-spacing: -.025em; }
.legal h3 { margin: 26px 0 8px; color: var(--ink); }
.legal p, .legal li { line-height: 1.72; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 7px; }
.legal small { color: #74736e; }
.legal a { color: #1c665b; text-underline-offset: 3px; }
.legal .draft { margin: 24px 0; padding: 16px 18px; border: 1px solid #deb958; border-radius: 14px; background: #fff2c8; color: #634b13; }
.legal .legal-note { padding: 16px 18px; border-left: 4px solid var(--green); background: rgba(255,250,240,.75); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 750; }
.placeholder { padding: 2px 5px; border-radius: 4px; background: #fff0b8; color: #70520b; font-weight: 750; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 44px; }
  .hero-copy { max-width: 720px; }
  .brand-cards { width: min(520px, 100%); min-height: 390px; justify-self: center; }
  .project-grid { gap: 48px; }
  .game-card { grid-template-columns: 1fr; }
  .game-visual { min-height: 390px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1120px); }
  .topbar { min-height: 70px; }
  .brand { font-size: .82rem; }
  .brand-mark { width: 32px; height: 41px; }
  .nav { gap: 12px; }
  .nav a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 8px 12px; }
  .hero { padding: 54px 0 68px; }
  h1 { font-size: clamp(3.45rem, 17vw, 5.2rem); }
  .brand-cards { min-height: 290px; padding: 28px 10px; border-radius: 32px; }
  .card-word { gap: 4px; }
  .letter { width: 38px; height: 58px; border-width: 3px; font-size: 1.6rem; }
  .project { padding: 68px 0; }
  .project-grid, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .games-section { padding: 72px 0; }
  .game-visual { min-height: 330px; }
  .game-content { padding: 34px 24px 40px; }
  .values { grid-template-columns: 1fr; margin-bottom: 70px; }
  .contact-card { align-items: flex-start; flex-direction: column; margin-bottom: 70px; padding: 34px 25px; }
  .contact-card .button { width: 100%; font-size: .82rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .legal-topbar .brand > span:last-child { display: none; }
  .legal { width: min(100% - 30px, 820px); padding-top: 46px; }
}

@media (max-width: 420px) {
  .letter { width: 34px; height: 53px; font-size: 1.4rem; }
  .hero-points { gap: 8px 14px; }
  .button { width: 100%; }
  .actions { align-items: stretch; flex-direction: column; }
}

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