:root {
  color-scheme: light;
  --page-ink: var(--jds-blueberry);
  --page-accent: var(--jds-blue);
  --page-paper: var(--jds-milk);
  --page-white: var(--jds-white);
  --page-muted: var(--jds-neutral-600);
  --page-line: var(--border-hairline);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-white);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page-white);
  color: var(--page-ink);
  letter-spacing: -0.018em;
}

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

.page-width {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.page-width--narrow {
  width: min(760px, calc(100% - 48px));
}

.site-bar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid color-mix(in srgb, var(--jds-white) 12%, transparent);
  background: var(--page-ink);
  color: var(--page-white);
  font-size: 14px;
  font-weight: 700;
}

.site-bar a {
  text-decoration: none;
}

.site-bar__name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-bar__back {
  color: var(--jds-navy-100);
}

.site-bar__back:hover {
  color: var(--page-white);
}

.hero {
  overflow: hidden;
  background: var(--page-ink);
  color: var(--page-white);
}

.hero__inner {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 112px);
}

.hero__copy {
  align-self: center;
  padding-bottom: clamp(64px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--jds-blue-800);
}

.eyebrow--light {
  color: var(--page-accent);
}

.hero h1 {
  max-width: 760px;
  color: var(--page-white);
  font-size: clamp(58px, 7.7vw, 112px);
  line-height: 0.84;
}

.hero h1 span {
  color: var(--page-accent);
}

.hero__lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--jds-navy-100);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.download-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.download-row--dark {
  margin-top: 30px;
}

.download {
  min-height: 54px;
  padding-inline: 26px;
  font-size: 16px;
  text-decoration: none;
}

.version {
  color: var(--jds-navy-200);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.download-row--dark .version {
  color: var(--page-muted);
}

.phone {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--page-line);
  border-radius: 34px;
  background: var(--page-white);
  box-shadow: var(--shadow-pop);
}

.phone--hero {
  width: min(100%, 330px);
  height: 620px;
  align-self: end;
  justify-self: center;
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.screenshot-link {
  display: block;
  height: 100%;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-link:focus-visible {
  outline: 4px solid var(--page-accent);
  outline-offset: -6px;
}

.page-section {
  padding-block: clamp(76px, 9vw, 132px);
}

.origin {
  background: var(--page-paper);
}

.origin h2,
.tour h2,
.notes h2,
.install h2 {
  max-width: 900px;
  font-size: clamp(42px, 5.3vw, 72px);
}

.origin__copy {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.origin__copy p {
  color: var(--jds-navy-600);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.55;
}

.tour {
  background: var(--page-white);
}

.tour__layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 50px;
}

.tabs {
  display: none;
}

.has-tabs .tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
}

.tab {
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: transparent;
  color: var(--jds-navy-400);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

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

.tab[aria-selected="true"] {
  border-left-color: var(--page-accent);
  background: var(--jds-blue-50);
  color: var(--page-ink);
}

.tab:focus-visible,
.download:focus-visible,
.site-bar a:focus-visible,
summary:focus-visible,
.technical a:focus-visible {
  outline: 3px solid var(--page-accent);
  outline-offset: 4px;
}

.tour__panels {
  min-width: 0;
}

.tour-panel {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(220px, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--page-line);
  border-radius: var(--radius-xl);
  background: var(--page-paper);
}

.tour-panel + .tour-panel {
  margin-top: 32px;
}

.tour-panel[hidden] {
  display: none;
}

.phone--tour {
  width: min(100%, 300px);
  height: 560px;
  justify-self: center;
}

.tour-panel__copy h3 {
  max-width: 460px;
  color: var(--page-ink);
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tour-panel__copy > p:last-child {
  max-width: 470px;
  margin-top: 20px;
  color: var(--page-muted);
  font-size: 19px;
  line-height: 1.55;
}

.panel-label {
  margin-bottom: 14px;
  color: var(--jds-blue-800);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notes {
  background: var(--page-ink);
  color: var(--page-white);
}

.notes h2 {
  color: var(--page-white);
}

.notes__intro {
  margin-top: 20px;
  color: var(--jds-navy-100);
  font-size: clamp(19px, 2vw, 23px);
}

.notes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 8vw, 110px);
  margin-top: 64px;
}

.note-list {
  padding-top: 24px;
  border-top: 4px solid var(--page-accent);
}

.note-list h3 {
  max-width: 430px;
  color: var(--page-white);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 750;
  line-height: 1.15;
}

.note-list ul {
  display: grid;
  gap: 17px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--jds-navy-100);
  list-style: none;
}

.note-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.5;
}

.note-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--page-accent);
  content: "";
}

.install {
  background: var(--jds-blue-50);
}

.install__lede {
  max-width: 650px;
  margin-top: 28px;
  color: var(--jds-navy-600);
  font-size: 19px;
  line-height: 1.55;
}

.install__testers {
  max-width: 650px;
  margin-top: 26px;
  color: var(--jds-navy-600);
  font-size: 16px;
  line-height: 1.55;
}

.install__testers a {
  color: inherit;
  text-decoration: underline;
}

.technical {
  margin-top: 40px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius-md);
  background: var(--page-white);
}

.technical summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 750;
  list-style-position: inside;
}

.technical__body {
  display: grid;
  gap: 20px;
  padding: 4px 24px 26px;
  color: var(--page-muted);
}

.technical__body h3 {
  color: var(--page-ink);
  font-size: 20px;
  font-weight: 750;
}

.technical__body ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.technical__body a {
  color: var(--jds-blue-800);
  font-weight: 700;
}

.checksum {
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
}

@media (max-width: 899px) {
  .hero__inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: 38px;
  }

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

  .tour__layout {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .tour-panel {
    grid-template-columns: minmax(210px, 270px) minmax(180px, 1fr);
    gap: 32px;
  }

  .phone--tour {
    height: 500px;
  }
}

@media (max-width: 799px) {
  .page-width,
  .page-width--narrow {
    width: min(100% - 36px, 680px);
  }

  .site-bar {
    padding-inline: 18px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 64px;
  }

  .hero__copy {
    padding-bottom: 46px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(52px, 14.5vw, 82px);
  }

  .hero__lede {
    max-width: 580px;
  }

  .phone--hero {
    width: min(82vw, 320px);
    height: 560px;
  }

  .tour__layout {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .has-tabs .tabs {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .tab {
    width: auto;
    flex: 1 1 140px;
    border-bottom: 3px solid transparent;
    border-left: 0;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    text-align: center;
  }

  .tab[aria-selected="true"] {
    border-bottom-color: var(--page-accent);
    border-left-color: transparent;
  }

  .tour-panel {
    grid-template-columns: 1fr;
  }

  .tour-panel__copy {
    order: -1;
  }

  .phone--tour {
    width: min(82vw, 310px);
    height: 540px;
  }

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

@media (max-width: 520px) {
  .page-section {
    padding-block: 72px;
  }

  .download-row {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .download {
    width: 100%;
  }

  .version {
    padding-left: 4px;
  }

  .tour-panel {
    padding: 22px 18px 26px;
    border-radius: var(--radius-lg);
  }

  .phone--tour {
    width: min(78vw, 290px);
    height: 510px;
  }

  .technical summary,
  .technical__body {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
