/* Drift's front door on the web.
   Measurements taken off the reference page at 1440 wide: Satoshi throughout,
   72px headline, 62px section headings, 18px body, 1200px wrappers with
   100px of padding, white cards on a #f0f0f0 ground, black for the strong
   moments. */

@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ground: #f3f5fa;
  --paper: #ffffff;
  --paper-2: #eef1f7;
  --ink: #000000;
  --ink-2: #242424;
  --ink-3: #303030;
  --grey: #858585;
  --line: #dbdbdb;
  --red: #ff3838;
  --green: #4db300;
  --accent: #3b7bf7;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Satoshi", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* Section headings: a tag, a headline, a line under it. */
.intro {
  width: 560px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.intro-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 40px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.tag svg {
  width: 14px;
  height: 14px;
}

.tag.dark {
  background: var(--ink-2);
  color: #fff;
}

/* The proof pill over the headline: stars and one fact, faces once there are some. */
.tag.proof .stars {
  color: #ffb400;
  letter-spacing: 1px;
  font-size: 14px;
}

.tag.proof img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid #111;
  object-fit: cover;
}

.tag.proof img:first-child {
  margin-left: 0;
}

.wrap.tight {
  padding: 50px 40px 10px;
  gap: 24px;
}

.eyebrow {
  font-size: 16px;
  font-weight: 500;
  color: var(--grey);
}

