kitbash Sign in Connect agent

Night Editor Chrome

Tech · 7 parts · dark mode · saas · app mockup

A near-black software page set in one grotesk at medium weight, with white and ghost pills, hairline cards on 5% white and a live editor window as the signature picture. Suits tools, apps and open-source products that want to show the product itself, calmly.

Get pack Remix

Whole page

Parts

Top bar

Hairline-bottom bar with drawn wordmark, three quiet links, a star count, ghost and white pills; a rounded menu key opens a panel on phones.

Code React For Figma
<header class="nav">
  <div class="nav__bar">
    <a class="nav__logo" href="#" aria-label="Tidemark home">
      <svg class="nav__mark" viewBox="0 0 28 28" width="28" height="28" aria-hidden="true">
        <path d="M3 9.5c3.2-2.6 6.3-2.6 9.5 0s6.3 2.6 9.5 0" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round"/>
        <path d="M3 17.5c3.2-2.6 6.3-2.6 9.5 0s6.3 2.6 9.5 0" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" opacity="0.45"/>
        <circle cx="24.5" cy="22.5" r="2.5" fill="currentColor"/>
      </svg>
      <span class="nav__word">tidemark</span>
    </a>
    <nav class="nav__links" aria-label="Main">
      <a class="nav__link" href="#">Guides</a>
      <a class="nav__link" href="#">Plans</a>
      <a class="nav__link" href="#">Changelog</a>
    </nav>
    <div class="nav__actions">
      <a class="nav__meta" href="#">
        <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M8 1.5l1.9 4 4.3.5-3.2 3 .9 4.3L8 11.1l-3.9 2.2.9-4.3-3.2-3 4.3-.5z" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/></svg>
        2.4k
      </a>
      <a class="nav__pill nav__pill--ghost" href="#">Log in</a>
      <a class="nav__pill nav__pill--solid" href="#">Start writing</a>
    </div>
    <button class="nav__menu" type="button" aria-expanded="false" aria-label="Open menu">
      <span class="nav__menu-lines" aria-hidden="true"></span>
    </button>
  </div>
  <div class="nav__panel">
    <div class="nav__panel-inner">
      <a class="nav__panel-link" href="#">Guides</a>
      <a class="nav__panel-link" href="#">Plans</a>
      <a class="nav__panel-link" href="#">Changelog</a>
      <a class="nav__panel-link" href="#">Community</a>
      <div class="nav__panel-pills">
        <a class="nav__pill nav__pill--ghost" href="#">Log in</a>
        <a class="nav__pill nav__pill--solid" href="#">Start writing</a>
      </div>
    </div>
  </div>
</header>

<style>
  .nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    border-bottom: var(--rule) solid var(--line);
  }
  .nav__bar {
    display: flex;
    align-items: center;
    gap: var(--space-l);
    height: var(--bar-height);
    padding: 0 var(--edge);
  }
  .nav__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
  }
  .nav__word {
    font-size: 22px;
    font-weight: var(--weight-medium);
    letter-spacing: -0.03em;
  }
  .nav__links {
    display: flex;
    gap: var(--space-xs);
  }
  .nav__link,
  .nav__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 10px;
    color: var(--ink-soft);
    font-size: 15px;
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .nav__link:hover,
  .nav__meta:hover,
  .nav__link:focus-visible,
  .nav__meta:focus-visible {
    color: var(--ink);
  }
  .nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin-left: auto;
  }
  .nav__pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border: var(--rule) solid var(--line-strong);
    border-radius: var(--radius-pill);
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .nav__pill--ghost {
    color: var(--ink);
  }
  .nav__pill--ghost:hover,
  .nav__pill--ghost:focus-visible {
    background: var(--surface-up);
  }
  .nav__pill--solid {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--ink-dark);
  }
  .nav__pill--solid:hover,
  .nav__pill--solid:focus-visible {
    background: var(--ink-soft);
  }
  .nav a:focus-visible,
  .nav__menu:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 2px;
  }
  .nav__menu {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: var(--radius-chip);
    background: var(--ink-soft);
    cursor: pointer;
  }
  .nav__menu-lines,
  .nav__menu-lines::before,
  .nav__menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink-dark);
    transition: transform var(--time) var(--ease), opacity var(--time) var(--ease);
  }
  .nav__menu-lines {
    position: relative;
  }
  .nav__menu-lines::before,
  .nav__menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav__menu-lines::before { top: -6px; }
  .nav__menu-lines::after { top: 6px; }
  .nav.is-open .nav__menu-lines { background: transparent; }
  .nav.is-open .nav__menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

  .nav__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--time) var(--ease);
  }
  .nav__panel-inner {
    overflow: hidden;
    display: grid;
    padding: 0 var(--edge);
  }
  .nav.is-open .nav__panel {
    grid-template-rows: 1fr;
  }
  .nav.is-open .nav__panel-inner {
    padding-bottom: var(--space-l);
  }
  .nav__panel-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: var(--rule) solid var(--line);
    color: var(--ink);
    font-size: 20px;
    font-weight: var(--weight-medium);
    text-decoration: none;
  }
  .nav__panel-pills {
    display: flex;
    gap: var(--space-s);
    padding-top: var(--space-l);
  }
  .nav__panel-pills .nav__pill {
    flex: 1;
    height: 44px;
  }

  @media (max-width: 860px) {
    .nav__links,
    .nav__actions {
      display: none;
    }
    .nav__menu {
      display: grid;
    }
  }
  @media (min-width: 861px) {
    .nav__panel {
      display: none;
    }
  }
</style>

<script>
  (() => {
    for (const root of document.querySelectorAll('.nav')) {
      const button = root.querySelector('.nav__menu');
      if (!button) continue;
      button.addEventListener('click', () => {
        const open = root.classList.toggle('is-open');
        button.setAttribute('aria-expanded', String(open));
        button.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
      });
    }
  })();
</script>

Hero with editor window

Version chip, two-line headline, two pills, then a dark editor window with layers, a white page on the canvas and an assistant pane whose steps tick in.

