:root {
  --ink: #112432;
  --muted: #597080;
  --navy: #173b32;
  --blue: #3d772f;
  --aqua: #a7d840;
  --coral: #f46f72;
  --sun: #ffc83d;
  --cream: #fff7de;
  --white: #ffffff;
  --line: #d8e1e4;
  --shadow: 0 24px 60px rgba(17, 36, 50, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--cream); }
a { color: inherit; }

.site-header, footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-logo { display: block; width: 190px; height: auto; }
.brand.centered .brand-logo { width: min(290px, 80vw); }
.site-header nav { display: flex; gap: 8px; }
.site-header nav a { padding: 10px 13px; color: var(--muted); text-decoration: none; font-weight: 650; border-radius: 10px; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a.active { color: var(--navy); background: rgba(255,255,255,.68); }

main { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; padding: 72px 0 98px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.3rem); line-height: .96; letter-spacing: -.065em; }
h1 span { color: var(--coral); }
.lead { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.72; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 21px; border-radius: 13px; text-decoration: none; font-weight: 780; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--navy); box-shadow: 0 14px 32px rgba(18, 50, 74, .2); }
.button.secondary { background: var(--white); border: 1px solid var(--line); }
.button.disabled { cursor: default; opacity: .72; box-shadow: none; }
.button.disabled:hover { transform: none; }
.platform-note { margin: 15px 0 0; color: var(--muted); font-size: .9rem; }

.app-card { min-height: 520px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); border-radius: 34px; background:
  radial-gradient(circle at 85% 12%, rgba(167,216,64,.62), transparent 34%),
  linear-gradient(145deg, #2d6a3c, #173b32 75%);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.game-icon { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border: 1px solid rgba(255,255,255,.35); border-radius: 25px; box-shadow: 0 18px 38px rgba(8,36,25,.34); }
.app-card > div:not(.status) { padding: 24px 14px 18px; }
.app-card h2 { margin: 8px 0; font-size: 2.5rem; letter-spacing: -.04em; }
.app-card p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.6; }
.app-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status { padding: 20px 14px 4px; border-top: 1px solid rgba(255,255,255,.16); font-size: .88rem; color: rgba(255,255,255,.74); }
.status span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 99px; background: var(--aqua); box-shadow: 0 0 0 5px rgba(54,197,178,.12); }

.features { padding: 100px 0; border-top: 1px solid rgba(17,36,50,.12); }
.section-heading { max-width: 680px; }
.section-heading h2, .trust h2, .contact-intro h1, .document-meta h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.05em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.feature-grid article, .contact-card { padding: 32px; background: rgba(255,255,255,.78); border: 1px solid rgba(23,59,50,.1); border-radius: 22px; }
.feature-number { color: var(--blue); font-weight: 850; font-size: .8rem; letter-spacing: .1em; }
.feature-grid h3 { margin: 46px 0 12px; font-size: 1.25rem; }
.feature-grid p, .contact-card p { color: var(--muted); line-height: 1.65; }

.trust { margin-bottom: 100px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; color: var(--white); border-radius: 28px; background:
  radial-gradient(circle at 5% 120%, rgba(167,216,64,.35), transparent 38%), var(--navy); }
.trust .eyebrow { color: var(--aqua); }
.trust-links { display: flex; flex-direction: column; justify-content: center; }
.trust-links a { display: flex; justify-content: space-between; padding: 18px 0; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.trust-links span { color: var(--aqua); }

footer { min-height: 100px; color: var(--muted); border-top: 1px solid rgba(17,36,50,.12); font-size: .9rem; }
footer div { display: flex; gap: 20px; }
footer a { text-decoration: none; }

.document-layout { display: grid; grid-template-columns: minmax(240px, .6fr) minmax(0, 1.4fr); gap: 90px; padding: 80px 0 110px; }
.document-meta { align-self: start; position: sticky; top: 40px; }
.document-meta p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.legal-copy { padding: 44px; background: rgba(255,255,255,.72); border: 1px solid rgba(17,36,50,.09); border-radius: 24px; }
.legal-copy h2 { margin: 38px 0 10px; font-size: 1.25rem; }
.legal-copy h2:first-of-type { margin-top: 30px; }
.legal-copy h3 { margin: 24px 0 8px; font-size: 1rem; }
.legal-copy p, .legal-copy address, .legal-copy li { color: var(--muted); line-height: 1.75; font-style: normal; }
.legal-copy ul { margin: 10px 0 20px; padding-left: 22px; }
.legal-copy li + li { margin-top: 7px; }
.legal-copy .notice { margin: 0; padding: 18px; color: #684d12; background: #fff7d9; border: 1px solid #eadb9d; border-radius: 12px; }
.legal-copy a { color: var(--blue); }

.contact-page { padding: 80px 0 110px; }
.contact-intro { max-width: 760px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 55px; }
.contact-card.featured { grid-row: span 2; color: var(--white); background: var(--navy); }
.contact-card.featured p { color: rgba(255,255,255,.72); }
.contact-label { margin-top: 0; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h2 { margin: 26px 0 12px; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.contact-card h2 a { text-decoration: none; }
.contact-card address { color: var(--muted); line-height: 1.7; font-style: normal; }
.contact-card.featured .response-time { margin-top: 90px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }

.error-page { display: grid; place-items: center; padding: 24px; background:
  radial-gradient(circle at 15% 15%, rgba(167,216,64,.24), transparent 35%), var(--cream); }
.error-card { width: min(620px, 100%); margin: 0; padding: 60px 30px; text-align: center; }
.brand.centered { justify-content: center; }
.error-code { margin: 55px 0 8px; color: var(--blue); font-size: .85rem; font-weight: 850; letter-spacing: .16em; }
.error-card h1 { font-size: clamp(2.7rem, 8vw, 5.2rem); }
.error-card > p:not(.error-code) { margin: 22px auto 30px; color: var(--muted); line-height: 1.7; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 45px; }
  .app-card { min-height: 480px; max-width: 520px; margin: 0 auto; transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid h3 { margin-top: 28px; }
  .trust, .document-layout, .contact-grid { grid-template-columns: 1fr; }
  .document-layout { gap: 42px; }
  .document-meta { position: static; }
  .contact-card.featured { grid-row: auto; }
}

@media (max-width: 580px) {
  .site-header { min-height: 76px; align-items: flex-start; padding: 16px 0; }
  .brand-logo { width: 128px; margin-top: 3px; }
  .site-header nav { gap: 1px; }
  .site-header nav a { padding: 10px 8px; font-size: .88rem; }
  .hero { min-height: auto; padding-bottom: 70px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .app-card, .legal-copy, .trust { padding: 28px; border-radius: 22px; }
  .features { padding: 75px 0; }
  .trust { margin-bottom: 70px; }
  footer { padding: 26px 0; align-items: flex-start; flex-direction: column; gap: 14px; }
}

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