@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/InterTight-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/InterTight-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
body {
  margin: 0;
}

/* Layout: one line runs the full width of the page. Everything else stands on it or hangs below it. */
:root {
  --bg: #ffffff;
  --label: #000000;
  --secondary: #6c6c70;
  --separator: rgba(60, 60, 67, 0.22);
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  --tick: 74%;
  --p: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #000000;
    --label: #ffffff;
    --secondary: #a1a1a6;
    --separator: rgba(235, 235, 245, 0.2);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #000000;
  --label: #ffffff;
  --secondary: #a1a1a6;
  --separator: rgba(235, 235, 245, 0.2);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 28px;
}
.mark {
  width: 30px;
  height: 30px;
  fill: currentColor;
  display: block;
}
.wordmark {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.32em;
}

h1 {
  font-weight: 400;
  margin: 0;
  max-width: 11ch;
  font-size: clamp(52px, 10.4vw, 124px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero {
  padding-block: clamp(40px, 8vw, 96px) clamp(36px, 6vw, 72px);
}

/* The line: solid to the tick, dotted past it. */
.horizon {
  position: relative;
  height: 96px;
}
.solid,
.dots {
  position: absolute;
  bottom: 0;
  height: 5px;
}
.solid {
  left: 0;
  width: var(--tick);
  background: var(--label);
}
.dots {
  left: var(--tick);
  right: 0;
  height: 3px;
  bottom: 1px;
  background-image: radial-gradient(circle, var(--label) 1.5px, transparent 1.7px);
  background-size: 14px 3px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.tick {
  position: absolute;
  left: var(--tick);
  bottom: 0;
  width: 5px;
  height: 24px;
  margin-left: -5px;
  background: var(--label);
}
.dot {
  position: absolute;
  bottom: 21px;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  border-radius: 50%;
  background: var(--label);
  left: calc(10% + (var(--tick) - 10% - 40px) * var(--p));
}
.stops {
  position: relative;
  height: 28px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--secondary);
}
.stops > span {
  position: absolute;
  top: 0;
  white-space: nowrap;
}
.stops .short {
  display: none;
}
.stops .a {
  left: var(--gutter-l);
}
.stops .b {
  left: var(--tick);
  transform: translateX(-100%);
}
.stops .c {
  right: var(--gutter-r);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
  padding-block: clamp(64px, 10vw, 128px);
}
.lead {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  max-width: 18ch;
  text-wrap: balance;
}
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--separator);
}
.rows li {
  padding-block: 20px;
  border-bottom: 1px solid var(--separator);
  min-width: 0;
}
.rows b {
  font-weight: 500;
  display: block;
}
.rows span {
  color: var(--secondary);
  display: block;
  max-width: 52ch;
}

/* The phone is drawn, so it follows the theme. Its figures are examples. */
.phone {
  border: 1px solid var(--separator);
  border-radius: 44px;
  padding: 44px 22px 22px;
  max-width: 340px;
  width: 100%;
  background: var(--bg);
}
.phone .brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
}
.phone .brand .mark {
  width: 18px;
  height: 18px;
}
.phone .word {
  font-size: 42px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 44px 0 8px;
}
.phone p {
  margin: 0;
  font-size: 14px;
  color: var(--secondary);
}
.phone .say {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--label);
  margin-top: 20px;
}
.mini {
  position: relative;
  height: 30px;
  margin-top: 24px;
}
.mini i {
  position: absolute;
  display: block;
  background: var(--label);
}
.mini .l {
  left: 0;
  right: 22%;
  bottom: 0;
  height: 2px;
}
.mini .t {
  left: 78%;
  bottom: 0;
  width: 2px;
  height: 9px;
}
.mini .d {
  left: 30%;
  bottom: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.mini .r {
  left: 78%;
  right: 0;
  bottom: 0;
  height: 2px;
  background: none;
  background-image: radial-gradient(circle, var(--label) 1px, transparent 1.2px);
  background-size: 7px 2px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.ministops {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--secondary);
  margin-top: 6px;
}
.note {
  font-size: 12px;
  color: var(--secondary);
  margin: 18px 0 0;
  text-align: center;
}

.never {
  padding-block: 0 clamp(64px, 10vw, 128px);
}
.never h2 {
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 24px;
}
.never ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--separator);
}
.never li {
  padding-block: 18px;
  min-width: 0;
}

footer {
  border-top: 1px solid var(--separator);
  font-size: 14px;
  color: var(--secondary);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 24px 32px;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split > :first-child {
    order: 2;
    justify-self: center;
  }
  .never ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .never li {
    border-bottom: 1px solid var(--separator);
  }
  .dot {
    width: 44px;
    height: 44px;
    margin-left: -22px;
    bottom: 19px;
  }
  .horizon {
    height: 72px;
  }
  .stops {
    font-size: 13px;
  }
}
@media (max-width: 560px) {
  .stops .long {
    display: none;
  }
  .stops .short {
    display: inline;
  }
}
