:root {
  color-scheme: dark;
  --bg: #101113;
  --panel: #191b1f;
  --panel-2: #20242a;
  --text: #f2eee7;
  --muted: #b7b0a5;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #f0ba57;
  --cyan: #62d4df;
  --rose: #ed6d7b;
  --green: #9de05c;
  --shadow: rgba(0, 0, 0, 0.38);
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-family: var(--body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: revealIn 720ms ease both;
  }

  .teaser-grid .reveal:nth-child(2) {
    animation-delay: 100ms;
  }

  .teaser-grid .reveal:nth-child(3) {
    animation-delay: 200ms;
  }

  .feature-band .reveal:nth-child(2) {
    animation-delay: 100ms;
  }

  .feature-band .reveal:nth-child(3) {
    animation-delay: 200ms;
  }
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(16, 17, 19, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(35, 210, 238, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 4vw, 56px) 58px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.88) 0%, rgba(16, 17, 19, 0.6) 38%, rgba(16, 17, 19, 0.1) 100%),
    linear-gradient(0deg, rgba(16, 17, 19, 0.9) 0%, rgba(16, 17, 19, 0.04) 45%),
    url("assets/irezapps-hero-clean.png") center / cover no-repeat;
  transform: scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ambient span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(98, 212, 223, 0.55);
  box-shadow: 0 0 18px rgba(98, 212, 223, 0.7);
  animation: floatParticle 9s ease-in-out infinite;
}

.hero-ambient span:nth-child(1) { left: 14%; top: 34%; animation-delay: -1s; }
.hero-ambient span:nth-child(2) { left: 42%; top: 24%; animation-delay: -4s; }
.hero-ambient span:nth-child(3) { right: 18%; top: 46%; animation-delay: -7s; }
.hero-ambient span:nth-child(4) { left: 68%; bottom: 16%; animation-delay: -2s; }

.hero-content {
  position: relative;
  width: min(100%, 760px);
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  margin-top: 0;
}

p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7.2vw, 6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: #ddd7cd;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(157, 224, 92, 0.2);
}

.button.primary {
  background: var(--green);
  color: #151713;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  padding: 84px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.intro {
  padding-bottom: 54px;
  border-bottom: 0;
}

.section > *,
.contact > * {
  min-width: 0;
}

.section h2,
.contact h2 {
  max-width: 640px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.04;
}

.section > p,
.about-copy,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 56px) 118px;
}

.game-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
}

.teaser-grid .game-card {
  min-height: 470px;
}

.game-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #263b42, #17191f);
}

.game-visual::before {
  content: "";
  position: absolute;
  inset: 22px 34px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transform: perspective(360px) rotateX(42deg);
  background: linear-gradient(180deg, rgba(98, 212, 223, 0.22), rgba(255, 255, 255, 0.04));
}

.game-visual span {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  animation: tokenBounce 4.6s ease-in-out infinite;
}

.game-visual span:nth-child(1) { left: 18%; top: 48%; background: var(--rose); }
.game-visual span:nth-child(2) { left: 36%; top: 34%; background: var(--gold); animation-delay: -0.9s; }
.game-visual span:nth-child(3) { left: 54%; top: 58%; background: var(--cyan); animation-delay: -1.8s; }
.game-visual span:nth-child(4) { left: 66%; top: 32%; background: #9878f4; animation-delay: -2.7s; }
.game-visual span:nth-child(5) { left: 44%; top: 72%; background: var(--green); animation-delay: -3.4s; }

.bardakcha-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 42% 30%, rgba(98, 212, 223, 0.36), transparent 34%),
    linear-gradient(135deg, #061b5d, #109ee9 54%, #161d5b);
}

.bardakcha-visual::before {
  display: none;
}

