/* noteframe landing (kollidelabs.com/noteframe), 2026-10-14.
   A proof sheet printed in one ink: cool paper, ultramarine type and rules, the colours of the print looks
   (Lecture, Sunprint, Handset). The Reels are the only colour on the page. One family (Instrument Sans) at
   a few weights; numbers in tabular figures. The one loud moment is the proof strip in the hero; everything
   else stays quiet. The ASCII demo sits on a night band because it is a dark picture. */
@font-face { font-family: "Instrument"; src: url("fonts/instrument-sans.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "JB"; src: url("vendor/fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JB"; src: url("vendor/fonts/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #e5e8ed;     /* the page */
  --paper-2: #dadee6;   /* panels, a shade into the paper */
  --ink: #1f2ca8;       /* type, rules, buttons */
  --ink-2: #4b5594;     /* secondary type */
  --ink-3: #8189b4;     /* quiet type */
  --line: rgba(31, 44, 168, .16);
  --line-2: rgba(31, 44, 168, .32);
  --night: #11163a;     /* the dark band and the Reels' frames */
  --sans: "Instrument", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JB", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(18px, 4vw, 56px); --max: 1360px;
  /* names the scripts and older rules still read */
  --bg: var(--paper); --bg-2: var(--paper-2); --text: var(--ink); --muted: var(--ink-2); --dim: var(--ink-3); --accent: var(--ink); --accent-ink: var(--paper);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; overflow-x: clip; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; min-width: 300px; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.mono { font-family: inherit; font-size: inherit; letter-spacing: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 8px 12px; background: var(--paper); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; }

/* buttons & links */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 600 16px/1 var(--sans); letter-spacing: -.01em; transition: background .15s, transform .1s; }
.btn:hover { background: #2938c9; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 7px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: rgba(31, 44, 168, .07); }
.link { color: var(--ink); border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; font-weight: 500; transition: border-color .15s; }
.link:hover { border-color: var(--ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(229, 232, 237, .94); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
@supports (backdrop-filter: blur(8px)) { .nav { background: rgba(229, 232, 237, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
.nav-in { display: flex; align-items: center; gap: 28px; max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-word { font-size: 21px; font-weight: 650; letter-spacing: -.04em; }
.brand-prod { font-size: 13px; color: var(--ink-3); }
.brand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.nav-links { display: none; gap: 26px; margin-left: 12px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-act { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 15px; }
.nav-acc { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.nav-acc:hover { color: var(--ink); }
.nav-cr { font-size: 12.5px; font-weight: 600; color: var(--ink); padding: 3px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-admin { font-size: 13px; color: var(--ink); }
@media (min-width: 960px) { .nav-links { display: flex; } }
@media (max-width: 560px) { .brand-prod, #nf-account-label { display: none; } .nav-acc::before { content: "Account"; font-size: 14px; } .nav-in { gap: 14px; } }

/* hero: the headline over a proof strip of Reels */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 84px) var(--pad) clamp(48px, 6vw, 80px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-h { margin: 0; font-size: clamp(3.3rem, 8.6vw, 8.4rem); font-weight: 650; line-height: .88; letter-spacing: -.055em; }
.hero-side { padding-bottom: .6rem; }
.lede { max-width: 40ch; margin: 0; color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.hero-fine { margin: 30px 0 0; color: var(--ink-3); font-size: 14.5px; }

/* the proof strip: frames side by side, the playing one lit, a bar filling under it */
.strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); margin-top: clamp(32px, 4.5vw, 60px); }
.proof { position: relative; display: block; min-width: 0; text-align: left; color: var(--ink-3); }
.proof-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 7px; background: var(--night); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .25s; }
.proof-media img, .proof-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-media video { opacity: 0; transition: opacity .15s; }
.proof-media video.is-ready { opacity: 1; }
.proof:not(.is-on) .proof-media img { filter: saturate(.75); opacity: .78; transition: opacity .2s, filter .2s; }
.proof:hover .proof-media img { opacity: 1; filter: none; }
.proof.is-on .proof-media { box-shadow: 0 0 0 2px var(--ink); transform: translateY(-6px); }
.proof-cap { display: grid; gap: 1px; margin-top: 12px; font-size: 14px; white-space: nowrap; }
.proof-cap b { font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.proof-cap span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.proof.is-on .proof-cap b { color: var(--ink); }
.proof-bar { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
@media (max-width: 1100px) { .hero-top { grid-template-columns: 1fr; align-items: start; } .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(150px, 22vw, 210px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 18px; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; } .strip::-webkit-scrollbar { display: none; } .proof { scroll-snap-align: center; } }
@media (max-width: 560px) { .strip { grid-auto-columns: 44vw; } .hero-h { font-size: clamp(3rem, 15vw, 4.4rem); } }
@media (prefers-reduced-motion: reduce) { .proof-media, .proof-media img, .proof-media video { transition: none; } .proof.is-on .proof-media { transform: none; } }

/* ASCII demo: the one dark band */
.ascii { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: none; margin: 0; padding: clamp(64px, 8vw, 112px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--night); color: #e8eaf6; }
.ascii h2 { margin: 0; font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: .98; letter-spacing: -.045em; color: #fff; }
.ascii-lede { max-width: 46ch; margin: 22px 0 0; color: #b9bede; font-size: clamp(16px, 1.2vw, 18px); }
.ascii-styles { display: inline-flex; margin-top: 30px; padding: 3px; gap: 3px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(232, 234, 246, .22); }
.ascii-styles button { padding: 8px 15px; border-radius: 6px; color: #b9bede; font-size: 14.5px; transition: color .15s, background .15s; }
.ascii-styles button:hover { color: #fff; }
.ascii-styles button[aria-checked="true"] { background: #e8eaf6; color: var(--night); }
.ascii-act { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 22px; }
.ascii .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(232, 234, 246, .5); }
.ascii .btn-ghost:hover { background: rgba(232, 234, 246, .08); }
.ascii .link { color: #fff; border-color: rgba(232, 234, 246, .35); }
.ascii-try { cursor: pointer; }
.ascii-try:focus-within { outline: 2px solid #fff; outline-offset: 3px; }
.ascii-note { margin: 16px 0 0; color: #8b91bd; font-size: 14px; }
.ascii-fig { margin: 0; justify-self: center; width: min(360px, 100%); }
.ascii-fig .win { display: flex; flex-direction: column; }
.ascii-fig .win-body { order: 1; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(232, 234, 246, .16); }
.ascii-fig .win-foot { order: 2; display: flex; align-items: center; gap: 12px; padding: 12px 0 0; color: #8b91bd; font-size: 13px; }
.ascii-fig .win-bar { order: 3; padding: 6px 0 0; color: #6f76a8; font-size: 12.5px; }
.ascii-fig .win-bar i { display: none; }
.win-track { flex: 1; height: 2px; background: rgba(232, 234, 246, .18); position: relative; }
.win-track i { position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: #e8eaf6; }
.ascii-body canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .ascii { grid-template-columns: 1fr; gap: 36px; } .ascii-fig { width: min(340px, 86vw); } }

/* sections */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(52px, 6.5vw, 92px) var(--pad) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.sec-head h2 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: .92; letter-spacing: -.05em; }
.sec-sub { margin: 14px 0 0; color: var(--ink-2); max-width: 60ch; }
.filter { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15.5px; }
.filter button { padding: 4px 0; color: var(--ink-3); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.filter button:hover { color: var(--ink); }
.filter button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.all-head { margin: 40px 0 16px; font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }

/* the looks grid */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 14px; margin-top: 30px; }
.tile { margin: 0; }
.tile-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 7px; background: var(--night); box-shadow: 0 0 0 1px var(--line); }
.tile-media img, .tile-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-media video { opacity: 0; transition: opacity .2s; }
.tile.is-playing .tile-media video { opacity: 1; }
.tile.is-playing .tile-media { box-shadow: 0 0 0 2px var(--ink); }
.tile figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 15px; font-weight: 600; min-width: 0; }
.tile figcaption > .mono:first-child { display: none; }
.tile figcaption .k { margin-left: auto; color: var(--ink-3); font-size: 12.5px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-media .use { position: absolute; left: 50%; bottom: 12px; z-index: 3; transform: translate(-50%, 6px); opacity: 0; padding: 8px 12px; border-radius: 7px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; transition: opacity .15s, transform .15s; }
.tile:hover .tile-media .use, .tile:focus-within .tile-media .use { opacity: 1; transform: translate(-50%, 0); }
.tile-media .use:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.tile-media .uses { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 3px 7px; border-radius: 5px; background: rgba(17, 22, 58, .72); color: #e8eaf6; font-size: 11.5px; }
.tile-media .new { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 8px; border-radius: 5px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 600; }
@media (hover: none) { .tile-media .use { opacity: .96; transform: translate(-50%, 0); padding: 7px 10px; font-size: 12px; } }
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; } }

/* most exported this week */
.hot { margin: 30px 0 0; padding: 18px 18px 16px; border-radius: 12px; background: var(--paper-2); }
.hot-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-width: 0; }
.hot-head h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.hot-total { margin-left: auto; color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 5px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 600; }
.hot-dot { display: none; }
.grid-hot { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.grid-hot .tile figcaption { margin-top: 7px; font-size: 13px; gap: 6px; }
.grid-hot .tile figcaption .k { font-size: 11.5px; }
.tile-media .rank { position: absolute; left: 8px; bottom: 6px; z-index: 2; font-size: 22px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.grid-hot .tile-media .use { bottom: 38px; padding: 7px 9px; font-size: 11.5px; }
@media (max-width: 900px) { .grid-hot { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 128px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .grid-hot .tile { scroll-snap-align: start; } }

/* community */
.grid-comm .tile figcaption { flex-wrap: wrap; }
.grid-comm .tile figcaption .k { margin-left: 0; width: 100%; color: var(--ink-2); }
.swatch { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; transition: opacity .2s; }
.swatch i { display: block; height: 10px; width: 62%; }
.swatch i:nth-child(2) { width: 40%; } .swatch i:nth-child(3) { width: 78%; } .swatch i:nth-child(4) { width: 30%; }
.swatch span { position: absolute; top: 14px; left: 14px; font-size: 12px; }
.tile.is-playing .swatch { opacity: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 14px; background: var(--paper-2); }
.plan h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.plan-price b { font-size: 44px; font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.plan-price span { color: var(--ink-2); font-size: 14.5px; }
.plan-pitch { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.plan-cta { justify-content: center; margin-bottom: 20px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: baseline; }
.plan-list li i { font-style: normal; color: var(--ink); font-weight: 700; }
.plan-list li.no { color: var(--ink-3); }
.plan-list li.no i { color: var(--ink-3); }
.plan-list b { font-weight: 600; }
.plan.is-pop { background: var(--ink); color: var(--paper); }
.plan.is-pop .plan-price span, .plan.is-pop .plan-pitch { color: #c4c9f0; }
.plan.is-pop .plan-list li i { color: var(--paper); }
.plan.is-pop .btn { background: var(--paper); color: var(--ink); }
.plan.is-pop .btn:hover { background: #fff; }
.plan-badge { position: absolute; top: 22px; right: 20px; font-size: 13px; font-weight: 600; color: #c4c9f0; }
.plan .you { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink); font-weight: 600; }
.plans-how { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.plans-how b { color: var(--ink); font-weight: 600; }
.note { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); max-width: 80ch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan.is-pop { order: -1; } }
/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 26px; }
.faq-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.faq-lede { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.faq-lede a { color: var(--ink); border-bottom: 1.5px solid var(--line-2); font-weight: 500; }
.faq-jump { display: grid; }
.faq-jump a { padding: 9px 0; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--line); }
.faq-jump a:hover { color: var(--ink); }
.faq-group { margin: 34px 0 8px; font-size: 19px; color: var(--ink); scroll-margin-top: 96px; }
.faq-group:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1em; text-align: center; font-size: 22px; font-weight: 400; line-height: 1; color: var(--ink-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -4px 0 0; padding: 0 40px 20px 2px; max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } .faq-side { position: static; } }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; max-width: var(--max); margin: clamp(80px, 9vw, 130px) auto 0; padding: 26px var(--pad) 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: var(--ink); }

/* changelog pop-up + "what's new" card */
.nf-dlg { width: min(680px, calc(100vw - 32px)); max-height: min(78vh, 760px); padding: 0; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(17, 22, 58, .45); }
.nf-dlg[open] { display: flex; flex-direction: column; }
.nf-dlg::backdrop { background: rgba(17, 22, 58, .45); }
.nf-dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.nf-dlg-head h2 { margin: 0; font-size: 22px; }
.nf-dlg-x, .nf-new-x { width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); font-size: 22px; line-height: 1; }
.nf-dlg-x:hover, .nf-new-x:hover { background: rgba(31, 44, 168, .08); color: var(--ink); }
.nf-dlg-body { overflow: auto; padding: 18px 20px 22px; }
.nf-log { list-style: none; margin: 8px 0 0; padding: 0; }
.nf-log-item { position: relative; padding: 0 0 28px 26px; border-left: 1.5px solid var(--line); margin-left: 5px; }
.nf-log-item:last-child { border-left-color: transparent; padding-bottom: 6px; }
.nf-log-item::before { content: ""; position: absolute; left: -6px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.nf-log-item:first-child::before { background: var(--ink); box-shadow: none; }
.nf-log-head { display: flex; align-items: center; gap: 12px; }
.nf-log-when { font-size: 13px; color: var(--ink-3); }
.nf-log-tag { font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 5px; background: var(--paper-2); color: var(--ink-2); }
.nf-log-tag.is-new { background: var(--ink); color: var(--paper); }
.nf-log-item h3 { margin: 10px 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.nf-log-item ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.nf-log-more { margin-top: 6px; border-bottom: 1.5px solid var(--line-2); font-size: 14px; color: var(--ink); }
.nf-new { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 12px; max-width: min(440px, calc(100vw - 24px)); padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--night); color: #e8eaf6; box-shadow: 0 20px 50px -18px rgba(17, 22, 58, .6); animation: nf-new-in .3s ease-out; }
.nf-new-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e8eaf6; }
.nf-new-tx { display: grid; gap: 2px; min-width: 0; }
.nf-new-tx .mono { font-size: 12px; color: #8b91bd; }
.nf-new-tx b { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-new-open { flex: none; height: 32px; padding: 0 12px; border-radius: 7px; background: #e8eaf6; color: var(--night); font-size: 13px; font-weight: 600; }
.nf-new-x { color: #8b91bd; }
.nf-new-x:hover { background: rgba(232, 234, 246, .1); color: #fff; }
@keyframes nf-new-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .nf-new { left: 12px; right: 12px; bottom: 12px; } .nf-new-tx b { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nf-new { animation: none; } .btn, .tile-media video, .faq summary::after { transition: none; } }

/* AI Mode: the three steps, in the order you use them, beside three designs it made (staggered like a contact strip) */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ai h2 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: .92; letter-spacing: -.05em; }
.ai-lede { margin: 18px 0 0; max-width: 44ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); }
.ai-steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; display: grid; gap: 0; max-width: 520px; }
.ai-steps li { counter-increment: s; display: grid; grid-template-columns: 2.2em 1fr; column-gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.ai-steps li:last-child { border-bottom: 1px solid var(--line); }
.ai-steps li::before { content: counter(s); grid-row: span 2; font-size: 15px; font-weight: 600; color: var(--ink-3); }
.ai-steps b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.ai-steps span { color: var(--ink-2); font-size: 15.5px; }
.ai-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.ai-fine { color: var(--ink-3); font-size: 14px; }
.ai-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); align-items: start; }
.ai-shots img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: var(--night); box-shadow: 0 0 0 1px var(--line); }
.ai-shots img:nth-child(2) { margin-top: 12%; }
.ai-shots img:nth-child(3) { margin-top: 24%; }
@media (max-width: 900px) { .ai { grid-template-columns: 1fr; } .ai-shots { max-width: 520px; } }

/* the theme switch in the nav */
.theme { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border-radius: 7px; color: var(--ink-2); font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); }
.theme:hover { color: var(--ink); }
.theme-dot { width: 10px; height: 10px; border-radius: 50%; background: #000000; box-shadow: inset 0 0 0 1px var(--line-2); }
:root[data-theme="dark"] .theme-dot { background: #e5e8ed; }
@media (max-width: 560px) { .theme-tx { display: none; } .theme { padding: 0 10px; } }

/* ───────────────────────── black theme ─────────────────────────
   The same page printed in light on black: the ink becomes a pale blue-white, the paper a deep blue-black. */
:root[data-theme="dark"] {
  --paper: #000000; --paper-2: #0c0c0d; --ink: #f3f3f2; --ink-2: #a6a6a4; --ink-3: #6c6c6a;
  --line: rgba(243, 243, 242, .13); --line-2: rgba(243, 243, 242, .28); --night: #000;
  color-scheme: dark;
}
:root[data-theme="dark"] .nav { background: rgba(0, 0, 0, .9); }
@supports (backdrop-filter: blur(8px)) { :root[data-theme="dark"] .nav { background: rgba(0, 0, 0, .78); } }
:root[data-theme="dark"] .btn:hover { background: #fff; }
:root[data-theme="dark"] .btn-ghost:hover { background: rgba(243, 243, 242, .08); }
:root[data-theme="dark"] .ascii { background: #070707; }
:root[data-theme="dark"] .plan.is-pop { background: #f3f3f2; color: #000000; }
:root[data-theme="dark"] .plan.is-pop .plan-price span, :root[data-theme="dark"] .plan.is-pop .plan-pitch, :root[data-theme="dark"] .plan.is-pop .plan-badge { color: #4b5080; }
:root[data-theme="dark"] .plan.is-pop .plan-list li i { color: #000000; }
:root[data-theme="dark"] .plan.is-pop .btn { background: #000000; color: #f3f3f2; }
:root[data-theme="dark"] .proof:not(.is-on) .proof-media img { opacity: .7; }
:root[data-theme="dark"] .tile-media .use { background: #f3f3f2; color: #000000; }
:root[data-theme="dark"] .nf-new { background: #0c0c0d; }

/* ── phones: nav that fits at 320 px, thumb-sized tap targets, a shorter looks list ── */
.btn { white-space: nowrap; }
.more-row { display: none; }
@media (max-width: 640px) {
  .nav-in { gap: 10px; }
  .nav-act { gap: 10px; min-width: 0; }
  .nav-act a, .nav-act button { min-height: 40px; display: inline-flex; align-items: center; }
  .btn-sm { height: 40px; padding: 0 13px; font-size: 14px; }
  .link { display: inline-block; padding-top: 9px; padding-bottom: 7px; }
  .grid.is-clipped > .tile.is-extra { display: none; }
  .more-row { display: flex; justify-content: center; margin-top: 26px; }
  .more-row[hidden] { display: none; }
  .more-row .btn { height: 46px; }
}
@media (max-width: 380px) { #nf-nav-cta { display: none; } }   /* the hero's own button is right below */
@media (pointer: coarse) { .filter button { min-height: 40px; padding-left: 10px; padding-right: 10px; } .tile-media .use { min-height: 40px; } .nav-links a { min-height: 40px; display: inline-flex; align-items: center; } }
.tile-media canvas.recolor { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the big section titles keep room for their descenders (the g of Pricing sat under the plans) */
.sec-head h2, .ai h2 { padding-bottom: .1em; }
.sec-head + .plans { margin-top: 24px; }
.plan-list li > .you { display: block; grid-column: 2; margin-top: -2px; }
