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

:root {
  color-scheme: dark;
  /* Duotone from the app icon: graphite with a cool blue and a warm amber glow. */
  --ink-0: #0c0e13;
  --blue-glow: rgb(10 108 214 / 34%);
  --amber-glow: rgb(255 138 0 / 22%);
  --soft: rgb(255 255 255 / 4%);
  --card: rgb(255 255 255 / 5%);
  --text: #f2f2f4;
  --muted: #a7acb6;
  --line: rgb(255 255 255 / 10%);
  --blue: #0a6cd6;
  --blue-hover: #2a82e4;
  --amber: #ffa53a;
  --icon-bg: rgb(255 165 58 / 14%);
  --shadow: 0 40px 80px -30px rgb(0 0 0 / 80%), 0 0 0 1px rgb(255 255 255 / 9%);
}

html {
  background: var(--ink-0);
}

body {
  background:
    radial-gradient(1100px 700px at 12% -8%, var(--blue-glow), transparent 62%),
    radial-gradient(900px 640px at 100% 38%, var(--amber-glow), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgb(10 108 214 / 18%), transparent 60%),
    linear-gradient(180deg, #11141b 0%, var(--ink-0) 55%, #0f0d0b 100%);
  background-attachment: fixed;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font: 400 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Language menu, top right */

.nav__actions { display: flex; align-items: center; gap: 12px; }

.lang-menu { position: relative; }

.lang-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
}
.lang-menu summary:hover,
.lang-menu[open] summary { background: var(--card); }
.lang-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }

.lang-menu img { border-radius: 3px; box-shadow: 0 0 0 1px rgb(255 255 255 / 12%); flex: none; }

.lang-menu__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  padding: 6px;
  background: #1a1d24;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 70%);
  display: grid;
  gap: 2px;
}
.lang-menu__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}
.lang-menu__list a:hover { background: rgb(255 255 255 / 7%); }
.lang-menu__list a[aria-current="page"] { background: rgb(255 255 255 / 9%); font-weight: 600; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}
.button:hover { background: var(--blue-hover); }
.button--small { padding: 8px 18px; font-size: 15px; }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(12 14 19 / 70%);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  /* Wordmark: Geist, a modern face close to the system font. */
  font-family: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -0.035em;
}
.brand img { width: 40px; height: 40px; }

/* Hero */

.hero { padding: 72px 0 0; text-align: center; }

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__icon { margin-bottom: 20px; }

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 14em;
}

.lede {
  margin-top: 18px;
  max-width: 34em;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
}

.hero .button { margin-top: 30px; }

.meta {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

/* Screenshot in a window frame */

.shot {
  margin: 56px auto 0;
  max-width: 980px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}

.shot__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: #2a2a2d;
  border-bottom: 1px solid var(--line);
}
.shot__bar i { width: 12px; height: 12px; border-radius: 50%; }
.shot__bar i:nth-child(1) { background: #ff5f57; }
.shot__bar i:nth-child(2) { background: #febc2e; }
.shot__bar i:nth-child(3) { background: #28c840; }
.shot__bar span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Sections */

.section { padding: 88px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 700;
  text-align: center;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 64px;
  max-width: 900px;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--icon-bg);
}
.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features h2 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.features p { color: var(--muted); }

/* Steps */

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.steps h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* Download */

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.download > img { margin-bottom: 16px; }
.download .lede { margin-top: 8px; }
.download .button { margin-top: 26px; }

.install {
  margin-top: 48px;
  width: 100%;
  max-width: 640px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
}
.install h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.install ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.install li { color: var(--muted); }
.install strong { color: var(--text); font-weight: 600; }

/* FAQ */

.faq { max-width: 760px; }
.faq .section__title { margin-bottom: 32px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 32px 18px 0;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 150ms ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }
.faq details strong { color: var(--text); font-weight: 600; }

/* Footer */

.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 20px;
}
.langs a { color: var(--muted); text-decoration: none; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { color: var(--text); font-weight: 600; }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

/* Phones and small windows */

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav__actions { gap: 8px; }
  .lang-menu summary { padding: 0 10px; }
  .hero { padding-top: 48px; }
  .hero__icon { width: 88px; height: 88px; }
  .shot { margin-top: 40px; border-radius: 8px; }
  .shot__bar { height: 28px; }
  .shot__bar i { width: 9px; height: 9px; }
  .shot__bar span { display: none; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .install { padding: 24px; }
}

@media (max-width: 520px) {
  /* The hero's download button sits right below, so the header keeps only the name and language. */
  .nav .button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq summary::after { transition: none; }
}
