/* The plain pages (privacy.html, install.html), as locked on the design canvas. Computer from 900 px, phone below. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0f0f0f;
  --sub: #6b6b6b;
  --body: #3a3a3a;
  --line: #e2e2e0;
  --hair: #ececea;
  --chip: #f4f4f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phone-only {
  display: none;
}

.logo {
  display: block;
  height: 14px;
  width: auto;
}

/* Header and footer, as on the home page */
.top {
  height: 88px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: var(--sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 30px;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
  font-weight: 550;
  font-stretch: 112%;
}

.btn.small {
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
  font-stretch: 100%;
}

.foot {
  height: 112px;
  padding: 0 56px;
  background: #f5f5f7;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.foot nav {
  display: flex;
  gap: 40px;
  font-size: 15px;
}

.foot .copy {
  justify-self: end;
  font-size: 13px;
  color: #8a8a8a;
}

/* Privacy */
.privacy {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 0 96px;
}

.privacy .home {
  display: inline-block;
  margin-bottom: 88px;
}

.privacy .home .logo {
  height: 13.3px;
}

.privacy h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 500;
  font-stretch: 118%;
  letter-spacing: -0.025em;
}

.privacy .lede {
  margin: 16px 0 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--sub);
}

.cant {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cant div {
  padding: 20px;
  border-radius: 18px;
  background: var(--chip);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cant b {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.cant span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--sub);
}

.part {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.part h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  font-stretch: 112%;
}

.part p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
}

.seen {
  margin-top: 4px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}

.seen > div {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.4fr;
  gap: 20px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.seen > div:first-child {
  padding: 12px 20px;
  border-top: 0;
  font-size: 13px;
  color: var(--sub);
  background: var(--chip);
}

.seen b {
  font-weight: 600;
}

.seen > div:not(:first-child) span:nth-child(2) {
  color: var(--body);
}

.seen > div:not(:first-child) span:nth-child(3) {
  color: var(--sub);
}

.signed {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sub);
}

.signed a {
  color: var(--ink);
}

/* How to install */
.install {
  padding: 96px 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.install h1 {
  margin: 0;
  font-size: 80px;
  line-height: 1.02;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: -0.04em;
}

.install .lede {
  margin: 22px 0 0;
  font-size: 22px;
  line-height: 1.5;
  color: var(--sub);
}

.get {
  display: none;
}

.steps {
  margin-top: 88px;
  display: flex;
  justify-content: center;
  gap: 96px;
}

.steps figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steps img {
  display: block;
  -webkit-mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent), linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent), linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
  width: 329px;
  height: auto;
  margin: -35px;
}

.steps figcaption {
  margin-top: 22px;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  color: var(--sub);
}

.steps figcaption b {
  color: var(--ink);
  font-weight: 600;
}

.scan {
  margin-top: 104px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px 20px 20px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--hair);
  text-align: left;
}

.scan img {
  display: block;
  width: 104px;
  height: 104px;
  padding: 6px;
  box-sizing: content-box;
}

.scan b {
  display: block;
  font-size: 20px;
  font-weight: 600;
  font-stretch: 112%;
}

.facts {
  font-size: 15px;
  color: var(--sub);
}

.check {
  width: 720px;
  margin-top: 104px;
  padding-top: 72px;
  border-top: 1px solid var(--hair);
  text-align: left;
}

.check h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  font-stretch: 112%;
}

.check p {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sub);
}

.code {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #f5f5f7;
}

.code small {
  font-size: 13px;
  color: #8a8a8a;
}

.code div {
  margin-top: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Phone */
@media (max-width: 899px) {
  .phone-only {
    display: inline;
  }

  .logo {
    height: 12.6px;
  }

  .top {
    height: 64px;
    padding: 0 20px;
  }

  .top nav {
    font-size: 14px;
  }

  .top .btn {
    display: none;
  }

  .foot {
    height: 150px;
    padding: 0 24px;
    grid-template-columns: 1fr auto;
    align-content: center;
    row-gap: 22px;
  }

  .foot .home .logo {
    height: 15.4px;
  }

  .foot nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 28px;
  }

  .foot .copy {
    grid-row: 1;
    grid-column: 2;
  }

  .privacy {
    padding: 28px 24px 56px;
  }

  .privacy .home {
    margin-bottom: 48px;
  }

  .privacy .home .logo {
    height: 12.6px;
  }

  .privacy h1 {
    font-size: 38px;
  }

  .privacy .lede {
    font-size: 18px;
  }

  .cant {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .part {
    margin-top: 44px;
  }

  .part h2 {
    font-size: 18px;
  }

  .part p {
    font-size: 16px;
  }

  .seen > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .seen > div:first-child {
    display: none;
  }

  .seen > div:nth-child(2) {
    border-top: 0;
  }

  .install {
    padding: 48px 24px 72px;
    align-items: stretch;
    text-align: left;
  }

  .install h1 {
    font-size: 44px;
  }

  .install .lede {
    margin-top: 14px;
    font-size: 17px;
  }

  .get {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .get .btn {
    width: 100%;
  }

  .get .facts {
    font-size: 14px;
  }

  .steps {
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
    gap: 64px;
  }

  .steps figcaption {
    margin-top: 16px;
  }

  .scan {
    display: none;
  }

  .check {
    width: auto;
    margin-top: 72px;
    padding-top: 48px;
  }

  .check h2 {
    font-size: 20px;
  }

  .check p {
    font-size: 15px;
  }

  .code {
    padding: 16px 18px;
  }

  .code div {
    font-size: 12.5px;
  }
}

/* Page not found (404.html): the call screens' calm layout, without the icon. */
.lost {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.lost header {
  height: 88px;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.lost header .logo {
  height: 13.3px;
}

.lost main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px 88px;
}

.lost .what {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.lost .words {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lost h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 500;
  font-stretch: 118%;
  letter-spacing: -0.025em;
}

.lost p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sub);
}

.lost .btn {
  align-self: stretch;
}

@media (max-width: 899px) {
  .lost {
    padding: 32px 24px 36px;
  }

  .lost header {
    height: 20px;
    padding: 0;
    justify-content: center;
  }

  .lost header .logo {
    height: 12.6px;
  }

  .lost main {
    padding: 0;
    align-items: stretch;
  }

  /* The words in the middle of the screen, the button at the bottom. */
  .lost .what {
    max-width: none;
    align-self: stretch;
    justify-content: space-between;
  }

  .lost .words {
    flex-grow: 1;
    justify-content: center;
    gap: 10px;
  }

  .lost h1 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .lost p {
    font-size: 16px;
  }
}
