:root {
  color-scheme: light;
  --ink: #2d251f;
  --muted: #6d5d52;
  --paper: #fff8e9;
  --card: #fffdf7;
  --coral: #d85835;
  --coral-dark: #9d3423;
  --teal: #247f7a;
  --teal-dark: #145d59;
  --yellow: #f7c94c;
  --cream: #f4e4bd;
  --line: #dfcfb5;
  --shadow: 0 22px 55px rgba(89, 50, 26, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { text-wrap: pretty; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 10px 14px; color: #fff; background: var(--teal-dark); border-radius: 9px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 15px 0; background: rgba(255, 248, 233, 0.93); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 860; text-decoration: none; }
.brand img { width: 46px; border-radius: 12px; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a, footer nav a { font-size: 0.92rem; font-weight: 740; text-decoration: none; }

.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr); align-items: center; gap: clamp(42px, 7vw, 96px); width: min(1160px, calc(100% - 40px)); min-height: 720px; margin: 0 auto; padding: 72px 0 96px; }
.eyebrow { margin: 0 0 13px; color: var(--coral-dark); font-size: 0.78rem; font-weight: 880; letter-spacing: 0.11em; text-transform: uppercase; }
h1 { max-width: 800px; margin: 0; font-size: clamp(3.5rem, 7vw, 7rem); line-height: 0.92; letter-spacing: -0.064em; }
.hero-lede { max-width: 670px; margin: 27px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.hero-actions { display: flex; margin-top: 33px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 21px; border: 2px solid transparent; border-radius: 14px; font-weight: 820; text-align: center; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--coral); }
.button-primary:hover { background: var(--coral-dark); }
.hero-art { position: relative; display: flex; min-height: 600px; align-items: center; justify-content: center; gap: 0; padding: 42px 30px; overflow: hidden; background: linear-gradient(145deg, #f8d389, #ef8c62); border-radius: 42px; box-shadow: var(--shadow); }
.phone { position: relative; width: min(100%, 300px); padding: 9px; overflow: hidden; background: #34261f; border: 2px solid #4a362b; border-radius: 42px; box-shadow: 0 19px 45px rgba(72, 41, 22, 0.27); }
.phone img { width: 100%; border-radius: 32px; }
.phone-game { z-index: 1; width: min(48%, 245px); transform: rotate(-5deg) translateX(16px); }
.phone-shelf { z-index: 2; width: min(52%, 270px); transform: rotate(3deg) translateX(-12px); }

.section { padding: 110px max(20px, calc((100vw - 1080px) / 2)); }
.unlock-copy h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: -0.05em; }
.unlock-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr); align-items: center; gap: clamp(46px, 8vw, 110px); }
.unlock-copy > p:not(.eyebrow) { margin: 22px 0 0; font-size: 1.1rem; }

.unlock-section { background: var(--cream); }
.unlock-copy > p:not(.eyebrow) { color: #5d5145; }
.unlock-copy .button { margin-top: 28px; }
.phone-unlock { margin: 0 auto; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 50px; border-top: 1px solid var(--line); }
footer p { margin: 5px 0 0; color: var(--muted); font-size: 0.9rem; }
a:focus-visible { outline: 3px solid #1a7770; outline-offset: 4px; }

@media (max-width: 860px) {
  .hero, .unlock-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-art { min-height: 590px; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 28px); }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { width: calc(100% - 28px); padding: 55px 0 76px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 540px; padding: 35px 24px; border-radius: 30px; }
  .section { padding: 82px 14px; }
  .unlock-section { padding-right: 14px; padding-left: 14px; }
  footer { flex-direction: column; align-items: flex-start; width: calc(100% - 28px); }
}

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