:root {
  --ink: #172026;
  --muted: #64717b;
  --line: #dbe5e8;
  --paper: #f8fbfb;
  --white: #ffffff;
  --teal: #0f766e;
  --mint: #a7f3d0;
  --blue: #38bdf8;
  --rose: #fb7185;
  --amber: #fbbf24;
  --violet: #a78bfa;
  --shadow: 0 24px 80px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 251, 251, 0.92);
  border-bottom: 1px solid rgba(219, 229, 232, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  padding: 3px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 8px 18px rgba(15, 118, 110, 0.2));
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  min-height: 86vh;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(248, 251, 251, 0.88) 0%, rgba(248, 251, 251, 0.72) 38%, rgba(248, 251, 251, 0.24) 68%, rgba(248, 251, 251, 0.06) 100%),
    url("BG_CasualMashup.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(248, 251, 251, 0), var(--paper));
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy,
.section-heading,
.game-notes {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(25px, 2vw, 30px);
  line-height: 1.16;
}

.hero-text,
.company-grid,
.game-notes p {
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button,
.mail-link {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.button.primary {
  color: white;
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.button.ghost {
  color: var(--teal);
  background: white;
  border-color: var(--line);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual .game-notes {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 80px rgba(23, 32, 38, 0.16);
  backdrop-filter: blur(18px);
}

.vision-section,
.company,
.contact {
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px);
}

.vision-section {
  background: var(--paper);
}

.section-heading {
  margin-bottom: 36px;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}

.game-panel,
.game-notes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(23, 32, 38, 0.08);
}

.game-panel {
  padding: clamp(18px, 3vw, 28px);
}

.game-notes {
  padding: clamp(28px, 4vw, 42px);
}

.game-notes ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
}

.game-notes li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.35;
}

.game-notes li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--teal);
}

.company {
  background: #ffffff;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
}

.company-grid p {
  margin-bottom: 0;
}

.contact {
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: white;
}

.contact .eyebrow {
  color: var(--mint);
  background: rgba(167, 243, 208, 0.12);
}

.contact h2 {
  max-width: 760px;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 22px;
  color: var(--ink);
  background: var(--mint);
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
  background: white;
}

@media (max-width: 860px) {
  .hero,
  .game-layout,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(248, 251, 251, 0.9) 0%, rgba(248, 251, 251, 0.7) 58%, rgba(248, 251, 251, 0.42) 100%),
      url("BG_CasualMashup.png") center top / cover no-repeat;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .contact,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  h1 {
    font-size: 40px;
  }
}