Code React For Figma
<section class="hero">
  <div class="hero__intro">
    <p class="hero__chip">
      <span class="hero__chip-dot" aria-hidden="true"></span>
      v3.8 <span class="hero__chip-sep" aria-hidden="true">·</span> <span class="hero__chip-soft">Just shipped</span>
    </p>
    <h1 class="hero__title">The layout desk for newsletters written by people and their assistants</h1>
    <p class="hero__lede">Draft in the browser, set every column by hand, and send to your readers from the same window.</p>
    <div class="hero__actions">
      <a class="hero__pill hero__pill--solid" href="#">Start writing</a>
      <a class="hero__pill hero__pill--ghost" href="#">
        <svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="2" fill="none" stroke="currentColor" stroke-width="1.4"/><path d="M5 7l2 1.5L5 10" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
        Read the source
      </a>
    </div>
  </div>

  <div class="hero__window" role="img" aria-label="The Tidemark editor: a layer list, a newsletter page on the canvas and an assistant reworking its header">
    <div class="hero__toolbar">
      <span class="hero__key" aria-hidden="true">
        <svg viewBox="0 0 28 28" width="16" height="16"><path d="M3 9.5c3.2-2.6 6.3-2.6 9.5 0s6.3 2.6 9.5 0M3 17.5c3.2-2.6 6.3-2.6 9.5 0s6.3 2.6 9.5 0" fill="none" stroke="currentColor" stroke-width="3.4" stroke-linecap="round"/></svg>
      </span>
      <span class="hero__saving">Saving…</span>
      <span class="hero__key hero__key--play" aria-hidden="true"><svg viewBox="0 0 10 10" width="9" height="9"><path d="M2 1l7 4-7 4z" fill="currentColor"/></svg></span>
      <span class="hero__publish">Send</span>
    </div>

    <div class="hero__panes">
      <div class="hero__pane hero__pane--layers">
        <div class="hero__seg"><span class="hero__seg-item is-on">Layers</span><span class="hero__seg-item">Issues</span></div>
        <div class="hero__pane-head"><span>Issue 41</span><span class="hero__plus" aria-hidden="true">+</span></div>
        <ul class="hero__tree">
          <li class="hero__row" style="--depth: 0"><span class="hero__caret">⌄</span><span class="hero__box"></span>Page</li>
          <li class="hero__row" style="--depth: 1"><span class="hero__box"></span>Masthead</li>
          <li class="hero__row is-picked" style="--depth: 1"><span class="hero__caret">⌄</span><span class="hero__box"></span>Lead story</li>
          <li class="hero__row is-child" style="--depth: 2"><span class="hero__caret">⌄</span><span class="hero__box"></span>Column</li>
          <li class="hero__row is-child" style="--depth: 3"><span class="hero__box"></span>Headline</li>
          <li class="hero__row is-child" style="--depth: 3"><span class="hero__box"></span>Plate</li>
          <li class="hero__row" style="--depth: 1"><span class="hero__box"></span>Letters</li>
        </ul>
      </div>

      <div class="hero__canvas">
        <div class="hero__canvas-bar">
          <div class="hero__seg hero__seg--small"><span class="hero__seg-item is-on">Desktop</span><span class="hero__seg-item">Inbox</span><span class="hero__seg-item">Print</span></div>
          <span class="hero__zoom">100%</span>
        </div>
        <div class="hero__page">
          <div class="hero__page-nav">
            <span class="hero__page-brand"><i></i>Saltline</span>
            <span class="hero__page-links"><span>Archive</span><span>About</span><span>Letters</span></span>
            <span class="hero__page-btn">Subscribe</span>
          </div>
          <div class="hero__page-body">
            <div class="hero__page-copy">
              <span class="hero__page-tag">Issue 41 · Spring</span>
              <p class="hero__page-head hero__target hero__target--head">Notes from the <em>low</em> tide</p>
              <p class="hero__page-text">Six weeks on the north coast, one camera and a tide table.</p>
            </div>
            <figure class="hero__page-plate hero__target hero__target--plate">
              <img src="assets/lighthouse-rocks.jpg" alt="Bathers on a rocky beach below a cliff" width="1200" height="712" loading="lazy">
            </figure>
          </div>
        </div>
      </div>

      <div class="hero__pane hero__pane--agent">
        <div class="hero__seg"><span class="hero__seg-item">Writer</span><span class="hero__seg-item is-on">Assistant</span></div>
        <div class="hero__field"><span>New thread</span><span aria-hidden="true">⌄</span></div>
        <p class="hero__bubble">Make the lead story a two-column spread</p>
        <p class="hero__working"><span class="hero__spin" aria-hidden="true"></span>Working…</p>
        <ol class="hero__steps">
          <li class="hero__step">Reading the layers</li>
          <li class="hero__step">Splitting the column</li>
          <li class="hero__step">Moving the plate right</li>
          <li class="hero__step">Tightening the headline</li>
        </ol>
      </div>
    </div>
  </div>
</section>

