.home {
  --gutter: 16px;
  --width: 1080px;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 70% 45% at 70% 0%, rgba(146, 92, 255, 0.28), transparent 70%),
    var(--background);
  background-repeat: no-repeat;
}

.home main,
.bar,
.home-footer {
  max-width: var(--width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

.bar-brand img { border-radius: 9px; }

.bar-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #3a3a3c;
}

.bar-link:hover { border-color: var(--muted); }

.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding: 40px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}

.hero .lede {
  color: #d6d6d6;
  font-size: 19px;
  max-width: 34em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--text);
  color: #000;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.button:hover { background: #e6e6e6; }

.button:focus-visible,
.bar-link:focus-visible,
.bar-brand:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.cta-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.phone {
  --w: 260px;
  position: relative;
  width: var(--w);
  margin: 0;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(160deg, #3a3a3c, #1c1c1e 40%, #111);
  box-shadow:
    inset 0 0 0 1.5px #55555a,
    0 40px 80px -24px rgba(0, 0, 0, 0.8);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--w) * 0.135);
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 24px;
}

.hero-phones::before {
  content: "";
  position: absolute;
  inset: 10% -10% 0;
  background: radial-gradient(closest-side, rgba(146, 92, 255, 0.35), transparent);
  filter: blur(20px);
}

.phone-front {
  --w: clamp(200px, 56vw, 280px);
  z-index: 2;
}

.phone-side {
  --w: clamp(160px, 44vw, 224px);
  position: absolute;
  top: 48px;
  z-index: 1;
  opacity: 0.92;
}

.phone-left { right: 50%; margin-right: calc(var(--w) * 0.2); }

.phone-right { left: 50%; margin-left: calc(var(--w) * 0.2); }

.works-with {
  margin: 0 auto 88px;
  max-width: 40em;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.works-with strong { color: var(--text); font-weight: 600; }

.showcase {
  display: grid;
  justify-items: center;
  gap: 36px;
  margin-bottom: 104px;
}

.showcase .phone::before {
  content: "";
  position: absolute;
  inset: -18% -40%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 40%, transparent), transparent);
}

.showcase-copy {
  max-width: 30em;
  text-align: center;
}

.showcase h2,
.details h2,
.closing h2 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.showcase h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  margin: 0 auto 18px;
}

.showcase p { color: #d6d6d6; font-size: 18px; }

.details { margin-bottom: 104px; }

.details h2 { text-align: center; margin-bottom: 28px; }

.details .features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }

.details .features li { padding: 20px 22px; border: 1px solid #2a2a2a; }

.details .features strong { font-size: 18px; margin-bottom: 4px; }

.closing {
  text-align: center;
  padding: 56px 24px;
  margin-bottom: 40px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(146, 92, 255, 0.3), transparent 70%),
    var(--surface);
}

.closing img { border-radius: 20px; margin-bottom: 18px; }

.closing .button { margin: 6px 0 22px; }

.closing .muted { max-width: 30em; margin: 0 auto; font-size: 15px; }

.home-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 20px;
  padding-bottom: 40px;
  font-size: 15px;
}

.home-footer a { color: var(--muted); }

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 56px 0 96px;
  }

  .showcase {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 72px;
    padding: 0 48px;
  }

  .showcase-flip { grid-template-columns: 1fr auto; }

  .showcase-flip .phone { order: 2; }

  .showcase-copy { text-align: left; }

  .showcase h2::before { margin-left: 0; }

  .phone-front { --w: 280px; }

  .phone-side { --w: 224px; }
}