.bardakcha-icon {
  position: relative;
  z-index: 1;
  width: min(156px, 64%);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.terminal {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(240, 186, 87, 0.22), transparent 44%),
    linear-gradient(135deg, #1f242a, #101113);
}

.terminal::before {
  inset: 42px;
  border: 2px solid rgba(240, 186, 87, 0.42);
  transform: none;
  background: #16120d;
}

.screen-lines {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 48%;
  border: 1px solid rgba(240, 186, 87, 0.6);
  background:
    linear-gradient(var(--gold) 0 0) 18% 24% / 54% 3px no-repeat,
    linear-gradient(var(--gold) 0 0) 18% 42% / 70% 3px no-repeat,
    linear-gradient(var(--gold) 0 0) 18% 60% / 48% 3px no-repeat,
    repeating-linear-gradient(0deg, rgba(240, 186, 87, 0.12), rgba(240, 186, 87, 0.12) 1px, transparent 1px, transparent 6px);
  box-shadow: 0 0 34px rgba(240, 186, 87, 0.24);
  animation: crtPulse 2.8s ease-in-out infinite;
}

.breachline-card-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 35%, rgba(98, 212, 223, 0.2), transparent 34%),
    radial-gradient(circle at 72% 36%, rgba(237, 109, 123, 0.2), transparent 34%),
    #101113;
}

.breachline-card-visual::before {
  display: none;
}

.breachline-card-icon {
  position: relative;
  z-index: 1;
  width: min(178px, 70%);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.feature-creep-card-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(157, 224, 92, 0.18), transparent 30%),
    radial-gradient(circle at 70% 34%, rgba(98, 212, 223, 0.18), transparent 32%),
    #101113;
}

.feature-creep-card-visual::before {
  display: none;
}

.feature-creep-card-icon {
  position: relative;
  z-index: 1;
  width: min(156px, 64%);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.street {
  background: linear-gradient(135deg, #547a85, #e2a259 64%, #343537);
}

.street::before {
  inset: auto 0 0;
  height: 58px;
  border: 0;
  transform: none;
  background: rgba(20, 21, 23, 0.62);
}

.figure {
  position: absolute;
  left: 43%;
  top: 36px;
  width: 74px;
  height: 142px;
  border-radius: 38px 38px 12px 12px;
  background: #5a4638;
  box-shadow: inset 0 28px 0 #d4c2a8, 0 18px 34px rgba(0, 0, 0, 0.3);
  animation: streetSway 4.8s ease-in-out infinite;
}

.figure::before,
.figure::after {
  content: "";
  position: absolute;
  top: 74px;
  width: 34px;
  height: 12px;
  border-radius: 12px;
  background: #d4c2a8;
}

.figure::before {
  left: -8px;
  transform: rotate(28deg);
}

.figure::after {
  right: -8px;
  transform: rotate(-28deg);
}

.game-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
}

.status {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-body h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.08;
}

.game-body p,
.game-body li {
  color: var(--muted);
  line-height: 1.62;
  overflow-wrap: break-word;
}

.game-body ul {
  margin: 6px 0 28px;
  padding-left: 18px;
}

.game-body a {
  margin-top: auto;
  color: var(--text);
  font-weight: 800;
  text-underline-offset: 5px;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.game-actions a {
  margin-top: 0;
}

.game-actions .button {
  min-height: 52px;
}

.store-badge {
  display: inline-flex;
  width: 176px;
  height: auto;
  max-width: 100%;
  margin-top: auto;
  line-height: 0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.store-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-grid .game-body {
  padding-bottom: 34px;
}

.notify {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  margin: 0 clamp(18px, 4vw, 56px) 88px;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(98, 212, 223, 0.16), transparent 34%),
    linear-gradient(135deg, #1b1f24, #121315);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px var(--shadow);
}

.notify::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(157, 224, 92, 0.14), transparent 34%);
  pointer-events: none;
}

.notify > * {
  position: relative;
  min-width: 0;
}

.notify h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1.02;
}

.notify p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-card {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-email {
  width: fit-content;
}

.contact-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.contact {
  align-items: center;
  background: var(--panel-2);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--panel-2);
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  opacity: 0.82;
}

.social-link:hover img {
  opacity: 1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
}

