:root {
  --ink: #241d2f;
  --muted: #665c72;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --orange: #ff9f5a;
  --orange-dark: #f77832;
  --purple: #a93cc1;
  --purple-dark: #75228d;
  --red: #fa4449;
  --line: rgba(36, 29, 47, 0.12);
}

@theme inline {
  --color-background: var(--cream);
  --color-foreground: var(--ink);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

main {
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 13px;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.header-guide-link {
  padding: 10px 2px;
  font-size: 14px;
  font-weight: 800;
}

.header-guide-link:hover,
.header-guide-link:focus-visible {
  color: var(--purple-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-link {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  width: min(1180px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  align-items: center;
  gap: 68px;
  padding: 48px 0 92px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -145px;
  right: -28vw;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: #ffd09a;
  content: "";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

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

.hero-description {
  max-width: 620px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 7px 0 var(--ink);
  color: white;
  padding: 15px 22px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(3px);
  box-shadow: 0 4px 0 var(--ink);
}

.visual-guide-card {
  display: flex;
  max-width: 620px;
  gap: 22px;
  margin-top: 26px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 6px 7px 0 var(--purple);
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  scroll-margin-top: 24px;
}

.visual-guide-title {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 900;
}

.visual-guide-copy {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.guide-download-button {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  padding: 11px 15px;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.guide-download-button:hover,
.guide-download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 var(--ink);
}

.hero-download-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
}

.icon-card {
  position: relative;
  z-index: 2;
  width: min(390px, 84%);
  border-radius: 30%;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 18px 22px 0 var(--purple);
  isolation: isolate;
  overflow: hidden;
  transform: rotate(3deg);
}

.icon-card::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 42%;
  background: var(--purple);
  content: "";
  pointer-events: none;
}

.icon-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 3px solid var(--ink);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.icon-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.orbit {
  position: absolute;
  border: 2px dashed rgba(36, 29, 47, 0.25);
  border-radius: 50%;
}

.orbit-one {
  width: 470px;
  height: 470px;
}

.orbit-two {
  width: 560px;
  height: 350px;
  transform: rotate(-25deg);
}

.feature-pill {
  position: absolute;
  z-index: 3;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 4px 5px 0 var(--ink);
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 850;
}

.feature-pill-chat {
  top: 8%;
  left: -2%;
  transform: rotate(-6deg);
}

.feature-pill-video {
  top: 22%;
  right: -2%;
  transform: rotate(7deg);
}

.feature-pill-pcg {
  bottom: 7%;
  left: 8%;
  transform: rotate(3deg);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: white;
}

.feature-strip article {
  display: flex;
  min-height: 180px;
  gap: 18px;
  padding: 42px clamp(26px, 4vw, 64px);
  align-items: flex-start;
}

.feature-strip article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-strip article > span {
  color: var(--orange);
  font-size: 25px;
}

.feature-strip h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-strip p {
  margin: 0;
  color: #d9d2df;
  font-size: 14px;
  line-height: 1.6;
}

.pcg-guide {
  padding: 110px max(20px, calc((100vw - 1180px) / 2)) 120px;
  background: var(--ink);
  color: white;
  scroll-margin-top: 20px;
}

.pcg-guide .eyebrow {
  color: #ffc27e;
}

.guide-heading > p:last-child {
  color: #d9d2df;
}

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

.guide-step {
  min-height: 280px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  padding: 28px;
}

.step-number {
  display: block;
  margin-bottom: 40px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.guide-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.guide-step p {
  margin: 0;
  color: #d9d2df;
  font-size: 14px;
  line-height: 1.65;
}

.guide-step code {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 2px 5px;
  font-size: 0.92em;
}

.tmc-helper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px 50px;
  margin-top: 28px;
  border: 3px solid var(--ink);
  border-radius: 32px;
  background: #ffd29f;
  box-shadow: 9px 10px 0 var(--purple);
  color: var(--ink);
  padding: 38px;
}

.tmc-helper .eyebrow {
  color: var(--purple-dark);
}

.tmc-helper h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.tmc-helper ul {
  margin: 0;
  padding-left: 22px;
}

.tmc-helper li {
  padding-left: 4px;
  line-height: 1.55;
}

.tmc-helper li + li {
  margin-top: 10px;
}

.manual-note {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 2px solid rgba(36, 29, 47, 0.18);
  padding-top: 22px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
}

.downloads {
  padding: 110px max(20px, calc((100vw - 1180px) / 2)) 120px;
  background:
    radial-gradient(circle at 6% 15%, #ffd2a5 0 6%, transparent 6.2%),
    radial-gradient(circle at 94% 80%, #e7b4ed 0 7%, transparent 7.2%),
    var(--paper);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading > p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.download-card {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: auto 1fr;
  gap: 22px;
  border: 3px solid var(--ink);
  border-radius: 32px;
  padding: 34px;
  overflow: hidden;
  box-shadow: 9px 10px 0 var(--ink);
}

.android-card {
  min-height: 480px;
  background: #ffd29f;
}

.desktop-card {
  background: #ddb0e7;
}

.platform-icon {
  display: grid;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  place-items: center;
  font-weight: 950;
}

.platform {
  margin: 4px 0 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.download-card h3 {
  margin: 0 0 14px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.download-card .card-copy > p:last-child {
  max-width: 440px;
  margin: 0;
  line-height: 1.6;
}

.download-card .card-copy > p:not(.platform) + .companion-copy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.status-chip {
  position: absolute;
  right: 30px;
  bottom: 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  padding: 12px 16px;
  font-weight: 900;
}

.download-actions {
  display: grid;
  grid-column: 1 / -1;
  gap: 15px;
  align-self: end;
}

.download-button {
  display: inline-flex;
  width: fit-content;
  gap: 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 6px 0 var(--ink);
  color: white;
  padding: 14px 19px;
  align-items: center;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--ink);
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  font-weight: 800;
}

.download-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-links a:hover,
.download-links a:focus-visible {
  color: var(--purple-dark);
}

.download-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

footer {
  display: flex;
  gap: 28px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}

footer p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 64px;
  }

  .hero-art {
    min-height: 460px;
  }

  .feature-strip,
  .download-grid,
  .tmc-helper {
    grid-template-columns: 1fr;
  }

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

  .manual-note {
    grid-column: auto;
  }

  .feature-strip article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    padding-top: 16px;
  }

  .brand span {
    font-size: 14px;
  }

  .header-link {
    padding: 9px 14px;
  }

  .header-guide-link {
    display: none;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 50px 0 72px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .visual-guide-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-download-button {
    width: 100%;
    justify-content: space-between;
  }

  .hero-art {
    min-height: 360px;
  }

  .icon-card {
    width: 68%;
    box-shadow: 10px 12px 0 var(--purple);
  }

  .orbit-one {
    width: 320px;
    height: 320px;
  }

  .orbit-two {
    width: 350px;
    height: 230px;
  }

  .feature-pill {
    font-size: 11px;
    padding: 8px 11px;
  }

  .feature-pill-chat {
    left: 0;
  }

  .feature-pill-video {
    right: 0;
  }

  .downloads {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .pcg-guide {
    padding-top: 78px;
    padding-bottom: 82px;
  }

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

  .guide-step {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 28px;
  }

  .tmc-helper {
    padding: 28px;
  }

  .download-card {
    min-height: 360px;
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .android-card {
    min-height: 560px;
  }

  .download-links {
    align-items: flex-start;
    flex-direction: column;
  }

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

  footer p {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