<style>
  .hero {
    padding: clamp(56px, 8vw, 120px) var(--edge) 0;
    overflow: hidden;
  }
  .hero__intro {
    max-width: 880px;
  }
  .hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 10px;
    border: var(--rule) solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: var(--text-xs);
    margin: 0;
  }
  .hero__chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
  }
  .hero__chip-sep,
  .hero__chip-soft { color: var(--ink-mute); }
  .hero__title {
    margin: var(--space-m) 0 0;
    font-size: var(--text-xxl);
    font-weight: var(--weight-medium);
    line-height: 1;
    letter-spacing: var(--track-tight);
    text-wrap: balance;
  }
  .hero__lede {
    margin: var(--space-m) 0 0;
    max-width: 640px;
    color: var(--ink-soft);
    font-size: var(--text-m);
    line-height: 1.6;
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-top: var(--space-l);
  }
  .hero__pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: 44px;
    padding: 0 18px;
    border: var(--rule) solid var(--line-strong);
    border-radius: var(--radius-pill);
    color: var(--ink);
    font-size: var(--text-m);
    text-decoration: none;
    transition: background-color var(--quick) var(--ease);
  }
  .hero__pill--solid {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--ink-dark);
  }
  .hero__pill--solid:hover,
  .hero__pill--solid:focus-visible { background: var(--ink-soft); }
  .hero__pill--ghost:hover,
  .hero__pill--ghost:focus-visible { background: var(--surface-up); }
  .hero a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

  /* The editor window */
  .hero__window {
    margin-top: clamp(48px, 6vw, 72px);
    padding: 6px;
    border: var(--rule) solid var(--line);
    border-bottom: 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: var(--surface);
    box-shadow: var(--shadow-window);
    font-size: var(--text-xs);
    color: var(--ink-soft);
  }
  .hero__toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    padding: 10px 12px;
    border: var(--rule) solid var(--line);
    border-bottom: 0;
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
    background: var(--chrome);
  }
  .hero__key {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--surface-up);
    color: var(--ink);
  }
  .hero__saving {
    margin-left: auto;
    background: linear-gradient(90deg, var(--ink-mute) 0 40%, var(--ink) 50%, var(--ink-mute) 60% 100%) 0 0 / 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-shimmer 2.4s linear infinite;
  }
  .hero__publish {
    display: grid;
    place-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--signal);
    color: var(--ink);
    font-weight: var(--weight-medium);
  }
  .hero__panes {
    display: grid;
    grid-template-columns: minmax(170px, 0.22fr) minmax(0, 1fr) minmax(200px, 0.26fr);
    height: clamp(300px, 34vw, 440px);
    border: var(--rule) solid var(--line);
    border-bottom: 0;
    background: var(--chrome);
  }
  .hero__pane {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    padding: var(--space-m);
    background: var(--chrome-deep);
    overflow: hidden;
  }
  .hero__pane--layers { border-right: var(--rule) solid var(--line); }
  .hero__pane--agent { border-left: var(--rule) solid var(--line); }
  .hero__seg {
    display: flex;
    padding: 3px;
    border-radius: 8px;
    background: var(--surface-up);
  }
  .hero__seg-item {
    flex: 1;
    padding: 5px 10px;
    border-radius: 6px;
    text-align: center;
    color: var(--ink-mute);
    white-space: nowrap;
  }
  .hero__seg-item.is-on {
    background: var(--surface-top);
    color: var(--ink);
  }
  .hero__seg--small .hero__seg-item { flex: none; }
  .hero__pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink);
    font-weight: var(--weight-medium);
  }
  .hero__plus {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--surface-up);
    color: var(--ink-soft);
  }
  .hero__tree {
    margin: 0 calc(var(--space-m) * -1);
    padding: 0;
    list-style: none;
  }
  .hero__row {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding-left: calc(var(--space-m) + var(--depth) * 14px);
    color: var(--ink-mute);
    white-space: nowrap;
  }
  .hero__row.is-picked {
    background: var(--signal);
    color: var(--ink);
  }
  .hero__row.is-child {
    background: var(--signal-deep);
    color: var(--ink-soft);
  }
  .hero__caret { width: 10px; font-size: 10px; }
  .hero__row:not(:has(.hero__caret))::before { content: ""; width: 10px; }
  .hero__box {
    width: 11px;
    height: 9px;
    border: 1.2px solid currentColor;
    border-radius: 2px;
    opacity: 0.8;
  }

  .hero__canvas {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }
  .hero__canvas-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
    padding: 10px;
    border-bottom: var(--rule) solid var(--line);
  }
  .hero__zoom {
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--surface-up);
  }
  .hero__page {
    flex: 1;
    margin: clamp(12px, 2vw, 24px) clamp(12px, 3.4vw, 48px) 0;
    padding: 10px 16px 0;
    border-radius: 4px 4px 0 0;
    background: var(--sheet);
    color: var(--ink-dark);
    overflow: hidden;
  }
  .hero__page-nav {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    font-size: 9px;
  }
  .hero__page-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
  }
  .hero__page-brand i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--ink-dark);
  }
  .hero__page-links {
    display: flex;
    gap: 12px;
    margin: 0 auto;
    color: var(--sheet-ink);
  }
  .hero__page-btn {
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--ink-dark);
    color: var(--sheet);
  }
  .hero__page-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: clamp(14px, 3vw, 36px) clamp(0px, 2vw, 24px);
  }
  .hero__page-tag {
    display: inline-block;
    padding: 2px 7px;
    border: var(--rule) solid var(--sheet-line);
    border-radius: var(--radius-pill);
    color: var(--sheet-ink);
    font-size: 8px;
  }
  .hero__page-head {
    margin: 8px 0 0;
    font-size: clamp(18px, 2.4vw, 30px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .hero__page-head em {
    font-family: var(--font-accent);
    font-weight: 400;
    letter-spacing: 0;
  }
  .hero__page-text {
    margin: 8px 0 0;
    max-width: 24ch;
    color: var(--sheet-ink);
    font-size: 10px;
    line-height: 1.4;
  }
  .hero__page-plate {
    margin: 0;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
  }
  .hero__page-plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* The selection box walks between the headline and the plate as the assistant works */
  .hero__target {
    outline: 1.5px solid transparent;
    outline-offset: 4px;
    transition: outline-color var(--time) var(--ease);
  }
  .hero__window:not(.is-late) .hero__target--head,
  .hero__window.is-late .hero__target--plate {
    outline-color: var(--select);
  }
  .hero__window.is-split .hero__page-body {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }

  .hero__field {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--surface-up);
  }
  .hero__bubble {
    align-self: flex-end;
    max-width: 90%;
    margin: 0;
    padding: 8px 12px;
    border: var(--rule) solid var(--line-strong);
    border-radius: var(--radius-panel);
    background: var(--surface);
    color: var(--ink);
    line-height: 1.4;
  }
  .hero__working {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
  }
  .hero__spin {
    width: 11px;
    height: 11px;
    border: 1.5px solid var(--line-strong);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: hero-spin 0.9s linear infinite;
  }
  .hero__steps {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 12px;
    border-left: var(--rule) solid var(--line-strong);
    list-style: none;
  }
  .hero__step {
    display: flex;
    gap: 6px;
    opacity: 0.25;
    transition: opacity var(--time) var(--ease);
  }
  .hero__step::before {
    content: "✓";
    color: var(--ink-mute);
  }
  .hero__step.is-done { opacity: 1; }
  .hero__step.is-done::before { color: var(--ok); }

  .hero__window.is-paused .hero__saving,
  .hero__window.is-paused .hero__spin { animation-play-state: paused; }

  @keyframes hero-spin { to { transform: rotate(1turn); } }
  @keyframes hero-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

  @media (max-width: 980px) {
    .hero__panes { grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr); }
    .hero__pane--agent { display: none; }
  }
  @media (max-width: 640px) {
    .hero__panes { grid-template-columns: minmax(0, 1fr); height: 300px; }
    .hero__pane--layers { display: none; }
    .hero__page-links { display: none; }
    .hero__page-btn { margin-left: auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__saving { animation: none; color: var(--ink-mute); }
    .hero__spin { animation: none; }
    .hero__step { opacity: 1; }
  }
</style>

<script>
  (() => {
    const still = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
    for (const root of document.querySelectorAll('.hero')) {
      const win = root.querySelector('.hero__window');
      const steps = [...root.querySelectorAll('.hero__step')];
      if (!win || !steps.length) continue;
      let index = 0;
      let timer = 0;
      let visible = false;
      const show = (n) => {
        steps.forEach((step, i) => step.classList.toggle('is-done', i < n));
        win.classList.toggle('is-split', n >= 2);
        win.classList.toggle('is-late', n >= 3);
      };
      if (still) { show(steps.length); continue; }
      show(1);
      index = 1;
      const tick = () => {
        index = index > steps.length ? 0 : index + 1;
        show(Math.min(index, steps.length));
        timer = setTimeout(tick, index >= steps.length ? 2400 : 1100);
      };
      new IntersectionObserver(([entry]) => {
        visible = entry.isIntersecting;
        win.classList.toggle('is-paused', !visible);
        clearTimeout(timer);
        if (visible) timer = setTimeout(tick, 1100);
      }).observe(win);
    }
  })();
</script>

Window glimpse and statement

A canvas window fading into the dark, with a white page of three cards, followed by two columns of grey copy with white lead-ins.

Code React For Figma
<section class="statement">
  <div class="statement__glimpse statement__item" aria-hidden="true">
    <div class="statement__frame">
      <div class="statement__rail">
        <span class="statement__rail-row is-on"></span>
        <span class="statement__rail-row"></span>
        <span class="statement__rail-row"></span>
        <span class="statement__rail-row"></span>
      </div>
      <div class="statement__sheet">
        <p class="statement__sheet-kicker">This week</p>
        <p class="statement__sheet-head">Three letters from the harbour</p>
        <div class="statement__cards">
          <div class="statement__card">
            <img class="statement__card-img" src="assets/boats-beach.jpg" alt="" width="800" height="638" loading="lazy">
            <span class="statement__card-title">Boats on the shingle</span>
            <span class="statement__card-line"></span>
          </div>
          <div class="statement__card">
            <img class="statement__card-img" src="assets/boats-rest.jpg" alt="" width="800" height="579" loading="lazy">
            <span class="statement__card-title">A blue hull at rest</span>
            <span class="statement__card-line"></span>
          </div>
          <div class="statement__card statement__card--note">
            <span class="statement__card-quote">“Fold it twice and it still reads.”</span>
            <span class="statement__card-title">Reader mail</span>
            <span class="statement__card-line"></span>
          </div>
        </div>
      </div>
      <div class="statement__rail statement__rail--right">
        <span class="statement__rail-field"></span>
        <span class="statement__rail-field"></span>
      </div>
    </div>
  </div>

  <div class="statement__copy">
    <p class="statement__para statement__item"><span class="statement__lead">An assistant can fill a page in a minute.</span> Most of them hand it back sealed: columns you cannot nudge, type you cannot change and an issue you cannot take elsewhere. The moment you want it your way, you start over.</p>
    <p class="statement__para statement__item"><span class="statement__lead">Here, every suggestion lands as real layers.</span> Ask for a spread, then move each column by hand. The words stay yours, the grid stays editable, and the assistant only saves you the typing.</p>
  </div>
</section>

<style>
  .statement {
    padding: var(--section-space) var(--edge);
  }
  .statement__glimpse {
    -webkit-mask-image: linear-gradient(to bottom, var(--ink) 35%, transparent 96%);
    mask-image: linear-gradient(to bottom, var(--ink) 35%, transparent 96%);
  }
  .statement__frame {
    display: grid;
    grid-template-columns: minmax(0, 0.18fr) minmax(0, 1fr) minmax(0, 0.18fr);
    height: clamp(240px, 32vw, 420px);
    border: var(--rule) solid var(--line);
    border-bottom: 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: var(--chrome);
    overflow: hidden;
  }
  .statement__rail {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: var(--space-m);
    border-right: var(--rule) solid var(--line);
    background: var(--chrome-deep);
  }
  .statement__rail--right {
    border-right: 0;
    border-left: var(--rule) solid var(--line);
  }
  .statement__rail-row,
  .statement__rail-field {
    height: 8px;
    border-radius: 4px;
    background: var(--surface-up);
  }
  .statement__rail-row.is-on { background: var(--signal); }
  .statement__rail-field { height: 26px; border-radius: 6px; }
  .statement__sheet {
    margin: var(--space-l) clamp(12px, 4vw, 56px) 0;
    padding: clamp(16px, 3vw, 36px);
    border-radius: 4px 4px 0 0;
    background: var(--sheet);
    color: var(--ink-dark);
  }
  .statement__sheet-kicker {
    margin: 0;
    color: var(--sheet-ink);
    font-size: 10px;
  }
  .statement__sheet-head {
    margin: 4px 0 0;
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 600;
    letter-spacing: -0.03em;
  }
  .statement__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: var(--space-m);
  }
  .statement__card {
    display: grid;
    gap: 6px;
    padding: 6px;
    border: var(--rule) solid var(--sheet-line);
    border-radius: 6px;
  }
  .statement__card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 3px;
  }
  .statement__card--note {
    align-content: end;
  }
  .statement__card-quote {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    padding: 8px;
    border-radius: 3px;
    background: var(--ink-dark);
    color: var(--sheet);
    font-family: var(--font-accent);
    font-size: clamp(11px, 1.4vw, 17px);
    font-style: italic;
    line-height: 1.1;
    text-align: center;
  }
  .statement__card-title {
    font-size: 10px;
    font-weight: 600;
  }
  .statement__card-line {
    width: 70%;
    height: 5px;
    border-radius: 3px;
    background: var(--sheet-line);
  }

  .statement__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 6vw, 96px);
    margin-top: var(--space-m);
    position: relative;
  }
  .statement__para {
    margin: 0;
    max-width: 52ch;
    color: var(--ink-mute);
    font-size: var(--text-m);
    line-height: 1.6;
  }
  .statement__lead { color: var(--ink); }

  .statement__item {
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
    transition-delay: calc(var(--order, 0) * 80ms);
  }
  .statement.is-seen .statement__item { opacity: 1; translate: 0 0; }

  @media (max-width: 720px) {
    .statement__copy { grid-template-columns: 1fr; margin-top: 0; }
    .statement__frame { grid-template-columns: minmax(0, 1fr); }
    .statement__rail { display: none; }
    .statement__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .statement__card--note { display: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .statement__item { opacity: 1; translate: none; transition: none; }
  }
</style>

<script>
  (() => {
    const seen = new IntersectionObserver((entries) => {
      for (const entry of entries) {
        if (!entry.isIntersecting) continue;
        entry.target.classList.add('is-seen');
        seen.unobserve(entry.target);
      }
    }, { threshold: 0.15 });
    for (const root of document.querySelectorAll('.statement')) {
      root.querySelectorAll('.statement__item').forEach((item, order) => item.style.setProperty('--order', order));
      seen.observe(root);
    }
  })();
</script>

Plans with meters

Monthly/yearly segmented toggle, three hairline plan cards with a meter box each; the third card is lit with grain and a white pill.

Code React For Figma
<section class="pricing is-yearly">
  <div class="pricing__head">
    <div>
      <h2 class="pricing__title">Plans</h2>
      <p class="pricing__lede">Start on the free desk. Every plan carries assistant credits, so the helper works from the first issue, with nothing to wire up.</p>
    </div>
    <div class="pricing__toggle" role="group" aria-label="Billing period">
      <span class="pricing__thumb" aria-hidden="true"></span>
      <button class="pricing__option" type="button" data-period="monthly" aria-pressed="false">Monthly</button>
      <button class="pricing__option" type="button" data-period="yearly" aria-pressed="true">Yearly</button>
    </div>
  </div>

  <div class="pricing__grid">
    <article class="pricing__card">
      <h3 class="pricing__name">Draft</h3>
      <p class="pricing__blurb">Try the desk and the assistant before you send anything.</p>
      <p class="pricing__price"><span class="pricing__amount">$0</span></p>
      <p class="pricing__note">No card needed</p>
      <div class="pricing__meter">
        <div class="pricing__meter-top"><span><span class="pricing__spark" aria-hidden="true">✦</span> Credits</span><span>Once</span></div>
        <span class="pricing__meter-value">400</span>
        <span class="pricing__bar" style="--fill: 12%"></span>
      </div>
      <a class="pricing__pill" href="#">Start free</a>
      <ul class="pricing__list">
        <li class="pricing__item pricing__item--no">No custom sender</li>
        <li class="pricing__item">One issue draft</li>
      </ul>
    </article>

    <article class="pricing__card">
      <h3 class="pricing__name">Desk</h3>
      <p class="pricing__blurb">A live newsletter on your own address, sent weekly.</p>
      <p class="pricing__price">
        <span class="pricing__amount pricing__amount--month">$9</span><span class="pricing__amount pricing__amount--year">$7</span>
        <span class="pricing__per">/ month</span>
        <span class="pricing__save">Save 22%</span>
      </p>
      <p class="pricing__note"><span class="pricing__amount--year">Billed yearly, $84 a year</span><span class="pricing__amount--month">Billed every month</span></p>
      <div class="pricing__meter">
        <div class="pricing__meter-top"><span><span class="pricing__spark" aria-hidden="true">✦</span> Credits</span><span>Every month</span></div>
        <span class="pricing__meter-value">1,200</span>
        <span class="pricing__bar" style="--fill: 32%"></span>
      </div>
      <a class="pricing__pill" href="#">Start free</a>
      <ul class="pricing__list">
        <li class="pricing__item">Custom sender address</li>
        <li class="pricing__item">5,000 readers</li>
      </ul>
    </article>

    <article class="pricing__card pricing__card--lit">
      <h3 class="pricing__name">Press</h3>
      <p class="pricing__blurb">Three times the credits, sections, and every language.</p>
      <p class="pricing__price">
        <span class="pricing__amount pricing__amount--month">$24</span><span class="pricing__amount pricing__amount--year">$20</span>
        <span class="pricing__per">/ month</span>
        <span class="pricing__save">Save 17%</span>
      </p>
      <p class="pricing__note"><span class="pricing__amount--year">Billed yearly, $240 a year</span><span class="pricing__amount--month">Billed every month</span></p>
      <div class="pricing__meter">
        <div class="pricing__meter-top"><span><span class="pricing__spark" aria-hidden="true">✦</span> Credits</span><span>Every month</span></div>
        <span class="pricing__meter-value">4,000</span>
        <span class="pricing__bar" style="--fill: 100%"></span>
      </div>
      <a class="pricing__pill pricing__pill--solid" href="#">Start free</a>
      <ul class="pricing__list">
        <li class="pricing__item">Everything in Desk</li>
        <li class="pricing__item">25,000 readers</li>
      </ul>
    </article>
  </div>
</section>

<style>
  .pricing {
    padding: var(--section-space) var(--edge);
  }
  .pricing__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-l);
    margin-bottom: var(--space-xl);
  }
  .pricing__title {
    margin: 0;
    font-size: var(--text-xl);
    font-weight: var(--weight-medium);
    line-height: 1.1;
    letter-spacing: var(--track-tight);
  }
  .pricing__lede {
    max-width: 540px;
    margin: var(--space-m) 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
  }
  .pricing__toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
  }
  .pricing__thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    border-radius: var(--radius-pill);
    background: var(--surface-top);
    transition: translate var(--time) var(--ease);
  }
  .pricing.is-yearly .pricing__thumb { translate: 100% 0; }
  .pricing__option {
    position: relative;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    color: var(--ink-soft);
    font: inherit;
    font-size: var(--text-s);
    cursor: pointer;
    transition: color var(--quick) var(--ease);
  }
  .pricing__option[aria-pressed="true"] { color: var(--ink); }
  .pricing button:focus-visible,
  .pricing a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

  .pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
  }
  .pricing__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-l);
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-card);
    background: var(--paper);
  }
  .pricing__card--lit {
    background: var(--grain), radial-gradient(120% 90% at 0% 0%, var(--surface-top), var(--surface) 70%);
    border-color: var(--line-strong);
  }
  .pricing__name {
    margin: 0;
    font-size: var(--text-l);
    font-weight: 400;
    line-height: 1.2;
  }
  .pricing__blurb {
    margin: 6px 0 0;
    min-height: 3.2em;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .pricing__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: var(--space-l) 0 0;
  }
  .pricing__amount {
    font-size: var(--text-price);
    font-weight: var(--weight-medium);
    line-height: 1;
    letter-spacing: var(--track-tight);
  }
  .pricing.is-yearly .pricing__amount--month,
  .pricing:not(.is-yearly) .pricing__amount--year,
  .pricing:not(.is-yearly) .pricing__save { display: none; }
  .pricing__per { color: var(--ink-soft); font-size: var(--text-s); }
  .pricing__save {
    align-self: center;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--surface-top);
    font-size: var(--text-xs);
  }
  .pricing__note {
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: var(--text-s);
  }
  .pricing__meter {
    display: grid;
    gap: 6px;
    margin-top: var(--space-l);
    padding: var(--space-m);
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--surface);
  }
  .pricing__meter-top {
    display: flex;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: var(--text-xs);
  }
  .pricing__spark { margin-right: 4px; }
  .pricing__meter-value { font-size: var(--text-l); line-height: 1.2; }
  .pricing__bar {
    position: relative;
    height: 4px;
    margin-top: 4px;
    border-radius: 2px;
    background: var(--surface-up);
    overflow: hidden;
  }
  .pricing__bar::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    border-radius: inherit;
    background: var(--ink-soft);
    transition: width var(--time) var(--ease);
  }
  .pricing__card--lit .pricing__bar::after { background: var(--ink); }
  .pricing__pill {
    display: grid;
    place-items: center;
    min-height: 44px;
    margin-top: var(--space-l);
    border: var(--rule) solid var(--line-strong);
    border-radius: var(--radius-pill);
    color: var(--ink);
    font-size: var(--text-s);
    text-decoration: none;
    transition: background-color var(--quick) var(--ease);
  }
  .pricing__pill:hover { background: var(--surface-up); }
  .pricing__pill--solid {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--ink-dark);
  }
  .pricing__pill--solid:hover { background: var(--ink-soft); }
  .pricing__list {
    display: grid;
    gap: 10px;
    margin: var(--space-l) 0 0;
    padding: var(--space-l) 0 0;
    border-top: var(--rule) solid var(--line);
    list-style: none;
  }
  .pricing__item {
    display: flex;
    gap: 10px;
    font-size: var(--text-s);
  }
  .pricing__item::before { content: "✓"; color: var(--ink-mute); }
  .pricing__item--no { color: var(--ink-soft); }
  .pricing__item--no::before { content: "–"; }

  @media (max-width: 900px) {
    .pricing__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
    .pricing__blurb { min-height: 0; }
  }