@keyframes heroDrift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.05) translate3d(-14px, -8px, 0); }
}

@keyframes floatParticle {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.18; }
  50% { transform: translate3d(18px, -24px, 0); opacity: 0.76; }
}

@keyframes tokenBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}

@keyframes crtPulse {
  0%, 100% { opacity: 0.78; filter: saturate(1); }
  50% { opacity: 1; filter: saturate(1.4); }
}

@keyframes streetSway {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-4px); }
}

@keyframes revealIn {
  from { transform: translateY(18px); }
  to { transform: translateY(0); }
}

.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 7px;
}

.privacy-page .site-header {
  position: sticky;
}

.app-page .site-header {
  position: sticky;
}

.app-hero {
  position: relative;
  min-height: calc(84vh - 75px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 96px clamp(18px, 4vw, 56px) 58px;
  border-bottom: 1px solid var(--line);
}

.app-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.94) 0%, rgba(16, 17, 19, 0.72) 45%, rgba(16, 17, 19, 0.32) 100%),
    linear-gradient(0deg, rgba(16, 17, 19, 0.96) 0%, rgba(16, 17, 19, 0.14) 54%),
    url("assets/breachline-armada-icon.png") right 9% center / min(54vw, 680px) no-repeat,
    #101113;
  transform: scale(1.01);
}

.app-hero-content {
  position: relative;
  width: min(100%, 920px);
  min-width: 0;
}

.app-title-lockup {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  margin-bottom: 26px;
}

.app-title-lockup img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
}

.app-title-lockup h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
}

.app-summary a {
  color: var(--text);
  font-weight: 800;
  text-underline-offset: 5px;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 56px) 92px;
  border-bottom: 1px solid var(--line);
}

.feature-card {
  min-width: 0;
  min-height: 270px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(98, 212, 223, 0.11), transparent 44%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px var(--shadow);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: #151713;
  background: var(--gold);
  border-radius: 8px;
  font-family: var(--display);
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  line-height: 1.08;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.62;
}

.game-detail-page .site-header {
  position: sticky;
}

.game-detail-page {
  overflow-x: hidden;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 86px);
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 30%, rgba(98, 212, 223, 0.18), transparent 32%),
    linear-gradient(135deg, #101113, #16232e 54%, #101113);
}

.detail-copy,
.detail-art {
  min-width: 0;
}

.detail-copy h1 {
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.support-actions .button {
  min-height: 52px;
}

.detail-actions .store-badge,
.detail-cta .store-badge,
.support-actions .store-badge {
  margin-top: 0;
}

.detail-art {
  display: grid;
  place-items: center;
}

.detail-art img {
  width: min(100%, 360px);
  height: auto;
  border-radius: 26%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.detail-section,
.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  padding: 78px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.detail-section h2,
.detail-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.04;
}

.detail-text p,
.feature-strip p {
  color: var(--muted);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 56px) 78px;
}

.feature-strip article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px var(--shadow);
}

.feature-shot {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.feature-copy {
  padding: 24px;
}

.feature-strip span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 800;
}

.feature-strip h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  overflow-wrap: anywhere;
}

.detail-cta {
  align-items: center;
  background: var(--panel-2);
}

.detail-section > *,
.detail-cta > * {
  min-width: 0;
}

.legal-page {
  padding-top: 0;
}

.legal-hero {
  padding: 72px clamp(18px, 4vw, 56px) 42px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.94), rgba(16, 17, 19, 0.72)),
    url("assets/irezapps-hero-clean.png") center / cover no-repeat;
}