/* Creators: a face, a name, one line they said, the video under it. */
.creator-row {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.creator {
  padding: 20px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.creator img,
.creator .face {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.creator b {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.creator small {
  display: block;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 6px;
}

.creator p {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink-2);
}

.creator a.watch {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* Comments: handle and quote in three columns, the way they read under a video. */
.comment-wall {
  width: 100%;
  max-width: 1200px;
  columns: 3;
  column-gap: 10px;
}

.comment {
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 20px;
  border-radius: 20px;
  background: var(--paper);
}

.comment .handle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.comment .handle i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b9dff, #6d4ae0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-style: normal;
  font-size: 12px;
}

.comment p {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink-2);
}

.comment .where {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--grey);
}

.sample-note {
  width: 100%;
  max-width: 1200px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff3cd;
  color: #7a5a00;
  font-size: 14px;
  text-align: center;
}

h1 {
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

h2 {
  font-size: 62px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.lede {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  color: var(--ink-2);
  max-width: 448px;
}

.muted {
  color: var(--grey);
}

.small {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 20px;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.25s;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn.light {
  background: var(--paper);
  color: var(--ink);
}

.btn.light:hover {
  background: #f4f4f4;
}

/* Entrances. Everything below the fold rises in once it is scrolled to. */
.rise {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.rise.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .phone-body,
  .sky-fog,
  .sky-rays,
  .sky-star.twinkle,
  .hero-band img,
  .orbit-turn,
  .orbit-inner,
  .orbit-turn .badge,
  .orbit-inner .badge,
  .orbit-center .halo,
  .marquee-track {
    animation: none !important;
  }
  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 75px;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(0, 0, 0, 0);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s;
}

.nav.solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav .btn {
  background: #fff;
  color: var(--ink);
}

.nav.solid .btn {
  background: var(--ink);
  color: #fff;
}

.btn .apple {
  width: 18px;
  height: 18px;
  margin-right: 4px;
  margin-top: -2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.brand svg {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.55;
}

.nav-links .btn {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 20px 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  min-height: 1300px;
}

.hero .intro {
  position: relative;
  z-index: 3;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.hero-note {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--grey);
}

.hero .rise {
  transition-delay: calc(var(--i, 0) * 120ms + 80ms);
}

/* The phone, the two floating cards, and the photo they sink into. */
.hero-stage {
  position: absolute;
  top: 570px;
  left: 50%;
  width: 1440px;
  height: 800px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

/* The bottom of the hero fades into the page, so the phones sink into the
   cloud rather than being cut off. */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  z-index: 4;
  background: linear-gradient(to bottom, rgba(243, 245, 250, 0), var(--ground) 92%);
  pointer-events: none;
}

.phones {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  gap: 32px;
  transform: translateX(-50%);
}

.phone {
  position: relative;
  width: 382px;
  height: 789px;
  z-index: 2;
  pointer-events: auto;
}

.phone-b {
  margin-top: 70px;
}

.phone-b .phone-body {
  animation-delay: -3.5s;
}

.phone-body {
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: #0b0b0d;
  box-shadow:
    0 0 0 2px #3a3a40,
    0 0 0 8px #141416,
    0 0 0 9px rgba(255, 255, 255, 0.16),
    0 60px 120px rgba(59, 123, 247, 0.28),
    0 40px 80px rgba(0, 0, 0, 0.6);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* The app's own sky behind the headline: black, with cloud drifting over
   it in two layers of SVG noise turned into alpha, and a few specks behind.
   Copied from apps/desktop/src/components/Sky.tsx and its stylesheet. */
.sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at -6% 96%, rgba(96, 96, 104, 0.45), rgba(48, 48, 54, 0.2) 34%, rgba(48, 48, 54, 0) 62%),
    radial-gradient(60% 90% at 106% 96%, rgba(96, 96, 104, 0.4), rgba(48, 48, 54, 0.18) 34%, rgba(48, 48, 54, 0) 62%),
    radial-gradient(80% 50% at 50% 110%, rgba(59, 123, 247, 0.22), rgba(59, 123, 247, 0) 60%),
    #08080c;
}

/* A fan of faint light from below the horizon, turning very slowly. */
.sky-rays {
  position: absolute;
  left: -50%;
  bottom: -10%;
  width: 200%;
  height: 130%;
  background: repeating-conic-gradient(
    from 150deg at 50% 100%,
    rgba(255, 255, 255, 0) 0deg,
    rgba(255, 255, 255, 0.035) 3deg,
    rgba(255, 255, 255, 0) 6deg
  );
  -webkit-mask-image: radial-gradient(60% 80% at 50% 100%, #000 20%, transparent 70%);
  mask-image: radial-gradient(60% 80% at 50% 100%, #000 20%, transparent 70%);
  transform-origin: 50% 100%;
  animation: rays 48s ease-in-out infinite alternate;
}

@keyframes rays {
  from {
    transform: rotate(-3deg);
  }
  to {
    transform: rotate(3deg);
  }
}

.sky-moon {
  position: absolute;
  right: 12%;
  top: 92px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e9e9ef;
  box-shadow: 0 0 30px rgba(233, 233, 239, 0.25);
  overflow: hidden;
}

.sky-moon i {
  position: absolute;
  left: 12px;
  top: -6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #08080c;
}

.sky-grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Each fog layer is rasterised once at its own 1000 by 600 and scaled up on
   the compositor. Rasterising the noise at hero size, as the app does at
   window size, stalls the page on a large screen. */
.sky-fog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1000px;
  height: 600px;
  margin: -300px 0 0 -500px;
  opacity: 0.85;
  transform-origin: center;
  will-change: transform;
  animation: fog-low 34s ease-in-out infinite alternate;
}

.sky-fog.is-low {
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 28%, #000 70%);
  mask-image: linear-gradient(180deg, transparent 28%, #000 70%);
}

.sky-fog.is-high {
  -webkit-mask-image: linear-gradient(180deg, #000 15%, transparent 58%);
  mask-image: linear-gradient(180deg, #000 15%, transparent 58%);
  opacity: 0.5;
  animation: fog-high 46s ease-in-out infinite alternate;
  animation-delay: -18s;
}

svg.sky-fog {
  animation: none;
  visibility: hidden;
}

.sky-fog.baked {
  -webkit-mask-image: none;
  mask-image: none;
  visibility: visible;
}

@keyframes fog-low {
  from {
    transform: translate3d(-90px, 20px, 0) scale(3.2);
  }
  to {
    transform: translate3d(90px, -40px, 0) scale(3.45);
  }
}

@keyframes fog-high {
  from {
    transform: translate3d(70px, 0, 0) scale(3.35);
  }
  to {
    transform: translate3d(-90px, 40px, 0) scale(3.2);
  }
}

.sky-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: var(--o, 0.3);
}

.sky-star.twinkle {
  animation: twinkle 5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: var(--o, 0.3);
    transform: scale(1);
  }
  50% {
    opacity: calc(var(--o, 0.3) * 2.2);
    transform: scale(1.5);
  }
}

/* White on the sky, the way the app's front door reads. */
.hero {
  background: #000;
  color: #fff;
}

.hero .tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.72);
}

.hero .btn {
  background: var(--accent);
  color: #fff;
}

.hero .btn:hover {
  background: #2f6be0;
}

.hero-note {
  color: rgba(255, 255, 255, 0.55);
}


.phone-screen {
  position: absolute;
  inset: 12px;
  border-radius: 50px;
  overflow: hidden;
  background: #000;
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 118px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
  z-index: 6;
}

.phone-status {
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  z-index: 6;
}

.phone-status .glyphs {
  display: flex;
  gap: 6px;
  align-items: center;
}

#hero-map,
#hero-map-2,
.mini-map {
  position: absolute;
  inset: 0;
}

.maplibregl-canvas {
  outline: none;
}

.phone-top {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 62px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.phone-top .mark {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.phone-top .state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #9a9aa3;
}

.phone-top .state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* The session card, the way the app draws it during a run. */
.phone-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 40px;
  z-index: 5;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: rgba(16, 16, 18, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-card .lead {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.phone-card .lead-label {
  font-size: 12px;
  color: #9a9aa3;
}

.phone-card .strong {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
}

.phone-card .facts {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9a9aa3;
}

.phone-card .btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.phone-card .btns span {
  display: block;
  text-align: center;
  padding: 9px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
}

.phone-card .btns .stop {
  background: #ff4d57;
}

.phone-home {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 6;
}

/* The dot the phone is, and the trail it leaves. */
.hero-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 3px #fff,
    0 4px 14px rgba(59, 123, 247, 0.55);
  position: relative;
}

.hero-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 9px rgba(59, 123, 247, 0.25),
    0 4px 14px rgba(59, 123, 247, 0.5);
}

.hero-dot::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: rgba(59, 123, 247, 0.35);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.hero-label {
  position: absolute;
  left: 18px;
  top: -14px;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.86);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.hero-label b {
  color: var(--accent);
  font-weight: 600;
  margin-left: 4px;
}

.float-card {
  position: absolute;
  width: 342px;
  padding: 18px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 30px 60px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.float-card {
  padding: 0;
  background: none;
  box-shadow: none;
}

.float-inner {
  padding: 18px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 30px 60px rgba(0, 0, 0, 0.12);
}

.float-card.left {
  left: 118px;
  top: 204px;
}

.float-card.left .float-inner {
  animation: float-left 8s ease-in-out infinite;
}

.float-card.right {
  right: 108px;
  top: 250px;
  filter: blur(1.2px);
  opacity: 0.9;
}

.float-card.right .float-inner {
  animation: float-right 9s ease-in-out infinite;
}

@keyframes float-left {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-7deg) translateY(-14px);
  }
}

@keyframes float-right {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(9deg) translateY(-10px);
  }
}

.search-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-mock .field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper-2);
  font-size: 16px;
  font-weight: 500;
}

.search-mock .field svg {
  width: 18px;
  height: 18px;
  color: var(--grey);
}

.search-mock .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.search-mock .chips {
  display: flex;
  gap: 6px;
}

.search-mock .chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
}

