@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f4ef;
  --paper-deep: #e9dfd2;
  --ink: #23262e;
  --muted: #69686b;
  --orange: #f05a36;
  --orange-deep: #d83f1b;
  --cyan: #0f99a8;
  --violet: #6e6ed9;
  --line: rgba(35, 38, 46, 0.14);
  --panel: rgba(255, 255, 255, 0.48);
  --shadow: 0 22px 70px rgba(74, 54, 39, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 12%, rgba(15, 153, 168, 0.12), transparent 27rem),
    radial-gradient(circle at 8% 30%, rgba(240, 90, 54, 0.11), transparent 25rem),
    var(--paper);
  font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--orange-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border-radius: 7px;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
}

.nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  position: relative;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 3px solid var(--orange);
}

.brand-mark::after {
  position: absolute;
  top: -7px;
  right: 3px;
  width: 3px;
  height: 34px;
  content: "";
  transform: rotate(43deg);
  background: var(--paper);
}

.brand-name {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.035em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.lang-link {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-deep);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  line-height: 0.95;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(64px, 10vw, 132px);
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 76px);
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 10px;
  font-size: 30px;
  letter-spacing: 0.01em;
}

p {
  margin-top: 0;
}

.hero {
  display: grid;
  min-height: min(820px, calc(100vh - 88px));
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding-block: 70px 90px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.42;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.button,
.button-quiet,
.store-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.button {
  color: white;
  background: var(--orange);
  box-shadow: 0 10px 30px rgba(240, 90, 54, 0.22);
}

.button:hover {
  color: white;
  background: var(--orange-deep);
}

.button-quiet {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: min(355px, 82%);
  aspect-ratio: 9 / 19.5;
  border: 9px solid var(--ink);
  border-radius: 44px;
  background: #7894ad;
  box-shadow: var(--shadow);
}

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

.phone-main {
  top: 0;
  right: 3%;
  transform: rotate(3deg);
}

.frame-card {
  position: absolute;
  z-index: 3;
  top: 54%;
  left: 0;
  width: 230px;
  padding: 20px 22px;
  transform: rotate(-5deg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 12px;
  background: rgba(247, 244, 239, 0.94);
  box-shadow: var(--shadow);
}

.frame-card strong {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 38px;
  line-height: 0.9;
}

.frame-card small {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glow-line {
  position: absolute;
  z-index: 4;
  top: 34%;
  left: -3%;
  width: 92%;
  height: 4px;
  transform: rotate(-14deg);
  border-radius: 99px;
  background: #86f1f5;
  box-shadow: 0 0 6px #86f1f5, 0 0 22px rgba(134, 241, 245, 0.8);
  animation: lock-pulse 3.2s ease-in-out infinite;
}

@keyframes lock-pulse {
  0%, 100% { opacity: 0.4; transform: rotate(-14deg) scaleX(0.62); transform-origin: left; }
  50% { opacity: 1; transform: rotate(-14deg) scaleX(1); transform-origin: left; }
}

.section {
  padding-block: clamp(74px, 10vw, 130px);
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: 54px;
}

.section-intro p:last-child {
  max-width: 650px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 21px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: steps;
}

.step {
  min-height: 250px;
  padding: 28px;
  counter-increment: steps;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.step::before {
  display: block;
  margin-bottom: 54px;
  color: var(--orange);
  content: "0" counter(steps);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.world-card {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.world-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.world-card:hover img {
  transform: scale(1.035);
}

.world-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 80px 24px 24px;
  color: white;
  background: linear-gradient(transparent, rgba(18, 20, 25, 0.88));
}

.world-copy h3 {
  margin-bottom: 5px;
  font-size: 44px;
}

.world-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mode-card {
  min-height: 290px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 18px;
}

.mode-card:first-child {
  color: white;
  background: var(--ink);
}

.mode-card:last-child {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(15, 153, 168, 0.13), rgba(110, 110, 217, 0.1));
}

.mode-card p {
  max-width: 480px;
  margin-bottom: 0;
  opacity: 0.72;
}

.download {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 7vw, 80px);
  border-radius: 20px;
  color: white;
  background: var(--orange);
  box-shadow: 0 24px 80px rgba(216, 63, 27, 0.24);
}

.download::after {
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  content: "";
  transform: rotate(38deg);
  border: 35px solid rgba(255, 255, 255, 0.13);
}

.download h2 {
  max-width: 690px;
  margin-bottom: 12px;
}

.download p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.83);
}

.store-button {
  position: relative;
  z-index: 2;
  min-width: 210px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(35, 38, 46, 0.18);
  cursor: not-allowed;
}

.site-footer {
  padding-block: 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.legal-main {
  padding-block: clamp(64px, 8vw, 110px);
}

.page-hero {
  max-width: 900px;
  margin-bottom: 64px;
}

.page-hero h1 {
  font-size: clamp(58px, 9vw, 108px);
}

.page-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 22px;
}

.updated {
  color: var(--muted);
  font-size: 15px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 40px 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.38);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.legal-content section {
  padding-top: 10px;
  margin-bottom: 56px;
  scroll-margin-top: 20px;
}

.legal-content h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 54px);
}

.legal-content h3 {
  margin-top: 32px;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 21px;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: #4f5055;
}

.legal-content li {
  margin-bottom: 10px;
}

.data-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.data-list li {
  padding: 20px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.44);
}

.data-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.notice {
  padding: 20px 22px;
  border: 1px solid rgba(240, 90, 54, 0.25);
  border-radius: 10px;
  background: rgba(240, 90, 54, 0.07);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.support-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-card {
  margin-top: 54px;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 16px;
  color: white;
  background: var(--ink);
}

.contact-card h2 {
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 66px);
}

.contact-card a {
  color: #8ae6ed;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 177px);
  place-items: center;
  padding-block: 70px;
  text-align: center;
}

.not-found h1 {
  color: var(--orange);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    width: min(570px, 100%);
    min-height: 620px;
    margin-inline: auto;
  }

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

  .world-card {
    min-height: 500px;
  }

  .download {
    grid-template-columns: 1fr;
  }

  .store-button {
    justify-self: start;
  }

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

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }

  .toc strong {
    width: 100%;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    display: grid;
    min-height: 74px;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    row-gap: 14px;
    padding-block: 19px;
  }

  .nav-links {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 7px 15px;
  }

  .brand-name {
    font-size: 21px;
  }

  .hero {
    padding-block: 56px 70px;
  }

  .hero-visual {
    min-height: 545px;
  }

  .phone {
    width: min(315px, 79%);
    border-width: 7px;
    border-radius: 37px;
  }

  .frame-card {
    top: 56%;
    width: 205px;
  }

  .section-intro,
  .worlds,
  .mode-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 210px;
  }

  .step::before {
    margin-bottom: 32px;
  }

  .world-card {
    min-height: 620px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
