:root {
  --paper: #f4f2e9;
  --ink: #263e34;
  --muted: #627065;
  --line: #d4d8cd;
  --accent: #b45838;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 30px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; gap: 12px; align-items: center; font-size: 12px; line-height: 1.2; font-weight: 800; letter-spacing: 2px; text-decoration: none; }
.brand-symbol { display: block; width: 60px; height: 66px; flex-shrink: 0; }
nav { display: flex; gap: 35px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:last-child span { margin-left: 10px; }
.hero { padding-block: 76px 65px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.5; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #6c8062; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 400 clamp(50px, 6.7vw, 86px)/1.08 Georgia, 'Times New Roman', serif; letter-spacing: -3.5px; margin-block: 27px 32px; }
h1 em { color: var(--accent); font-weight: 400; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero-bottom p { color: var(--muted); margin: 0; }
.text-link { display: inline-flex; gap: 28px; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.text-link:hover { border-color: var(--accent); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 23px; margin-bottom: 25px; }
.section-heading h2 { font-size: 15px; font-weight: 500; margin: 0; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.game-art { position: relative; aspect-ratio: 1.43; overflow: hidden; border-radius: 3px; }
.game-art svg { display: block; width: 100%; height: 100%; }
.shell-art { background: #dca575; }
.planet-art { background: #29483f; color: #eef0dc; }
.art-badge { position: absolute; left: 21px; top: 20px; border: 1px solid currentColor; border-radius: 3px; padding: 4px 9px; font-size: 9px; letter-spacing: 1.4px; }
.art-note { position: absolute; bottom: 14px; left: 20px; font-size: 10px; opacity: .85; }
.game-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); }
.small-label { font-size: 11px; }
.game-card h3 { font: 400 38px/1.2 Georgia, serif; letter-spacing: -1px; margin-block: 12px; }
.game-card > p { max-width: 440px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.games { padding-bottom: 75px; }
.studio { border-top: 1px solid var(--line); padding-block: 57px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.studio h2, .contact h2 { font: 400 clamp(30px, 3.3vw, 43px)/1.18 Georgia, serif; letter-spacing: -1px; margin-bottom: 23px; }
.studio div p { max-width: 580px; color: var(--muted); font-size: 15px; margin-bottom: 0; }
.contact { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; padding-block: 49px; }
.contact h2 { margin-bottom: 0; }
.contact-details { font-size: 14px; }
.contact-details p { margin-bottom: 8px; }
.muted { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.footer-brand { font-size: 15px; font-weight: 600; color: var(--ink); }
.footer-brand span { color: var(--accent); }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px 20px; background: var(--ink); color: white; z-index: 10; }
.skip-link:focus { top: 10px; }
.document { max-width: 740px; min-height: 65vh; padding-block: 60px 85px; }
.document h1 { font-size: clamp(40px, 6vw, 62px); letter-spacing: -2px; }
.document h2 { font: 400 28px/1.3 Georgia, serif; margin-top: 35px; }
.document p { color: var(--muted); }
.notice { border-left: 3px solid var(--accent); padding: 18px 22px; background: #eae7db; margin-block: 30px; }
.notice p:last-child { margin-bottom: 0; }
.policy-list { list-style: none; padding: 0; margin-block: 35px; }
.policy-list li { border-top: 1px solid var(--line); }
.policy-list a { display: flex; justify-content: space-between; gap: 15px; text-decoration: none; padding-block: 20px; }
.policy-list span { font-size: 12px; color: var(--muted); }
@media (min-width: 1500px) { .hero { padding-block: 95px 80px; } }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 25px; }
  nav { gap: 17px; font-size: 12px; }
  .wordmark { font-size: 9px; gap: 9px; letter-spacing: 1.3px; }
  .brand-symbol { width: 48px; height: 53px; }
  .hero { padding-block: 50px; }
  h1 { letter-spacing: -2px; font-size: clamp(40px, 9vw, 62px); }
  .hero-bottom { align-items: start; flex-direction: column; gap: 25px; }
  .game-grid { grid-template-columns: 1fr; gap: 46px; }
  .game-art { aspect-ratio: 1.4; }
  .games { padding-bottom: 50px; }
  .studio, .contact { grid-template-columns: 1fr; gap: 20px; padding-block: 35px; }
  .studio > .eyebrow { margin: 0; }
  .site-footer { flex-wrap: wrap; gap: 14px 22px; }
  .site-footer > span { display: none; }
  .document { padding-block: 35px 55px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.contact { align-items: start; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); margin-top: 22px; font-size: 14px; }
.contact-email { font-size: 15px; overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 17px; }
.contact-form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #939e90;
  border-radius: 3px;
  padding: 11px 12px;
  background: #faf9f3;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.contact-form button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-form button {
  justify-self: start;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 20px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button span { margin-left: 24px; }
.contact-form button:hover { background: #3b5547; }
.form-help { margin: 0; font-size: 12px; color: var(--muted); }
#contact-status:empty { display: none; }
@media (max-width: 420px) { .form-row { grid-template-columns: 1fr; } }

/* Player policy pages */
.document h3 { margin-top: 28px; font-size: 18px; }
.document li { margin-bottom: 12px; color: var(--muted); }
.document li strong, .document p strong { color: var(--ink); }
.document ul, .document ol { padding-left: 24px; }
.document .email { overflow-wrap: anywhere; }
.policy-button {
  display: inline-block;
  padding: 11px 18px;
  margin-block: 5px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  text-decoration: none;
}
.policy-button:hover { background: #3b5547; color: var(--paper); }
.policy-back { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 24px; }
.game-support-links { display: flex; flex-wrap: wrap; gap: 16px 25px; }
.policy-list a { flex-wrap: wrap; }
