:root {
  --ink: #0a0f1a;
  --ink-soft: #172133;
  --paper: #ffffff;
  --mist: #f4f4f4;
  --muted: #727784;
  --hero-muted: #91929a;
  --accent: #24b8e8;
  --line: #e6e6e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::after {
  display: block;
  width: 100%;
  height: 52px;
  background: var(--ink);
  content: "";
}

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

.hero {
  min-height: 720px;
  color: white;
  background: var(--ink);
}

.site-header {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 72px));
  height: 88px;
  margin: 0 auto;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  color: white;
  place-items: center;
  transition: opacity 180ms ease;
}

.brand-mark:hover {
  opacity: 0.72;
}

.brand-mark svg {
  width: 100%;
  fill: currentColor;
}

.hero-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 132px 24px 126px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.accent-line {
  width: 30px;
  height: 4px;
  margin: 45px 0 42px;
  background: var(--accent);
}

.hero p {
  margin: 0;
  color: rgb(255 255 255 / 61%);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 540;
  letter-spacing: 0.005em;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 82px;
}

.button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 2px solid white;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.button-primary {
  min-width: 184px;
  color: #0ea7df;
  background: white;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #f3f3f3;
}

.button-outline {
  width: 160px;
  color: #fff;
  border-color: rgb(34 211 238 / 95%);
  background: rgb(34 211 238 / 10%);
  box-shadow: 0 0 28px rgb(34 211 238 / 20%);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button-outline:hover {
  color: #fff;
  border-color: #22d3ee;
  background: rgb(34 211 238 / 14%);
  box-shadow: 0 0 34px rgb(34 211 238 / 26%);
}

.apps {
  padding-bottom: 96px;
  background: var(--paper);
}

.apps-heading {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 92px 24px 74px;
  text-align: center;
}

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

.apps-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.series-index {
  display: inline-flex;
  max-width: 100%;
  gap: 6px;
  margin-top: 42px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
  scrollbar-width: none;
}

.series-index::-webkit-scrollbar {
  display: none;
}

.series-link {
  flex: 0 0 auto;
  padding: 12px 20px;
  border-radius: 999px;
  color: #606572;
  font-size: 0.92rem;
  font-weight: 720;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.series-link:hover,
.series-link.is-active {
  color: white;
  background: var(--ink-soft);
}

.series {
  scroll-margin-top: 24px;
}

.series-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 18px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 35px 0 24px;
  border-top: 1px solid #dcdcdc;
}

.series-heading > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.series-heading h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.series-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
}

.app-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 28px;
  min-height: 360px;
  padding: 38px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--mist);
}

.app-row + .app-row {
  border-top: 0;
}

.app-row-reverse .app-copy {
  grid-column: 1;
  grid-row: 1;
}

.app-row-reverse .app-visual {
  grid-column: 2;
  grid-row: 1;
}

.app-copy {
  min-width: 0;
}

.app-number {
  margin: 0 0 15px !important;
  color: var(--accent) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.14em !important;
}

.app-copy h4 {
  margin: 0;
  color: #05070b;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.app-copy > p:not(.app-number) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
}

.store-badge-link {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.store-badge-link:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.store-badge-link img {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
}

.store-badge-inactive {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #727782;
  background: #e2e3e5;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 27px;
  padding: 0 19px;
  border-radius: 999px;
  color: white;
  background: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 720;
}

.app-visual {
  width: min(100%, 190px);
  aspect-ratio: 1;
  justify-self: center;
}

.app-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 24%;
  box-shadow: 0 22px 45px rgb(24 42 67 / 12%);
}

.atlas-series {
  padding-top: 94px;
  background: white;
}

.atlas-card {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  align-items: center;
  gap: 70px;
  width: min(1180px, calc(100% - 72px));
  min-height: 470px;
  margin: 0 auto;
  padding: 68px 72px;
  overflow: hidden;
  border-radius: 28px;
  color: white;
  background: var(--ink);
}

