:root {
  --bg: #1E1F1E;
  --panel: #242624;
  --text: #F2F1EC;
  --muted: #A3A39B;
  --rule: #343633;
  --dash: #4A4D4A;
  --accent: #D1463E;
  --sans: 'Outfit', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}

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

html { background: var(--bg); scrollbar-gutter: stable; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

h1, p { margin: 0; }

.accent { color: var(--accent); }

.mono {
  font-family: var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}

/* Page frame */

.page {
  max-width: 1280px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 56px 80px 64px;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; }
.logo img { display: block; width: 81px; height: 40px; }

.email {
  display: flex;
  align-items: center;
  height: 44px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  padding-top: 64px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.site-footer a {
  display: flex;
  align-items: center;
  height: 44px;
  color: var(--muted);
}
.site-footer a:hover { color: var(--accent); }

.eyebrow { font-size: 12px; letter-spacing: 0.16em; }

/* Home */

/* The hero, its line and the app list are centred on the page. */
.hero-title {
  margin: 96px auto 0;
  max-width: 900px;
  text-align: center;
  font-weight: 600;
  font-size: 72px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

/* Keep the phrase on one line so the headline breaks before it. */
.hero-title .keep { white-space: nowrap; }

.hero-sub {
  margin-top: 24px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: center;
}

.apps {
  margin: 88px auto 0;
  padding: 0;
  list-style: none;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.app { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }

.app-name {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
}

/* The icon sits above the name, inside the same link. */
.app-name { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.app-icon { display: block; width: 80px; height: 80px; }

.app-desc { font-size: 16px; color: var(--muted); }

.app-platform {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.email-mobile { display: none; margin-top: 44px; justify-content: center; }

/* About */

.about {
  margin-top: 96px;
  display: flex;
  justify-content: space-between;
  gap: 96px;
}

.about-copy { max-width: 700px; }

.about-title {
  margin-top: 28px;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.about-copy p {
  margin-top: 20px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}
.about-copy .about-title + p { margin-top: 32px; }

.facts {
  width: 320px;
  flex-shrink: 0;
  margin: 0;
  padding-top: 44px;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
}
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); text-transform: uppercase; }
.facts dd { margin: 0; color: var(--text); text-align: right; }

/* Sill */

/* Title on the first row; the lede and the button share the second, both
   starting at its top edge. */
.product-head {
  margin-top: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 64px;
  align-items: start;
}
.product-title { grid-column: 1 / -1; }

.product-title {
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-lede {
  margin-top: 20px;
  max-width: 620px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.product-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: background 0.15s;
}
.button:hover { background: #fff; color: var(--bg); }

.product-meta { font-size: 11px; letter-spacing: 0.14em; }

.product-downloads {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.product-downloads a { color: var(--muted); }
.product-downloads a:hover { color: var(--accent); }

.screenshot {
  margin-top: 56px;
  aspect-ratio: 2 / 1;
  border: 1px dashed var(--dash);
  border-radius: 10px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  overflow: hidden;
}
.screenshot img { display: block; width: 100%; height: 100%; object-fit: cover; }

.features {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.feature h2 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Tablet */

@media (max-width: 960px) {
  .page { padding: 44px 48px 48px; }
  .hero-title { font-size: 56px; }
  .about { flex-direction: column; gap: 40px; }
  .facts { width: 100%; max-width: 560px; padding-top: 0; }
  .product-head { grid-template-columns: minmax(0, 1fr); }
  .product-cta { align-items: flex-start; margin-top: 32px; }
  .product-downloads { align-items: flex-start; }
}

/* Mobile */

@media (max-width: 640px) {
  .page { padding: 32px 24px 28px; }
  .logo img { width: 65px; height: 32px; }
  .site-header .email { display: none; }
  .email-mobile { display: flex; }
  .site-footer { padding-top: 48px; }
  .eyebrow { font-size: 11px; }

  .hero-title { margin-top: 72px; font-size: 40px; line-height: 1.06; letter-spacing: -0.025em; }
  .hero-sub { margin-top: 16px; font-size: 19px; line-height: 1.4; letter-spacing: 0; }

  .apps { margin-top: 56px; }
  .app { gap: 6px; }
  .app-name { font-size: 22px; }
  .app-desc { font-size: 14px; }
  .app-platform { letter-spacing: 0.12em; }

  .about { margin-top: 56px; }
  .about-title { margin-top: 20px; font-size: 36px; line-height: 1.08; letter-spacing: -0.025em; }
  .about-copy p { font-size: 16px; }
  .about-copy .about-title + p { margin-top: 24px; }
  .facts div { font-size: 12px; }

  .product-head { margin-top: 56px; }
  .product-title { font-size: 64px; }
  .product-lede { margin-top: 16px; font-size: 19px; line-height: 1.4; letter-spacing: 0; }
  .product-cta { gap: 12px; margin-top: 28px; }
  .button { height: 48px; }
  .product-meta { letter-spacing: 0.12em; }
  .screenshot { margin-top: 36px; aspect-ratio: 8 / 5; }
  .features { margin-top: 40px; grid-template-columns: 1fr; gap: 24px; }
  .feature h2 { font-size: 18px; }
}

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