:root {
  color-scheme: dark;

  --bg: #0a0a0c;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --subtle: #8e8e93;
  --line: rgb(255 255 255 / 0.08);
  --card: rgb(255 255 255 / 0.03);

  /* The two ends of the app icon's gradient. */
  --cyan: #00ccf4;
  --blue: #009dde;
  --focus: #33c3f2;

  --gutter: clamp(16px, 5vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgb(255 255 255 / 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(56px, 10vw, 104px);
}

.hero-icon {
  width: clamp(96px, 14vw, 128px);
  height: auto;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.45;
  text-wrap: balance;
}

.lede a {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1ed2f6, var(--blue));
  color: #03141c;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 10px 32px -10px rgb(0 180 240 / 0.6);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.button:active {
  filter: brightness(0.96);
  transform: none;
}

.button:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}

.meta {
  margin-top: 14px;
  color: var(--subtle);
  font-size: 14px;
}

/* Screenshot. The image carries its own macOS window shadow, so it gets no
   border or shadow here, only a soft glow in the icon's colour behind it. */

.shot {
  position: relative;
  max-width: 1240px;
  margin: clamp(40px, 7vw, 72px) auto 0;
  padding-inline: calc(var(--gutter) / 2);
}

.shot::before {
  content: "";
  position: absolute;
  inset: 4% 8% 12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgb(0 204 244 / 0.22), rgb(0 157 222 / 0.08) 60%, transparent);
  filter: blur(40px);
}

.shot img {
  width: 100%;
  height: auto;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 36px 48px;
  margin-top: clamp(56px, 9vw, 104px);
}

.feature {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.feature h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* First-launch note */

.install {
  margin-top: clamp(64px, 9vw, 104px);
}

.install-card {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.install-card h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.install-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.install-card strong {
  color: var(--text);
  font-weight: 500;
}

/* Footer */

.footer {
  margin-top: clamp(64px, 9vw, 104px);
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 14px;
  text-align: center;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
