/* NONON site. Black and white, one orange accent, Nunito (self-hosted). */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #111111;
  --text: #1c1917;
  --text-soft: #44403c;
  --text-faint: #57534e;
  --bg: #ffffff;
  --bg-soft: #faf7f4;
  --line: #e7e2dc;
  --line-strong: #c9c1b8;

  /* Orange for icons and drawing only: 2.7:1 on white, so never for text or controls. */
  --orange: #f47b32;
  /* Orange for anything a person reads or presses: 5.2:1 on white, 5.2:1 behind white text. */
  --orange-deep: #c2410c;
  --orange-dark: #9a3412;
  --orange-wash: #fff1e7;
  --orange-wash-2: #ffe0cc;

  --font: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1120px;
  --header-h: 64px;
  --radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 800; color: var(--ink); }

a { color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--orange-dark); text-decoration-thickness: 2px; }

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

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.375rem; letter-spacing: 0.02em; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.nav { display: none; }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav a, .menu a { color: var(--ink); font-weight: 700; text-decoration: none; }
.nav a:hover, .menu a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav a[aria-current="page"], .menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; font-weight: 700; color: var(--ink); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 18px; height: 12px; background: linear-gradient(var(--ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) 0 50% / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) 0 100% / 100% 2px no-repeat; }
.menu ul { position: absolute; left: 0; right: 0; top: 100%; list-style: none; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
.menu li a { display: block; padding: 12px 0; font-size: 1.125rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-weight: 800; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}
.btn:hover { background: #2a2623; color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: none; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-secondary:hover { background: var(--orange-wash); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 1rem; }
.btn[aria-disabled="true"] { background: #fff; color: var(--text-faint); border-color: var(--line-strong); pointer-events: none; }

/* ---------- download button group ---------- */
.dl-group { display: flex; flex-direction: column; gap: 12px; }
.dl-group.is-mac [data-dl="macos"] { order: -1; background: var(--ink); color: #fff; }
.dl-group.is-mac [data-dl="windows"] { background: #fff; color: var(--ink); }
.dl-group.is-mac [data-dl="windows"]:hover { background: var(--orange-wash); color: var(--ink); }
.dl-group.is-mac [data-dl="macos"]:hover { background: #2a2623; color: #fff; }
.dl-note { margin: 16px 0 0; font-size: 0.9375rem; color: var(--text-soft); }
.dl-note + .dl-note { margin-top: 4px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 0.9375rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-dark); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem); font-weight: 900; line-height: 1.03; letter-spacing: -0.025em; }
.hero h1 u { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 0.09em; text-underline-offset: 0.1em; text-decoration-skip-ink: none; }
.hero .sub { max-width: 34em; margin: 22px 0 30px; font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem); font-weight: 600; line-height: 1.5; color: var(--text-soft); }

.hero-art { position: relative; display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.hero-art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange-wash); border: 4px solid var(--orange); }
.hero-art .non-img { position: relative; width: 104%; max-width: none; margin-top: 8%; }
.hello { position: absolute; z-index: 1; top: 4%; left: 0; margin: 0; padding: 8px 16px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: 1rem; transform: rotate(-3deg); }

.shot { margin: clamp(40px, 7vw, 72px) 0 0; }
.shot-frame { border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--orange-wash-2); }
.shot-frame img { width: 100%; }
.shot-cap { margin: 20px 0 0; font-size: 0.9375rem; color: var(--text-soft); }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.125rem); font-weight: 900; letter-spacing: -0.02em; }
.section-head p { margin: 16px 0 0; font-size: 1.1875rem; color: var(--text-soft); }

/* three things */
.do-list { list-style: none; border-top: 2px solid var(--ink); }
.do-list > li { display: grid; gap: 14px; padding-block: 30px; border-bottom: 1px solid var(--line-strong); }
.do-head { display: flex; align-items: center; gap: 16px; }
.do-head .ico { width: 44px; height: 44px; }
.do-head h3 { font-size: clamp(1.4375rem, 1.15rem + 1.2vw, 2rem); }
.do-list p { margin: 0; max-width: 34em; font-size: 1.125rem; }
.also { margin: clamp(40px, 6vw, 64px) 0 0; list-style: none; display: grid; gap: 28px; }
.also li { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.also .ico { width: 32px; height: 32px; grid-row: span 2; }
.also h3 { font-size: 1.1875rem; }
.also p { margin: 0; color: var(--text-soft); }
.also-title { margin: clamp(40px, 6vw, 64px) 0 0; font-size: 0.9375rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-dark); }
.also-title + .also { margin-top: 20px; }

