/* Kindlehaven: kindlehaven.wildheartgaming.com
   Tokens from the approved design handoff (2026-11-17). */
:root {
  --night: #16233A;
  --sky-1: #255AA3;
  --sky-2: #2F6FC0;
  --snow: #F4F7FB;
  --ice: #DCEBF8;
  --bark: #5B2A12;
  --banner: #C8452F;
  --pine: #3F8A5A;
  --pine-shadow: #2A5E3C;
  --gold: #FFC23D;
  --ember: #B4461C;
  --cream: #FFE9B8;
  --body: #4A5872;
  --body-on-night: #C9D6E8;
  --step-card: #22345A;
  --head: 'Lilita One', system-ui, sans-serif;
  --text: Nunito, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--snow); color: var(--night); font-family: var(--text); font-weight: 600; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ember); }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 400; }
p { margin: 0; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%); color: #fff; }
.site-header { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.studio-link { color: #E8F2FC; text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: 0.5px; padding: 12px 0; }
.studio-link:hover { color: #fff; text-decoration: underline; }
.btn-prereg { background: var(--pine); color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 999px; border: 3px solid #fff; box-shadow: 0 4px 0 var(--pine-shadow); font-family: var(--head); font-size: 19px; letter-spacing: 0.5px; transition: transform .12s ease, box-shadow .12s ease; }
.btn-prereg:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--pine-shadow); }
.btn-prereg:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--pine-shadow); }

.hero-copy { padding-top: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; position: relative; z-index: 1; }
.logo-h1 { width: 100%; display: flex; justify-content: center; }
.logo { width: 100%; max-width: 620px; height: auto; display: block; }
.banner { display: inline-block; background: var(--banner); color: #fff; border: 3px solid var(--bark); border-radius: 10px; box-shadow: 0 4px 0 rgba(60,25,8,0.35); padding: 6px 22px; font-family: var(--head); font-size: 22px; letter-spacing: 1.2px; transform: rotate(-2deg); }
.tagline { margin-top: 8px; font-size: 21px; line-height: 1.55; font-weight: 700; color: #fff; max-width: 620px; }
.availability { font-size: 15px; font-weight: 700; color: #E8F2FC; }

.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 8px; }
.store-btn { display: flex; align-items: center; gap: 12px; background: var(--night); color: #fff; text-decoration: none; padding: 12px 26px 12px 20px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 5px 0 rgba(10,20,40,0.35); min-width: 220px; transition: transform .12s ease, box-shadow .12s ease; }
.store-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 rgba(10,20,40,0.35); }
.store-btn:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(10,20,40,0.35); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn .lines { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-btn .small { font-size: 13px; font-weight: 700; color: var(--body-on-night); }
.store-btn .big { font-family: var(--head); font-size: 24px; letter-spacing: 0.5px; }
.store-btn.on-cream { border-color: var(--bark); box-shadow: 0 5px 0 var(--bark); }
.store-btn.on-cream:hover { box-shadow: 0 7px 0 var(--bark); }
.store-btn.on-cream:active { box-shadow: 0 3px 0 var(--bark); }

.title-art { height: 600px; overflow: hidden; margin-top: -40px; }
.title-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.section-head h2 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: 0.5px; }
.section-head p { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 640px; }

/* Features */
.features { display: flex; flex-direction: column; gap: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.card { background: #fff; border: 3px solid var(--bark); border-radius: 22px; box-shadow: 0 6px 0 var(--bark); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.card svg { width: 56px; height: 56px; }
.card h3 { font-size: 26px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--body); }

/* Screens */
.screens { background: var(--ice); }
.screens .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; }
.screens-copy { flex: 1 1 340px; max-width: 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.screens-copy h2 { font-size: clamp(36px, 4.6vw, 48px); line-height: 1.05; }
.screens-copy div { display: flex; flex-direction: column; gap: 8px; }
.screens-copy h3 { font-size: 24px; color: var(--ember); }
.screens-copy p { font-size: 17px; line-height: 1.6; color: var(--body); }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.phone { width: 270px; height: 560px; border: 10px solid var(--night); border-radius: 40px; overflow: hidden; background: var(--night); box-shadow: 0 18px 40px rgba(22,35,58,0.25); transform: rotate(-3deg); }
.phone + .phone { transform: rotate(3deg); margin-top: 32px; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

/* Co-op */
.coop { background: var(--night); color: #fff; }
.coop .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 44px; }
.coop .section-head svg { width: 64px; height: 64px; }
.coop .section-head h2 { color: var(--gold); letter-spacing: 0; }
.coop .section-head p { color: var(--body-on-night); max-width: 600px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; width: 100%; margin: 0; padding: 0; list-style: none; }
.steps li { background: var(--step-card); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.steps .num { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--night); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 26px; }
.steps h3 { font-size: 24px; }
.steps p { font-size: 16px; line-height: 1.55; color: var(--body-on-night); }

/* Final CTA */
.final { background: var(--cream); }
.final .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.final h2 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.05; color: var(--bark); }
.final p { font-size: 19px; line-height: 1.6; font-weight: 700; color: var(--bark); max-width: 560px; }
.final .store-row { padding-top: 6px; }

/* Footer */
.site-footer { background: var(--night); color: var(--body-on-night); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.made-by { display: flex; flex-direction: column; gap: 8px; }
.made-by span { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.made-by img { width: 170px; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 700; }
.footer-nav a { color: #fff; padding: 8px 0; }
.copyright { font-size: 14px; }

/* Phones */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header { flex-wrap: nowrap; gap: 12px; }
  .studio-link { font-size: 13px; letter-spacing: 0.2px; }
  .btn-prereg { font-size: 16px; padding: 8px 16px; white-space: nowrap; }
  .tagline { font-size: 18px; }
  .banner { font-size: 19px; }
  .title-art { height: 380px; margin-top: -24px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .final .wrap { padding-top: 64px; padding-bottom: 64px; }
  .store-btn { min-width: 0; width: 100%; max-width: 300px; }
  .phone { width: 220px; height: 456px; }
  .phone + .phone { margin-top: 0; }
}
