:root {
  color-scheme: light;
  --page: #f7faff;
  --white: #fff;
  --ink: #101a30;
  --muted: #485674;
  --blue: #0759e4;
  --blue-deep: #0644b1;
  --line: #dbe3f1;
  --gutter: clamp(20px, 5vw, 64px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
}

* {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

section[id],
#download {
  scroll-margin-top: 22px;
}

.wrap {
  width: min(100%, 1308px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-content {
  min-height: 81px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand img {
  flex: none;
  border-radius: 26%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  padding-block: 12px;
}

.main-nav a:hover,
.back-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.button:hover {
  background: var(--blue-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(36px, 5.2vw, 74px);
}

.hero h1 {
  font-size: clamp(52px, 6.4vw, 89px);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.043em;
}

.hero h1 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: -.048em;
}

.hero-copy > p:first-of-type {
  max-width: 34ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.store-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 148px;
  min-height: 57px;
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
}

.store-link:hover {
  background: #243e6d;
}

.store-link small,
.store-link strong {
  display: block;
}

.store-link small {
  color: #c6d6ee;
  font-size: 11px;
}

.store-link strong {
  margin-top: 2px;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.store-arrow {
  color: #a1c9ff;
  font-size: 18px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.availability::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.hero-art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.28;
  border-radius: 26px;
  background: linear-gradient(145deg, #398dff, #0959e9 65%, #084bc6);
}

.hero-art::before {
  position: absolute;
  inset: -31% -12%;
  z-index: -1;
  background: repeating-radial-gradient(circle at 70% 35%, transparent 0 36px, #fff2 37px 38px, transparent 39px 65px);
  content: "";
}

.hero-cards {
  position: absolute;
  inset: 0;
}

.hero-card {
  position: absolute;
  width: 39%;
  height: auto;
  aspect-ratio: 1.58;
  border-radius: 7% / 10%;
  object-fit: cover;
  box-shadow: 0 2px 3px #071c5a20, 0 14px 26px #071c5a5e;
}

.hero-card-apple {
  top: 17%;
  left: 13%;
  transform: rotate(-13deg);
}

.hero-card-amazon {
  z-index: 1;
  top: 22%;
  right: 12%;
  transform: rotate(11deg);
}

.hero-card-steam {
  z-index: 2;
  bottom: 18%;
  left: 17%;
  transform: rotate(-8deg);
}

.hero-card-google {
  z-index: 3;
  right: 13%;
  bottom: 14%;
  transform: rotate(8deg);
}

.section-content {
  padding-block: clamp(46px, 6vw, 82px);
}

h2 {
  font-size: clamp(36px, 4.3vw, 58px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.041em;
}

.section-heading p,
.steps p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading p {
  margin-top: 12px;
}

.cards {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.9vw, 24px);
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.card-grid li {
  padding: clamp(9px, 1.25vw, 15px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--page);
}

.card-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.58;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.card-grid span {
  display: block;
  margin-top: 11px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.more-cards {
  margin-top: 24px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: none;
  width: 8px;
  height: 8px;
  margin: -4px 4px 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

details[open] > summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.more-cards summary {
  width: fit-content;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.more-cards summary:hover {
  background: var(--page);
}

.more-cards .card-grid {
  margin-top: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 48px);
  margin-top: 31px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.step-number {
  display: inline-grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: #e5efff;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 750;
}

.steps h3 {
  margin-top: 15px;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.steps p {
  max-width: 34ch;
  margin-top: 8px;
}

.faq {
  border-block: 1px solid var(--line);
  background: #eaf2ff;
}

.faq-content {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 32px;
}

.faq-list details {
  border-bottom: 1px solid #c8d7ed;
}

.faq-list details:first-child {
  border-top: 1px solid #c8d7ed;
}

.faq-list summary {
  min-height: 59px;
  padding-block: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.faq-list summary::after {
  color: var(--blue);
}

.faq-list summary:hover {
  color: var(--blue);
}

.faq-list p {
  max-width: 55ch;
  padding-bottom: 16px;
  font-size: 15px;
}

.footer-content {
  min-height: 85px;
}

.site-footer .brand {
  font-size: 19px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 clamp(12px, 2.5vw, 28px);
}

.policy {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(36px, 6vw, 80px);
  font-size: 16px;
  line-height: 1.65;
}

.policy-heading h1 {
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -.047em;
}

.policy-heading p {
  margin-top: 14px;
}

.policy .policy-draft {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 650;
}

.policy section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.policy h2 {
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.2;
  letter-spacing: -.027em;
}

.policy p,
.policy ul {
  color: var(--muted);
}

.policy section p,
.policy ul {
  margin-top: 10px;
}

.policy ul {
  padding-left: 1.4em;
}

.policy li + li {
  margin-top: 8px;
}

.policy strong {
  color: var(--ink);
}

.policy a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 940px) {
  .hero h1 {
    font-size: clamp(46px, 6.75vw, 70px);
  }

  .store-link {
    min-width: 130px;
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .header-content {
    flex-wrap: wrap;
    min-height: 0;
    gap: 6px 12px;
    padding-block: 12px 4px;
  }

  .policy-nav {
    padding-block: 12px;
  }

  .main-nav {
    order: 1;
    width: 100%;
    gap: 24px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 30px 38px;
  }

  .hero h1 {
    font-size: clamp(46px, 13.3vw, 74px);
  }

  .hero-copy > p:first-of-type {
    margin-top: 17px;
  }

  .store-links {
    margin-top: 20px;
  }

  .availability {
    margin-top: 16px;
  }

  .hero-art {
    aspect-ratio: 1.48;
    border-radius: 18px;
  }

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

  .steps,
  .faq-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .desktop-break {
    display: none;
  }

  .footer-content {
    min-height: 72px;
  }
}

@media (max-width: 350px) {
  .store-link {
    min-width: 0;
    padding-inline: 10px;
  }

  .store-link strong {
    font-size: 15px;
  }
}