/* in charge */
.charge { display: grid; gap: clamp(32px, 5vw, 56px); }
.charge-points { list-style: none; display: grid; gap: 22px; }
.charge-points li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.charge-points .ico { width: 36px; height: 36px; grid-row: span 2; }
.charge-points h3 { font-size: 1.25rem; }
.charge-points p { margin: 0; color: var(--text-soft); }
.where { display: grid; gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.where > div { padding: 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
.where .optional { border-style: dashed; border-color: var(--line-strong); }
.where h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3125rem; }
.where h3 .ico { width: 30px; height: 30px; }
.where .tag { margin: 8px 0 14px; font-size: 0.9375rem; font-weight: 700; color: var(--orange-dark); }
.where ul { list-style: none; display: grid; gap: 12px; }
.where li { padding-left: 22px; position: relative; }
.where li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.where li b { display: block; }
.honest { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 22px 24px; background: var(--orange-wash); border-radius: var(--radius); font-size: 1.125rem; }
.honest .ico { width: 34px; height: 34px; margin-top: 2px; }
.honest p { margin: 0; }

/* steps */
.steps { list-style: none; display: grid; gap: 48px; counter-reset: step; }
.steps li { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange-wash); border: 3px solid var(--orange); color: var(--orange-dark); font-weight: 900; font-size: 1.375rem; }
.steps h3 { font-size: 1.5rem; }
.steps p { margin: 0; color: var(--text-soft); }
.steps .shot-frame { align-self: end; margin-top: 14px; border-width: 2px; border-radius: 12px; box-shadow: 6px 6px 0 var(--orange-wash-2); }

