/* download.limenote.me — the marketing site's paper and lime, in one small stylesheet.
   System fonts only: the page is served under a `self`-only CSP and should paint at once. */

:root {
  --paper: #f7f5f0;
  --paper-2: #efebe3;
  --ink: #121216;
  --ink-2: #33333b;
  --muted: #6b6a73;
  --line: #e4e0d6;
  --accent: #4c6b10;
  --brand-lime: #c8f23c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0e12;
    --paper-2: #17171d;
    --ink: #f4f1ea;
    --ink-2: #d9d6cf;
    --muted: #9d9ba6;
    --line: #2a2a33;
    --accent: #d6ff4f;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.glyph {
  width: 22px;
  height: 22px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 5vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.top-link {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.top-link:hover {
  color: var(--ink);
}

main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 4.5rem) clamp(1rem, 5vw, 2.5rem) 3rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lede {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--ink-2);
}

.cta-wrap {
  margin: 2.25rem 0 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 2rem;
  border-radius: 1rem;
  background: var(--brand-lime);
  color: #14160f;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease;
  box-shadow: 0 10px 30px -12px rgb(200 242 60 / 0.55);
}

.cta:hover {
  transform: translateY(-2px);
}

.cta-off {
  background: var(--paper-2);
  color: var(--muted);
  box-shadow: none;
  cursor: default;
}

.cta-off:hover {
  transform: none;
}

.cta-meta {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.note {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}

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

.alt a {
  color: var(--accent);
  font-weight: 600;
}

.all {
  margin-top: 3.5rem;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.all h2 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--paper-2);
}

.row-glyph {
  display: inline-flex;
  color: var(--ink);
}

.row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.row-name {
  font-weight: 600;
}

.row-meta {
  font-size: 0.82rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.row-link {
  flex: none;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.row-link:hover {
  text-decoration: underline;
}

.row-soon {
  opacity: 0.6;
}

.small {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.bottom {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.bottom a {
  text-decoration: none;
}

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

a:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
