/* The app's own faces, subset to Latin. The app ships only the Regular
   weights, so the page uses one weight and builds hierarchy from size and
   color; font-synthesis keeps browsers from faking bold. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #1b1d21;
  --panel: #1f2125;
  --line: #2c2f35;
  --hover: #2a2d33;
  --text: #e6e6e6;
  --dim: #9a9ea5;
  --accent: #1e88b4;
  --accent-bright: #2aa3d4;
  --selected: #136f94;
  --selected-deep: #0f5a78;
  --warn: #e0a03c;
  --radius: 6px;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wide: 1280px;
  --content: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line) var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--selected); color: #fff; }

a {
  color: var(--accent-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 14px;
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

/* The name is a path: oh > my > dir. The separators are the app's
   breadcrumb chevrons, in the dim tone. */
.path {
  font-family: var(--mono);
  white-space: nowrap;
}
.path .sep {
  color: var(--dim);
  margin: 0 .35em;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}
.top nav { display: flex; align-items: center; }
.top nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  color: var(--dim);
  text-decoration: none;
  border-radius: var(--radius);
}
.top nav a:hover { color: var(--text); background: var(--hover); }
.feed-link svg, .button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.feed-link svg circle, .button svg circle { fill: currentColor; stroke: none; }

/* Hero */
.hero {
  padding-top: 72px;
  padding-bottom: 48px;
  text-align: center;
}
h1 {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  max-width: 14em;
  margin: 0 auto;
}
.lead {
  color: var(--dim);
  font-size: 1.2rem;
  max-width: 34em;
  margin: 24px auto 0;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--selected);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .2s cubic-bezier(.16, 1, .3, 1);
}
.button:hover { background: var(--selected-deep); }
.status {
  color: var(--dim);
  font-size: .95rem;
}
.platforms {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: -8px 0 0;
  padding: 0;
  list-style: none;
}
.platforms li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.os-icon { width: 20px; height: 20px; flex: none; }

/* The real app, at full size where the screen allows. */
.hero-shot {
  max-width: var(--wide);
  margin: 0 auto 120px;
  padding: 0 16px;
}
.hero-shot img,
.feature img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Section headings are breadcrumbs ending in the section's name. */
.crumb {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -.02em;
  margin-bottom: 48px;
}
.crumb .path {
  color: var(--dim);
  font-size: .875rem;
  vertical-align: .3em;
  margin-right: .5em;
}
.crumb .path .sep { color: var(--line); }

h3 {
  font-size: 1.35rem;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.copy p { color: var(--dim); max-width: 36em; }

/* Features: a heading and a short text, then the whole app window. */
.features { padding-bottom: 120px; }
.feature { margin-bottom: 96px; }

.feature.wide .copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: baseline;
  margin-bottom: 32px;
}
.feature.wide .copy h3 { font-size: 1.8rem; margin: 0; }


/* Also: grouped lists, not cards. */
.more { padding-bottom: 120px; }
.groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.group h3 {
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: 0;
  color: var(--accent-bright);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.group dl { margin: 0; }
.group dt { color: var(--text); }
.group dd {
  margin: 2px 0 18px;
  color: var(--dim);
  font-size: .95rem;
  line-height: 1.5;
}

/* Download */
.download {
  padding-top: 72px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}
.download p {
  color: var(--dim);
  font-size: 1.1rem;
  max-width: 36em;
}
.download p + p { margin-top: 8px; }
.download .button { margin-top: 32px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: .9rem;
}
footer a { color: var(--dim); }
footer a:hover { color: var(--text); }

@media (max-width: 1100px) {
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { min-height: 60px; }
  .brand img { display: none; }
  .top nav a { padding: 0 10px; }
  .top nav .feed-link { display: none; }
  .hero { padding-top: 40px; padding-bottom: 32px; }
  .hero-shot { margin-bottom: 72px; }
  .crumb { margin-bottom: 32px; }
  .feature { margin-bottom: 64px; }
  .feature.wide .copy { grid-template-columns: 1fr; gap: 10px; }
  .groups { gap: 24px 20px; }
  .features, .more, .download { padding-bottom: 72px; }
  .download { padding-top: 48px; }
}

@media (max-width: 420px) {
  .groups { grid-template-columns: 1fr; }
}
