/* moood. Quiet, editorial: one typeface, black and white, the pictures carry the colour. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --ink: #111;
  --grey: #8a8a86;
  --line: #e6e5e0;
  --page: #fff;
  --pad: 40px;
  --max: 1320px;
  font-family: "Instrument Sans", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}
@media (max-width: 700px) { :root { --pad: 16px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--page); overflow-x: clip; }
body { font-size: 15px; line-height: 1.5; letter-spacing: -.003em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
picture source { display: none; }
ul, ol { list-style: none; }
::selection { background: #111; color: #fff; }
.in { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 calc(var(--pad) + env(safe-area-inset-right)) 0 calc(var(--pad) + env(safe-area-inset-left)); }

/* text links are the buttons */
.go { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.go::after { content: ' →'; }
@media (hover: hover) { .go:hover { color: var(--grey); } }
.quiet { color: var(--grey); }
.small { font-size: 13px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: #fff; padding-top: env(safe-area-inset-top); }
.nav .in { display: flex; align-items: baseline; gap: 28px; height: 56px; padding-top: 18px; }
.mark { font-weight: 600; font-size: 16px; letter-spacing: -.02em; margin-right: auto; }
.links { display: flex; gap: 24px; }
.links a { color: var(--grey); }
.links a.on, .links a:hover { color: var(--ink); }
.nav .buy { font-weight: 500; }

/* ---------- type ---------- */
h1, .h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
h2, .h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.lede { margin-top: 14px; font-size: 18px; color: var(--grey); letter-spacing: -.01em; }
.links-row { margin-top: 26px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 16px; font-weight: 500; }
.sec { padding: 120px 0 0; }
.sec:last-of-type { padding-bottom: 120px; }
.head { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; align-items: baseline; margin-bottom: 28px; }
.head p { color: var(--grey); }

/* screenshots: a hairline, no shadow, no gloss */
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); }
.shot figcaption, .cap { margin-top: 10px; font-size: 13px; color: var(--grey); }
.shot figcaption b, .cap b { color: var(--ink); font-weight: 500; }
.shot figcaption a, .cap a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---------- home ---------- */
.hero { padding-top: 96px; }
.hero .shot { margin-top: 64px; }
.seq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seq .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.seq .shot:last-child img { object-position: center; }
.seq .drop { position: relative; }
.seq .dragged { position: absolute; width: 20%; right: 16%; top: 12%; transform: rotate(-5deg); border: 0 !important; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); aspect-ratio: auto !important; }
.tabline { font-size: clamp(28px, 4.2vw, 60px); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; display: flex; flex-wrap: wrap; gap: 0 .45em; }
.tabline span { color: #d4d3ce; animation: tab-on .7s ease forwards; }
.tabline span:first-child { color: var(--ink); animation: none; }
.tabline span:nth-child(2) { animation-delay: .6s; } .tabline span:nth-child(3) { animation-delay: .8s; } .tabline span:nth-child(4) { animation-delay: 1s; }
.tabline span:nth-child(5) { animation-delay: 1.2s; } .tabline span:nth-child(6) { animation-delay: 1.4s; } .tabline span:nth-child(7) { animation-delay: 1.6s; } .tabline span:nth-child(8) { animation-delay: 1.8s; }
@keyframes tab-on { to { color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .tabline span { animation: none; color: var(--ink); } }

/* an uneven gallery, not a card grid */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 24px; align-items: start; }
.g-a { grid-column: 1 / span 5; }
.g-b { grid-column: 6 / span 7; margin-top: 160px; }
.g-c { grid-column: 1 / span 7; }
.g-d { grid-column: 9 / span 4; margin-top: 80px; }
.g-full { grid-column: 1 / -1; }

.price-line { max-width: 18em; }
.closer { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closer h2 { margin-top: 28px; }
.closer img.icon { width: 96px; height: 96px; }
.closer .maker { display: flex; gap: 14px; align-items: center; margin-top: 28px; }
.closer .maker img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; filter: grayscale(1); }

/* ---------- features ---------- */
.feature { margin-top: 112px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.feature:first-child { margin-top: 48px; }
.feature .shot { grid-column: 1 / -1; }
.f-wide .shot { grid-column: 1 / -1; }
.f-left .shot { grid-column: 1 / span 9; }
.f-right .shot { grid-column: 4 / span 9; }
.f-mid .shot { grid-column: 3 / span 8; }
.f-two .shot:first-child { grid-column: 1 / span 5; }
.f-two .shot:last-child { grid-column: 6 / span 7; }
.trio-shots { grid-column: 1 / -1; display: grid; grid-template-columns: 4fr 6fr; gap: 24px; align-items: start; }
.trio-shots .stack { display: grid; gap: 24px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--ink); margin-top: 48px; }
.plan { padding-top: 22px; }
.plan h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
.plan .price { margin-top: 18px; font-size: clamp(44px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; letter-spacing: 0; color: var(--grey); margin-left: 6px; font-weight: 400; }
.plan .price s { font-size: .4em; color: var(--grey); margin-right: 8px; vertical-align: .55em; font-weight: 400; text-decoration-thickness: 1px; }
.plan p { margin-top: 14px; }
.plan .go { display: inline-block; margin-top: 22px; font-weight: 500; }
.plan.never .price { color: #c9c8c3; }
.plan.never del { text-decoration-thickness: 2px; }
.fine { margin-top: 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; font-size: 13px; }
.fine h3 { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.fine table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fine td { padding: 6px 0; border-top: 1px solid var(--line); color: var(--grey); vertical-align: top; }
.fine td:last-child { text-align: right; color: var(--ink); padding-left: 12px; white-space: nowrap; }
.fine p { color: var(--grey); }
.fine a { color: var(--ink); border-bottom: 1px solid var(--line); }
.spots { margin-top: 8px; font-size: 13px; color: var(--grey); }
.spots[hidden] { display: none; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: start; padding-top: 96px; }
.why .shot img { border: 0; }
.why-text p { font-size: 22px; line-height: 1.4; letter-spacing: -.015em; }
.why-text p + p { margin-top: 18px; }
.why-text .sign { margin-top: 36px; font-size: 15px; }
.why-text .sign a { border-bottom: 1px solid currentColor; }

/* ---------- library ---------- */
.tree { font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.9; color: var(--grey); }
.tree b { color: var(--ink); font-weight: 400; }
.lib { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.steps-plain { counter-reset: s; display: grid; gap: 10px; font-size: 17px; }
.steps-plain li::before { counter-increment: s; content: counter(s) "  "; color: var(--grey); font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.foot { margin-top: 120px; border-top: 1px solid var(--line); }
.foot .in { display: flex; gap: 24px; align-items: baseline; padding-top: 20px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--grey); }
.foot .mark { font-size: 13px; color: var(--ink); margin-right: 0; }
.foot nav { display: flex; gap: 20px; margin-right: auto; }
.foot a:hover { color: var(--ink); }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .head, .closer, .why, .lib { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: 1fr; gap: 40px; }
  .g-a, .g-b, .g-c, .g-d { grid-column: 1; margin-top: 0; }
  .feature .shot, .f-left .shot, .f-right .shot, .f-mid .shot, .f-two .shot:first-child, .f-two .shot:last-child { grid-column: 1 / -1; }
  .trio-shots { grid-template-columns: 1fr; }
  .plans, .fine { grid-template-columns: 1fr; gap: 40px; }
  .plans { border-top: 0; }
  .plan { border-top: 1px solid var(--ink); }
}
@media (max-width: 700px) {
  .links { gap: 14px; }
  .nav .buy { display: none; }
  .nav .in { gap: 14px; }
  .hero { padding-top: 48px; }
  .hero .shot { margin-top: 40px; }
  .sec { padding-top: 80px; }
  .seq { grid-template-columns: 1fr; gap: 28px; }
  .feature { margin-top: 72px; }
  .why { padding-top: 48px; }
  .why-text p { font-size: 19px; }
  .foot .in { flex-wrap: wrap; }
}
.mt { margin-top: 10px; }
.trio-shots .shot { grid-column: auto; }
.f-mid .shot { grid-column: 2 / span 10; }

/* ---------- v3: docs-like clarity, art-tool feel ---------- */
.body { font-size: 16px; line-height: 1.55; max-width: 34em; margin-top: 14px; }
.lede { max-width: 34em; line-height: 1.4; }
h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.tier { font-size: 13px; font-weight: 400; color: var(--grey); margin-left: 6px; }
.steps { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.step h3 { margin-top: 16px; }
.step h3 .quiet { margin-right: 6px; font-variant-numeric: tabular-nums; }
.step p { margin-top: 4px; color: #555; max-width: 26em; }
.item { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; align-items: start; margin-top: 96px; }
.item:first-child { margin-top: 48px; }
.item .txt { position: sticky; top: 80px; padding-top: 4px; }
.item .txt p { margin-top: 6px; color: #555; max-width: 24em; }
.item.flip .txt { order: 2; }
.item.flip { grid-template-columns: 9fr 3fr; }
.item.wide { grid-template-columns: 1fr; gap: 18px; }
.item.wide .txt { position: static; display: grid; grid-template-columns: 3fr 9fr; gap: 40px; }
.item.wide .txt p { margin-top: 0; max-width: 34em; }
.item.tall .vis { max-width: 520px; }
.item.two .vis { display: grid; grid-template-columns: 7fr 4fr; gap: 24px; align-items: start; }
.item.chars .vis { display: grid; grid-template-columns: 4fr 6fr; gap: 24px; align-items: start; }
.item.chars .stack { display: grid; gap: 24px; }
.item .vis .shot { margin: 0; }
.head .body { margin-top: 18px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .item, .item.flip, .item.wide .txt, .item.two .vis, .item.chars .vis { grid-template-columns: 1fr; gap: 16px; }
  .item.flip .txt { order: 0; }
  .item .txt { position: static; }
  .item { margin-top: 64px; }
}
.head .body, .body { color: #4a4a47; }
.step .shot img { object-position: center; }
.steps .step:first-child .shot img { object-position: left top; }

/* ---------- story pages: one project, step by step ---------- */
.loop video { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fafaf8; }
.chapter { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; align-items: start; margin-top: 104px; }
.chapter:first-of-type { margin-top: 56px; }
.chapter .txt { position: sticky; top: 80px; }
.chapter .num { font-variant-numeric: tabular-nums; font-size: 13px; margin-bottom: 6px; }
.chapter .txt p:last-child { margin-top: 6px; color: #555; max-width: 24em; }
.chapter.flip { grid-template-columns: 9fr 3fr; }
.chapter.flip .txt { order: 2; }
.chapter.wide { grid-template-columns: 1fr; gap: 18px; }
.chapter.wide .txt { position: static; display: grid; grid-template-columns: 3fr 9fr; gap: 0 40px; align-items: baseline; }
.chapter.wide .txt .num { grid-column: 1 / -1; }
.chapter.wide .txt p:last-child { margin-top: 0; max-width: 36em; }
.chapter.two .vis { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.chapter.two-r .vis { display: grid; grid-template-columns: 8fr 3fr; gap: 24px; align-items: start; }
.lede a { color: var(--ink); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .chapter, .chapter.flip, .chapter.wide .txt, .chapter.two .vis, .chapter.two-r .vis { grid-template-columns: 1fr; gap: 14px; }
  .chapter.flip .txt { order: 0; }
  .chapter .txt { position: static; }
  .chapter { margin-top: 64px; }
}

/* ---------- home: what it is, and five uses ---------- */
.what { margin-top: 22px; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -.02em; max-width: 30em; color: var(--ink); }
.hero .what + .lede { margin-top: 10px; }
.uses { margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.uses figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #f3f2ee; }
.uses img { width: 100%; height: 100%; object-fit: cover; }
.uses p { margin-top: 10px; font-size: 15px; font-weight: 500; }
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* why page: text only (owner, 1 Nov) */
.why-page { max-width: 640px; padding-block: 120px 140px; }
.why-page h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; margin-bottom: 40px; }
.why-page p { font-size: 19px; line-height: 1.55; color: var(--ink); margin-bottom: 20px; }
.why-page p.sign { font-size: 15px; color: var(--grey); margin-top: 40px; }
@media (max-width: 700px) { .why-page { padding-block: 64px 80px; } .why-page p { font-size: 17px; } }
.cta-note { margin-top: 10px; font-size: 14px; color: var(--grey); }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dl { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 500; }
.dl.dl-alt { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) { .dl:hover { opacity: .85; } }
.dl-links .ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 7px; }

/* ---------- download page ---------- */
.dl-opts { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.dl-opt { padding: 36px 0 8px; color: var(--grey); transition: color .2s; }
.dl-opt.here { color: var(--ink); }
.dl-ic { width: 44px; height: 44px; display: block; }
.dl-btn { display: inline-block; margin-top: 22px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.025em; color: inherit; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.dl-btn::after { content: ' →'; }
.dl-btn.soon { border-bottom-color: transparent; cursor: default; }
.dl-btn.soon::after { content: ''; }
.dl-ver { margin-top: 12px; font-size: 15px; }
.dl-req { margin-top: 4px; font-size: 13px; color: var(--grey); }
.dl-opts + .cta-note { margin-top: 32px; }
.dl-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: end; }
.dl-steps .shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; }
.dl-steps .num { margin-top: 16px; font-size: 13px; }
.dl-steps h3 { margin-top: 2px; }
.dl-steps li p:last-child { margin-top: 4px; color: #555; }
.nav .buy.on { color: var(--ink); }
@media (max-width: 900px) { .dl-opts, .dl-steps { grid-template-columns: 1fr; } .dl-steps { gap: 40px; } }
.dl-icon { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: #f6f6f3; border: 1px solid var(--line); }
.dl-icon img { width: 30% !important; height: auto !important; aspect-ratio: 1 !important; border: 0 !important; }
.dl-steps + .cap { margin-top: 40px; }
@media (max-width: 700px) { .nav .buy { display: inline; } .nav .links a:nth-child(3), .nav .links a:nth-child(4) { display: none; } .nav .buy::after { content: ''; } }
/* platform marks: matched optically (the apple is taller and narrower than the square) */
.dl-ic { height: 40px; width: auto; display: block; fill: currentColor; }
.dl-ic.ic-mac { height: 42px; }
.dl-ic.ic-win { height: 34px; margin: 4px 0; }
.noacct { margin-top: 14px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
/* download options: logo sits beside "Download for …" (owner, 1 Nov) */
.dl-opt { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.dl-opt .dl-ic { grid-row: 1; grid-column: 1; margin: 0; }
.dl-opt .dl-ic.ic-mac { height: 36px; }
.dl-opt .dl-ic.ic-win { height: 30px; margin: 0; }
.dl-opt .dl-btn { grid-row: 1; grid-column: 2; margin: 0; }
.dl-opt > p { grid-column: 2; }
/* install step panel: dark so the white icon stands out (owner, 1 Nov) */
.dl-icon { background: #141414; border-color: #141414; }

/* Mac only for now (owner, 1 Nov): one option, always ink */
.dl-opts { grid-template-columns: 1fr; }
.dl-opts .dl-opt { color: var(--ink); }
.dl-later { margin-top: 20px; font-size: 14px; color: var(--grey); }
.dl-opts + .dl-later + .cta-note { margin-top: 12px; }

/* app tagline above the home headline (owner, 1 Nov) */
.hero .kicker { font-size: 17px; color: var(--grey); margin-bottom: 14px; }
@media (max-width: 700px) { .hero .kicker { font-size: 15px; margin-bottom: 10px; } }

/* optical alignment: apple body (not the leaf) centred on the text (owner, 1 Nov) */
.dl-opt .dl-ic.ic-mac { height: 31px; transform: translateY(-5px); }

/* bigger wordmark in the nav (owner, 1 Nov) */
.nav .mark { font-size: 21px; letter-spacing: -.03em; }
@media (max-width: 700px) { .nav .mark { font-size: 19px; } }
/* the other Mac chip, under the main button (1 Nov) */
.dl-opt .dl-other { margin-top: 10px; font-size: 13px; color: var(--grey); }
.dl-opt .dl-other a { color: inherit; border-bottom: 1px solid currentColor; }
.dl-opt .dl-other a:hover { color: var(--ink); }
.dl-opt .dl-other[hidden] { display: none; }

/* keep the download underline to the words, not the whole row */
.dl-opt .dl-btn { justify-self: start; }
