@font-face {
  font-family: Oranienbaum;
  src: url("assets/Oranienbaum-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #070c1a;
  --brand: #0033ff;
  --accent: #9cb4ff;
  --text: #f7f9ff;
  --secondary: #b9c5e0;
  --rule: #293856;
  --display: Oranienbaum, Georgia, serif;
  --gutter: clamp(20px, 5vw, 72px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 73px;
}
body {
  margin: 0;
  min-width: 280px;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.55 Inter, system-ui, sans-serif;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  color: #fff;
  font-size: clamp(4.25rem, 6.65vw, 6.75rem);
}
h1 em {
  font-style: normal;
  display: block;
}
h2 {
  font-size: clamp(3rem, 5.3vw, 5rem);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.wrap {
  width: min(100% - 2 * var(--gutter), 1120px);
  margin-inline: auto;
}
.narrow {
  width: min(100% - 2 * var(--gutter), 610px);
  margin-inline: auto;
  text-align: center;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 0.6rem 1rem;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ink);
}
.nav-row,
.main-nav,
.category-links {
  display: flex;
  align-items: center;
}
.nav-row {
  justify-content: space-between;
  min-height: 72px;
  gap: clamp(14px, 2.5vw, 32px);
}
.wordmark {
  display: inline-flex;
}
.wordmark img {
  width: 77px;
  height: auto;
}
.main-nav {
  margin-inline-start: auto;
  gap: clamp(14px, 2.2vw, 32px);
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
  font-size: 0.875rem;
}
nav a:hover {
  color: white;
}
.language-menu {
  position: relative;
  flex-shrink: 0;
}
.language-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
}
.language-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.language-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.language-menu ul {
  list-style: none;
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  padding: 6px;
  margin: 0;
  width: max-content;
  min-width: 170px;
  max-height: calc(100dvh - 82px);
  overflow-y: auto;
  background: #101a30;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 12px 30px #02071588;
}
.language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: .9rem;
}
.language-menu a:is(:hover, :focus-visible, [aria-current]) {
  background: #202d4b;
}
.language-menu a[aria-current]::after {
  content: "✓";
  color: var(--accent);
}
.split {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(22px, 6vw, 88px);
}
.hero,
.download {
  background: radial-gradient(
    ellipse at var(--glow-position, 82% 68%),
    #123aaf 0%,
    #0b2164 23%,
    #09132f 46%,
    var(--ink) 75%
  );
}
.hero .split {
  min-height: clamp(575px, 74svh, 780px);
  padding-block: 58px;
}
.hero-copy {
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
}
.lead,
.how p {
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.6;
  color: var(--secondary);
}
.lead {
  max-width: 415px;
  margin: 24px 0 32px;
}
.stores {
  display: flex;
  gap: 10px 12px;
  align-items: center;
  flex-wrap: wrap;
}
.android-status {
  font-weight: 600;
}
.stores .android-status {
  color: var(--secondary);
  font-size: .875rem;
  line-height: 1.3;
  text-wrap: balance;
}
.stores a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
}
.stores img {
  height: 44px;
  width: auto;
}
.stores a:hover {
  opacity: 0.85;
}
.nav-stores {
  flex-wrap: nowrap;
  gap: 8px;
}
.nav-stores img {
  height: 40px;
  max-width: none;
}
.hero-screen {
  display: flex;
  justify-content: center;
  align-items: center;
}
.iphone {
  position: relative;
  width: min(100%, 248px);
  padding: 6px;
  border-radius: 15.5% / 7.2%;
  background: #080a10;
  border: 1px solid #778197;
  box-shadow: inset 0 0 0 1px #383f50, 0 12px 32px #02081766;
}
.iphone .screen {
  width: 100%;
  height: auto;
  border-radius: 13.4% / 6.1%;
}
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.iphone::before {
  top: 2.4%;
  width: 27%;
  height: 3.1%;
  border-radius: 100px;
  background: #000;
}
.iphone::after {
  bottom: 2.2%;
  width: 31%;
  height: 3px;
  border-radius: 100px;
  background: #f3f5fb;
}
.hero-screen .iphone {
  width: min(100%, 269px);
}
.catalog {
  background: #0b1224;
}
.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "phone copy";
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(42px, 5vw, 72px);
}
.catalog-copy {
  grid-area: copy;
}
.catalog-copy h2 {
  max-width: 18ch;
  overflow-wrap: break-word;
}
.catalog-phone {
  grid-area: phone;
  justify-self: center;
}
.catalog-copy .lead {
  margin: 16px 0 20px;
}
.category-links {
  flex-wrap: wrap;
  gap: 6px 20px;
}
.category-links a {
  gap: 7px;
  border-bottom: 1px solid #596d96;
  color: var(--text);
}
.category-links span {
  color: var(--accent);
  font-size: .75rem;
}
.pack-group {
  background-color: #000;
}
.group-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr);
  gap: clamp(36px, 5vw, 80px);
  padding-block: clamp(32px, 4.5vw, 62px);
}
.category-art {
  width: 100%;
  height: auto;
  margin-bottom: 23px;
}
.group-heading h3 {
  font-size: clamp(2.1rem, 3.4vw, 3.6rem);
  overflow-wrap: anywhere;
}
.group-intro {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--secondary);
  line-height: 1.6;
}
.pack-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.category {
  margin-bottom: 9px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
}
.pack-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid #57534e;
  border-radius: .75rem;
  overflow-wrap: anywhere;
}
.pack-emoji {
  font-size: 1.25rem;
  line-height: 1.55;
  flex-shrink: 0;
}
.pack-list h4 {
  font: 400 clamp(1.4rem, 1.8vw, 1.75rem)/1.15 var(--display);
}
.pack-list p {
  margin-top: 5px;
  color: var(--secondary);
  font-size: .94rem;
  line-height: 1.5;
}
.how,
.faq,
.download {
  --section-padding: clamp(68px, 8vw, 112px);
  padding-block: var(--section-padding);
}
.how p {
  margin: 20px auto 0;
  max-width: 565px;
}
.how,
.faq {
  background-color: #000;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
}
.faq h2 {
  font-size: clamp(2.7rem, 4.2vw, 4.4rem);
}
.answers {
  border-top: 1px solid var(--rule);
}
.answers details {
  border-bottom: 1px solid var(--rule);
}
.answers summary {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.answers summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}
.answers details[open] summary::after {
  content: "−";
}
.answers details p {
  color: var(--secondary);
  font-size: 0.94rem;
  padding: 0 28px 20px 0;
}
.download {
  /* Center the glow half a badge height above the bottom padding. */
  --glow-position: 50% calc(100% - var(--section-padding) - 22px);
}
.download-tagline {
  margin-top: clamp(18px, 2vw, 26px);
  color: var(--secondary);
  font-size: clamp(1.4rem, 1.9vw, 1.65rem);
  line-height: 1.25;
  text-wrap: balance;
}
.download .stores {
  margin-top: 24px;
  justify-content: center;
}
.site-footer {
  background: #000;
  color: #a3a3a3;
  font-size: .9375rem;
  line-height: 1.6;
  padding-block: clamp(44px, 5vw, 72px) 28px;
}
.footer-grid,
.footer-nav {
  display: grid;
  align-items: start;
  gap: clamp(20px, 3vw, 44px);
}
.footer-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.footer-nav {
  grid-column: span 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.footer-brand > a {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
}
.footer-brand p {
  max-width: 30ch;
  margin-top: 14px;
}
.footer-nav h2 {
  color: #ececec;
  font: 600 1rem/1.5 Inter, system-ui, sans-serif;
  letter-spacing: normal;
}
.footer-nav ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.footer-nav a {
  display: flex;
  color: inherit;
  font-size: inherit;
  min-height: 24px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.site-footer a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid #242424;
  padding-top: 24px;
  font-size: .875rem;
}
@media (max-width: 960px) {
  .main-nav .nav-detail {
    display: none;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
  }
  .footer-nav {
    grid-column: auto;
  }
  .footer-brand p {
    max-width: 42ch;
    margin-top: 8px;
  }
  .footer-nav a {
    min-height: 32px;
  }
  .footer-brand > a,
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 61px;
  }
  .nav-row {
    min-height: 60px;
  }
  .wordmark img {
    width: 67px;
  }
  .split,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero,
  .download {
    background: radial-gradient(
      ellipse at var(--glow-position, 50% 90%),
      #143dad,
      #0a1c53 40%,
      var(--ink) 74%
    );
  }
  .hero .split {
    padding-block: 52px 44px;
    min-height: auto;
    gap: 36px;
  }
  .hero-copy {
    text-align: center;
  }
  h1 {
    font-size: clamp(3.05rem, 9.7vw, 4.8rem);
  }
  h2 {
    font-size: clamp(2.65rem, 8.5vw, 3.8rem);
  }
  .lead {
    margin: 17px auto 22px;
  }
  .stores {
    justify-content: center;
  }
  .stores:not(.nav-stores) img {
    height: 40px;
  }
  .iphone,
  .hero-screen .iphone {
    width: min(70%, 230px);
  }
  .group-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .group-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(38vw, 240px);
    grid-template-areas: "copy art";
    align-items: center;
    column-gap: 18px;
  }
  .category-art {
    grid-area: art;
    margin: 0;
  }
  .group-copy {
    grid-area: copy;
  }
  .faq-layout {
    gap: 26px;
  }
}
@media (max-width: 560px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0;
  }
  .group-heading {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "art";
  }
  .category-art {
    width: min(100%, 310px);
    justify-self: center;
    margin-top: 18px;
  }
  .catalog-head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "phone";
    text-align: center;
  }
  .catalog-copy h2,
  .catalog-copy .lead {
    margin-inline: auto;
  }
  .category-links {
    justify-content: center;
  }
  html {
    scroll-padding-top: 97px;
  }
  .nav-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding-block: 4px;
  }
  .nav-row .wordmark img {
    width: 57px;
  }
  .language-menu {
    grid-area: 1 / 2;
    justify-self: end;
  }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }
  .nav-stores img {
    height: clamp(24px, 9vw, 40px);
  }
  .nav-stores {
    gap: 5px;
  }
  .nav-stores .android-status {
    font-size: .75rem;
    text-align: center;
  }
  .pack-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .pack-list li {
    padding-block: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
