:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --ink: #12181f;
  --text: #192129;
  --muted: #5b6872;
  --panel: #ffffff;
  --line: #d9e0dd;
  --mint: #16b8a6;
  --blue: #2f6fe4;
  --yellow: #f2bb2d;
  --rose: #d93d61;
  --shadow: 0 24px 70px rgba(18, 24, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header,
.brand,
nav,
footer {
  display: flex;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(246, 248, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
}

.brand img,
.game-icon,
.release-row img {
  border-radius: 8px;
}

nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 92px);
  padding: clamp(72px, 11vw, 132px) clamp(18px, 5vw, 72px) clamp(54px, 8vw, 92px);
}

.hero-copy {
  max-width: 820px;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(5.8rem, 16vw, 13rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: clamp(2.25rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.lead {
  max-width: 650px;
  margin-top: 28px;
  color: #33414d;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.release-board {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.release-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 18px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.release-row strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
}

.release-row > span {
  min-width: 0;
}

.release-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.product-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--mint);
}

.product-mark::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, #ffffff 9px, transparent 0 19px, #ffffff 0),
    linear-gradient(#ffffff 9px, transparent 0 19px, #ffffff 0);
}

.product-mark.large {
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
}

.product-mark.large::before {
  width: 38px;
  height: 38px;
  background:
    linear-gradient(90deg, #ffffff 12px, transparent 0 26px, #ffffff 0),
    linear-gradient(#ffffff 12px, transparent 0 26px, #ffffff 0);
}

.section {
  padding: clamp(68px, 10vw, 118px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(34px, 6vw, 62px);
}

.section-heading p {
  max-width: 680px;
  margin-top: 18px;
}

.product-section {
  background: #ffffff;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(30px, 7vw, 92px);
  padding: clamp(28px, 5vw, 54px) 0;
}

.product-feature + .product-feature {
  border-top: 1px solid var(--line);
}

.product-copy p {
  max-width: 650px;
  margin-top: 20px;
}

.feature-list {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  color: var(--text);
  font-weight: 750;
  border-bottom: 1px solid var(--line);
}

.tapdeck-mock {
  padding: clamp(18px, 4vw, 30px);
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.mock-top span {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--mint);
}

.mock-top strong {
  font-size: 1.2rem;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mock-grid span {
  display: grid;
  align-items: end;
  min-height: 104px;
  padding: 12px;
  color: #ffffff;
  background: #26313c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 900;
}

.mock-grid span:nth-child(2),
.mock-grid span:nth-child(7) {
  background: var(--blue);
}

.mock-grid span:nth-child(3),
.mock-grid span:nth-child(8) {
  background: var(--mint);
}

.mock-grid span:nth-child(4),
.mock-grid span:nth-child(6) {
  background: var(--rose);
}

.mock-grid span:nth-child(5) {
  background: var(--yellow);
  color: var(--ink);
}

.phone-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.phone-strip img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 24, 31, 0.14);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: clamp(30px, 7vw, 92px);
}

.about-section p {
  max-width: 720px;
  margin-top: 22px;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principles span {
  width: 42px;
  color: var(--mint);
  font-weight: 950;
}

.principles strong {
  color: var(--ink);
  font-size: 1.22rem;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  background: var(--ink);
}

.support h2,
.support p,
.support .button {
  color: #ffffff;
}

.support p {
  max-width: 790px;
  margin-top: 18px;
  color: #c6d0d8;
}

.support .button {
  border-color: rgba(255, 255, 255, 0.42);
}

.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(54px, 9vw, 96px) 18px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.legal section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.legal p {
  margin-top: 12px;
}

.muted {
  color: var(--muted);
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .product-feature,
  .about-section,
  .support {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header {
    gap: 14px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
    width: 100%;
  }

  .hero-copy,
  .release-board {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  h1 {
    font-size: clamp(3.1rem, 15.5vw, 4rem);
    line-height: 0.96;
  }

  .lead {
    font-size: 1.18rem;
    max-width: 310px;
  }

  .release-row {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 16px;
    width: 100%;
  }

  .release-row img,
  .product-mark {
    width: 46px;
    height: 46px;
  }

  .release-row strong {
    font-size: 1.05rem;
  }

  .release-row small {
    font-size: 0.9rem;
    max-width: 210px;
  }

  .mock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-strip {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    padding-bottom: 10px;
  }
}
