@charset "UTF-8";

:root {
  --paper: #f7f6f2;
  --white: #fffefa;
  --ink: #24282a;
  --muted: #62676a;
  --line: #dedfda;
  --lilac: #e6e1f7;
  --purple: #6450c1;
  --butter: #f5e4a7;
  --mint: #dfe9d8;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Charter, "Bitstream Charter", Georgia, serif;
  --ease: 180ms ease;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; background: none; }
button:disabled { cursor: default; opacity: .5; }
img, svg { display: block; }
img { max-width: 100%; }
::selection { background: #dbd1ff; color: #25212e; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.container { width: calc(100% - 112px); max-width: 1200px; margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.apple-icon, .facts-strip .icon:has(use[href="#i-apple"]) { fill: currentColor; stroke: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 650; letter-spacing: 1.5px; line-height: 1.6; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 14px 23px; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #413759; box-shadow: 0 5px 12px #24282a12; transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); box-shadow: none; }
.button-small { min-height: 44px; font-size: 12px; padding: 10px 18px; }
.button .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 12px; font-weight: 600; line-height: 1.5; text-underline-offset: 5px; }
.text-link .icon { width: 17px; height: 17px; transition: transform var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }

/* A quiet frame for a more expressive first impression. */
.site-header { position: relative; z-index: 10; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 31px; font-weight: 750; letter-spacing: -1.6px; line-height: 1; }
.brand img { flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 22px; }
.site-nav a { display: flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 500; transition: color var(--ease); }
.site-nav a:hover { color: var(--purple); }
.mobile-menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 34px; padding-top: 62px; padding-bottom: 83px; }
.hero-copy { position: relative; z-index: 2; }
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 4px #6450c10b; }
.hero h1 { font-size: clamp(72px, 7.35vw, 106px); line-height: 1.025; letter-spacing: -.055em; word-spacing: .035em; font-weight: 750; margin: 29px 0 28px; }
.hero-small { position: relative; display: inline-block; color: var(--purple); padding-bottom: 9px; }
.hero-small svg { position: absolute; width: 103%; height: 28px; left: -2px; bottom: -8px; fill: none; stroke: #9f8ce8; stroke-width: 2.7; stroke-linecap: round; }
.hero-description { max-width: 415px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; column-gap: 24px; row-gap: 8px; margin-top: 30px; }
.hero-meta { font-size: 10px; color: var(--muted); margin-top: 14px; }
.hero-meta span { margin-inline: 7px; }

/* Original paper objects, drawn entirely in CSS and SVG. */
.idea-desk { min-width: 0; width: 100%; height: 526px; position: relative; isolation: isolate; }
.desk-orbit { position: absolute; width: 430px; height: 430px; max-width: 97%; right: -6px; top: 44px; border-radius: 50%; background: #eae5f8; }
.desk-grid { position: absolute; top: 46px; left: 4px; width: 136px; height: 140px; background-image: radial-gradient(#b5afa0 1px, transparent 1px); background-size: 13px 13px; transform: rotate(-8deg); opacity: .7; }
.paper-back { position: absolute; top: 66px; left: 74px; width: 324px; height: 387px; border: 1px solid #bcb0e6; background: #cfc2f0; border-radius: 5px; transform: rotate(-11deg); box-shadow: 0 10px 30px #49415c0a; }
.idea-paper { position: absolute; width: 328px; min-height: 389px; left: 104px; top: 44px; border-radius: 5px; padding: 25px 29px 22px; background: var(--white); border: 1px solid #dedbd7; box-shadow: 5px 12px 24px #3b344216; transform: rotate(5deg); }
.paper-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 8px; letter-spacing: 1.6px; color: #73736f; }
.paper-topline .icon { width: 17px; height: 17px; }
.idea-paper h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.13; letter-spacing: -1.2px; margin-top: 32px; }
.idea-paper > p { font-family: var(--serif); color: #62635e; font-size: 16px; line-height: 1.7; margin-top: 21px; }
.paper-highlight { display: table; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.7; background: #f6edb9; padding: 0 4px; margin: 23px 0 20px -4px; }
.paper-tag { font-size: 9px; color: #746396; border-top: 1px solid #e9e6e0; padding-top: 13px; }
.sticky-note { position: absolute; left: -9px; bottom: 30px; z-index: 3; width: 234px; padding: 24px 23px 23px; background: var(--butter); box-shadow: 3px 7px 16px #3b344218; border-radius: 2px 2px 6px 2px; transform: rotate(-7deg); }
.sticky-note::after { content: ""; position: absolute; right: 0; bottom: 0; border-style: solid; border-width: 0 0 20px 20px; border-color: transparent transparent #dfc779 #f7eab8; }
.sticky-pin { width: 11px; height: 11px; border-radius: 50%; position: absolute; left: calc(50% - 5px); top: 9px; background: #b8a4d8; box-shadow: 1px 2px 2px #664a7330; }
.sticky-note p { font-family: var(--serif); font-size: 20px; font-style: italic; letter-spacing: -.5px; margin-bottom: 13px; }
.sticky-note > span:not(.sticky-pin) { display: flex; align-items: center; gap: 9px; font-size: 11px; margin-top: 8px; }
.drawn-check, .drawn-box { display: block; width: 12px; height: 12px; border: 1px solid #8c8053; border-radius: 2px; position: relative; flex: 0 0 auto; }
.drawn-check::after { content: ""; position: absolute; width: 9px; height: 5px; left: 2px; top: 0; transform: rotate(-48deg); border-left: 1.5px solid #574e34; border-bottom: 1.5px solid #574e34; }
.floating-link { position: absolute; z-index: 4; right: -13px; top: 88px; padding: 11px 14px; border: 1px solid #bbb0dc; border-radius: 6px; color: #574687; background: #f5f1ff; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; box-shadow: 0 5px 13px #342a4b0a; transform: rotate(7deg); }
.floating-link > span { margin-left: 10px; }
.desk-spark { position: absolute; width: 61px; height: 65px; right: 8px; top: 9px; fill: var(--butter); stroke: var(--ink); stroke-width: 1.25; transform: rotate(11deg); }
.desk-arrow { position: absolute; right: -6px; bottom: 69px; width: 94px; height: 79px; fill: none; stroke: #736187; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-17deg); }
.desk-caption { position: absolute; right: 16px; bottom: 28px; font-family: var(--serif); font-size: 15px; font-style: italic; color: #786a85; transform: rotate(-5deg); }

.facts-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 23px; row-gap: 22px; padding: 29px 0 44px; border-top: 1px solid var(--line); }
.facts-strip p { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; line-height: 1.5; }
.facts-strip .icon { width: 20px; height: 20px; }
.markdown-mark { font-size: 18px; line-height: 1; font-weight: 750; letter-spacing: -2px; padding-right: 2px; }
.offline-mark { font-size: 28px; font-family: var(--serif); line-height: 20px; }
.mini-swatches { display: flex; padding-right: 2px; }
.mini-swatches i { width: 15px; height: 15px; border: 1px solid var(--paper); border-radius: 50%; background: #afa0d5; margin-left: -4px; }
.mini-swatches i:nth-child(2) { background: #e5cd85; }
.mini-swatches i:nth-child(3) { background: #a4b399; }

/* The live little notebook uses the six palettes in Cub's Mac app. */
.notebook-section { margin: 24px 24px 0; padding: 73px 0 51px; background: var(--ink); border-radius: 30px; color: var(--paper); }
.notebook-container { width: calc(100% - 96px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.section-heading h2 { font-size: 54px; line-height: 1.07; letter-spacing: -.055em; font-weight: 650; }
.section-heading .eyebrow { margin-bottom: 20px; }
.notebook-heading { margin-bottom: 42px; }
.notebook-heading .eyebrow { color: #c0b9d5; }
.notebook-heading h2 { font-size: 62px; }
.notebook-intro { min-width: 250px; margin-bottom: 4px; }
.notebook-intro > p { font-size: 15px; color: #d0d1ce; line-height: 1.75; }
.preview-badge { display: flex; align-items: center; gap: 8px; font-size: 8px; font-weight: 550; color: #cfc7e0; letter-spacing: 1.3px; margin-top: 21px; }
.preview-badge > span { width: 5px; height: 5px; border-radius: 50%; background: #bda8f2; }
.app-window {
  --app-canvas: #fffcf5;
  --app-sidebar: #eeede6;
  --app-list: #f7f5ef;
  --app-selected: #e7e3d5;
  --app-ink: #34382f;
  --app-muted: #626657;
  --app-accent: #965a3e;
  --app-line: #d9d5c9;
  --app-highlight: #f3e6ae;
  color-scheme: light;
  overflow: hidden;
  color: var(--app-ink);
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: var(--app-canvas);
  box-shadow: 0 16px 50px #00000029;
}
.app-window[data-theme="paper"] { --app-canvas: #fff; --app-sidebar: #eff1f3; --app-list: #f8f9fa; --app-selected: #dde3e9; --app-ink: #242b33; --app-muted: #59636e; --app-accent: #405d7b; --app-line: #d2d8df; --app-highlight: #f4e8ac; }
.app-window[data-theme="coastal"] { --app-canvas: #f7fcfb; --app-sidebar: #e4efed; --app-list: #eff7f5; --app-selected: #cee2de; --app-ink: #243e40; --app-muted: #476266; --app-accent: #256975; --app-line: #c6dad5; --app-highlight: #e9ebb3; }
.app-window[data-theme="rose"] { --app-canvas: #fff9f7; --app-sidebar: #f0e5e4; --app-list: #f9f0ee; --app-selected: #e8d4d9; --app-ink: #44343c; --app-muted: #6c5763; --app-accent: #8b4665; --app-line: #ddccd0; --app-highlight: #f2e3b4; }
.app-window[data-theme="dark"] { --app-canvas: #20221e; --app-sidebar: #242622; --app-list: #292b26; --app-selected: #424438; --app-ink: #e8e5d9; --app-muted: #b4b8a8; --app-accent: #dda682; --app-line: #45493f; --app-highlight: #5b5030; color-scheme: dark; }
.app-window[data-theme="midnight"] { --app-canvas: #191f2e; --app-sidebar: #202739; --app-list: #242d40; --app-selected: #364562; --app-ink: #e4eaf5; --app-muted: #b0bdd5; --app-accent: #a8baff; --app-line: #40506c; --app-highlight: #54452d; color-scheme: dark; }
.app-window :focus-visible { outline-color: var(--app-accent); outline-offset: -3px; }
.app-titlebar { height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--app-line); background: var(--app-sidebar); }
.traffic-lights { display: flex; gap: 6px; width: 65px; }
.traffic-lights i { width: 9px; height: 9px; border-radius: 50%; background: #ef9b8b; }
.traffic-lights i:nth-child(2) { background: #e2c879; }
.traffic-lights i:nth-child(3) { background: #acc293; }
.app-titlebar > span { font-size: 9px; color: var(--app-muted); }
.app-titlebar .window-shortcut { width: 65px; text-align: right; font-size: 10px; }
.app-workspace { display: grid; grid-template-columns: 181px 255px minmax(0, 1fr); height: 490px; }
.demo-sidebar { background: var(--app-sidebar); border-right: 1px solid var(--app-line); padding: 24px 11px 17px; display: flex; flex-direction: column; min-width: 0; }
.demo-brand { display: flex; align-items: center; gap: 7px; font-size: 24px; font-weight: 700; letter-spacing: -1px; padding: 0 9px; margin-bottom: 22px; }
.demo-nav { display: flex; align-items: center; gap: 9px; min-height: 44px; border-radius: 6px; padding: 8px 10px; width: 100%; text-align: left; font-size: 11px; line-height: 1.5; }
.demo-nav .icon { width: 15px; height: 15px; color: var(--app-muted); }
.demo-nav > span:last-child:not(.tag-dot) { margin-left: auto; font-size: 10px; color: var(--app-muted); }
.demo-nav:hover { background: var(--app-selected); }
.demo-nav.active { background: var(--app-selected); color: var(--app-ink); font-weight: 650; }
.sidebar-label { font-size: 7px; font-weight: 600; letter-spacing: .9px; color: var(--app-muted); margin: 25px 10px 9px; }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; margin: 0 4px; }
.tag-dot-journal { background: #bd9b7a; }
.tag-dot-ideas { background: #9b8fbb; }
.tag-dot-reading { background: #8d9f80; }
.demo-bottom { display: flex; align-items: center; gap: 5px; font-size: 7px; color: var(--app-muted); margin-top: auto; padding-inline: 8px; white-space: nowrap; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #879873; }
.demo-list { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--app-list); border-right: 1px solid var(--app-line); }
.demo-list-heading { padding: 21px 17px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo-list-heading h3 { font-size: 16px; line-height: 1.3; letter-spacing: -.4px; font-weight: 650; }
#note-count { font-size: 9px; color: var(--app-muted); }
.demo-search { display: flex; align-items: center; gap: 7px; margin: 0 12px 11px; padding: 0 9px; min-height: 40px; background: var(--app-canvas); border: 1px solid var(--app-line); border-radius: 6px; }
.demo-search .icon { width: 14px; height: 14px; color: var(--app-muted); }
.demo-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--app-ink); padding: 8px 0; font-size: 10px; line-height: 1.5; }
.demo-search input::placeholder { color: var(--app-muted); opacity: 1; }
.demo-search:focus-within { outline: 2px solid var(--app-accent); outline-offset: 2px; }
.demo-search input:focus-visible { outline: 0; }
.note-list { min-height: 0; overflow-y: auto; padding: 0 7px; flex: 1; }
.note-row { min-height: 86px; display: block; width: 100%; text-align: left; padding: 12px 10px 10px; border: 1px solid transparent; border-radius: 5px; margin-bottom: 3px; line-height: 1.5; }
.note-row:hover { background: var(--app-selected); }
.note-row.is-selected { background: var(--app-selected); border-color: var(--app-line); }
.note-row-heading { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.note-row-title { font-size: 11px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-row-date { font-size: 7px; color: var(--app-muted); white-space: nowrap; }
.note-row-excerpt { display: block; margin-top: 6px; font-size: 9px; color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-row-tag { display: block; font-size: 8px; color: var(--app-accent); margin-top: 5px; }
.note-list-empty { font-size: 12px; padding: 16px 10px; color: var(--app-muted); }
.demo-list-foot { padding: 10px 17px; border-top: 1px solid var(--app-line); color: var(--app-muted); font-size: 8px; }
.demo-editor { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--app-canvas); }
.editor-toolbar { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 24px 0 30px; }
#editor-category { font-size: 7px; font-weight: 600; letter-spacing: 1.1px; color: var(--app-muted); }
.editor-toolbar > div { display: flex; }
.editor-button { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--app-muted); border-radius: 5px; }
.editor-button:hover, .editor-button[aria-pressed="true"] { background: var(--app-selected); color: var(--app-accent); }
.editor-button .icon { width: 16px; height: 16px; }
.source-toggle { font-size: 15px; letter-spacing: -1px; font-weight: 700; }
.note-content { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: 4px 34px 25px; color: var(--app-ink); font: 15px/1.72 var(--serif); overflow-wrap: anywhere; }
.note-content p { margin: 0 0 15px; }
.note-content .note-date { font: 7px/1.6 var(--sans); letter-spacing: 1.2px; color: var(--app-muted); margin-bottom: 9px; }
.note-content .note-title { font: 500 34px/1.13 var(--serif); letter-spacing: -.8px; margin: 0 0 20px; }
.note-content h4 { font: 600 18px/1.4 var(--serif); margin: 24px 0 9px; letter-spacing: -.2px; }
.note-content ul, .note-content ol { padding-left: 20px; margin: 10px 0 18px; }
.note-content li { margin-bottom: 5px; padding-left: 3px; }
.note-content blockquote { border-left: 2px solid var(--app-accent); padding-left: 16px; margin: 20px 0; color: var(--app-muted); font-style: italic; }
.note-content mark { color: var(--app-ink); background: var(--app-highlight); padding: 2px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.note-content .note-tag { display: inline-block; margin-top: 4px; font: 10px/1.6 var(--sans); color: var(--app-accent); }
.note-content .note-related { font: 11px/1.7 var(--sans); margin-top: 18px; }
.note-content .note-link { min-height: 44px; display: inline; padding: 10px 0; font: inherit; color: var(--app-accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.note-link:hover { text-decoration-thickness: 2px; }
.note-checklist { margin: 20px 0; }
.note-checklist label { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; min-height: 44px; cursor: pointer; }
.note-checklist input { accent-color: var(--app-accent); width: 15px; height: 15px; margin: 5px 0 0; flex: 0 0 auto; }
.note-checklist .is-complete span { text-decoration: line-through; color: var(--app-muted); }
.note-content .note-callout { font: 10px/1.7 var(--sans); color: var(--app-muted); }
.markdown-source { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.note-empty { padding-top: 30px; }
.note-empty h3 { font: 500 27px/1.2 var(--serif); margin-bottom: 12px; }
.note-empty p { color: var(--app-muted); }
.editor-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 28px 13px 34px; color: var(--app-muted); font-size: 7px; line-height: 1.6; }
.editor-foot > span:last-child { display: flex; align-items: center; gap: 5px; letter-spacing: .7px; }
.editor-foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--app-accent); }
.app-window.is-focused .app-workspace { grid-template-columns: 1fr; }
.app-window.is-focused .demo-sidebar, .app-window.is-focused .demo-list { display: none; }
.app-window.is-focused .note-content { padding-inline: max(34px, calc((100% - 650px) / 2)); }
.app-window.is-focused .editor-toolbar, .app-window.is-focused .editor-foot { padding-inline: max(28px, calc((100% - 662px) / 2)); }
.theme-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 31px 0 14px; }
.theme-heading > p:first-child { font-size: 13px; font-weight: 550; }
#theme-status { font-size: 10px; line-height: 1.5; color: #c6c4cc; text-align: right; }
#theme-status strong { color: #e1d8f7; font-weight: 550; }
.theme-choices { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.theme-pick { min-height: 51px; padding: 12px 12px; border: 1px solid #55545b; border-radius: 7px; display: flex; align-items: center; gap: 8px; text-align: left; white-space: nowrap; color: #dddedb; font-size: 12px; transition: border-color var(--ease), background var(--ease); }
.theme-pick:hover { background: #ffffff08; border-color: #b3a5d1; }
.theme-pick.is-active { background: #38333f; border-color: #baa5e9; color: #f0e9ff; }
.theme-swatch { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; border: 1px solid #ffffff40; }
.swatch-light { background: #f1eddf; }
.swatch-paper { background: #fff; }
.swatch-coastal { background: #bdcfca; }
.swatch-rose { background: #dfbdc6; }
.swatch-dark { background: #505742; }
.swatch-midnight { background: #35476b; }
.theme-check { width: 13px; height: 13px; margin-left: auto; visibility: hidden; }
.theme-pick.is-active .theme-check { visibility: visible; }
.preview-explanation { max-width: 650px; text-align: center; margin: 24px auto 0; color: #b7b9b7; font-size: 12px; line-height: 1.8; }
.notebook-section :focus-visible { outline-color: #d0baff; }
.notebook-section .app-window :focus-visible { outline-color: var(--app-accent); }

/* A deliberately asymmetrical feature spread. */
.possibilities-section { padding-top: 110px; padding-bottom: 77px; }
.possibilities-heading { margin-bottom: 38px; }
.possibilities-heading .eyebrow { color: var(--muted); }
.possibilities-heading > p { color: var(--muted); font-size: 15px; line-height: 1.85; margin-bottom: 3px; min-width: 270px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.feature-card { border-radius: 18px; position: relative; overflow: hidden; }
.feature-number { display: block; font-size: 8px; font-weight: 600; letter-spacing: 1.1px; line-height: 1.6; }
.feature-card h3 { font-size: 36px; font-weight: 600; letter-spacing: -1.4px; line-height: 1.12; margin: 21px 0 17px; }
.feature-card p { font-size: 15px; line-height: 1.8; color: #595864; max-width: 320px; }
.writing-card { background: var(--lilac); padding: 36px; grid-row: span 2; min-height: 626px; display: flex; flex-direction: column; }
.writing-card .feature-copy { position: relative; z-index: 1; }
.writing-card .feature-number { color: #665a8d; }
.writing-sample { position: relative; background: #fffcf9; border: 1px solid #c9bedf; border-radius: 7px; padding: 28px 23px; margin: 39px -16px 30px 3px; transform: rotate(-4deg); box-shadow: 5px 9px 0 #cbbce130; font: 14px/1.65 var(--serif); }
.sample-line { display: flex; align-items: center; gap: 8px; }
.sample-line strong { font-size: 21px; font-weight: 500; letter-spacing: -.5px; }
.syntax { color: #8f83a8; font-family: ui-monospace, monospace; font-size: 13px; }
.sample-cursor { width: 1px; height: 23px; background: var(--purple); margin-left: -3px; }
.writing-sample > p { font-family: var(--serif); font-size: 14px; color: #68616e; margin: 16px 0; }
.sample-highlight { display: table; background: #f5e9a9; padding: 0 3px; margin: 0 0 17px -3px; font-size: 14px; }
.sample-highlight .syntax { padding-inline: 2px; font-size: 9px; color: #8e7848; }
.sample-task { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.sample-task i { width: 11px; height: 11px; border: 1px solid #a59baf; border-radius: 2px; }
.writing-margin { position: absolute; right: 6px; bottom: -25px; color: #76658e; font: italic 12px/1.5 var(--serif); }
.feature-footnote { display: flex; align-items: center; gap: 8px; font-size: 9px; margin-top: auto; padding-top: 14px; color: #625972; }
.feature-footnote .icon { width: 14px; height: 14px; }
.connections-card, .attachments-card { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 7px; min-height: 303px; padding: 32px; }
.connections-card { background: var(--mint); }
.connections-card .feature-number { color: #596b4f; }
.connections-card h3, .attachments-card h3 { font-size: 30px; letter-spacing: -1.1px; margin-top: 20px; }
.connections-card p, .attachments-card p { font-size: 15px; line-height: 1.8; }
.connections-card p { color: #5b6755; }
.connection-sample { position: relative; height: 208px; min-width: 0; font-size: 10px; font-weight: 500; }
.connection-node { position: absolute; z-index: 2; display: block; padding: 12px 14px; border-radius: 6px; background: #f8fbf4; border: 1px solid #b9c9ad; box-shadow: 0 4px 10px #55604c09; white-space: nowrap; }
.connection-first { top: 9px; left: 15px; color: #6a7959; transform: rotate(-7deg); }
.connection-middle { top: 83px; right: -22px; transform: rotate(4deg); font-family: var(--serif); font-size: 15px; padding: 14px 13px; }
.connection-last { bottom: 6px; left: -6px; color: #61518c; border-color: #b9adcf; background: #eee9fa; transform: rotate(-5deg); }
.connection-last > span { margin-left: 10px; }
.connection-path { position: absolute; width: 70%; height: 137px; left: 36px; top: 36px; border: 1px dashed #8fa17b; border-left: 0; border-radius: 0 50px 50px 0; }
.connection-spark { position: absolute; right: -4px; top: 26px; font-size: 29px; font-weight: 400; color: #7d8e69; }
.attachments-card { background: #eeece6; }
.attachments-card .feature-number { color: #6e6a5d; }
.attachments-card p { color: #65635c; }
.attachment-sample { height: 218px; position: relative; min-width: 0; }
.photo-card { position: absolute; right: -6px; top: 2px; background: #fffefa; padding: 8px 8px 13px; width: 151px; transform: rotate(9deg); box-shadow: 1px 6px 12px #4f4b3814; }
.photo-landscape { height: 116px; position: relative; overflow: hidden; background: #cfdbdb; }
.photo-landscape::after { content: ""; position: absolute; width: 130px; height: 100px; left: -44px; bottom: -42px; border-radius: 50%; background: #81927d; transform: rotate(24deg); }
.photo-landscape span { position: absolute; width: 32px; height: 32px; border-radius: 50%; background: #eee1aa; top: 17px; right: 18px; }
.photo-landscape i { position: absolute; width: 136px; height: 120px; right: -37px; bottom: -48px; border-radius: 65% 0 0 0; background: #647b72; transform: rotate(24deg); }
.photo-landscape b { position: absolute; z-index: 2; width: 95px; height: 80px; bottom: -56px; left: 18px; border-radius: 50%; background: #b4ba93; transform: rotate(-25deg); }
.photo-card > span { display: block; padding: 6px 1px 0; font: italic 11px/1.5 var(--serif); color: #716b5f; }
.file-card { position: absolute; display: flex; gap: 9px; align-items: center; left: -14px; bottom: 6px; background: #fffefa; border: 1px solid #d7d2c6; border-radius: 7px; padding: 14px; transform: rotate(-6deg); box-shadow: 1px 5px 12px #4f4b380a; }
.file-card .icon { width: 25px; height: 29px; color: #a29378; }
.file-card > span { font-size: 9px; font-weight: 600; white-space: nowrap; }
.file-card small { display: block; font-size: 7px; font-weight: 400; margin-top: 3px; color: #79776e; }

.keep-section { display: grid; grid-template-columns: 68px 1fr 1fr; gap: 29px; align-items: start; padding: 27px 0 74px; border-bottom: 1px solid var(--line); }
.keep-icon { display: grid; place-items: center; width: 61px; height: 66px; border: 1px solid #d6cfdf; border-radius: 15px; background: #eee9f5; transform: rotate(-7deg); }
.keep-icon .icon { width: 28px; height: 28px; color: #76648f; transform: rotate(7deg); }
.keep-copy .eyebrow { font-size: 8px; color: var(--muted); margin-bottom: 13px; }
.keep-copy h2 { font-size: 26px; line-height: 1.22; font-weight: 550; letter-spacing: -.8px; }
.keep-description { margin-top: -4px; }
.keep-description p { font-size: 15px; line-height: 1.85; color: var(--muted); max-width: 370px; }
.keep-description .text-link { margin-top: 13px; font-size: 11px; }

.details-section { padding-top: 92px; padding-bottom: 102px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 94px; }
.details-heading .eyebrow { font-size: 8px; color: var(--muted); }
.details-heading h2 { font-size: 66px; line-height: 1.04; font-weight: 650; letter-spacing: -3.5px; margin-top: 24px; }
.question-doodle { width: 106px; height: 80px; fill: none; stroke: #a796c8; stroke-width: 1.7; stroke-linecap: round; margin: 28px 0 0 84px; transform: rotate(-9deg); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; padding: 19px 0; list-style: none; font-size: 16px; font-weight: 550; line-height: 1.6; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 16px; height: 16px; transition: transform var(--ease); }
.faq-list summary:hover { color: var(--purple); }
.faq-list details[open] summary .icon { transform: rotate(45deg); color: var(--purple); }
.faq-list details > p { padding: 0 26px 25px 0; color: var(--muted); font-size: 16px; line-height: 1.9; }

.download-section { position: relative; text-align: center; padding: 76px 35px 73px; background: var(--butter); border-radius: 24px; overflow: hidden; margin-bottom: 71px; }
.download-section > .eyebrow { justify-content: center; color: #6e603a; font-size: 9px; }
.download-section h2 { font-size: 70px; line-height: 1.05; font-weight: 650; letter-spacing: -3.4px; margin-top: 23px; }
.download-section h2 em { font-family: var(--serif); font-size: 1.09em; font-weight: 400; letter-spacing: -3.2px; }
.download-section > p:not(.eyebrow) { margin-top: 24px; color: #716440; font-size: 15px; }
.download-section > .button { margin-top: 25px; min-width: 192px; }
.download-meta { display: block; font-size: 9px; margin-top: 17px; color: #716440; }
.download-stamp { position: absolute; top: 58px; left: 54px; border: 1px dashed #99875c; border-radius: 50%; width: 111px; height: 111px; display: flex; align-items: center; justify-content: center; flex-direction: column; transform: rotate(-14deg); gap: 7px; }
.download-stamp img { width: 34px; height: 34px; }
.download-stamp span { font-size: 6px; letter-spacing: .9px; font-weight: 600; line-height: 1.5; }
.download-doodle { position: absolute; bottom: 94px; right: 74px; width: 97px; height: 96px; fill: none; stroke: #998555; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(13deg); }

.site-footer { background: var(--ink); color: var(--paper); padding: 48px 0 24px; }
.footer-content { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 42px; row-gap: 22px; padding-bottom: 36px; }
.footer-brand { font-size: 29px; }
.footer-brand img { filter: brightness(1.75) saturate(.5); }
.footer-content > p { font: italic 15px/1.6 var(--serif); color: #b8bbba; }
.footer-content nav { display: flex; gap: 26px; align-items: center; }
.footer-content nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; color: #d7d8d4; }
.footer-content nav a:hover { color: #d2baf9; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid #ffffff1a; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; color: #b3b6b3; }
.site-footer :focus-visible { outline-color: #d0baff; }

/* Native modal: clear preview details before the actual file transfer. */
dialog { position: fixed; inset: 0; border: 1px solid var(--line); border-radius: 18px; padding: 43px; width: min(520px, calc(100% - 36px)); max-height: calc(100dvh - 36px); color: var(--ink); background: var(--paper); box-shadow: 0 24px 80px #18131e40; overflow-y: auto; }
dialog::backdrop { background: #24242cdc; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 28px; font-weight: 300; line-height: 1; color: var(--muted); border-radius: 6px; }
.dialog-close:hover { color: var(--purple); background: var(--lilac); }
dialog > img { margin-bottom: 27px; }
dialog .eyebrow { font-size: 8px; letter-spacing: 1.1px; color: var(--muted); }
dialog h2 { font-size: 34px; font-weight: 650; line-height: 1.15; letter-spacing: -1.3px; margin: 13px 0 17px; }
#dialog-description { font-size: 14px; line-height: 1.8; color: var(--muted); }
.build-note { background: #eeeaf5; border: 1px solid #d8cfeb; padding: 17px; border-radius: 7px; margin-block: 24px; }
.build-note strong { font-size: 12px; font-weight: 600; }
.build-note p { font-size: 12px; color: #625a71; line-height: 1.85; margin-top: 7px; }
.dialog-download { width: 100%; font-size: 12px; gap: 9px; }
.dialog-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; }
.noscript-message { padding: 25px; background: var(--butter); text-align: center; color: var(--ink); }
.noscript-message a { text-decoration: underline; }

@media (min-width: 1500px) {
  .hero { padding-top: 81px; padding-bottom: 100px; }
  .idea-desk { transform: translateX(6px); }
}

@media (max-width: 1200px) {
  .hero { gap: 20px; padding-top: 51px; padding-bottom: 67px; }
  .hero h1 { font-size: 90px; }
  .hero-description { font-size: 16px; max-width: 390px; }
  .hero-actions { gap: 9px 18px; }
  .hero-actions .button { padding-inline: 18px; font-size: 12px; }
  .hero-actions .text-link { font-size: 11px; }
  .idea-desk { height: 493px; }
  .idea-paper { left: 78px; width: 300px; padding: 25px; }
  .paper-back { left: 53px; width: 295px; }
  .idea-paper h2 { font-size: 35px; }
  .floating-link { right: -10px; top: 91px; font-size: 9px; padding-inline: 11px; }
  .sticky-note { width: 218px; left: -4px; bottom: 16px; padding: 22px; }
  .sticky-note p { font-size: 19px; }
  .sticky-note > span:not(.sticky-pin) { font-size: 10px; }
  .desk-caption { bottom: 11px; right: 0; font-size: 13px; }
  .desk-arrow { width: 78px; right: -13px; bottom: 47px; }
  .desk-spark { right: 0; width: 48px; height: 54px; }
  .notebook-container { width: calc(100% - 72px); }
  .app-workspace { grid-template-columns: 158px 227px minmax(0, 1fr); }
  .demo-sidebar { padding-inline: 8px; }
  .demo-nav { font-size: 10px; }
  .demo-bottom { font-size: 6px; padding-inline: 5px; }
  .sidebar-label { font-size: 6px; letter-spacing: .7px; }
  .theme-pick { padding-inline: 10px; font-size: 12px; gap: 6px; }
  .theme-swatch { width: 13px; height: 13px; }
  .theme-check { width: 11px; height: 11px; }
  .connections-card, .attachments-card { padding: 28px; gap: 5px; }
  .connections-card h3, .attachments-card h3 { font-size: 27px; }
  .connection-node { padding-inline: 10px; }
  .connection-middle { font-size: 13px; right: -20px; }
  .connection-last { font-size: 9px; left: -12px; }
  .photo-card { width: 136px; right: -7px; }
  .photo-landscape { height: 108px; }
  .file-card { padding: 11px; left: -15px; }
  .file-card .icon { width: 20px; }
  .file-card > span { font-size: 8px; }
  .feature-card .feature-number { font-size: 7px; letter-spacing: .8px; }
  .writing-card { padding: 32px; }
  .writing-sample { padding-inline: 18px; }
  .sample-line strong { font-size: 19px; }
  .keep-section { gap: 22px; grid-template-columns: 62px 1fr 1fr; }
  .keep-copy h2 { font-size: 24px; }
  .details-section { gap: 65px; }
  .download-stamp { left: 32px; top: 52px; width: 95px; height: 95px; }
  .download-doodle { right: 39px; width: 82px; }
}

@media (max-width: 1000px) {
  .container { width: calc(100% - 72px); }
  .site-nav { gap: 22px; margin-right: 7px; }
  .site-header { gap: 24px; }
  .hero { grid-template-columns: 1fr .95fr; gap: 10px; padding-top: 42px; }
  .hero h1 { font-size: 78px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
  .hero-description { max-width: 345px; font-size: 16px; }
  .hero-actions { gap: 4px 15px; margin-top: 24px; }
  .hero-actions .button { min-height: 52px; }
  .hero-meta { margin-top: 8px; font-size: 9px; }
  .idea-desk { height: 465px; }
  .idea-paper { top: 53px; left: 58px; width: 270px; min-height: 352px; padding: 21px 23px; }
  .paper-back { top: 71px; left: 34px; width: 267px; height: 349px; }
  .paper-topline { font-size: 6px; }
  .idea-paper h2 { font-size: 32px; margin-top: 28px; }
  .idea-paper > p { font-size: 14px; margin-top: 19px; }
  .paper-highlight { font-size: 13px; margin-block: 18px; }
  .paper-tag { font-size: 8px; }
  .desk-orbit { width: 352px; height: 352px; top: 76px; }
  .desk-spark { right: 0; top: 12px; }
  .floating-link { right: -8px; top: 87px; font-size: 8px; }
  .sticky-note { width: 198px; bottom: 3px; left: -3px; padding: 23px 19px 18px; }
  .sticky-note p { font-size: 17px; }
  .sticky-note > span:not(.sticky-pin) { font-size: 9px; gap: 7px; }
  .desk-caption { font-size: 12px; right: -2px; bottom: 0; }
  .desk-arrow { right: -11px; width: 66px; bottom: 34px; }
  .facts-strip { column-gap: 12px; }
  .facts-strip p { gap: 9px; font-size: 10px; }
  .facts-strip .icon { width: 18px; height: 18px; }
  .notebook-container { width: calc(100% - 64px); }
  .notebook-heading h2 { font-size: 55px; }
  .notebook-intro { min-width: 215px; }
  .notebook-intro > p { font-size: 14px; }
  .app-workspace { grid-template-columns: 218px minmax(0, 1fr); height: 490px; }
  .demo-sidebar { display: none; }
  .theme-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-pick { font-size: 12px; padding-inline: 15px; }
  .theme-swatch { width: 16px; height: 16px; }
  .theme-check { width: 14px; height: 14px; }
  .theme-heading { flex-wrap: wrap; gap: 6px; }
  #theme-status { font-size: 9px; }
  .section-heading h2 { font-size: 46px; }
  .possibilities-heading > p { font-size: 15px; min-width: 220px; }
  .feature-grid { grid-template-columns: 1.05fr 1fr; gap: 16px; }
  .writing-card { padding: 29px; }
  .writing-card h3 { font-size: 34px; }
  .writing-card p { font-size: 15px; }
  .writing-sample { margin: 57px -12px 42px -4px; padding: 26px 18px; }
  .sample-line { gap: 5px; }
  .sample-line strong { font-size: 18px; }
  .syntax { font-size: 11px; }
  .writing-sample > p, .sample-highlight { font-size: 13px; }
  .sample-task { font-size: 10px; }
  .feature-footnote { font-size: 8px; }
  .connections-card, .attachments-card { display: block; padding: 27px; min-height: 350px; }
  .connections-card .feature-copy, .attachments-card .feature-copy { max-width: 100%; }
  .connections-card h3, .attachments-card h3 { font-size: 27px; margin-top: 15px; margin-bottom: 13px; }
  .connections-card h3 br, .attachments-card h3 br { display: none; }
  .connections-card p, .attachments-card p { font-size: 15px; max-width: 260px; }
  .connection-sample { height: 143px; max-width: 250px; margin: 10px auto -3px; }
  .connection-first { left: 12px; top: 15px; padding: 10px 13px; }
  .connection-middle { right: -2px; top: 50px; font-size: 14px; }
  .connection-last { left: 22px; bottom: 0; font-size: 10px; padding: 10px 13px; }
  .connection-path { height: 85px; top: 33px; left: 41px; width: 60%; }
  .connection-spark { top: 4px; right: 15px; }
  .attachment-sample { height: 145px; max-width: 260px; margin: 13px auto 0; }
  .photo-card { width: 120px; right: 12px; top: 1px; padding: 6px 6px 9px; }
  .photo-landscape { height: 85px; }
  .photo-card > span { font-size: 10px; }
  .file-card { left: 0; bottom: 7px; z-index: 2; padding: 11px; }
  .file-card > span { font-size: 9px; }
  .file-card small { font-size: 7px; }
  .keep-section { grid-template-columns: 55px 1fr 1fr; gap: 22px; }
  .keep-icon { width: 52px; height: 60px; }
  .keep-copy h2 { font-size: 22px; }
  .keep-copy .eyebrow { font-size: 7px; letter-spacing: .8px; }
  .keep-description p { font-size: 15px; }
  .keep-description .text-link { font-size: 10px; }
  .details-section { gap: 55px; grid-template-columns: 1fr 1.4fr; }
  .details-heading .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .details-heading h2 { font-size: 60px; }
  .faq-list summary { font-size: 16px; }
  .faq-list details > p { font-size: 16px; }
  .download-section h2 { font-size: 61px; }
  .download-stamp { left: 27px; top: 32px; width: 79px; height: 79px; }
  .download-stamp img { width: 28px; height: 28px; }
  .download-stamp span { font-size: 5px; letter-spacing: .5px; }
  .download-doodle { right: 30px; bottom: 76px; width: 68px; height: 72px; }
  .footer-content { column-gap: 27px; }
  .footer-content > p { font-size: 13px; }
  .footer-content nav { gap: 20px; }
  .footer-content nav a { font-size: 10px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .site-header { min-height: 87px; gap: 18px; }
  .brand { font-size: 29px; }
  .brand img { width: 33px; height: 33px; }
  .header-download { margin-left: auto; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 44px; height: 44px; order: 3; padding: 10px; border: 1px solid #d7d7d1; border-radius: 7px; }
  .mobile-menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform var(--ease); }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 78px; right: 0; left: 0; padding: 14px 19px; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 15px 25px #28252d14; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { min-height: 48px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 23px; padding-top: 34px; padding-bottom: 54px; }
  .hero-copy { max-width: 620px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .hero h1 { font-size: clamp(76px, 12.6vw, 102px); line-height: 1.02; margin-top: 23px; margin-bottom: 25px; }
  .hero-description { font-size: 16px; max-width: 440px; }
  .hero-actions { gap: 10px 25px; margin-top: 26px; }
  .hero-actions .button { min-height: 56px; padding-inline: 22px; font-size: 13px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-meta { font-size: 10px; margin-top: 13px; }
  .idea-desk { width: min(100%, 500px); height: 490px; margin: 0 auto; }
  .desk-orbit { width: 406px; height: 406px; right: 4px; top: 40px; }
  .idea-paper { top: 38px; left: 116px; width: 305px; min-height: 380px; padding: 25px; }
  .paper-back { top: 56px; left: 80px; width: 307px; height: 385px; }
  .paper-topline { font-size: 7px; }
  .idea-paper h2 { font-size: 36px; margin-top: 28px; }
  .idea-paper > p { font-size: 15px; }
  .paper-highlight { font-size: 14px; margin-block: 22px; }
  .paper-tag { font-size: 9px; }
  .floating-link { right: 4px; top: 84px; font-size: 10px; }
  .sticky-note { width: 226px; bottom: 17px; left: 21px; padding: 25px 23px 23px; }
  .sticky-note p { font-size: 20px; }
  .sticky-note > span:not(.sticky-pin) { font-size: 10px; gap: 9px; }
  .desk-spark { width: 55px; height: 60px; right: 14px; top: 0; }
  .desk-arrow { width: 85px; bottom: 48px; right: 10px; }
  .desk-caption { font-size: 14px; bottom: 12px; right: 28px; }
  .facts-strip { grid-template-columns: 1fr 1fr; gap: 21px 30px; padding: 26px 0 35px; }
  .facts-strip p { font-size: 11px; gap: 12px; }
  .notebook-section { margin-inline: 14px; padding-block: 55px 42px; border-radius: 22px; }
  .notebook-container { width: calc(100% - 44px); }
  .notebook-heading { align-items: flex-end; gap: 22px; margin-bottom: 31px; }
  .notebook-heading h2 { font-size: 48px; }
  .notebook-heading .eyebrow { font-size: 7px; letter-spacing: 1.1px; margin-bottom: 17px; }
  .notebook-intro { min-width: 180px; }
  .notebook-intro > p { font-size: 12px; }
  .preview-badge { font-size: 6px; letter-spacing: .7px; margin-top: 17px; }
  .app-workspace { grid-template-columns: 190px minmax(0, 1fr); }
  .demo-list-heading { padding-inline: 14px; }
  .demo-list-heading h3 { font-size: 15px; }
  .demo-search { margin-inline: 9px; }
  .note-list { padding-inline: 6px; }
  .note-row { padding: 12px 8px; }
  .note-row-heading { display: block; }
  .note-row-title { display: block; }
  .note-row-date { display: none; }
  .note-content { padding-inline: 24px; font-size: 14px; }
  .note-content .note-title { font-size: 30px; }
  .editor-toolbar { padding-inline: 18px; }
  .editor-foot { padding-inline: 23px; }
  .theme-heading { align-items: flex-start; }
  #theme-status { max-width: 330px; font-size: 9px; }
  .theme-heading > p:first-child { font-size: 12px; }
  .theme-pick { padding-inline: 12px; font-size: 12px; }
  .preview-explanation { font-size: 12px; max-width: 560px; }
  .possibilities-section { padding-top: 73px; padding-bottom: 54px; }
  .section-heading h2 { font-size: 45px; }
  .possibilities-heading { gap: 25px; align-items: flex-end; }
  .possibilities-heading .eyebrow { font-size: 8px; }
  .possibilities-heading > p { min-width: 200px; font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 17px; }
  .writing-card { min-height: 360px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; padding: 33px; grid-row: auto; }
  .writing-card .feature-copy { min-width: 0; }
  .writing-card h3 { font-size: 32px; margin-top: 18px; }
  .writing-card p { font-size: 15px; }
  .writing-sample { align-self: center; padding: 24px 15px; margin: 13px -10px 35px 0; }
  .sample-line strong { font-size: 17px; }
  .writing-sample > p { font-size: 12px; }
  .sample-highlight { font-size: 12px; }
  .sample-highlight .syntax { font-size: 8px; padding-inline: 1px; }
  .sample-task { font-size: 9px; gap: 6px; }
  .feature-footnote { grid-column: 1 / -1; font-size: 9px; padding-top: 22px; }
  .connections-card, .attachments-card { display: grid; grid-template-columns: 1fr .9fr; align-items: center; padding: 33px; min-height: 273px; gap: 35px; }
  .connections-card h3, .attachments-card h3 { font-size: 30px; margin-top: 18px; }
  .connections-card h3 br, .attachments-card h3 br { display: initial; }
  .connections-card p, .attachments-card p { font-size: 15px; }
  .feature-card .feature-number { font-size: 8px; letter-spacing: 1px; }
  .connection-sample { width: 100%; height: 186px; margin: 0 auto; }
  .connection-first { top: 12px; left: 10px; }
  .connection-middle { right: 0; top: 75px; font-size: 17px; padding-inline: 15px; }
  .connection-last { left: 9px; bottom: 5px; font-size: 11px; }
  .connection-path { top: 37px; height: 123px; left: 33px; width: 65%; }
  .connection-spark { right: 10px; top: 20px; }
  .attachment-sample { width: 100%; height: 200px; margin: 0 auto; }
  .photo-card { width: 146px; right: 6px; }
  .photo-landscape { height: 110px; }
  .file-card { bottom: 7px; left: 0; padding: 14px; }
  .file-card > span { font-size: 10px; }
  .file-card small { font-size: 8px; }
  .keep-section { grid-template-columns: 60px 1fr; gap: 20px 23px; padding-top: 10px; padding-bottom: 58px; }
  .keep-description { grid-column: 2; margin: 0; }
  .keep-copy h2 { font-size: 27px; }
  .keep-copy .eyebrow { font-size: 8px; }
  .keep-description p { max-width: 100%; font-size: 15px; }
  .keep-description .text-link { font-size: 11px; margin-top: 9px; }
  .details-section { padding-top: 62px; padding-bottom: 70px; gap: 35px; }
  .details-heading h2 { font-size: 54px; }
  .details-heading .eyebrow { max-width: 145px; font-size: 7px; }
  .faq-list summary { font-size: 16px; min-height: 74px; gap: 14px; }
  .faq-list details > p { font-size: 16px; padding-right: 8px; }
  .question-doodle { margin-left: 37px; }
  .download-section { margin-bottom: 54px; padding-block: 68px; }
  .download-section h2 { font-size: 56px; letter-spacing: -2.9px; }
  .download-stamp { width: 68px; height: 68px; top: 25px; left: 21px; gap: 5px; }
  .download-stamp img { width: 24px; height: 24px; }
  .download-stamp span { font-size: 4px; }
  .download-doodle { right: 16px; bottom: 65px; width: 58px; }
  .footer-content { grid-template-columns: auto 1fr; column-gap: 27px; padding-bottom: 28px; }
  .footer-content nav { grid-column: 1 / -1; gap: 27px; }
  .footer-content > p { justify-self: end; }
  .footer-content nav a { font-size: 11px; }
}

@media (max-width: 640px) {
  :root { scroll-padding-top: 20px; }
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 81px; gap: 10px; }
  .brand { font-size: 28px; gap: 8px; }
  .brand img { width: 31px; height: 31px; }
  .header-download { min-height: 44px; font-size: 11px; padding-inline: 14px; gap: 12px; }
  .header-download .icon { width: 16px; height: 16px; }
  .mobile-menu-toggle { width: 44px; flex: 0 0 auto; }
  .site-nav { top: 74px; }
  .hero { padding-top: 29px; padding-bottom: 36px; gap: 23px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .hero h1 { font-size: clamp(70px, 15vw, 92px); margin-top: 23px; margin-bottom: 24px; }
  .hero-small svg { bottom: -7px; height: 24px; }
  .hero-description { font-size: 16px; line-height: 1.75; max-width: 410px; }
  .hero-actions { margin-top: 25px; gap: 8px 19px; }
  .hero-actions .button { font-size: 14px; padding-inline: 19px; min-height: 54px; }
  .hero-actions .text-link { font-size: 12px; gap: 7px; }
  .hero-meta { font-size: 11px; margin-top: 11px; }
  .idea-desk { width: min(100%, 425px); height: 430px; margin-top: 9px; }
  .desk-orbit { height: 350px; width: 350px; max-width: 95%; right: 0; top: 36px; }
  .desk-grid { left: 4px; top: 41px; width: 106px; height: 116px; background-size: 11px 11px; }
  .idea-paper { left: 21%; top: 32px; width: 275px; min-height: 350px; padding: 22px 24px; }
  .paper-back { left: 14%; top: 49px; width: 269px; height: 352px; }
  .paper-topline { font-size: 6px; }
  .paper-topline .icon { width: 15px; height: 15px; }
  .idea-paper h2 { font-size: 31px; margin-top: 26px; }
  .idea-paper > p { font-size: 14px; margin-top: 20px; }
  .paper-highlight { font-size: 13px; margin: 19px 0 16px -4px; }
  .paper-tag { font-size: 8px; padding-top: 12px; }
  .sticky-note { left: 4px; bottom: 4px; width: 208px; padding: 23px 20px 20px; }
  .sticky-note p { font-size: 18px; margin-bottom: 12px; }
  .sticky-note > span:not(.sticky-pin) { font-size: 9px; gap: 8px; margin-top: 7px; }
  .floating-link { top: 69px; right: 1px; font-size: 8px; padding: 10px 11px; }
  .floating-link > span { margin-left: 7px; }
  .desk-spark { width: 45px; height: 50px; top: -1px; right: 8px; }
  .desk-arrow { bottom: 40px; right: -1px; width: 69px; height: 65px; }
  .desk-caption { font-size: 12px; bottom: 3px; right: 13px; }
  .facts-strip { gap: 21px 16px; padding-block: 24px 28px; }
  .facts-strip p { font-size: 11px; gap: 9px; }
  .facts-strip .icon { width: 17px; height: 17px; }
  .markdown-mark { font-size: 17px; }
  .offline-mark { font-size: 25px; }
  .mini-swatches i { width: 13px; height: 13px; }
  .notebook-section { margin: 18px 10px 0; border-radius: 19px; padding-block: 43px 33px; }
  .notebook-container { width: calc(100% - 32px); }
  .notebook-heading { display: block; margin-bottom: 25px; }
  .notebook-heading h2 { font-size: 44px; letter-spacing: -2px; }
  .notebook-heading .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 17px; }
  .notebook-intro { margin-top: 22px; display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; }
  .notebook-intro > p { font-size: 14px; line-height: 1.7; }
  .preview-badge { font-size: 9px; letter-spacing: 1px; max-width: 122px; line-height: 1.8; margin-bottom: 2px; }
  .preview-badge > span { flex: 0 0 auto; }
  .app-window { border-radius: 8px; }
  .app-titlebar { height: 36px; padding-inline: 11px; }
  .traffic-lights { width: 41px; gap: 5px; }
  .traffic-lights i { width: 7px; height: 7px; }
  .app-titlebar > span { font-size: 9px; }
  .app-titlebar .window-shortcut { width: 41px; font-size: 9px; }
  .app-workspace { display: flex; flex-direction: column; height: auto; }
  .demo-list { overflow: visible; border-right: 0; border-bottom: 1px solid var(--app-line); padding: 0 11px 11px; }
  .demo-list-heading { padding: 14px 4px 11px; }
  .demo-list-heading h3 { font-size: 14px; }
  #note-count { font-size: 9px; }
  .demo-search { min-height: 44px; padding-inline: 9px; margin: 0 1px 10px; }
  .demo-search .icon { width: 15px; height: 15px; }
  .demo-search input { font-size: 16px; min-height: 40px; padding-block: 5px; }
  .note-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: visible; padding: 0; }
  .note-row { min-height: 53px; padding: 9px 10px; margin: 0; border: 1px solid var(--app-line); }
  .note-row-heading { display: block; }
  .note-row-title { font-size: 12px; white-space: normal; line-height: 1.4; overflow-wrap: anywhere; }
  .note-row-date, .note-row-excerpt, .note-row-tag, .demo-list-foot { display: none; }
  .note-list-empty { grid-column: 1 / -1; padding: 8px 3px; font-size: 12px; }
  .demo-editor { height: 435px; min-height: 435px; max-height: 435px; }
  .editor-toolbar { min-height: 58px; padding: 4px 12px 0 20px; }
  #editor-category { font-size: 9px; }
  .editor-button { min-width: 44px; min-height: 44px; }
  .editor-button .icon { width: 17px; height: 17px; }
  .source-toggle { font-size: 16px; }
  .note-content { padding: 4px 22px 20px; font-size: 16px; line-height: 1.75; }
  .note-content .note-date { font-size: 9px; letter-spacing: 1px; margin-bottom: 10px; }
  .note-content .note-title { font-size: 30px; letter-spacing: -.75px; margin-bottom: 18px; }
  .note-content h4 { font-size: 18px; }
  .note-content .note-related { font-size: 12px; }
  .note-content .note-tag { font-size: 11px; }
  .note-content .note-callout { font-size: 11px; }
  .note-checklist label { min-height: 44px; padding-block: 9px; }
  .note-checklist input { margin-top: 6px; width: 16px; height: 16px; }
  .markdown-source { font-size: 12px; }
  .editor-foot { padding: 11px 20px 13px; font-size: 9px; }
  .app-window.is-focused .note-content { padding-inline: 22px; }
  .app-window.is-focused .editor-toolbar, .app-window.is-focused .editor-foot { padding-inline: 20px; }
  .theme-heading { display: block; margin-top: 25px; margin-bottom: 13px; }
  .theme-heading > p:first-child { font-size: 13px; }
  #theme-status { max-width: none; text-align: left; margin-top: 6px; font-size: 12px; line-height: 1.8; }
  .theme-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .theme-pick { min-height: 49px; font-size: 12px; padding-inline: 12px; gap: 8px; }
  .theme-swatch { width: 15px; height: 15px; }
  .theme-check { width: 12px; height: 12px; }
  .preview-explanation { font-size: 12px; line-height: 1.8; margin-top: 20px; }
  .possibilities-section { padding-top: 64px; padding-bottom: 48px; }
  .possibilities-heading { display: block; margin-bottom: 27px; }
  .possibilities-heading .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 40px; line-height: 1.09; letter-spacing: -1.9px; }
  .possibilities-heading > p { font-size: 15px; line-height: 1.8; margin-top: 22px; }
  .possibilities-heading > p br { display: none; }
  .possibilities-heading > p { max-width: 330px; }
  .feature-grid { gap: 15px; }
  .feature-card { border-radius: 14px; }
  .writing-card { min-height: 0; display: flex; padding: 29px 26px 25px; }
  .feature-card .feature-number { font-size: 9px; letter-spacing: 1px; }
  .feature-card h3, .connections-card h3, .attachments-card h3 { font-size: 33px; line-height: 1.13; letter-spacing: -1.3px; margin: 20px 0 17px; }
  .feature-card p, .connections-card p, .attachments-card p { font-size: 16px; line-height: 1.8; max-width: 100%; }
  .writing-sample { width: calc(100% + 2px); margin: 35px 0 31px; padding: 25px 18px; align-self: center; }
  .sample-line { gap: 6px; }
  .sample-line strong { font-size: 20px; }
  .syntax { font-size: 12px; }
  .writing-sample > p { font-size: 14px; }
  .sample-highlight { font-size: 14px; }
  .sample-highlight .syntax { font-size: 9px; }
  .sample-task { font-size: 11px; gap: 9px; }
  .writing-margin { font-size: 11px; right: 7px; }
  .feature-footnote { font-size: 9px; padding-top: 14px; }
  .connections-card, .attachments-card { display: block; padding: 29px 26px; min-height: 0; }
  .connections-card .feature-copy, .attachments-card .feature-copy { max-width: 100%; }
  .connections-card h3 br, .attachments-card h3 br { display: initial; }
  .connection-sample { height: 210px; width: min(100%, 290px); margin: 22px auto 0; }
  .connection-first { top: 8px; left: 18px; font-size: 12px; padding: 12px 17px; }
  .connection-middle { top: 85px; right: 0; font-size: 18px; padding: 15px 19px; }
  .connection-last { bottom: 3px; left: 13px; font-size: 12px; padding: 12px 16px; }
  .connection-path { top: 36px; height: 148px; left: 48px; width: 65%; }
  .connection-spark { top: 12px; right: 20px; font-size: 35px; }
  .attachment-sample { height: 220px; width: min(100%, 285px); margin: 26px auto 0; }
  .photo-card { width: 160px; right: 10px; padding: 8px 8px 12px; }
  .photo-landscape { height: 124px; }
  .photo-card > span { font-size: 12px; }
  .file-card { bottom: 4px; left: 0; padding: 15px; }
  .file-card .icon { width: 26px; height: 29px; }
  .file-card > span { font-size: 11px; }
  .file-card small { font-size: 8px; }
  .keep-section { grid-template-columns: 1fr; gap: 20px; padding-top: 5px; padding-bottom: 49px; }
  .keep-icon { width: 55px; height: 60px; margin-bottom: 1px; }
  .keep-copy .eyebrow { font-size: 9px; letter-spacing: 1px; margin-bottom: 14px; }
  .keep-copy h2 { font-size: 29px; line-height: 1.2; letter-spacing: -1px; }
  .keep-description { grid-column: auto; margin-top: 1px; }
  .keep-description p { font-size: 15px; line-height: 1.8; }
  .keep-description .text-link { font-size: 12px; margin-top: 15px; }
  .details-section { display: block; padding-top: 53px; padding-bottom: 58px; }
  .details-heading { position: relative; margin-bottom: 29px; }
  .details-heading .eyebrow { max-width: none; font-size: 9px; letter-spacing: 1px; }
  .details-heading h2 { font-size: 45px; letter-spacing: -2px; margin-top: 20px; line-height: 1.05; }
  .question-doodle { position: absolute; width: 88px; height: 72px; top: 34px; right: 19px; margin: 0; transform: rotate(-14deg); }
  .faq-list summary { min-height: 78px; font-size: 16px; line-height: 1.55; gap: 22px; padding-block: 20px; }
  .faq-list summary .icon { width: 17px; height: 17px; }
  .faq-list details > p { font-size: 16px; line-height: 1.85; padding: 0 7px 25px 0; }
  .download-section { margin-bottom: 43px; padding: 66px 22px 45px; border-radius: 17px; }
  .download-section > .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .download-section h2 { font-size: 43px; line-height: 1.08; letter-spacing: -2px; margin-top: 23px; }
  .download-section h2 em { letter-spacing: -1.8px; }
  .download-section > p:not(.eyebrow) { font-size: 15px; margin-top: 21px; }
  .download-section > .button { margin-top: 25px; font-size: 14px; min-height: 54px; }
  .download-meta { font-size: 10px; line-height: 1.8; margin-top: 15px; }
  .download-stamp { width: 47px; height: 47px; left: 15px; top: 16px; border-color: #a69260; gap: 0; }
  .download-stamp img { width: 23px; height: 23px; }
  .download-stamp span { display: none; }
  .download-doodle { width: 49px; height: 50px; top: 20px; right: 13px; bottom: auto; }
  .site-footer { padding-block: 35px 23px; }
  .footer-content { grid-template-columns: 1fr; row-gap: 17px; padding-bottom: 23px; }
  .footer-brand { font-size: 29px; justify-self: start; }
  .footer-content > p { justify-self: start; font-size: 14px; margin-top: -7px; }
  .footer-content nav { grid-column: auto; justify-content: space-between; gap: 15px; margin-top: 6px; }
  .footer-content nav a { font-size: 11px; }
  .footer-bottom { padding-top: 20px; gap: 13px; font-size: 8px; }
  .footer-bottom > span:last-child { max-width: 110px; text-align: right; }
  dialog { padding: 31px 25px 26px; border-radius: 14px; }
  dialog > img { width: 44px; height: 44px; margin-bottom: 23px; }
  dialog .eyebrow { font-size: 9px; letter-spacing: 1px; }
  dialog h2 { font-size: 29px; letter-spacing: -1.1px; }
  #dialog-description { font-size: 14px; }
  .build-note { padding: 15px; margin-block: 20px; }
  .build-note strong { font-size: 14px; }
  .build-note p { font-size: 14px; }
  .dialog-download { font-size: 13px; padding-inline: 13px; }
  .dialog-caption { font-size: 12px; line-height: 1.8; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: clamp(56px, 18.4vw, 69px); }
  .hero-actions { gap: 5px 14px; }
  .hero-actions .button { font-size: 14px; gap: 9px; padding-inline: 16px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-actions .button .icon { width: 16px; height: 16px; }
  .idea-desk { height: 422px; }
  .idea-paper { left: 14%; width: 270px; top: 33px; padding-inline: 23px; }
  .paper-back { left: 8%; width: 264px; }
  .floating-link { right: 0; font-size: 7px; top: 70px; padding-inline: 9px; }
  .sticky-note { left: 0; width: 200px; bottom: 3px; }
  .sticky-note p { font-size: 17px; }
  .desk-caption { right: 3px; font-size: 11px; }
  .desk-arrow { width: 58px; right: -2px; bottom: 30px; }
  .desk-spark { right: 0; }
  .facts-strip { gap: 21px 12px; }
  .facts-strip p { font-size: 11px; gap: 8px; }
  .notebook-container { width: calc(100% - 28px); }
  .notebook-heading h2 { font-size: 41px; }
  .notebook-intro { gap: 13px; }
  .notebook-intro > p { font-size: 14px; }
  .preview-badge { max-width: 112px; font-size: 9px; }
  .theme-pick { font-size: 12px; gap: 7px; padding-inline: 10px; }
  .theme-swatch { width: 13px; height: 13px; }
  .theme-check { width: 11px; height: 11px; }
  .feature-card .feature-number { font-size: 9px; }
  .feature-card h3, .connections-card h3, .attachments-card h3 { font-size: 31px; }
  .writing-sample { padding-inline: 14px; }
  .sample-line strong { font-size: 18px; }
  .sample-task { font-size: 10px; gap: 6px; }
  .feature-footnote { font-size: 8px; }
  .download-section h2 { font-size: 39px; }
  .download-section > .eyebrow { font-size: 9px; }
  .download-meta { font-size: 10px; }
}

@media (max-width: 350px) {
  .idea-paper { left: 12%; width: min(250px, calc(100% - 48px)); padding-inline: 20px; }
  .idea-paper h2 { font-size: 29px; }
  .paper-back { left: 8%; width: calc(100% - 55px); }
  .sticky-note { width: 185px; padding-inline: 17px; }
  .sticky-note p { font-size: 16px; }
  .desk-caption { right: 0; width: 85px; text-align: right; font-size: 10px; line-height: 1.4; }
}

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