.search-mock .go {
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.plan-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-mock .step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 15px;
}

.plan-mock .step i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.plan-mock .step span {
  margin-left: auto;
  color: var(--grey);
  font-size: 13px;
}

/* Measured on a real iPhone */
.credibility {
  padding: 60px 40px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.credibility-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}

.followed {
  display: flex;
  gap: 40px;
  align-items: center;
}

.followed span {
  display: inline-flex;
  opacity: 0.55;
  filter: grayscale(0.6);
  transition: opacity 0.3s, filter 0.3s, transform 0.4s var(--ease);
}

.followed span:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-3px);
}

.followed .app-ic {
  width: 44px;
  height: 44px;
}

.app-ic {
  display: block;
  width: 44px;
  height: 44px;
}

/* An app's own icon when one has been put in assets/icons, the drawn tile
   when it has not. The image removes itself if the file is missing. */
.app-tile {
  display: inline-flex;
  width: 44px;
  height: 44px;
}

.app-tile img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22.5%;
  object-fit: cover;
}

.app-tile img + .app-ic {
  display: none;
}

.badge .app-tile {
  width: 58%;
  height: 58%;
}

.badge .app-tile .app-ic,
.tile .who .avatar.tile-ic .app-tile .app-ic {
  width: 100%;
  height: 100%;
}