.atlas-copy h4 {
  max-width: 600px;
  margin: 28px 0 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.atlas-copy p {
  margin: 28px 0 0;
  color: var(--hero-muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.status-light {
  margin: 0;
  color: var(--ink);
  background: white;
}

.atlas-mark {
  display: grid;
  width: min(100%, 340px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #2a3444;
  border-radius: 50%;
  background: #101725;
  justify-self: center;
}

.atlas-mark svg {
  width: 67%;
  overflow: visible;
  fill: none;
  stroke: #6d7788;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.atlas-mark circle {
  fill: var(--accent);
  stroke: none;
}

.atlas-mark path:last-child {
  stroke: var(--accent);
}

.site-footer {
  scroll-margin-top: 24px;
  padding: 65px 24px 70px;
  color: #737985;
  text-align: center;
  background: white;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
}

.footer-main a {
  transition: color 180ms ease;
}

.footer-main a:hover {
  color: var(--ink);
}

.footer-main .footer-accent {
  color: #0da7de;
  font-weight: 650;
}

.site-footer p {
  margin: 26px 0 0;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  body::after {
    height: 56px;
  }

  .apps {
    padding-bottom: 0;
  }

  .hero {
    min-height: 690px;
  }

  .site-header {
    width: calc(100% - 40px);
    height: 70px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero-content {
    padding: 80px 16px 108px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .accent-line {
    width: 22px;
    height: 3px;
    margin: 31px 0 28px;
  }

  .hero p {
    font-size: clamp(1rem, 4.2vw, 1.22rem);
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 52px;
  }

  .button {
    min-height: 48px;
    padding: 0 16px;
    font-size: clamp(0.78rem, 3.5vw, 0.95rem);
  }

  .button-primary {
    min-width: 132px;
  }

  .button-outline {
    width: 120px;
  }

  .apps-heading {
    width: 100%;
    padding: 62px 20px 52px;
  }

  .eyebrow {
    display: none;
  }

  .apps-heading h2 {
    font-size: 2.4rem;
  }

  .series-index {
    width: max-content;
    max-width: calc(100vw - 32px);
    margin-top: 32px;
  }

  .series-link {
    padding: 10px 15px;
    font-size: 0.82rem;
  }

  .series-heading {
    grid-template-columns: auto 1fr;
    gap: 12px;
    width: calc(100% - 40px);
    padding: 26px 0 20px;
  }

  .series-heading p {
    display: none;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .app-row,
  .app-row-reverse {
    grid-template-columns: minmax(0, 1.08fr) minmax(135px, 0.92fr);
    gap: 22px;
    min-height: 300px;
    padding: 38px 20px;
    border-radius: 0;
  }

  .app-row-reverse {
    grid-template-columns: minmax(135px, 0.8fr) minmax(0, 1fr);
  }

  .app-row-reverse .app-copy {
    grid-column: 2;
  }

  .app-row-reverse .app-visual {
    grid-column: 1;
  }

  .app-copy h4 {
    font-size: clamp(1.2rem, 5.2vw, 1.65rem);
    line-height: 1.13;
  }

  .app-copy > p:not(.app-number) {
    margin-top: 13px;
    font-size: clamp(0.96rem, 4.1vw, 1.18rem);
    line-height: 1.34;
  }

  .app-number {
    margin-bottom: 10px !important;
  }

  .store-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 22px;
  }

  .store-badge-link img {
    height: 34px;
  }

  .store-badge-inactive {
    min-height: 26px;
    padding-inline: 10px;
    font-size: 0.64rem;
  }

  .status-pill {
    min-height: 36px;
    margin-top: 22px;
    padding: 0 17px;
    font-size: 0.82rem;
  }

  .app-visual {
    width: min(100%, 230px);
    border-radius: 24%;
  }

  .atlas-series {
    padding-top: 58px;
  }

  .atlas-card {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    width: 100%;
    min-height: 340px;
    margin: 0;
    padding: 55px 20px;
    border-radius: 0;
  }

  .atlas-copy h4 {
    margin-top: 22px;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .atlas-copy p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .atlas-mark {
    min-width: 135px;
  }

  .site-footer {
    padding: 48px 20px 55px;
  }

  .footer-main {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    min-height: 720px;
  }

  .site-header {
    width: calc(100% - 48px);
  }

  .hero-content {
    padding: 120px 24px 118px;
  }

  .hero h1 {
    font-size: 5.2rem;
  }

  .apps-heading {
    width: calc(100% - 48px);
    padding-block: 82px 68px;
  }

  .series-heading {
    width: calc(100% - 48px);
  }

  .app-grid {
    gap: 16px;
    width: calc(100% - 48px);
  }

  .app-row,
  .app-row-reverse {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 18px;
    min-height: 330px;
    padding: 24px;
    border-radius: 22px;
  }

  .app-row-reverse .app-copy {
    grid-column: 1;
  }

  .app-row-reverse .app-visual {
    grid-column: 2;
  }

  .app-copy h4 {
    font-size: 1.35rem;
  }

  .app-copy > p:not(.app-number) {
    font-size: 0.98rem;
  }

  .app-visual {
    width: min(100%, 140px);
  }

  .store-badges {
    margin-top: 24px;
  }

  .atlas-series {
    padding-top: 76px;
  }

  .atlas-card {
    grid-template-columns: 1fr 240px;
    gap: 42px;
    width: calc(100% - 48px);
    min-height: 420px;
    padding: 55px;
    border-radius: 22px;
  }

  .atlas-mark {
    width: min(100%, 240px);
  }
}

@media (max-width: 470px) {
  .hero-content {
    padding: 58px 12px 112px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    width: calc(100vw - 24px);
    margin-top: 46px;
  }

  .button {
    padding: 0 14px;
    font-size: 0.81rem;
  }

  .apps-heading h2 {
    font-size: 2rem;
  }

  .app-row,
  .app-row-reverse {
    gap: 18px;
    min-height: 275px;
    padding: 33px 16px;
  }

  .app-copy h4 {
    font-size: 1.06rem;
  }

  .app-copy > p:not(.app-number) {
    font-size: 0.91rem;
  }

  .app-number {
    font-size: 0.62rem !important;
  }

  .store-badges {
    margin-top: 18px;
  }

  .status-pill {
    min-height: 32px;
    margin-top: 18px;
    padding: 0 14px;
    font-size: 0.72rem;
  }

  .atlas-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding-inline: 16px;
  }

  .atlas-mark {
    min-width: 108px;
  }

  .footer-main {
    font-size: 0.82rem;
  }

  .site-footer p {
    font-size: 0.8rem;
  }
}

@media (max-width: 340px) {
  .hero-actions {
    flex-direction: column;
    width: min(220px, calc(100vw - 32px));
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }
}

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

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