.legal-hero h1 {
  max-width: 880px;
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.legal-content {
  width: min(100% - clamp(36px, 8vw, 112px), 880px);
  margin: 0 auto;
  padding: 48px 0 68px;
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.legal-content a {
  color: var(--text);
  font-weight: 800;
  text-underline-offset: 5px;
}

.legal-content ul {
  margin: 0 0 8px;
  padding-left: 22px;
}

.privacy-page footer {
  justify-content: flex-start;
  min-height: auto;
  gap: clamp(18px, 4vw, 44px);
  padding-top: 18px;
  padding-bottom: 18px;
}

@media (max-width: 980px) {
  .section,
  .contact,
  .notify,
  .detail-hero,
  .detail-section,
  .detail-cta {
    grid-template-columns: 1fr;
  }

  .game-grid,
  .feature-band,
  .feature-strip {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 20px;
    padding-right: 20px;
  }

  .game-card {
    min-height: auto;
    width: 100%;
    max-width: calc(100vw - 40px);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.84rem;
    text-align: center;
  }

  nav a {
    min-width: 0;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .app-page .site-header,
  .privacy-page .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 168px;
    padding-bottom: 76px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(16, 17, 19, 0.86) 0%, rgba(16, 17, 19, 0.36) 42%, rgba(16, 17, 19, 0.92) 100%),
      url("assets/irezapps-hero-clean.png") 62% center / cover no-repeat;
  }

  .app-hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .app-hero-media {
    background:
      linear-gradient(180deg, rgba(16, 17, 19, 0.64) 0%, rgba(16, 17, 19, 0.92) 56%, rgba(16, 17, 19, 0.98) 100%),
      url("assets/breachline-armada-icon.png") center top / min(92vw, 420px) no-repeat,
      #101113;
  }

  .app-title-lockup {
    grid-template-columns: 1fr;
    padding-top: min(56vw, 240px);
  }

  .app-title-lockup img {
    display: none;
  }

  .app-title-lockup h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.85rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10.4vw, 2.8rem);
    line-height: 1;
  }

  .section h2,
  .contact h2,
  .detail-section h2,
  .detail-cta h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
    overflow-wrap: anywhere;
  }

  .lede {
    max-width: 32ch;
    font-size: 1rem;
  }

  .section,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .notify {
    margin-bottom: 64px;
    padding: 28px 20px;
  }

  .notify h2 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
  }

  .legal-page {
    padding-top: 0;
  }

  .detail-hero {
    padding-top: 54px;
  }

  .detail-section,
  .detail-cta,
  .feature-strip article,
  .detail-text,
  .detail-list,
  .feature-copy {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .game-detail-page .detail-text p,
  .game-detail-page .feature-strip p,
  .game-detail-page .detail-list {
    max-width: 31ch;
  }

  .feature-creep-page .detail-section h2 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    max-width: 14ch;
  }

  .detail-art {
    justify-items: start;
  }

  .detail-art img {
    width: min(100%, 260px);
  }

  .breachline-page .detail-copy h1 {
    font-size: clamp(2rem, 8.8vw, 2.45rem);
  }

  .breachline-page .detail-section h2,
  .breachline-page .detail-cta h2 {
    font-size: clamp(1.65rem, 6.8vw, 2rem);
  }

  .legal-hero {
    padding-top: 42px;
  }

  .legal-content {
    width: min(100% - 36px, 880px);
    padding-top: 36px;
  }

  .contact-card {
    width: 100%;
    max-width: calc(100vw - 40px);
    min-width: 0;
    padding: 18px;
  }

  .contact-actions,
  .contact-email,
  .contact-link-row {
    width: 100%;
  }

  .contact-email {
    justify-content: center;
  }

  .contact-link-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .contact-link-row .button {
    width: 100%;
  }

  .contact-link-row .social-links {
    justify-content: center;
  }

  .section > p,
  .about-copy,
  .contact p,
  .detail-text,
  .detail-text p,
  .game-body p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .game-body {
    padding: 24px 20px 28px;
  }

  .game-body h3 {
    max-width: 12ch;
  }

  .store-badge {
    width: min(176px, 100%);
  }

  .game-actions,
  .detail-actions,
  .support-actions {
    align-items: flex-start;
  }

  .game-actions {
    flex-direction: column;
  }

  .game-actions .button,
  .support-actions .button {
    width: min(176px, 100%);
  }

  footer {
    flex-direction: column;
  }
}