.tile .who .avatar.tile-ic .app-tile {
  width: 45px;
  height: 45px;
}

.cred-row {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1.98fr 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 35px;
  background: var(--paper);
}

.cred-card {
  border-radius: 25px;
  background: #f7f7f7;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 230px;
}

.cred-card .who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.cred-card .quote {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.cred-card .cred-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}

.cred-card .cred-foot .chips {
  display: flex;
  gap: 6px;
}

.cred-card .cred-foot .chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink-2);
}

.stat-card .number {
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat-card .label {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.stat-card .desc {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
  margin-top: 6px;
}

/* Dots behind the middle of a section, the way the reference fades a grid in. */
.dotted {
  position: relative;
}

.dotted::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40px;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background-image: radial-gradient(rgba(0, 0, 0, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  pointer-events: none;
}

.dotted > * {
  position: relative;
}

/* Compare */
.compare {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 35px;
  background: var(--paper);
}

.compare-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-col h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  padding: 10px 20px;
  border-radius: 40px;
  background: var(--paper-2);
}

.compare-col.dark h4 {
  background: var(--ink);
  color: #fff;
}

.compare-list {
  border-radius: 25px;
  background: var(--paper-2);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-col.dark .compare-list {
  background: var(--ink);
  color: #fff;
}

.compare-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
}

.compare-list svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.compare-list .x {
  color: var(--red);
}

.compare-list .check {
  color: var(--green);
}

/* Plain cards: an icon, a title, one paragraph. */
.simple-grid {
  width: 100%;
  max-width: 1200px;
  display: grid;
  gap: 10px;
}

.simple-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.simple-card {
  padding: 30px;
  border-radius: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s var(--ease);
}

.simple-card:hover {
  transform: translateY(-4px);
}

.simple-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.simple-card .icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.simple-card .icon.tint-blue {
  background: linear-gradient(135deg, #5b9dff, #2a6de0);
}
.simple-card .icon.tint-green {
  background: linear-gradient(135deg, #3ddc84, #1a9f6a);
}
.simple-card .icon.tint-violet {
  background: linear-gradient(135deg, #a07cff, #6d4ae0);
}
.simple-card .icon.tint-grey {
  background: linear-gradient(135deg, #48484a, #1c1c1e);
}

.simple-card h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.simple-card p {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-2);
}

/* Three steps, side by side. */
.steps {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.steps .step-card {
  width: auto;
  min-height: 0;
}

.steps .step-shot {
  height: 300px;
}

.steps .step-shot .app-shot {
  top: 20px;
  transform: scale(0.82);
  transform-origin: top center;
}

.steps .step-pill {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

/* How it works */
.how .wrap {
  max-width: none;
  padding: 100px 40px 120px;
}

.slider {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.slider-track {
  width: 100%;
  overflow: hidden;
}

.slider-list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.7s var(--ease);
}

.step-card {
  transition: transform 0.4s var(--ease);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card {
  flex: none;
  width: 595px;
  min-height: 651px;
  padding: 15px;
  border-radius: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 40px;
  background: var(--paper-2);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.step-shot {
  height: 400px;
  border-radius: 20px;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

.step-shot img {
  position: absolute;
  top: 24px;
  width: 300px;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.step-shot .app-shot {
  position: absolute;
  top: 24px;
  width: 396px;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 30px 60px rgba(0, 0, 0, 0.25);
}

.step-text {
  padding: 0 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-text h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.step-text p {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.arrow:hover {
  transform: scale(1.06);
}

.arrow[disabled] {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.arrow svg {
  width: 18px;
  height: 18px;
}

/* Features */
.features .wrap {
  max-width: none;
}

.feature-grid {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-row.two {
  grid-template-columns: 690fr 500fr;
}

.feature {
  border-radius: 30px;
  background: var(--paper);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 341px;
  overflow: hidden;
  position: relative;
}

.feature-text {
  padding: 15px 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-text h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.feature-text p {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
}

.feature-block {
  flex: 1;
  min-height: 173px;
  border-radius: 15px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}

.feature.centered .feature-text {
  text-align: center;
  align-items: center;
  padding-bottom: 15px;
}

.feature .search-mock {
  padding: 20px;
  border-radius: 15px;
  background: var(--paper-2);
}

.feature .search-mock .field {
  background: var(--paper);
}

.feature .search-mock .chip {
  background: var(--paper);
}

.timeline {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 500;
}

.timeline .row .time {
  width: 46px;
  color: var(--grey);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.timeline .row .dur {
  margin-left: auto;
  color: var(--grey);
  font-size: 13px;
}

.timeline .row.now {
  box-shadow: 0 0 0 1.5px var(--accent);
}

.timeline .row.now .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.feature.wide .feature-block {
  min-height: 308px;
  border-radius: 20px;
}

.menubar-mock {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menubar-mock .bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 13px;
  color: var(--grey);
}

.menubar-mock .bar b {
  color: var(--ink);
  font-weight: 500;
}

.menubar-mock .bar .mark {
  width: 14px;
  height: 14px;
}

.menubar-mock .menu {
  width: 300px;
  padding: 8px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menubar-mock .menu div {
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
}

.menubar-mock .menu div span {
  color: var(--grey);
}

.menubar-mock .menu .sel {
  background: var(--ink);
  color: #fff;
}

.menubar-mock .menu .danger {
  color: #d63b43;
}

.menubar-mock .menu hr {
  border: 0;
  border-top: 1px solid var(--ground);
  margin: 4px 0;
}

.feature.photo {
  padding: 0;
  color: #fff;
  justify-content: flex-end;
  min-height: 449px;
}

.feature.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05) 60%);
}

.feature.photo .feature-text {
  position: relative;
  z-index: 1;
  padding: 30px;
  gap: 8px;
}

.feature.photo .feature-text p {
  color: rgba(255, 255, 255, 0.85);
}

.feature.photo .btn {
  margin-top: 14px;
  align-self: flex-start;
}

/* What the apps see: the orbit */
.orbit-section {
  background: var(--paper);
}

.orbit-section .wrap {
  padding-bottom: 0;
}

.orbit-stage {
  width: 990px;
  max-width: 100%;
  height: 602px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.orbit-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background-image: radial-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.orbit-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 80%);
  z-index: 3;
}

.ring {
  position: absolute;
  left: 50%;
  top: 113px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.ring.r1 {
  width: 292px;
  height: 292px;
  margin-top: 250px;
}

.ring.r1,
.orbit-inner {
  top: 363px;
  margin-top: 0;
}

.ring.r2 {
  width: 792px;
  height: 792px;
}

.ring.r3 {
  width: 1190px;
  height: 1190px;
  margin-top: -199px;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 440px;
  width: 138px;
  height: 138px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center svg {
  width: 110px;
  height: 110px;
}

.badge {
  position: absolute;
  z-index: 2;
  border-radius: 140px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.badge.m {
  width: 88px;
  height: 88px;
  font-size: 14px;
}

.badge.l {
  width: 124px;
  height: 124px;
}

.badge .app-ic {
  width: 56%;
  height: 56%;
}

.orbit-turn,
.orbit-inner {
  position: absolute;
  left: 50%;
  top: 113px;
  width: 792px;
  height: 792px;
  margin-left: -396px;
  z-index: 2;
  animation: orbit 90s linear infinite;
}

.orbit-inner {
  width: 292px;
  height: 292px;
  margin-left: -146px;
  animation-duration: 60s;
  animation-direction: reverse;
}

.orbit-turn .badge,
.orbit-inner .badge {
  left: 50%;
  top: 50%;
  margin: -62px 0 0 -62px;
  transform: rotate(var(--a)) translateY(-396px) rotate(calc(-1 * var(--a)));
  animation: unturn 90s linear infinite;
}

.orbit-inner .badge {
  transform: rotate(var(--a)) translateY(-146px) rotate(calc(-1 * var(--a)));
  animation-duration: 60s;
  animation-direction: reverse;
}

.orbit-turn .badge.m,
.orbit-inner .badge.m {
  margin: -44px 0 0 -44px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes unturn {
  to {
    transform: rotate(var(--a)) translateY(-396px) rotate(calc(-1 * var(--a) - 360deg));
  }
}

.orbit-inner .badge {
  animation-name: unturn-inner;
}

@keyframes unturn-inner {
  to {
    transform: rotate(var(--a)) translateY(-146px) rotate(calc(-1 * var(--a) - 360deg));
  }
}

.orbit-center .halo {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px solid rgba(59, 123, 247, 0.5);
  animation: halo 3s ease-out infinite;
}

@keyframes halo {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Pricing */
.pricing {
  position: relative;
  overflow: hidden;
}

.pricing .wrap {
  position: relative;
  z-index: 1;
}

.plans {
  width: 100%;
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.plan-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan {
  padding: 10px;
  border-radius: 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan.dark {
  background: var(--ink);
  color: #fff;
}

.plan-head {
  padding: 20px;
  border-radius: 20px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan.dark .plan-head {
  background: var(--paper);
  color: var(--ink);
}

.plan-head h6 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-head h6 .badge-inline {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.plan-head .desc {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
  margin-top: -14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price h3 {
  font-size: 36px;
  line-height: 50.4px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 16px;
  font-weight: 500;
}

.plan-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.plan-cta .btn {
  flex: 1;
  justify-content: flex-start;
  border-radius: 40px;
}

.plan.dark .plan-cta .btn {
  background: var(--paper);
  color: var(--ink);
}

.plan-cta .arrow {
  background: var(--ink);
}

.plan.dark .plan-cta .arrow {
  background: var(--paper);
  color: var(--ink);
}

.plan-cta .arrow svg {
  transition: transform 0.4s var(--ease);
}

.plan.open .plan-cta .arrow svg {
  transform: rotate(180deg);
}

.plan-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.plan.open .plan-more {
  grid-template-rows: 1fr;
}

.plan-more > div {
  overflow: hidden;
}

.plan-more ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

.plan-more li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-more li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.plan-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 50px;
  background: var(--paper);
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
}

.pill svg {
  width: 30px;
  height: 30px;
}

/* Measured, app by app */
.tiles {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tile {
  padding: 20px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tile .who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tile .who .avatar {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  font-size: 16px;
}

.tile .who .avatar.tile-ic {
  background: none;
}

.tile .who .avatar.tile-ic .app-ic {
  width: 45px;
  height: 45px;
}

.tile {
  transition: transform 0.35s var(--ease);
}

.tile:hover {
  transform: translateY(-3px);
}

.tile .who b {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.tile .who span {
  font-size: 14px;
  color: var(--grey);
}

.tile .quote {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
}

.tile .when {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--grey);
}

.tile .when i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.marquee {
  width: 100%;
  max-width: 1080px;
  padding: 30px 0;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}

.marquee-track i {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.numbers {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.num {
  padding: 25px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.num b {
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.num b small {
  font-size: 18px;
  margin-left: 4px;
  color: var(--grey);
}

.num span {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.num p {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--grey);
}

.caveat-line {
  max-width: 720px;
  text-align: center;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
  margin-top: -30px;
}

/* Built from a few plain parts */
.parts-row {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, 367px);
  justify-content: space-between;
  align-items: start;
  height: 290px;
}

.parts-row.top .part:nth-child(2) {
  margin-top: 0;
}

.parts-row.top .part:nth-child(1),
.parts-row.top .part:nth-child(3) {
  margin-top: 150px;
}

.parts-row.bottom .part:nth-child(2) {
  margin-top: 150px;
}

.part {
  padding: 15px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.part .icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.part .icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.part .icon.tint-blue {
  background: linear-gradient(135deg, #5b9dff, #2a6de0);
}
.part .icon.tint-green {
  background: linear-gradient(135deg, #3ddc84, #1a9f6a);
}
.part .icon.tint-violet {
  background: linear-gradient(135deg, #a07cff, #6d4ae0);
}
.part .icon.tint-orange {
  background: linear-gradient(135deg, #ffb35c, #ff7a1a);
}
.part .icon.tint-grey {
  background: linear-gradient(135deg, #8e8e93, #48484a);
}
.part .icon.tint-pink {
  background: linear-gradient(135deg, #ff8ab3, #ff3b7a);
}

.part {
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.part:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.part b {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.part span {
  display: block;
  font-size: 16px;
  color: var(--grey);
  font-weight: 400;
  margin-top: 2px;
}

.part .kbd {
  display: inline-flex;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper-2);
  font-size: 12px;
  color: var(--ink-2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* FAQ */
.faq-grid {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 666px 1fr;
  gap: 10px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  padding: 30px;
  border-radius: 20px;
  background: var(--paper);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.faq-q .icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.faq-q .icon svg {
  width: 14px;
  height: 14px;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding-top: 12px;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
  max-width: 560px;
}

.faq-cta {
  position: sticky;
  top: 95px;
  padding: 40px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  min-height: 452px;
  justify-content: center;
}

.faq-cta .mark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #1a1a1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-cta .mark svg {
  width: 56px;
  height: 56px;
}

.faq-cta h3 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq-cta p {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 330px;
}

.faq-cta .pill {
  background: var(--ink-2);
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
}

/* Notes */
.notes {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.note {
  padding: 20px;
  border-radius: 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: transform 0.35s var(--ease);
}

.note:hover {
  transform: translateY(-3px);
}

.note .thumb {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.note .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.note:hover .thumb img {
  transform: scale(1.08);
}

.note .thumb svg {
  width: 44px;
  height: 44px;
}

.note .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--grey);
}

.note .meta i {
  width: 6px;
  height: 6px;
  background: var(--ink);
  transform: rotate(45deg);
}

.note h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}

.note p {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: var(--grey);
}

.note .body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Get Drift, and the footer */
.foot {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.foot::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 0;
  bottom: 0;
  width: 60%;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.05) 42%, transparent 46%),
    linear-gradient(100deg, transparent 52%, rgba(255, 255, 255, 0.07) 60%, transparent 64%),
    linear-gradient(100deg, transparent 70%, rgba(255, 255, 255, 0.04) 78%, transparent 84%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.foot .wrap {
  align-items: flex-start;
  gap: 100px;
  position: relative;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 560px;
}

.cta h2 {
  color: #fff;
}

.cta p {
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 340px;
}

.cta-form .req {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 40px;
  background: var(--ink-2);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-form .btn.light {
  width: 100%;
  border-radius: 30px;
  font-size: 16px;
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 340px;
}

.footer-col h6 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.copyright {
  width: 100%;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Smaller screens */
@media (max-width: 1240px) {
  .hero-stage {
    width: 100%;
    transform: none;
    left: 0;
  }
  .parts-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .faq-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 58px;
  }
  h2 {
    font-size: 48px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 40px 30px;
    gap: 14px;
    background: rgba(255, 255, 255, 0.96);
  }
  .nav.open .nav-links .btn {
    margin: 6px 0 0;
  }
  .phone-b {
    display: none;
  }
  .numbers {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row,
  .simple-grid.three,
  .steps,
  .creator-row {
    grid-template-columns: 1fr;
  }
  .comment-wall {
    columns: 1;
  }
  .feature-row.two {
    grid-template-columns: 1fr;
  }
  .step-card {
    width: min(595px, calc(100vw - 80px));
  }
  .parts-row {
    height: auto;
  }
  .parts-row.top .part,
  .parts-row.bottom .part {
    margin-top: 0 !important;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .orbit-stage {
    transform: scale(0.8);
    transform-origin: top center;
    height: 480px;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 70px 20px;
    gap: 40px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -0.04em;
  }
  h2 {
    font-size: 38px;
    letter-spacing: -0.04em;
  }
  .nav {
    padding: 10px 20px;
  }
  .hero {
    padding: 120px 20px 0;
    min-height: 0;
  }
  .hero-stage {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 520px;
    margin-top: 40px;
    transform: none;
  }
  .phones {
    position: relative;
    left: auto;
    transform: none;
    justify-content: center;
  }
  .sky-moon {
    display: none;
  }
  .hero-fade {
    height: 200px;
  }
  .numbers {
    grid-template-columns: 1fr;
  }
  .phone {
    width: 300px;
    height: 620px;
  }
  .phone-body {
    border-radius: 48px;
  }
  .phone-screen {
    border-radius: 40px;
  }
  .cred-row,
  .compare,
  .plan-row,
  .tiles,
  .notes,
  .parts-row {
    grid-template-columns: 1fr;
  }
  .credibility {
    padding: 40px 20px 70px;
  }
  .how .wrap {
    padding: 70px 20px 90px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-form {
    width: 100%;
  }
  .orbit-stage {
    transform: scale(0.55);
    height: 340px;
  }
}
