:root {
  --sand: #c0aa8a;
  --sand-light: #efe7dc;
  --sand-soft: #f8f3eb;
  --teal: #3b8685;
  --teal-dark: #174f50;
  --teal-deep: #102f33;
  --ink: #111817;
  --muted: #6f6a60;
  --paper: #fffaf2;
  --red: #bd4b43;
  --gold: #c0aa8a;
  --line: rgba(17, 24, 23, 0.12);
  --shadow: 0 28px 90px rgba(22, 39, 38, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--sand-light), var(--sand-soft) 42%, #f5efe5);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon {
  display: inline-grid;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  place-items: center;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

main {
  min-height: 100vh;
  overflow: hidden;
}

.company-hero,
.hero {
  position: relative;
  min-height: 100vh;
  padding: 24px clamp(18px, 5vw, 64px) 42px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 22%, rgba(59, 134, 133, 0.24), transparent 28%),
    linear-gradient(135deg, #d6c6ad 0%, var(--sand) 45%, #efe5d5 100%);
}

.company-hero {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7f1e8 0%, #f4ecdf 58%, #faf6ee 100%);
}

.game-hero {
  min-height: auto;
  padding-top: 44px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 78% 20%, rgba(59, 134, 133, 0.16), transparent 30%),
    linear-gradient(180deg, #fffaf2 0%, #f4ede3 58%, #edf5f2 100%);
}

.company-hero::after,
.hero::after {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(17, 24, 23, 0.1);
  border-radius: 50%;
  content: "";
}

.company-hero::before,
.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 23, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
}

.game-hero::before {
  background-image:
    linear-gradient(rgba(59, 134, 133, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 134, 133, 0.028) 1px, transparent 1px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, transparent 92%);
}

.game-hero::after {
  border-color: rgba(59, 134, 133, 0.12);
}

.company-hero::before {
  opacity: 0.18;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.company-hero::after {
  right: -240px;
  bottom: -260px;
  border-color: rgba(59, 134, 133, 0.08);
}

.nav,
.hero-grid,
.highlight-strip,
.studio-section,
.release-section,
.footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer span,
.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.62);
  border-radius: 12px;
  background: var(--teal-deep);
  box-shadow: 0 16px 36px rgba(16, 47, 51, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  margin-left: auto;
  gap: clamp(16px, 4vw, 34px);
  color: rgba(17, 24, 23, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(17, 24, 23, 0.11);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.28);
}

.language-switch button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 24, 23, 0.64);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-switch button:focus-visible {
  outline: 2px solid rgba(59, 134, 133, 0.55);
  outline-offset: 2px;
}

.language-switch button.active {
  background: var(--teal);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(59, 134, 133, 0.2);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  min-height: calc(100vh - 66px);
}

.hero-copy {
  max-width: 650px;
}

.game-hero .hero-copy {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 6ch;
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 9vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.game-hero h1 {
  max-width: 8ch;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6.2vw, 5.6rem);
  line-height: 0.95;
}

.game-title {
  white-space: nowrap;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  color: rgba(17, 24, 23, 0.74);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.5;
}

.game-hero .eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(59, 134, 133, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.66);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: none;
}

.game-hero .hero-lead {
  max-width: 560px;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.68;
}

.mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
}

.mode-row span {
  padding: 9px 12px;
  border: 1px solid rgba(17, 24, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.34);
  color: rgba(17, 24, 23, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-actions,
.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  padding: 0 20px;
  background: var(--teal);
  color: var(--paper);
  box-shadow: 0 18px 38px rgba(59, 134, 133, 0.25);
}

.ghost-button {
  padding: 0 18px;
  border: 1px solid rgba(17, 24, 23, 0.14);
  background: rgba(255, 250, 242, 0.28);
  color: var(--ink);
}

.game-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 690px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 56% 52%, rgba(59, 134, 133, 0.28), transparent 34%),
    radial-gradient(circle at 44% 18%, rgba(255, 250, 242, 0.34), transparent 26%);
}