</style>

<script>
  (() => {
    for (const root of document.querySelectorAll('.pricing')) {
      const options = root.querySelectorAll('.pricing__option');
      for (const option of options) {
        option.addEventListener('click', () => {
          const yearly = option.dataset.period === 'yearly';
          root.classList.toggle('is-yearly', yearly);
          options.forEach((o) => o.setAttribute('aria-pressed', String(o === option)));
        });
      }
    }
  })();
</script>

Usage calculator

How credits are spent, a 2 by 2 list of costs and a card with a range slider that recomputes the pack price.

Code React For Figma
<section class="usage">
  <div class="usage__intro">
    <h2 class="usage__title">How credits are spent</h2>
    <p class="usage__lede">Each request to the assistant costs credits, by how much it reads and writes. Small edits cost little; a whole issue costs more.</p>
  </div>

  <div class="usage__body">
    <div class="usage__costs">
      <div class="usage__costs-head"><span>A full issue layout</span><span class="usage__costs-num">≈ 40 credits</span></div>
      <dl class="usage__grid">
        <div class="usage__cell">
          <dt class="usage__cell-title">Model picked for you</dt>
          <dd class="usage__cell-text">A quick model for small fixes, a careful one when the page is long.</dd>
        </div>
        <div class="usage__cell">
          <dt class="usage__cell-title">Monthly or once</dt>
          <dd class="usage__cell-text">Plan credits refill on the first. Packs you buy never run out.</dd>
        </div>
        <div class="usage__cell">
          <dt class="usage__cell-title">Shared by the desk</dt>
          <dd class="usage__cell-text">One pool for the whole masthead, spent by whoever asks.</dd>
        </div>
        <div class="usage__cell">
          <dt class="usage__cell-title">Or bring your own key</dt>
          <dd class="usage__cell-text">Self-hosted desks connect any provider and skip credits.</dd>
        </div>
      </dl>
    </div>

    <div class="usage__card">
      <div class="usage__card-top">
        <span class="usage__card-label"><span aria-hidden="true">✦</span> Top-up pack</span>
        <span class="usage__badge">Never expires</span>
      </div>
      <div class="usage__readout">
        <output class="usage__value" for="usage-range">2,000</output>
        <span class="usage__unit">credits</span>
        <output class="usage__price">$10</output>
      </div>
      <label class="usage__slider">
        <span class="usage__sr">Credits in the pack</span>
        <input class="usage__range" id="usage-range" type="range" min="1" max="10" step="1" value="2" style="--fill: 11.1%">
      </label>
      <div class="usage__ticks" aria-hidden="true"><span>1,000</span><span>5,000</span><span>10,000</span></div>
      <p class="usage__fine">$5 for every 1,000 credits. Packs stack on any paid plan.</p>
    </div>
  </div>
