:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #f5f8ff;
  background: #041229;
  --blue: #55a8ff;
  --blue-soft: #a7d4ff;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 29, .94) 0%, rgba(3, 17, 43, .84) 35%, rgba(3, 18, 47, .32) 66%, rgba(2, 12, 30, .2) 100%),
    linear-gradient(0deg, rgba(2, 8, 22, .78), transparent 46%),
    url("/winstacks/assets/winstacks_background.jpg") center / cover no-repeat fixed;
}

.landing {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 96px));
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: 116px 0 54px;
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(30px, 4vw, 72px);
  flex: 1;
}

.copy { max-width: 560px; min-width: 0; }
.eyebrow { margin: 0 0 20px; color: var(--blue-soft); font-size: 11px; line-height: 1.8; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.product-heading { display: flex; align-items: center; gap: 18px; margin: 0 0 27px; }
.app-icon { width: clamp(60px, 5.2vw, 72px); height: auto; flex: none; }
h1 { margin: 0; font-size: clamp(64px, 6.4vw, 94px); line-height: .98; }
h2 { max-width: 540px; margin: 0 0 20px; font-size: clamp(29px, 2.7vw, 40px); line-height: 1.18; text-wrap: balance; }
.description { max-width: 480px; margin: 0; color: #cbd8e9; font-size: 16px; line-height: 1.75; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

.availability { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.store-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid rgba(103, 180, 255, .58);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(31, 100, 173, .42), rgba(8, 35, 72, .72));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 10px 32px rgba(0, 55, 130, .16);
  color: #f6faff;
  font: 600 11px/1 Arial, sans-serif;
  letter-spacing: .14em;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.store-cta:hover { border-color: rgba(130, 197, 255, .9); box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 12px 36px rgba(0, 76, 168, .24); transform: translateY(-1px); }
.availability > span { color: #b9c8db; font-size: 12px; }
.features { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(111, 183, 255, .25); color: #a9c8e8; font-size: 12px; line-height: 1.8; }

.product {
  position: relative;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.product::before {
  position: absolute;
  z-index: -1;
  inset: 12% 4% 6%;
  content: "";
  background: radial-gradient(circle at 55% 60%, rgba(33, 133, 255, .28), transparent 67%);
  filter: blur(42px);
}
.product img {
  display: block;
  width: min(100%, 820px);
  height: auto;
  max-height: 72svh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 30px 80px rgba(0, 7, 20, .38);
}

footer {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 96px));
  margin: 0 auto;
  padding: 12px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #aebccd;
  font-size: 11px;
}
footer nav { display: flex; gap: 26px; }
footer [role="link"] { cursor: default; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(234, 243, 255, .09);
  background: linear-gradient(180deg, rgba(2, 8, 20, .82), rgba(2, 9, 23, .25) 78%, transparent);
  backdrop-filter: blur(14px);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.nav-shell {
  width: min(1180px, calc(100vw - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.site-mark, .primary-nav a, .locale-switch button { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.site-header a { color: inherit; text-decoration: none; }
.site-mark { justify-self: start; color: #f4f7fc; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 34px); color: rgba(236, 244, 255, .72); }
.primary-nav a { position: relative; padding: 12px 0; transition: color 180ms ease; }
.primary-nav a::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; content: ""; transform: scaleX(0); transform-origin: left; background: var(--blue); transition: transform 180ms ease; }
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { transform: scaleX(1); }
.locale-switch { justify-self: end; display: inline-flex; align-items: center; overflow: hidden; border: 1px solid rgba(226, 240, 255, .18); border-radius: 4px; background: rgba(5, 17, 37, .54); }
.locale-switch button { min-width: 43px; min-height: 34px; border: 0; border-right: 1px solid rgba(226, 240, 255, .12); background: transparent; color: rgba(230, 241, 255, .62); cursor: pointer; }
.locale-switch button:last-child { border-right: 0; }
.locale-switch button.is-active { background: rgba(68, 151, 239, .2); color: #fff; }

@media (max-width: 1050px) {
  .landing, footer { width: calc(100% - 64px); }
  .landing { grid-template-columns: minmax(330px, .82fr) minmax(420px, 1.18fr); gap: 26px; }
  .product img { max-height: 62svh; }
}

@media (max-width: 860px) {
  .nav-shell { width: min(calc(100vw - 36px), 720px); min-height: 64px; grid-template-columns: 1fr auto; gap: 16px; }
  .site-mark { display: none; }
  .primary-nav { justify-content: start; overflow-x: auto; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .landing { grid-template-columns: 1fr; align-content: center; padding-top: 102px; gap: 34px; }
  .copy { max-width: 620px; }
  .product img { width: min(100%, 680px); max-height: none; }
}

@media (max-width: 560px) {
  body {
    background-attachment: scroll;
    background-position: 62% center;
  }
  .site-header { background: rgba(3, 12, 28, .9); }
  .nav-shell { width: min(calc(100vw - 28px), 420px); min-height: 58px; gap: 10px; }
  .primary-nav { gap: 15px; }
  .primary-nav a, .locale-switch button, .site-mark { font-size: .65rem; }
  .locale-switch button { min-width: 36px; min-height: 32px; }
  .landing, footer { width: calc(100% - 40px); }
  .landing { padding: 90px 0 34px; gap: 30px; }
  .product-heading { gap: 14px; margin-bottom: 22px; }
  .app-icon { width: 54px; }
  h1 { font-size: 58px; }
  h2 { font-size: 29px; }
  .description { font-size: 15px; }
  .features { font-size: 11px; }
  footer { padding-bottom: 22px; font-size: 10px; }
  footer nav { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav a, .primary-nav a::after, .store-cta { transition: none; }
}