/* who */
.who { display: grid; gap: clamp(32px, 5vw, 56px); }
.who-list { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.who-list li { padding-block: 22px; border-bottom: 1px solid var(--line-strong); }
.who-list h3 { font-size: 1.3125rem; margin-bottom: 4px; }
.who-list p { margin: 0; color: var(--text-soft); }
.notyet { margin-top: clamp(32px, 5vw, 48px); padding: 26px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: #fff; }
.notyet h3 { font-size: 1.25rem; }
.notyet p { margin: 6px 0 14px; color: var(--text-soft); }
.notyet ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.notyet li { padding: 6px 14px; border: 2px solid var(--line-strong); border-radius: 999px; font-weight: 700; font-size: 0.9375rem; color: var(--text); background: var(--bg-soft); }
.who .non-img { width: 220px; margin-top: 24px; }

/* faq */
.faq { border-top: 2px solid var(--ink); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-weight: 800; font-size: 1.1875rem; color: var(--ink); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-wash) linear-gradient(var(--orange-dark) 0 0) center / 12px 2.5px no-repeat, linear-gradient(var(--orange-dark) 0 0) center / 2.5px 12px no-repeat; transition: transform 0.25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; max-width: 42rem; }
.faq .answer p { margin: 0 0 0.8em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* final call to action */
.cta { background: var(--orange-wash); padding-block: clamp(56px, 8vw, 96px); }
.cta-grid { display: grid; gap: 28px; align-items: center; }
.cta h2 { font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.125rem); font-weight: 900; letter-spacing: -0.02em; }
.cta .lead { margin: 14px 0 26px; font-size: 1.1875rem; color: var(--text-soft); }
.cta .non-img { width: min(60vw, 260px); }
.cta .btn-secondary:hover { background: #fff; }

/* ---------- inner pages ---------- */
.page { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 96px); }
.page h1 { font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem); font-weight: 900; letter-spacing: -0.02em; }
.page .intro { max-width: 40rem; margin: 18px 0 0; font-size: 1.25rem; color: var(--text-soft); }
.page .updated { margin: 12px 0 0; font-size: 0.9375rem; color: var(--text-faint); }
.prose { max-width: 44rem; margin-top: 36px; }
.prose h2 { font-size: 1.625rem; margin: 2em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 0.4em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose li::marker { color: var(--orange); }
.prose pre { margin: 0 0 1em; padding: 14px 16px; overflow-x: auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; font-size: 0.9rem; }
code { font-family: var(--font-mono); font-size: 0.9em; }

/* download */
.state { margin-top: 32px; padding: 24px; border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); max-width: 40rem; }
.state h2 { font-size: 1.375rem; margin-bottom: 6px; }
.state p { margin: 0; }
.release-line { margin: 28px 0 0; color: var(--text-soft); }
.platforms { display: grid; gap: 24px; margin-top: 24px; }
.platform { position: relative; padding: 28px 24px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
.platform.is-yours { box-shadow: 10px 10px 0 var(--orange-wash-2); }
.platform .yours { display: none; position: absolute; top: 16px; right: 16px; padding: 3px 12px; border-radius: 999px; background: var(--orange-wash); color: var(--orange-dark); font-size: 0.875rem; font-weight: 800; }
.platform.is-yours .yours { display: inline-block; }
@media (max-width: 719px) { .platforms.is-mac-first #mac { order: -1; } }
.hash { min-height: 85px; align-content: flex-start; }
.platform h2 { font-size: 1.75rem; }
.req-line { margin: 4px 0 18px; color: var(--text-soft); }
.meta { display: grid; grid-template-columns: 1fr; gap: 0; margin: 22px 0 0; font-size: 0.9375rem; }
.meta dt { margin-top: 10px; font-weight: 800; color: var(--ink); }
.meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.hash { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy { min-height: 32px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 0.8125rem; font-weight: 800; cursor: pointer; }
.copy:hover { background: var(--orange-wash); }
.dl-notes { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.dl-notes h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.dl-notes ol { padding-left: 1.25em; }
.dl-notes li { margin-bottom: 4px; }
.dl-notes li::marker { color: var(--orange-dark); font-weight: 800; }

/* status */
.legend { list-style: none; display: grid; gap: 10px; margin: 28px 0 0; padding: 20px 22px; background: var(--bg-soft); border-radius: var(--radius); font-size: 0.9375rem; }
.legend li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.status-group { margin-top: clamp(40px, 6vw, 64px); }
.status-group h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 16px; }
.status-list { list-style: none; border-top: 2px solid var(--ink); }
.status-list li { display: grid; gap: 10px; padding-block: 20px; border-bottom: 1px solid var(--line-strong); }
.status-list b { display: block; font-size: 1.125rem; }
.status-list .what { display: block; margin-top: 2px; color: var(--text-soft); max-width: 44rem; }
.st { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 800; white-space: nowrap; border: 2px solid transparent; }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.st-works { background: var(--ink); color: #fff; }
.st-works::before { background: var(--orange); }
.st-limited { background: var(--orange-wash); color: var(--orange-dark); border-color: var(--orange); }
.st-limited::before { background: linear-gradient(90deg, var(--orange) 50%, #fff 50%); border: 1.5px solid var(--orange); }
.st-untested { background: #fff; color: var(--text); border: 2px dashed var(--text-faint); }
.st-untested::before { border: 1.5px solid var(--text-faint); }

.lost { display: grid; justify-items: start; gap: 18px; padding-block: 24px; }
.lost img { width: 140px; }
.lost .intro { margin: 0; }

/* ---------- footer ---------- */
.site-footer { padding-block: 56px 40px; border-top: 1px solid var(--line); background: #fff; font-size: 0.9375rem; color: var(--text-soft); }
.site-footer .cols { display: grid; gap: 32px; }
.site-footer h2 { margin-bottom: 10px; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer .brand { margin-bottom: 12px; }
.site-footer a { color: var(--text); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-faint); max-width: 60rem; }
.site-footer .legal + .legal { margin-top: 10px; padding-top: 0; border-top: 0; }
.site-footer .credit { color: var(--text); font-weight: 700; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  .dl-group { flex-direction: row; flex-wrap: wrap; }
  .also { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .where { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .status-list li { grid-template-columns: 1fr auto; align-items: start; gap: 24px; }
  .st { justify-self: end; margin-top: 2px; }
  .legend { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; }
}

@media (min-width: 900px) {
  .nav { display: block; }
  .menu { display: none; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .hello { top: 8%; left: -4%; }
  .do-list > li { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding-block: 40px; }
  .charge { grid-template-columns: 1fr 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .who { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .cta-grid { grid-template-columns: auto 1fr; gap: 56px; }
  .cta .non-img { width: 300px; }
}

/* ---------- scroll reveal: CSS only, and only where the browser supports it ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print { .site-header, .skip { display: none; } }

.charge .section-head, .who .section-head { margin-bottom: 0; }
.status-group > .intro { margin: 0 0 16px; font-size: 1.0625rem; }
.not-yet { margin: 20px 0 0; font-weight: 700; color: var(--ink); }

@media (max-width: 420px) {
  .bar { gap: 6px; }
  .brand { gap: 8px; font-size: 1.1875rem; letter-spacing: 0.01em; }
  .brand img { width: 32px; height: 32px; }
  .btn-small { padding: 0 14px; }
  .menu summary { padding: 0 2px; gap: 6px; }
}
@media (max-width: 420px) {
  .menu summary { font-size: 0; gap: 0; justify-content: center; min-width: 44px; padding: 0; }
}

@media (max-width: 899px) { .who .non-img { width: 170px; margin-top: 8px; } }
@media (max-width: 719px) { .release-line { min-height: 3.3em; } }