</section>

<style>
  .usage {
    padding: var(--section-space) var(--edge);
  }
  .usage__intro {
    max-width: 620px;
  }
  .usage__title {
    margin: 0;
    font-size: var(--text-l);
    font-weight: var(--weight-medium);
    line-height: 1.2;
  }
  .usage__lede {
    margin: var(--space-s) 0 0;
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: 1.6;
  }
  .usage__body {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 80px);
    margin-top: var(--space-xl);
    align-items: start;
  }
  .usage__costs-head {
    display: flex;
    justify-content: space-between;
    padding-bottom: var(--space-m);
    border-bottom: var(--rule) solid var(--line);
    font-size: var(--text-s);
  }
  .usage__costs-num { color: var(--ink-mute); }
  .usage__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-l) var(--gap);
    margin: var(--space-l) 0 0;
  }
  .usage__cell-title {
    font-size: var(--text-s);
    font-weight: var(--weight-medium);
  }
  .usage__cell-text {
    margin: 4px 0 0;
    color: var(--ink-mute);
    font-size: var(--text-xs);
    line-height: 1.5;
  }
  .usage__card {
    padding: var(--space-l);
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
  }
  .usage__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: var(--text-xs);
  }
  .usage__badge {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--surface-top);
    color: var(--ink);
  }
  .usage__readout {
    display: flex;
    align-items: baseline;
    gap: var(--space-s);
    margin-top: var(--space-m);
  }
  .usage__value {
    font-size: var(--text-l);
    font-variant-numeric: tabular-nums;
  }
  .usage__unit { color: var(--ink-mute); font-size: var(--text-s); }
  .usage__price {
    margin-left: auto;
    font-size: var(--text-l);
    font-variant-numeric: tabular-nums;
  }
  .usage__slider {
    display: block;
    margin-top: var(--space-m);
  }
  .usage__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .usage__range {
    width: 100%;
    height: 44px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .usage__range::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--ink) var(--fill), var(--surface-top) var(--fill));
  }
  .usage__range::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--ink) var(--fill), var(--surface-top) var(--fill));
  }
  .usage__range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 0 4px var(--surface-up);
    transition: box-shadow var(--quick) var(--ease);
    -webkit-appearance: none;
  }
  .usage__range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
  }
  .usage__range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 7px var(--surface-top); }
  .usage__range:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: var(--radius-chip); }
  .usage__ticks {
    display: flex;
    justify-content: space-between;
    color: var(--ink-mute);
    font-size: var(--text-xs);
  }
  .usage__fine {
    margin: var(--space-l) 0 0;
    padding-top: var(--space-m);
    border-top: var(--rule) solid var(--line);
    color: var(--ink-mute);
    font-size: var(--text-xs);
  }

  @media (max-width: 820px) {
    .usage__body { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 480px) {
    .usage__grid { grid-template-columns: minmax(0, 1fr); }
  }
</style>

<script>
  (() => {
    for (const root of document.querySelectorAll('.usage')) {
      const range = root.querySelector('.usage__range');
      const value = root.querySelector('.usage__value');
      const price = root.querySelector('.usage__price');
      if (!range || !value || !price) continue;
      const update = () => {
        const n = Number(range.value);
        const min = Number(range.min);
        const max = Number(range.max);
        range.style.setProperty('--fill', ((n - min) / (max - min)) * 100 + '%');
        value.textContent = (n * 1000).toLocaleString('en-US');
        price.textContent = '$' + n * 5;
      };
      range.addEventListener('input', update);
      update();
    }
  })();
</script>

Quote cards

Three columns of hairline quote cards with a name, a role and a small rounded portrait; one card spans wide.

Code React For Figma
<section class="testimonials">
  <h2 class="testimonials__title">Read by the people who write them</h2>
  <div class="testimonials__grid">
    <figure class="testimonials__card">
      <blockquote class="testimonials__quote">“I moved four years of issues over in an afternoon. The archive finally looks like one publication.”</blockquote>
      <figcaption class="testimonials__who">
        <span class="testimonials__name">Ada Marlow<span class="testimonials__role">Editor, The Weekly Shore</span></span>
        <img class="testimonials__face" src="assets/portrait-woman.jpg" alt="Painted portrait of a young woman in black" width="320" height="400" loading="lazy">
      </figcaption>
    </figure>
    <figure class="testimonials__card">
      <blockquote class="testimonials__quote">“The assistant drafts the layout, I fix the kerning. That split is exactly right.”</blockquote>
      <figcaption class="testimonials__who">
        <span class="testimonials__name">Tomas Reyes<span class="testimonials__role">Designer, Low Water Press</span></span>
        <span class="testimonials__face testimonials__face--drawn" aria-hidden="true">TR</span>
      </figcaption>
    </figure>
    <figure class="testimonials__card">
      <blockquote class="testimonials__quote">“Open source mattered to us. We host it on our own box and nobody can take the letters away.”</blockquote>
      <figcaption class="testimonials__who">
        <span class="testimonials__name">Henry Bell<span class="testimonials__role">Publisher, Harbour Notes</span></span>
        <img class="testimonials__face" src="assets/portrait-grey.jpg" alt="Painted portrait of an older man with grey hair" width="320" height="400" loading="lazy">
      </figcaption>
    </figure>
    <figure class="testimonials__card">
      <blockquote class="testimonials__quote">“For a two-person desk it does the work of a third.”</blockquote>
      <figcaption class="testimonials__who">
        <span class="testimonials__name">Ines Vale<span class="testimonials__role">Founder, Saltline</span></span>
        <span class="testimonials__face testimonials__face--drawn" aria-hidden="true">IV</span>
      </figcaption>
    </figure>
    <figure class="testimonials__card testimonials__card--wide">
      <blockquote class="testimonials__quote">“We had been gluing a page builder to a mailing tool for two years. Rebuilding on one desk took a week, and the open rate went up because the issues finally look cared for.”</blockquote>
      <figcaption class="testimonials__who">
        <span class="testimonials__name">Frans Hollis<span class="testimonials__role">Growth lead, Tideway Review</span></span>
        <img class="testimonials__face" src="assets/portrait-artist.jpg" alt="Painted portrait of a man in a broad black hat" width="320" height="400" loading="lazy">
      </figcaption>
    </figure>
  </div>
</section>

<style>
  .testimonials {
    padding: var(--section-space) var(--edge);
  }
  .testimonials__title {
    max-width: 18ch;
    margin: 0 0 var(--space-xl);
    font-size: var(--text-xl);
    font-weight: var(--weight-medium);
    line-height: 1.1;
    letter-spacing: var(--track-tight);
  }
  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
  }
  .testimonials__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-l);
    margin: 0;
    padding: var(--space-l) 24px 24px;
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease);
  }
  .testimonials__card:hover {
    border-color: var(--line-strong);
    background: var(--surface-up);
  }
  .testimonials__card--wide {
    grid-column: span 2;
    background: var(--grain), radial-gradient(120% 120% at 100% 0%, var(--surface-top), var(--surface) 70%);
  }
  .testimonials__quote {
    margin: 0;
    font-size: var(--text-m);
    line-height: 1.5;
  }
  .testimonials__card--wide .testimonials__quote {
    font-size: clamp(17px, 1.6vw, 20px);
  }
  .testimonials__who {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
  }
  .testimonials__name {
    display: grid;
    font-size: var(--text-s);
  }
  .testimonials__role {
    color: var(--ink-mute);
    font-size: var(--text-xs);
  }
  .testimonials__face {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-chip);
    object-fit: cover;
    object-position: 50% 22%;
    filter: grayscale(0.3);
  }
  .testimonials__face--drawn {
    display: grid;
    place-items: center;
    background: var(--surface-top);
    color: var(--ink);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
  }

  @media (max-width: 900px) {
    .testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 600px) {
    .testimonials__grid { grid-template-columns: minmax(0, 1fr); }
    .testimonials__card--wide { grid-column: auto; }
  }
