:root { color-scheme: light; --paper: #f7f7f2; --ink: #17271e; --muted: #687569; --green: #526d43; --line: #dce2d4; font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
* { box-sizing: border-box; }
html { min-height: 100%; }
body { display: grid; isolation: isolate; min-height: 100svh; place-items: center; margin: 0; padding: max(22px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: #edefe4; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #729951; outline-offset: 4px; }
::selection { background: #d8e7c4; color: var(--ink); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* A collage of the three original game boards, behind every platform link. */
.game-backdrop { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.back-board { position: absolute; width: min(44vw, 620px); aspect-ratio: 1074 / 1226; overflow: hidden; border: 2px solid #6b8372; border-radius: 8%; background: #0e2724; box-shadow: 0 24px 65px rgb(26 51 36 / 21%); }
.back-board img { position: absolute; top: -60.52%; left: -4.47%; display: block; width: 108.94%; max-width: none; height: auto; }
.board-one { top: -24%; left: -9%; transform: rotate(-18deg); }
.board-two { top: 9%; right: -14%; transform: rotate(14deg); }
.board-three { bottom: -48%; left: 7%; transform: rotate(-11deg); }
.backdrop-wash { position: absolute; inset: 0; background: radial-gradient(ellipse 35% 85% at 50% 45%, rgb(247 247 242 / 98%) 0%, rgb(247 247 242 / 96%) 30%, rgb(247 247 242 / 75%) 70%, rgb(247 247 242 / 32%) 100%), linear-gradient(0deg, rgb(247 247 242 / 25%), transparent 50%); }
.landing { width: min(100%, 388px); }
.hero { margin-bottom: 22px; text-align: center; }
.app-mark { display: block; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 13px; box-shadow: 0 7px 20px rgb(34 66 44 / 14%); }
h1 { margin: 0; font-size: clamp(36px, 10.5vw, 46px); font-weight: 720; letter-spacing: -.075em; line-height: 1.06; }
h1 span { color: #587247; }
.tagline { margin: 9px 0 0; color: #52614e; font-size: 13px; letter-spacing: -.015em; line-height: 1.4; }
.platforms { display: grid; gap: 12px; }
.platform { min-width: 0; padding: 16px; border: 1px solid rgb(155 171 140 / 36%); border-radius: 18px; background: rgb(252 252 247 / 94%); box-shadow: 0 10px 36px rgb(38 60 34 / 5%), 0 1px 0 rgb(255 255 255 / 90%) inset; backdrop-filter: blur(12px); }
.platform[hidden] { display: none; }
.platform-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 15px; font-weight: 670; line-height: 20px; letter-spacing: -.02em; }
.platform-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 99px; background: #eceee5; color: #68755a; font-size: 10px; font-weight: 550; line-height: 12px; white-space: nowrap; }
.app-store-link { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 53px; margin-top: 12px; padding: 8px 14px; border: 1px solid #30382c; border-radius: 10px; background: #172019; color: #fff; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.app-store-link:hover { background: #2c3a29; transform: translateY(-1px); }
.apple-icon { flex-shrink: 0; width: 23px; height: 27px; }
.store-copy { display: grid; gap: 1px; }
.store-copy small { color: #d4d9d0; font-size: 9px; line-height: 12px; }
.store-copy strong { font-size: 19px; font-weight: 530; letter-spacing: -.035em; line-height: 21px; }
.link-arrow { flex-shrink: 0; margin-left: auto; font-size: 17px; font-weight: 400; }
.app-store-link > .link-arrow { color: #a7b7a0; }
.ios-note { min-height: 14px; margin: 9px 0 0; color: #6d7865; font-size: 10px; line-height: 1.4; text-align: center; }
.ios-note:target { color: #354e28; }
.ios-note.is-notified { color: #354e28; font-weight: 600; }
.android { border-color: rgb(132 158 111 / 45%); background: rgb(242 246 233 / 96%); }
.play-icon { width: 13px; height: 15px; }
.android .platform-status { background: #e2ead5; color: #4e6c3c; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #73964d; }
.android-intro { margin: 6px 0 12px; color: #63735b; font-size: 11px; line-height: 1.4; }
.test-steps { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.test-link { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 9px 12px 9px 10px; border: 1px solid #d6e0ca; border-radius: 10px; background: rgb(255 255 250 / 90%); color: #294126; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.test-link:hover { border-color: #a9c28f; background: #fffef6; transform: translateX(2px); }
.step-number { display: grid; flex-shrink: 0; place-items: center; width: 25px; height: 25px; border: 1px solid #d8e3cd; border-radius: 50%; background: #ecf1e2; color: #5e7a45; font-size: 11px; font-weight: 650; }
.step-copy { display: grid; min-width: 0; gap: 3px; }
.step-copy strong { font-size: 13px; font-weight: 640; line-height: 16px; letter-spacing: -.01em; }
.step-copy small { color: #67775d; font-size: 10px; line-height: 13px; }
.test-link .link-arrow { color: #7b916a; }
.test-note { margin: 10px 0 0; color: #6f7d62; font-size: 9px; line-height: 1.4; text-align: center; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; color: #6a7863; font-size: 9px; line-height: 14px; }
footer p { margin: 0; }
footer a { text-decoration: none; }
footer a:hover { color: #334b29; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .back-board { width: 94vw; }
  .board-one { top: -19%; left: -47%; transform: rotate(-21deg); }
  .board-two { top: 28%; right: -51%; transform: rotate(18deg); }
  .board-three { bottom: -29%; left: -30%; transform: rotate(-13deg); }
  .backdrop-wash { background: radial-gradient(ellipse 75% 70% at 50% 45%, rgb(247 247 242 / 96%) 0%, rgb(247 247 242 / 89%) 43%, rgb(247 247 242 / 66%) 78%, rgb(247 247 242 / 37%) 100%); }
}
/* Short phone viewports get tighter spacing, not hidden links or smaller touch targets. */
@media (max-height: 720px) {
  body { padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .hero { margin-bottom: 15px; }
  .app-mark { width: 36px; height: 36px; margin-bottom: 8px; border-radius: 10px; }
  h1 { font-size: clamp(34px, 10vw, 41px); }
  .tagline { margin-top: 6px; font-size: 12px; }
  .platform { padding: 13px; border-radius: 15px; }
  .platforms { gap: 10px; }
  .app-store-link { min-height: 48px; margin-top: 10px; }
  .test-link { min-height: 49px; padding-block: 7px; }
  .android-intro { margin-bottom: 9px; }
  .test-steps { gap: 6px; }
  footer { margin-top: 12px; }
}
@media (min-width: 1400px) { .board-one { top: -32%; left: 0; } .board-two { top: 1%; right: -4%; } .board-three { bottom: -58%; left: 12%; } }
@media (prefers-reduced-motion: reduce) { .app-store-link, .test-link { transition: none; } }