.game-phone {
  position: relative;
  width: auto;
  height: min(660px, calc(100vh - 120px));
  aspect-ratio: 945 / 2048;
  overflow: hidden;
  border: 10px solid #172225;
  border-radius: 42px;
  background: #172225;
  box-shadow:
    0 34px 88px rgba(17, 24, 23, 0.3),
    0 0 0 1px rgba(255, 250, 242, 0.22);
  transform: rotate(2deg);
}

.game-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-caption {
  position: absolute;
  right: 8px;
  bottom: 72px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 250, 242, 0.48);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.78);
  color: var(--ink);
  box-shadow: 0 18px 52px rgba(17, 24, 23, 0.18);
  backdrop-filter: blur(14px);
}

.screen-caption span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: none;
}

.screen-caption strong {
  font-size: 1.1rem;
}

.highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  padding: 42px 0 76px;
  border-bottom: 1px solid var(--line);
}

.highlight-strip article {
  display: flex;
  gap: 18px;
  min-height: 158px;
  padding: 26px;
  border: 1px solid rgba(17, 24, 23, 0.09);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.38);
  backdrop-filter: blur(16px);
}

.highlight-strip svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--teal);
}

.highlight-strip h2 {
  margin-bottom: 7px;
  font-size: 1.05rem;
  line-height: 1.18;
}

.highlight-strip p {
  max-width: 320px;
  font-size: 0.98rem;
}

.highlight-strip p,
.studio-copy p,
.release-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.studio-section,
.release-section {
  width: min(1180px, calc(100% - 40px));
  padding: 104px 0;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.64fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: start;
  padding-bottom: 76px;
}

.studio-section-first {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.56fr);
  min-height: calc(100vh - 70px);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-top: 72px;
  padding-bottom: 72px;
  border-bottom: 0;
}

.studio-section .eyebrow,
.release-section .eyebrow {
  color: var(--teal);
}

.studio-section-first .eyebrow {
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: none;
}

.studio-section-first .eyebrow::after {
  display: block;
  width: 38px;
  height: 1px;
  background: rgba(59, 134, 133, 0.42);
  content: "";
}

.studio-copy {
  max-width: 720px;
}

.studio-copy h2 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.studio-section-first .studio-copy h2 {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(1.72rem, 2.25vw, 2.34rem);
  line-height: 1.2;
}

.studio-copy p {
  max-width: 610px;
  font-size: 1.08rem;
  line-height: 1.68;
}

.studio-section-first .studio-copy p {
  max-width: 620px;
  color: rgba(17, 24, 23, 0.66);
  font-size: 1.02rem;
  line-height: 1.78;
}

.studio-copy p + p {
  margin-top: 14px;
}

.principles {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.42);
  box-shadow: 0 14px 38px rgba(17, 24, 23, 0.025);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.32;
}

.company-panel {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 23, 0.08);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.6);
  box-shadow: 0 20px 56px rgba(17, 24, 23, 0.06);
}

.company-panel-head {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 24, 23, 0.08);
}

.company-panel-head span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.company-panel-head strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.studio-section-first .principle {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 23, 0.07);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(17, 24, 23, 0.82);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.46;
}

.studio-section-first .principle:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.principle svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--teal);
}

.release-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-section h2 {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.12;
}

.release-copy {
  max-width: 720px;
}

.release-copy p {
  max-width: 640px;
  font-size: 1.05rem;
}

.release-actions {
  display: grid;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 0;
}

.store-badge {
  min-width: 224px;
  min-height: 64px;
  padding: 10px 18px;
  border: 1px solid rgba(17, 24, 23, 0.08);
  border-radius: 14px;
  background: var(--teal-deep);
  color: var(--paper);
  box-shadow: 0 16px 34px rgba(17, 24, 23, 0.1);
}

.store-badge span {
  display: grid;
  line-height: 1.08;
}

.store-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.12);
}

.store-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.store-badge small {
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
}

.store-badge.accent {
  background: var(--teal);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  padding: 28px 0;
}

.footer-meta {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-meta a {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer .brand-mark {
  border-color: rgba(16, 25, 22, 0.14);
}

.footer span {
  color: var(--muted);
  font-size: 0.92rem;
}

.deletion-page {
  position: relative;
  min-height: 100vh;
  padding: 24px clamp(18px, 5vw, 64px) 64px;
  background:
    radial-gradient(circle at 82% 16%, rgba(59, 134, 133, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #fffaf2 52%, #edf5f2 100%);
}

.deletion-page::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 23, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  opacity: 0.35;
}

.deletion-nav,
.deletion-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.deletion-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.58fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
  padding-top: clamp(64px, 9vw, 118px);
}

.deletion-copy {
  max-width: 700px;
}

.deletion-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.08;
}

.deletion-info {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.deletion-info article {
  max-width: 660px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 23, 0.11);
}

.deletion-info h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.deletion-info p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.64;
}

.deletion-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(17, 24, 23, 0.09);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 20px 56px rgba(17, 24, 23, 0.08);
}

.form-head {
  display: grid;
  gap: 5px;
  padding-bottom: 6px;
}

.form-head span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-head strong {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.15;
}

.deletion-form label {
  display: grid;
  gap: 8px;
  color: rgba(17, 24, 23, 0.76);
  font-size: 0.92rem;
  font-weight: 800;
}

.deletion-form input,
.deletion-form select,
.deletion-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 24, 23, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.deletion-form input,
.deletion-form select {
  min-height: 48px;
  padding: 0 13px;
}

.deletion-form textarea {
  resize: vertical;
  min-height: 108px;
  padding: 13px;
}

.deletion-form input:focus,
.deletion-form select:focus,
.deletion-form textarea:focus {
  border-color: rgba(59, 134, 133, 0.62);
  outline: 3px solid rgba(59, 134, 133, 0.14);
}

.confirm-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: rgba(17, 24, 23, 0.74);
  font-weight: 700 !important;
  line-height: 1.42;
}

.confirm-row input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.deletion-form .primary-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-note a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .company-hero,
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .studio-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 0 32px;
  }

  .studio-section-first {
    padding-top: 72px;
    padding-bottom: 36px;
  }

  .game-scene {
    min-height: 590px;
  }

  .highlight-strip {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 64px;
  }

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

  .footer-meta {
    justify-content: flex-start;
  }

  .release-section {
    grid-template-columns: 1fr;
  }

  .deletion-layout {
    grid-template-columns: 1fr;
  }

  .release-actions {
    justify-content: flex-start;
  }
}

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

  .nav-links {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .language-switch {
    width: 100%;
  }

  .language-switch button {
    flex: 1;
  }

  .hero-grid {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .game-hero h1 {
    font-size: clamp(3rem, 14vw, 4.35rem);
    line-height: 0.98;
  }

  h2 {
    font-size: 1.9rem;
    line-height: 1.12;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .release-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-badge {
    min-width: 0;
    min-height: 58px;
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 13px;
  }

  .store-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .store-icon img {
    width: 24px;
    height: 24px;
  }

  .store-badge span {
    min-width: 0;
    font-size: 0.95rem;
  }

  .store-badge small {
    font-size: 0.63rem;
  }

  .game-scene {
    min-height: 560px;
  }

  .game-phone {
    width: min(310px, 82vw);
    height: auto;
    border-width: 8px;
    border-radius: 34px;
    transform: none;
  }

  .screen-caption {
    right: 0;
    bottom: 36px;
  }

  .studio-section,
  .release-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .studio-section {
    padding-bottom: 52px;
  }

  .studio-copy p {
    font-size: 1rem;
  }

  .studio-copy h2 {
    font-size: 1.86rem;
    line-height: 1.14;
  }

  .studio-section-first .studio-copy h2 {
    font-size: 1.72rem;
    line-height: 1.18;
  }

  .release-section h2 {
    font-size: 1.86rem;
    line-height: 1.14;
  }

  .deletion-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .deletion-layout {
    padding-top: 54px;
  }

  .deletion-copy h1 {
    font-size: 2rem;
    line-height: 1.14;
  }

  .deletion-form {
    padding: 20px;
  }

  .highlight-strip article {
    min-height: auto;
    padding: 22px;
  }

  .principle {
    padding: 18px;
  }
}