</style>

Style

  • --paper #0a0a0a
  • --ink #ffffff
  • --ink-soft rgba(255, 255, 255, 0.7)
  • --ink-mute rgba(255, 255, 255, 0.45)
  • --ink-dark #0a0a0a
  • --surface rgba(255, 255, 255, 0.05)
  • --surface-up rgba(255, 255, 255, 0.08)
  • --surface-top rgba(255, 255, 255, 0.14)
  • --line rgba(255, 255, 255, 0.1)
  • --line-strong rgba(255, 255, 255, 0.18)
  • --chrome #141414
  • --chrome-deep #0f0f0f
  • --sheet #ffffff
  • --sheet-ink #6b6b6b
  • --sheet-line #dedede
  • --signal #1d72f0
  • --signal-deep #12365f
  • --select #a78bfa
  • --ok #34d399

Type

  • Inter for everything: headlines, text, UI, stands in for the site's own Inter, set at 400 and 500 only
  • Instrument Serif for one italic accent word inside the mock page, stands in for the italic display word on the sample page shown in the editor

Motion

  • Pills and links change fill and colour on hover in 150 ms.
  • Meters, the segmented toggle and the phone menu change size in 220 ms ease.
  • In the editor window the assistant's steps tick in one by one every 1.1 s, a spinner turns and 'Saving…' shimmers, all stopped off screen.
  • Sections fade up 16 px over 600 ms when they enter the view, a beat apart.

