:root {
  /* Shared app palette (same values as the Limn app): true neutrals, ink
     chrome and one rare cool-blue accent with ink text on it. */
  color-scheme: dark;
  --bg: #090909;
  --surface: #151515;
  --surface-soft: #1c1c1c;
  --ink: #f2f2f2;
  --muted: #aaaaaa;
  --quiet: #8f8f8f;
  --line: #262626;
  --line-strong: #3c3c3c;
  --accent: #3b8cff;
  --accent-hover: #6aa6ff;
  --accent-text: #8ab8ff;
  --on-accent: #090909;
  --font-body: "proxima-nova", "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "din-condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background: var(--bg);
}


a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 16px;
}

.brand,
nav,
.actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 600;
}

.brand img {
  width: 32px;
  height: 32px;
}

nav {
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

nav a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 4px;
}

nav a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-download {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(480px, 1.16fr);
  align-items: center;
  gap: 56px;
  padding: 30px 0 74px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  max-width: 540px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-weight: 600;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    color 200ms ease;
}

[data-download-link][aria-disabled="true"] {
  cursor: not-allowed;
}

.button.primary {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button.primary[aria-disabled="true"] {
  color: var(--quiet);
  background: var(--surface-soft);
  border-color: var(--line);
}

.button.primary[aria-disabled="true"]:hover {
  background: var(--surface-soft);
  border-color: var(--line);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button.secondary:hover {
  background: var(--surface-soft);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.alternate-download {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-left: 8px;
  color: var(--accent-text);
  font-weight: 600;
}

.alternate-download[hidden] {
  display: none;
}

.nav-download[aria-disabled="true"],
footer a[aria-disabled="true"] {
  color: var(--quiet);
  background: transparent;
  box-shadow: none;
}

.product-shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line-strong);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-band,
.workflow,
.download-panel {
  border-top: 1px solid var(--line);
}

.feature-band {
  padding: 58px 0 62px;
}

.section-heading {
  display: block;
  width: min(780px, 100%);
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 520px;
}

h2 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Section titles carry a short accent rule beneath them. */
.section-heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 16px;
  background: var(--accent);
}

.section-heading p:last-child {
  max-width: 640px;
  margin: 16px 0 2px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

article {
  min-height: 218px;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

/* Big numbers are the site's one display-type moment. */
.feature-mark {
  display: block;
  margin-bottom: 24px;
  color: #5a5a5a;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 0.58fr);
  gap: 56px;
  padding: 58px 0;
}

.workflow-steps {
  display: grid;
  gap: 14px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.workflow-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.workflow-steps h3 {
  margin-bottom: 4px;
}

.workflow-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
}

.download-panel h2 {
  max-width: 720px;
  font-size: 1.55rem;
  font-weight: 600;
}

.download-panel .eyebrow {
  margin-bottom: 8px;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--accent-text);
  font-weight: 600;
}

footer a:hover {
  color: var(--ink);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 42px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .product-shot {
    max-width: 900px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    padding: 16px 0 10px;
  }

  nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    gap: 22px;
    padding: 24px 0 34px;
  }

  h1 {
    font-size: 2.6rem;
  }


  .lede {
    font-size: 1.06rem;
  }

  .section-heading,
  .workflow,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding: 44px 0 48px;
  }

  .section-heading {
    gap: 14px;
  }

  h2 {
    font-size: 2rem;
  }

  .workflow {
    gap: 24px;
    padding: 46px 0;
  }

  .download-panel {
    align-items: start;
  }

  .download-panel .button {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  nav {
    font-size: 0.88rem;
  }

  nav a {
    padding: 8px 10px;
  }

  .hero {
    gap: 18px;
    padding: 18px 0 12px;
  }

  h1 {
    font-size: 2.2rem;
  }


  .lede {
    margin-bottom: 22px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .note {
    font-size: 0.92rem;
  }

  .alternate-download {
    display: table;
    margin: 4px 0 0;
  }

  .window-bar {
    height: 28px;
    padding: 0 10px;
  }

  .window-bar span {
    width: 7px;
    height: 7px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: 0;
  }

  .feature-mark {
    margin-bottom: 24px;
  }

  .workflow-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .workflow-steps span {
    width: 38px;
    height: 38px;
  }

  h2 {
    font-size: 1.72rem;
  }

  .download-panel h2 {
    font-size: 1.38rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