Rules

  • One family, two weights: 500 for headings and buttons, 400 for everything else; no bold.
  • Near-black page; cards are 5% white with a 1 px 10% white border and 16 px corners.
  • Primary action is a solid white pill with dark text, secondary a ghost pill with a hairline; blue appears only on the editor's publish button and selected row.
  • Headings sit left-aligned, small for their role (40 px sections, 56 px hero) with slight negative tracking.
  • The product is shown, not described: an editor window with panes, tabs and a white page inside.
  • Numbers get a thin meter bar under them; small labels carry a sparkle glyph.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Instrument+Serif:ital@1&display=swap");

:root {
  /* Colour */
  --paper: #0a0a0a; /* page background, near black */
  --ink: #ffffff; /* main text and the solid primary pill */
  --ink-soft: rgba(255, 255, 255, 0.7); /* secondary text, nav links */
  --ink-mute: rgba(255, 255, 255, 0.45); /* captions, labels, small print */
  --ink-dark: #0a0a0a; /* text on white pills and on the white canvas page */
  --surface: rgba(255, 255, 255, 0.05); /* card and panel fill */
  --surface-up: rgba(255, 255, 255, 0.08); /* raised chip, active segment, hover fill */
  --surface-top: rgba(255, 255, 255, 0.14); /* selected segment in a toggle */
  --line: rgba(255, 255, 255, 0.1); /* hairline borders and dividers */
  --line-strong: rgba(255, 255, 255, 0.18); /* ghost pill border, focused field */
  --chrome: #141414; /* editor window body */
  --chrome-deep: #0f0f0f; /* editor side panes */
  --sheet: #ffffff; /* white page shown inside the editor canvas */
  --sheet-ink: #6b6b6b; /* small grey text on the white page */
  --sheet-line: #dedede; /* hairline on the white page */
  --signal: #1d72f0; /* the one blue: publish button, selected layer row, links */
  --signal-deep: #12365f; /* dimmed blue for child rows under a selected layer */
  --select: #a78bfa; /* violet selection outline on the canvas */
  --ok: #34d399; /* small live dot */

  /* Type */
  --font-body: "Inter", system-ui, sans-serif; /* everything: headlines, text, UI */
  --font-accent: "Instrument Serif", Georgia, serif; /* one italic word inside the canvas mock */
  --text-xs: 12px; /* labels and fine print */
  --text-s: 14px; /* UI, buttons, captions */
  --text-m: 16px; /* running text */
  --text-l: 24px; /* card titles, quotes */
  --text-xl: clamp(32px, 4.4vw, 40px); /* section headings */
  --text-xxl: clamp(38px, 6vw, 56px); /* hero headline */
  --text-price: clamp(36px, 4vw, 48px); /* plan price */
  --weight-medium: 500; /* headings, buttons */
  --track-tight: -0.02em; /* large headings */

  /* Space */
  --edge: clamp(20px, 5.5vw, 80px); /* side padding of a section */
  --section-space: clamp(72px, 10vw, 140px); /* air above and below a section */
  --gap: clamp(12px, 1.6vw, 24px); /* between cards and columns */
  --space-xs: 4px; /* inside chips */
  --space-s: 8px; /* icon to label, between pills */
  --space-m: 16px; /* inside small panels */
  --space-l: 32px; /* inside cards, between blocks */
  --space-xl: 56px; /* between heading and content */
  --bar-height: 84px; /* top bar */

  /* Shape */
  --radius-pill: 100px; /* buttons, chips, segmented toggles */
  --radius-card: 16px; /* cards and the editor window */
  --radius-panel: 12px; /* inner panels, meters boxes */
  --radius-chip: 10px; /* icon buttons, fields, layer rows */
  --rule: 1px; /* every border and divider */
  --shadow-window: 0 40px 120px -20px rgba(0, 0, 0, 0.8); /* the editor window lifting off the page */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); /* fine white noise on the featured card */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); /* default easing */
  --quick: 150ms; /* hover colour change on pills and links */
  --time: 220ms; /* size changes: meters, menu, segment slide */
  --slow: 600ms; /* reveals */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

For your agent

Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("night-editor-chrome"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect