.features-page .tour-opening {padding-bottom:0}
.features-page .tour-hero {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.25fr);
  align-items:center;
  gap:clamp(28px, 4.5vw, 70px);
  padding-block:0 clamp(42px, 6vw, 88px);
}
.features-page .tour-hero h1 {
  font-size:clamp(50px, 6.2vw, 94px);
  letter-spacing:-.043em;
  margin:18px 0 22px;
}
.features-page .tour-hero h1 em {color:#6d795e}
.features-page .tour-hero-copy > p:not(.eyebrow) {max-width:40ch}
.features-page .tour-tagline {margin-top:16px;color:var(--text);font-weight:600}
.features-page .tour-hero .app-store-badge {margin:24px 0 8px}
.features-page .tour-hero .reminder-preview {margin-top:24px}
.features-page .tour-trial {font-size:12px;margin-top:6px}
.features-page figure:not(.reflect-figure) > figcaption {
  margin-top:9px;
  color:#665e51;
  font:italic 14px/1.5 Source Serif,Georgia,serif;
}
.features-page .tour-chapter {
  border-top:1px solid #c9bfa9;
  padding-block:clamp(46px, 6vw, 84px);
}
.features-page .tour-split {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  gap:clamp(32px, 5.2vw, 76px);
}
.features-page .tour-image-first figure {grid-column:1;grid-row:1}
.features-page .tour-image-first .tour-copy {grid-column:2;grid-row:1}
.features-page .tour-chapter h2 {
  margin:16px 0;
  font-size:clamp(36px,4.15vw,60px);
  letter-spacing:-.03em;
  text-wrap:balance;
}
.features-page .tour-chapter-intro {max-width:760px;margin-bottom:28px}
.features-page .tour-lead {max-width:64ch}
.features-page .tour-list {
  margin:25px 0 0;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:13px 42px;
}
.features-page .tour-list-paired {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px}
.features-page .tour-list-paired > div {padding:14px 0;border-top:1px solid #c9bfa9}
.features-page .tour-list dt {font-weight:650;color:#29392e}
.features-page .tour-list dd {margin:2px 0 0;color:#665e51;font-size:15px;line-height:1.6}
.tour-rediscover-figure {
  width:min(100%,1002px);
  margin-inline:auto;
  border-radius:16px;
  box-shadow:0 10px 22px #4a39231f,0 2px 4px #4a392313;
}
.features-page .tour-intelligence {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,5vw,68px)}
.features-page .tour-intelligence > div {display:grid;grid-template-rows:auto auto auto 1fr;justify-items:start;align-content:start;min-width:0}
.features-page .tour-intelligence h3 {margin-bottom:9px}
.features-page .tour-intelligence h3 .feature-name,
.features-page .tour-intelligence .guide-search-drawer .feature-name {font-weight:inherit}
.features-page .tour-intelligence > div > p {max-width:52ch}
.features-page .tour-intelligence .text-link {margin:12px 0 20px}
.features-page .tour-intelligence .tour-drawer-figure {margin:0;align-self:start;max-width:none}
.features-page .tour-aside {margin-top:28px}
.features-page .tour-aside p {font-size:14px;max-width:78ch}
.features-page .tour-privacy {background:#eee7d7;padding-inline:clamp(20px,4.5vw,66px);border-bottom:1px solid #c9bfa9}
.features-page .tour-links {display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:16px}
.features-page .tour-list dt:has(> .tour-glyph) {
  display:grid;
  grid-template-columns:19px minmax(0,1fr);
  align-items:start;
  column-gap:5px;
}
.features-page .tour-list dt > .tour-glyph {
  display:block;
  width:19px;
  height:19px;
  /* Center against the first line when the label wraps. */
  margin-block-start:calc((1lh - 19px) / 2);
  overflow:visible;
}
@media (max-width:900px) {
  .features-page .tour-hero,.features-page .tour-split {grid-template-columns:minmax(0,1fr)}
  .features-page .tour-split figure {max-width:680px}
  .features-page .tour-image-first figure,.features-page .tour-image-first .tour-copy {grid-column:auto;grid-row:auto}
}
@media (max-width:700px) {
  .features-page .tour-hero h1 {font-size:clamp(45px,10.8vw,66px)}
  .features-page .tour-list-paired,.features-page .tour-intelligence {grid-template-columns:minmax(0,1fr)}
}

/* Features hero illustration. The sample UI is static and uses the guide palette. */
.tour-feature-art {
  --art-paper:#f9f5e9;
  --art-panel:#faf6eb;
  --art-selected:#e7e1d5;
  --art-arrow:#22332d;
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-template-rows:auto auto clamp(158px,13vw,192px) auto auto;
  gap:15px 6px;
  align-items:start;
  min-width:0;
  width:100%;
  max-width:680px;
  margin-inline:auto;
  color:var(--text);
  font-size:12px;
  line-height:1.35;
}
.tour-feature-art p {margin:0;font-size:inherit;line-height:inherit}
.tour-feature-art ul {margin:0}
.tour-feature-art ul {list-style:none;padding:0}
.tour-art-module {display:contents}
.tour-art-panel,.tour-art-callout {
  min-width:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--art-panel);
  box-shadow:0 6px 15px #3b30231c;
}
.tour-art-glyph {display:block;width:14px;height:14px;flex:none}
.tour-art-serif {font-family:"Source Serif",Georgia,serif}
.tour-art-callout {
  position:relative;
  display:flex;
  align-items:center;
  align-self:stretch;
  gap:10px;
  padding:10px 12px;
  background:var(--art-paper);
  border-color:#cdbb96;
  z-index:3;
}
.tour-art-callout > .tour-art-glyph {width:25px;height:25px}
.tour-art-callout p {color:var(--text)}
.tour-art-connector {
  position:absolute;
  top:calc(100% + 1px - var(--connector-trim, 0px));
  left:calc(var(--connector-anchor) - 11px);
  width:22px;
  height:39px;
  color:var(--art-arrow);
  pointer-events:none;
}
.tour-art-search {--connector-anchor:25%}
.tour-art-collections {--connector-anchor:72%}
.tour-art-reflect {--connector-anchor:75%}
.tour-art-echo {--connector-anchor:25%}
.tour-art-reflect .tour-art-connector,.tour-art-echo .tour-art-connector {top:auto;bottom:calc(100% + 1px - var(--connector-trim, 0px));transform:scaleY(-1)}
.tour-art-echo .tour-art-connector {transform:scale(-1)}
.tour-art-search .tour-art-callout {grid-area:1 / 1 / 2 / 7}
.tour-art-collections .tour-art-callout {grid-area:1 / 8 / 2 / 13}
.tour-art-reflect .tour-art-callout {grid-area:5 / 1 / 6 / 7}
.tour-art-echo .tour-art-callout {grid-area:5 / 8 / 6 / 13}
.tour-art-demo {position:relative;z-index:2;padding:10px}
.tour-art-search .tour-art-demo {grid-area:2 / 2 / 3 / 8;transform:translate(-6px,-2px) rotate(-1.25deg)}
.tour-art-collections .tour-art-demo {grid-area:2 / 9 / 3 / 13;transform:translate(4px,-2px) rotate(2.5deg);margin-right:5px}
.tour-art-reflect .tour-art-demo {grid-area:4 / 2 / 5 / 8;transform:translate(-5px,2px) rotate(-1.25deg)}
.tour-art-echo .tour-art-demo {grid-area:4 / 8 / 5 / 13;transform:translate(4px,2px) rotate(1.25deg)}
.tour-art-reflect .tour-art-demo,.tour-art-echo .tour-art-demo {align-self:end}
.tour-art-panel-title,.tour-art-query {
  display:flex;
  align-items:center;
  gap:7px;
}
.tour-art-panel-title {font-size:16px;line-height:1.15;padding:0 0 8px;border-bottom:1px solid var(--line)}
.tour-art-query {border:1px solid var(--line);border-radius:7px;padding:5px 7px;background:var(--art-paper)}
.tour-art-query span {min-width:0}
.tour-art-search .tour-art-query {margin-top:8px}
.tour-art-search-count {margin:5px 0;color:var(--muted);font-size:11px}
.tour-art-collection-list small {color:var(--muted);font-weight:400}
.tour-art-results li {
  display:grid;
  grid-template-columns:clamp(32px,4vw,49px) minmax(0,1fr);
  align-items:center;
  gap:7px;
  padding:5px 0;
  border-top:1px solid var(--line);
}
.tour-art-results img {width:100%;height:auto;aspect-ratio:1.18;object-fit:cover;border-radius:4px}
.tour-art-results p {
  color:var(--muted);
  font-size:11px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.tour-feature-art .tour-art-collection-list {display:grid;gap:3px;margin-top:5px}
.tour-art-collection-list li {
  display:flex;
  gap:6px;
  align-items:center;
  padding:3px 5px;
  border:1px solid transparent;
  border-radius:5px;
  line-height:1.15;
}
.tour-art-collection-list .tour-art-active {background:var(--art-selected);border-color:#a79d86}
.tour-art-collection-list small {display:block;margin-top:2px;font-size:10px}
.tour-art-period {margin:8px 0 5px;font-weight:650}
.tour-art-echo .tour-art-demo p {margin-top:8px;font-size:13px}
.tour-art-waveform {
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:8px;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:20px;
}
.tour-art-play {
  flex:none;
  width:20px;
  height:20px;
  color:var(--button-text);
  background:var(--button);
  border-radius:50%;
}
.tour-art-waveform img {width:100%;min-width:0;height:auto;flex:1}
.tour-art-journal {
  grid-area:3 / 1 / 4 / 12;
  align-self:center;
  overflow:hidden;
  border-radius:11px;
  background:var(--art-paper);
}
.tour-art-journal-bar {display:flex;align-items:center;gap:4px;height:23px;padding-inline:9px;border-bottom:1px solid var(--line)}
.tour-art-journal-bar span {width:6px;height:6px;border-radius:50%;background:#c25742}
.tour-art-journal-bar span:nth-child(2) {background:#d5a341}
.tour-art-journal-bar span:nth-child(3) {background:#719752}
.tour-art-journal-grid {display:grid;grid-template-columns:minmax(94px,22%) minmax(0,1fr)}
.tour-art-sidebar {padding:9px 6px;border-right:1px solid var(--line);background:#eee7d8;font-size:10px}
.tour-art-sidebar b {display:block;margin:0 4px 8px;font-size:14px}
.tour-art-sidebar ul {display:grid;gap:2px}
.tour-art-sidebar li {display:flex;gap:4px;align-items:center;padding:3px;border-radius:4px}
.tour-art-sidebar .tour-art-glyph {width:11px;height:11px}
.tour-art-sidebar .tour-art-active {color:#faf6eb;background:var(--button)}
.tour-art-editor {min-width:0;padding:9px 11px}
.tour-art-date,.tour-art-toolbar {display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}
.tour-art-date {padding:0 0 6px;font-size:15px}
.tour-art-toolbar {flex-wrap:wrap;gap:7px;padding:7px 0}
.tour-art-toolbar .tour-art-glyph {width:12px;height:12px}
.tour-art-entry {display:flow-root;padding-top:9px}
.tour-art-entry strong {display:block;font-family:Source Serif,Georgia,serif;font-size:18px;margin-bottom:5px}
.tour-art-entry img {float:right;width:47%;height:auto;margin:2px 0 0 9px;border-radius:7px}
.tour-feature-art .tour-art-entry p {line-height:1.5}

/* Reserve room at the outer rows so the central cards keep their layering. */
.tour-art-connector-tail-short {display:none}
@media (width > 580px) {
  .tour-feature-art {--connector-space:calc(26px - var(--connector-trim, 0px))}
  .tour-art-search .tour-art-callout,.tour-art-collections .tour-art-callout {margin-bottom:var(--connector-space)}
  .tour-art-reflect .tour-art-callout,.tour-art-echo .tour-art-callout {margin-top:var(--connector-space)}
  .tour-art-reflect .tour-art-callout {transform:translateX(-7px)}
  .tour-art-reflect .tour-art-demo {transform:translate(-12px,2px) rotate(-1.25deg)}
}
@media (580px < width <= 700px), (900px < width <= 1120px) {
  .tour-feature-art {--connector-trim:9px}
  .tour-art-connector-tail {display:none}
  .tour-art-connector-tail-short {display:inline}
}

@media (max-width:580px) {
  .tour-feature-art {grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:18px}
  .tour-art-journal {grid-area:auto}
  .tour-art-module {display:grid;gap:12px}
  .tour-feature-art .tour-art-callout,.tour-feature-art .tour-art-demo {grid-area:auto}
  .tour-feature-art .tour-art-demo {margin:0;transform:none}
  .tour-feature-art .tour-art-connector {display:none}
  .tour-art-entry img {width:100%;float:none;margin:0 0 6px}
}

/* Static Writing Experience illustration, using the app's Forest & Brass palette. */
.tour-writing-figure {width:100%;min-width:0;margin:0}
.tour-writing-art {
  --writing-ink:#302c24;
  --writing-muted:#686b5e;
  --writing-accent:#22332d;
  --writing-border:#d9d0be;
  --writing-paper:#fbf6ea;
  --writing-pane:#f5efdf;
  --writing-serif:"Source Serif",Georgia,serif;
  --writing-ui:-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  container-type:inline-size;
  color:var(--writing-ink);
  font:12px/1.5 var(--writing-ui);
}
.tour-writing-art p {margin:0;color:inherit;font:inherit}
.tour-writing-art svg {display:block;width:1em;height:1em;flex:none}
.tour-writing-window {
  display:grid;
  margin-inline-end:clamp(12px,4cqw,22px);
  grid-template-columns:clamp(94px,22cqw,128px) minmax(0,1fr);
  border:1px solid var(--writing-border);
  border-radius:12px;
  background:var(--writing-paper);
  box-shadow:0 8px 22px #0b1b2124;
  overflow:hidden;
}
.tour-writing-lights {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:4px;
  padding:8px;
  background:var(--writing-pane);
  border-bottom:1px solid var(--writing-border);
}
.tour-writing-lights span {width:7px;height:7px;border-radius:50%;background:#ff5f57}
.tour-writing-lights span:nth-child(2) {background:#ffbd2e}
.tour-writing-lights span:nth-child(3) {background:#28c840}
.tour-writing-sidebar {
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 6px;
  background:var(--writing-pane);
  border-right:1px solid var(--writing-border);
  font-size:10px;
  line-height:1.35;
}
.tour-writing-sidebar .tour-writing-wordmark {
  margin:0 0 8px;
  padding-inline:4px;
  color:var(--writing-accent);
  font:700 15px/1.15 var(--writing-serif);
  letter-spacing:-.035em;
}
.tour-writing-sidebar > div {
  display:flex;
  align-items:center;
  gap:5px;
  padding:4px;
  border-radius:4px;
}
.tour-writing-sidebar svg {font-size:12px;color:var(--writing-muted)}
.tour-writing-sidebar hr {width:calc(100% - 8px);margin:4px auto;border:0;border-top:1px solid var(--writing-border)}
.tour-writing-sidebar .tour-writing-current {background:var(--writing-accent);color:#faf6eb}
.tour-writing-current svg {color:inherit}
.tour-writing-sidebar .tour-writing-settings {margin-top:auto;padding-top:10px;color:var(--writing-muted)}
.tour-writing-page {
  min-width:0;
  padding:clamp(8px,2.5cqw,16px) clamp(8px,2.5cqw,16px) 32px;
  background:
    linear-gradient(#fbf6eacf,#fbf6eacf),
    url('/assets/paper-trail/paper-light.png') center top/620px auto;
}
.tour-writing-header {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px;
  padding-bottom:7px;
  border-bottom:1px solid var(--writing-border);
}
.tour-writing-date {display:flex;align-items:center;justify-content:space-between;gap:4px;font:400 17px/1.3 var(--writing-serif)}
.tour-writing-date svg {font-size:12px}
.tour-writing-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.tour-writing-tab {
  padding:4px 5px;
  border-radius:4px;
  border-bottom:2px solid transparent;
  color:var(--writing-muted);
  font-size:10px;
  line-height:1.35;
}
.tour-writing-tab strong {display:block;font-weight:600}
.tour-writing-tab span {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.tour-writing-tab.tour-writing-selected {color:var(--writing-ink);background:#e7e1d5;border-bottom-color:var(--writing-accent)}
.tour-writing-toolbar {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:5px 0;
  padding-block:8px;
  border-bottom:1px solid var(--writing-border);
  color:var(--writing-muted);
  font-size:clamp(8px,2.05cqw,13px);
}
.tour-writing-toolbar > span {display:flex;gap:.29em;padding-inline:.32em;border-right:1px solid var(--writing-border)}
.tour-favorite-filled {color:#B96570;fill:currentColor}
.tour-writing-toolbar > span:first-child {padding-left:0}
.tour-writing-toolbar > span:last-child {padding-right:0;border-right:0}
.tour-writing-entry {display:flow-root;font-size:clamp(12px,2.65cqw,15px)}
.tour-writing-entry .tour-writing-title {margin:11px 0 8px;font:400 clamp(17px,4.8cqw,25px)/1.35 var(--writing-serif)}
.tour-writing-entry .tour-writing-emphasis {margin-top:9px}
.tour-writing-entry ul {margin:3px 0 9px;padding-left:1.4em}
.tour-writing-entry li::marker {color:var(--writing-accent)}
.tour-writing-entry .tour-writing-link {color:var(--writing-accent);text-decoration:underline;text-underline-offset:3px}
.tour-writing-entry .tour-writing-mention {text-decoration-color:color-mix(in srgb,var(--writing-accent) 35%,transparent)}
.tour-writing-preview {
  display:grid;
  grid-template-columns:minmax(0,29%) minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:5px;
  border:1px solid var(--writing-border);
  border-radius:7px;
  background:var(--writing-paper);
  box-shadow:0 2px 5px #4a392313;
  overflow-wrap:anywhere;
}
.tour-writing-preview img {display:block;width:100%;height:auto;border-radius:4px}
.tour-writing-preview span {display:block;color:var(--writing-muted)}
.tour-writing-entry blockquote {
  margin:12px 0 10px 1em;
  padding-left:1em;
  border-left:2px solid var(--writing-accent);
  font-style:italic;
}
.tour-writing-prediction {white-space:nowrap}
.tour-writing-ghost {position:relative;color:color-mix(in srgb,var(--writing-ink) 37.5%,transparent)}
.tour-writing-ghost::before {
  content:"";
  position:absolute;
  inset-block:0;
  border-left:1px solid var(--writing-ink);
}
.tour-writing-photos {
  position:relative;
  isolation:isolate;
  float:right;
  width:clamp(92px,28cqw,166px);
  aspect-ratio:4/3;
  margin:4px 14px 11px 13px;
}
.features-page .tour-writing-photos img {
  position:absolute;
  inset:0;
  height:100%;
  object-fit:cover;
  border-radius:6px;
  box-shadow:0 2px 5px #0003;
}
.tour-writing-photos img:first-child {transform:translate(11px,6px) rotate(4deg)}
.tour-writing-photos img:nth-child(2) {transform:translate(6px,3px) rotate(2deg)}
.tour-writing-photos span {
  position:absolute;
  left:5px;
  bottom:5px;
  padding:2px 6px;
  border-radius:12px;
  background:var(--writing-paper);
  box-shadow:0 1px 5px #0002;
  font-size:10px;
}
.tour-writing-prompt {
  position:relative;
  transform:rotate(3deg);
  width:min(76%,248px);
  margin:-24px 8px 0 auto;
  padding:clamp(12px,3cqw,16px);
  border:1px solid var(--writing-border);
  border-radius:9px;
  background:#f8f2e5;
  box-shadow:0 5px 14px #0b1b2129;
}
.tour-writing-prompt-label {display:flex;align-items:center;gap:6px;color:var(--writing-accent);font-size:11px;letter-spacing:.04em}
.tour-writing-prompt-label svg {font-size:15px}
.tour-writing-prompt p {margin:8px 0;font:400 15px/1.45 var(--writing-serif)}
.tour-writing-prompt-actions {display:grid;gap:5px;text-align:center;font:11px/1.35 var(--writing-ui)}
.tour-writing-prompt-actions span {padding:5px;border:1px solid var(--writing-border);border-radius:5px}
.tour-writing-prompt-actions span:first-child {color:#faf6eb;background:var(--writing-accent);border-color:var(--writing-accent)}
@container (max-width:450px) {
  .tour-writing-header {grid-template-columns:minmax(0,1fr)}
  .tour-writing-date {width:88px}
}
@container (max-width:370px) {
  .tour-writing-window {grid-template-columns:30px minmax(0,1fr)}
  .tour-writing-sidebar > div {justify-content:center;padding-inline:0}
  .tour-writing-sidebar .tour-writing-wordmark,.tour-writing-sidebar span {display:none}
  .tour-writing-photos {float:none;margin:0 14px 10px auto}
}

/* The static Places drawer uses the app's Forest & Brass surfaces. */
.tour-places-art {
  --places-paper:#fbf6ea;
  --places-pane:#f5efdf;
  --places-ink:#302c24;
  --places-muted:#686b5e;
  --places-accent:#22332d;
  --places-border:#d9d0be;
  --places-serif:"Source Serif",Georgia,serif;
  container-type:inline-size;
  color:var(--places-ink);
  font:12px/1.45 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
}
.tour-places-stack {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  max-width:570px;
  margin-inline:auto;
  padding-block:14px;
  isolation:isolate;
}
.tour-places-editor,.tour-places-drawer {
  min-width:0;
  padding:clamp(10px,3.4cqw,20px);
  border:1px solid var(--places-border);
  border-radius:clamp(12px,4cqw,24px);
  box-shadow:0 10px 22px #4a39231f,0 2px 4px #4a392313;
}
.tour-places-editor {
  width:82%;
  margin-inline-start:4%;
  transform:rotate(-4deg);
  background:linear-gradient(#fbf6eacf,#fbf6eacf),url('/assets/paper-trail/paper-light.png') center top/620px auto;
}
.tour-places-drawer {
  position:relative;
  justify-self:end;
  width:73%;
  margin-block-start:calc(-1 * clamp(44px,17cqw,98px));
  margin-inline-end:3%;
  transform:rotate(3deg);
  background:var(--places-pane);
}
.tour-places-art img {display:block;width:100%;height:auto}
.tour-places-art p {margin:0;color:inherit;font:inherit}
.tour-places-art svg {display:block;width:1em;height:1em;flex:none}
.tour-places-date,.tour-places-heading {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:29px;
  font:400 clamp(15px,3.7cqw,22px)/1.25 var(--places-serif);
}
.tour-places-date {
  justify-content:space-between;
  text-align:center;
  padding-bottom:6px;
  border-bottom:1px solid var(--places-border);
}
.tour-places-date svg {font-size:12px;color:var(--places-muted)}
.tour-places-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 0;
  padding-block:7px;
  border-bottom:1px solid var(--places-border);
  color:var(--places-muted);
  font-size:clamp(9px,2.45cqw,12px);
}
.tour-places-toolbar > span {
  display:flex;
  align-items:center;
  gap:.35em;
  padding-inline:.42em;
  border-right:1px solid var(--places-border);
}
.tour-places-toolbar > span:first-child {padding-left:0}
.tour-places-toolbar > span:last-child {padding-right:0;border-right:0}
.tour-places-selected {
  display:grid;
  place-items:center;
  padding:2px;
  border-radius:3px;
  background:#e7e1d5;
  box-shadow:inset 0 0 0 1px var(--places-accent);
  color:var(--places-accent);
}
.tour-places-art .tour-places-title {margin-top:10px;font:400 clamp(17px,4.1cqw,25px)/1.35 var(--places-serif)}
.tour-places-art .tour-places-location {display:flex;align-items:center;gap:4px;margin:4px 0 10px;color:var(--places-muted)}
.tour-places-photos {
  position:relative;
  isolation:isolate;
  aspect-ratio:440/275;
  margin:0 8px 7px 0;
}
.features-page .tour-places-photos img {
  position:absolute;
  inset:0;
  height:100%;
  object-fit:cover;
  border-radius:6px;
  box-shadow:0 2px 5px #0002;
}
.tour-places-photos img:first-child {transform:translate(5px,3px) rotate(2deg)}
.tour-places-photos span {
  position:absolute;
  bottom:5px;
  left:5px;
  padding:2px 6px;
  border-radius:12px;
  background:var(--places-paper);
  box-shadow:0 1px 5px #0002;
  font-size:10px;
}
.tour-places-heading {margin-bottom:10px;color:var(--places-accent)}
.tour-places-heading svg {font-size:15px}
.tour-places-close {margin-left:auto;font:18px/1 system-ui,sans-serif;color:var(--places-muted)}
.tour-places-map {
  position:relative;
  isolation:isolate;
  border:1px solid var(--places-border);
  aspect-ratio:720/430;
  background:#e9e9dc;
}
.tour-places-map img {border-radius:5px}
.tour-places-scale,.tour-places-compass,.tour-places-zoom {
  position:absolute;
  background:#fbf6eaf5;
  color:var(--places-ink);
}
.tour-places-scale {
  inset:5px auto auto 5px;
  width:30.95%; /* One mile across the 5.2 km export at the marked latitude. */
  padding-inline:3px;
  border-bottom:2px solid var(--places-ink);
  font-size:9px;
}
.tour-places-marker {
  position:absolute;
  top:50%;
  left:50%;
  width:17px;
  height:17px;
  border:2px solid white;
  border-radius:50% 50% 50% 0;
  background:#c4374f;
  box-shadow:0 1px 3px #0004;
  transform:translate(-50%,-121%) rotate(-45deg);
}
.tour-places-marker::after {
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  background:white;
}
.tour-places-compass {
  display:grid;
  place-items:center;
  right:26px;
  bottom:5px;
  width:18px;
  height:18px;
  border:1px solid var(--places-border);
  border-radius:50%;
  font-size:9px;
}
.tour-places-zoom {
  display:grid;
  right:5px;
  bottom:5px;
  width:17px;
  border:1px solid var(--places-border);
  border-radius:7px;
  text-align:center;
  font-size:12px;
  line-height:14px;
}
.tour-places-zoom span + span {border-top:1px solid var(--places-border)}
.tour-places-art .tour-places-credit {margin-top:4px;color:var(--places-muted);font-size:9px}
.tour-places-actions {display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}
.tour-places-actions span {
  padding:4px 6px;
  border:1px solid var(--places-border);
  border-radius:5px;
  font-size:10px;
}
.tour-places-media {
  position:absolute;
  inset:auto -1% 0 -29%;
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  align-items:end;
  transform:translateY(88%);
  pointer-events:none;
}
.tour-places-media > div {
  position:relative;
  min-width:0;
  padding:4px;
  border:1px solid var(--places-border);
  border-radius:7px;
  background:var(--places-paper);
  box-shadow:0 5px 12px #4a392329;
}
.tour-places-media-photo {transform:rotate(-8deg)}
.tour-places-media-video {margin-inline-start:-10%;transform:rotate(5deg)}
.tour-places-media-audio {
  margin-inline-start:-9%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:1px 4px;
  transform:rotate(-5deg) translateY(-8%);
}
.tour-places-media :is(.tour-places-media-photo,.tour-places-media-video) img {
  aspect-ratio:1.65;
  object-fit:cover;
  border-radius:4px;
}
.tour-places-media-video svg {
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  box-sizing:content-box;
  padding:4px;
  border-radius:50%;
  color:var(--places-paper);
  background:#22332dd9;
}
.tour-places-media-video span {
  position:absolute;
  right:6px;
  bottom:6px;
  padding:0 3px;
  border-radius:3px;
  color:var(--places-paper);
  background:#22332de8;
}
.tour-places-media span {font-size:10px}
.tour-places-media-audio span {grid-column:2;justify-self:end}
.tour-places-stack {padding-block-end:clamp(56px,17cqw,92px)}
@container (max-width:390px) {
  .tour-places-stack {padding-block-start:8px}
  .tour-places-editor {width:87%;margin-inline-start:3%;transform:rotate(-2deg)}
  .tour-places-drawer {margin-block-start:-24px;margin-inline-end:2%;transform:rotate(1.5deg)}
}

/* Clip the capture and the replacement Today writing together. */
.tour-rediscover-image {
  position:relative;
  container-type:inline-size;
  overflow:hidden;
  clip-path:inset(0 round 1.55% / 2.2%);
}
.tour-rediscover-image img {display:block;width:100%;height:auto}
/* Shift the capture's heading strip 75px left on its 1800px source canvas. */
.tour-rediscover-heading {
  position:absolute;
  inset:0;
  clip-path:inset(3.5% 20.8% 86% 33.2%);
  transform:translateX(-4.17%);
}
/* Replace both toolbar rows baked into the 1800 × 1241 journal capture. */
.tour-rediscover-toolbar {
  position:absolute;
  inset:33% 53.55% 53.6% 5.08%;
  display:flex;
  flex-wrap:nowrap;
  align-items:flex-start;
  gap:.8cqw;
  padding:1.1cqw .35cqw 0;
  background:#f9f1e6;
  color:#302c24;
}
.tour-rediscover-toolbar::after {
  content:"";
  position:absolute;
  inset:3.55cqw 0 auto;
  border-block-start:1px solid #d9d0be;
}
.tour-rediscover-toolbar > span {display:flex;align-items:center;gap:.54cqw}
.tour-rediscover-toolbar > span + span {padding-inline-start:.8cqw;border-inline-start:1px solid #d9d0be}
.tour-rediscover-toolbar svg {display:block;flex:none;width:1.50cqw;height:1.50cqw}
.tour-rediscover-writing {
  position:absolute;
  inset:40.5% 53.2% 0 5.1%;
  padding-inline-end:1.3cqw;
  overflow:hidden;
  background:#f9f1e6;
  color:#302c24;
  font:400 1.78cqw/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.tour-rediscover-writing p {margin:0;color:inherit;font:inherit}
.tour-rediscover-writing p + p {margin-top:1lh}

/* Use the drawer itself as the card, without the standalone guide's outer mount. */
.features-page .tour-intelligence .tour-drawer-figure {
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
}
.tour-drawer-figure .guide-demo {
  background-color:#f8f2e5;
  box-shadow:0 10px 22px #4a39231f,0 2px 4px #4a392313;
}

/* The scheduled reminder is an And Then menu bar panel, shown here at rest. */
.tour-writing-reminders {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(24px,5.2vw,76px);
  align-items:center;
}
.features-page .tour-writing-reminders h2 {
  font-size:clamp(29px,3.4vw,46px);
  letter-spacing:-.03em;
  margin-bottom:14px;
  text-wrap:balance;
}
.tour-reminder-note {font-size:14px;margin-top:12px}
.tour-reminder-art {
  width:100%;
  min-width:0;
  margin:0;
  padding:clamp(16px,3vw,34px);
  display:grid;
  place-items:center;
}
.tour-reminder-panel {
  position:relative;
  width:min(100%,299px);
  padding:clamp(13px,3vw,22px);
  border:1px solid #d8cebb;
  border-radius:12px;
  background:#f8f2e5;
  color:#302c24;
  box-shadow:0 10px 22px #4a39231f,0 2px 4px #4a392313;
  font:13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.tour-reminder-panel::before {
  content:"";
  position:absolute;
  top:-7px;
  left:calc(50% - 6px);
  width:12px;
  height:12px;
  transform:rotate(45deg);
  background:inherit;
  border-top:inherit;
  border-left:inherit;
}
.tour-reminder-brand,.tour-reminder-action {display:flex;align-items:center;gap:9px}
.tour-reminder-panel svg {width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.tour-reminder-brand {font:16px/1.25 Georgia,serif;color:#29392e}
.tour-reminder-brand svg {width:19px;height:19px}
.tour-reminder-panel .tour-reminder-title {margin:17px 0 8px;font:23px/1.2 Georgia,serif;color:#29392e}
.tour-reminder-panel .tour-reminder-question {margin:0 0 17px;color:#665e51;font:inherit}
.tour-reminder-primary {display:block;padding:12px 6px;margin-bottom:5px;border-radius:9px;background:#29392e;color:#faf6eb;text-align:center;font-size:14px;font-weight:500}
.tour-reminder-action {padding:7px 9px;min-height:33px}
.tour-reminder-utilities {border-top:1px solid #d8cebb;margin-top:6px;padding-top:5px}
.tour-reminder-utilities > :last-child {color:#665e51}

/* Echo's fictional entry and player share the site's journal-paper surfaces. */
.tour-echo-art {
  width:100%;
  min-width:0;
  margin:0;
  container-type:inline-size;
}
.tour-echo-stack {
  position:relative;
  isolation:isolate;
  display:grid;
  padding:clamp(10px,3cqw,18px) 0 clamp(10px,4cqw,22px);
  color:#302c24;
}
.tour-echo-entry {
  min-width:0;
  padding:clamp(12px,4.6cqw,24px);
  border:1px solid #d8cebb;
  border-radius:clamp(12px,4cqw,23px);
  box-shadow:0 10px 22px #4a392325,0 2px 4px #4a392316;
  background:linear-gradient(#fbf6eacf,#fbf6eacf),url('/assets/paper-trail/paper-light.png') center top/620px auto;
  font:400 clamp(12px,3.3cqw,17px)/1.45 Source Serif,Georgia,serif;
}
.tour-echo-entry p {margin:0;color:inherit;font:inherit}
.tour-echo-entry time {font-size:.85em}
.tour-echo-entry .tour-echo-title {margin:5px 0 8px;font-size:1.45em;line-height:1.18;color:#29392e}
.tour-echo-older {
  position:absolute;
  top:clamp(6px,3cqw,16px);
  right:5%;
  width:70%;
  min-height:58%;
  transform:rotate(5deg);
  background-color:#f5eddb;
}
.tour-echo-older .tour-echo-title {margin-bottom:10px}
.tour-echo-current {
  position:relative;
  width:83%;
  margin:clamp(76px,18cqw,105px) 0 0 5%;
  padding-bottom:clamp(35px,9cqw,52px);
  transform:rotate(-3.5deg);
}
.tour-echo-place {display:flex;align-items:center;gap:5px}
.tour-echo-icon {width:1.25em;height:1.25em;flex:none}
.tour-echo-current .tour-echo-place {color:#665e51;font-size:.84em}
.tour-echo-photo {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1.65;
  object-fit:cover;
  object-position:center 42%;
  border-radius:clamp(6px,2cqw,12px);
  margin:9px 0 10px;
}
.tour-echo-player {
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(8px,2.6cqw,15px);
  width:96%;
  margin:-26px auto 0;
  inset-block-start:-100px;
  padding:clamp(8px,2.05cqw,12px) clamp(9px,2.5cqw,15px);
  border:1px solid #d8cebb;
  border-radius:clamp(15px,4cqw,24px);
  background:#faf5e9;
  box-shadow:0 10px 22px #4a392325,0 2px 4px #4a392316;
  font:400 clamp(10px,2.6cqw,13px)/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:#22332d;
}
.tour-echo-label {display:flex;align-items:center;gap:clamp(4px,1.8cqw,9px)}
.tour-echo-label .tour-echo-icon {width:clamp(14px,5cqw,24px);height:auto}
.tour-echo-label strong,.tour-echo-label span {display:block}
.tour-echo-label strong {font:700 1.5em/1.15 Source Serif,Georgia,serif;color:#302c24}
.tour-echo-label span {color:#666b5f}
.tour-echo-track {display:grid;min-width:0;gap:clamp(3px,1cqw,6px)}
.tour-echo-waveform {
  aspect-ratio:270 / 52;
  background:currentColor;
  mask:url('/assets/homepage/echo-waveform.svg') center / contain no-repeat;
}
.tour-echo-progress {
  height:clamp(2px,.7cqw,4px);
  border-radius:999px;
  background:linear-gradient(to right,#22332d 43%,#d8cebb 43%);
}
.tour-echo-controls {display:flex;align-items:center;gap:clamp(4px,1.6cqw,10px);color:#302c24}
.tour-echo-controls svg {display:block;width:clamp(12px,3.25cqw,19px);height:auto}
.tour-echo-pause {
  display:grid;
  place-items:center;
  width:clamp(22px,7cqw,39px);
  aspect-ratio:1.12;
  border-radius:clamp(4px,1.3cqw,8px);
  background:#22332d;
  color:#faf6eb;
}
@media (max-width:900px) {
  .tour-writing-reminders {grid-template-columns:minmax(0,1fr)}
  .tour-echo-art {justify-self:center}
}
@container (max-width:380px) {
  .tour-echo-older {right:4%;transform:rotate(3deg)}
  .tour-echo-current {transform:rotate(-2.5deg)}
}

/* App theme backgrounds and selected colors follow journal/theme.js. */
.tour-themes {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  align-items:center;
  gap:clamp(26px,4vw,52px);
}
.tour-theme-preview {
  --theme-art:url('/assets/screenshots/features/theme-zen.webp');
  --theme-selected:#22332d;
  --theme-ink:#302c24;
  --theme-sidebar:#f5efdf;
  --theme-border:#d9d0be;
  width:100%;
  min-width:0;
  color:var(--theme-ink);
  container-type:inline-size;
}
.tour-themes:has(#theme-olive:checked) .tour-theme-preview {
  --theme-art:url('/assets/screenshots/features/theme-olive.webp');
  --theme-selected:#19242e;
}
.tour-themes:has(#theme-dusk:checked) .tour-theme-preview {
  --theme-art:url('/assets/screenshots/features/theme-dusk.webp');
  --theme-selected:#33363b;
}
.tour-themes:has(#theme-blossom:checked) .tour-theme-preview {
  --theme-art:url('/assets/screenshots/features/theme-blossom.webp');
  --theme-selected:#402d3d;
}
.tour-theme-window {
  position:relative;
  display:grid;
  grid-template-columns:clamp(94px,26cqw,150px) minmax(0,1fr);
  border:1px solid var(--theme-border);
  border-radius:12px;
  overflow:hidden;
  background:var(--theme-sidebar);
  box-shadow:0 10px 22px #4a39231f,0 2px 4px #4a392313;
  font:12px/1.35 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
}
.tour-theme-window::before {
  content:"";
  grid-area:1 / 2;
  background:var(--theme-art) left center/cover no-repeat;
}
/* Keep the Zen foreground visible in the strip beside the journal. */
.tour-themes:has(#theme-zen:checked) .tour-theme-window::before {
  background-position:left clamp(-65px,calc(100cqw - 650px),0px) center;
}
.tour-theme-content {
  grid-area:1 / 2;
  position:relative;
  container-type:size;
}
.tour-theme-entry-frame {
  --theme-entry-inset:clamp(7px,2cqw,12px);
  position:absolute;
  inset-block-start:50%;
  inset-inline-end:var(--theme-entry-inset);
  width:min(86cqw,calc((100cqh - 2 * var(--theme-entry-inset)) * 800 / 746));
  height:auto;
  transform:translateY(-50%);
  border-radius:clamp(4px,1.5cqw,9px);
  box-shadow:0 5px 12px #0004;
}
.tour-theme-entry {display:block;width:100%;height:auto;border-radius:inherit}
/* Align the updated toolbar artwork with the 800 × 746 journal capture. */
.tour-theme-entry-frame::after {
  content:"";
  position:absolute;
  inset:13.4% auto auto .3%;
  width:82%;
  aspect-ratio:1534 / 148;
  background:url('/assets/homepage/journal-toolbar.png') center / 100% 100% no-repeat;
  mask:linear-gradient(to right,transparent,#000 1.25%,#000 98.75%,transparent),
       linear-gradient(to bottom,transparent,#000 20%,#000 83%,transparent);
  mask-composite:intersect;
  pointer-events:none;
}
.tour-theme-window > .tour-writing-lights {
  grid-area:1 / 1;
  align-self:start;
  z-index:1;
  background:none;
  border:0;
}
.tour-theme-sidebar {
  grid-area:1 / 1;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:33px 6px 10px;
  background:var(--theme-sidebar);
  border-inline-end:1px solid var(--theme-border);
}
.tour-theme-sidebar > div {display:flex;align-items:center;gap:5px;padding:3px 5px;border-radius:6px}
.tour-theme-sidebar svg {width:13px;height:13px;flex:none}
.tour-theme-sidebar hr {width:100%;margin:4px 0;border:0;border-top:1px solid var(--theme-border)}
.tour-theme-sidebar .tour-theme-wordmark {
  margin:0 0 8px 5px;
  font:700 clamp(16px,4cqw,22px)/1.15 Source Serif,Georgia,serif;
  color:var(--theme-selected);
}
.tour-theme-sidebar .tour-theme-current {background:var(--theme-selected);color:#faf6eb}
.tour-theme-sidebar .tour-theme-settings {margin-top:auto}
.tour-theme-options {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(12px,2vw,24px);
  min-inline-size:0;
  margin:0;
  padding:0;
  border:0;
}
.tour-theme-card {
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid #d9d0be;
  border-radius:12px;
  background:#fbf6ea;
  box-shadow:0 2px 4px #4a392313;
  cursor:pointer;
}
.tour-theme-card:has(:checked) {border-color:#29392e;box-shadow:0 0 0 1px #29392e}
.tour-theme-card:focus-within {outline:2px solid #345742;outline-offset:4px}
.tour-theme-card input {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.tour-theme-card img {display:block;width:100%;height:auto;aspect-ratio:2;object-fit:cover;object-position:left center}
.tour-theme-name {display:block;padding:10px 14px;font:600 20px/1.2 Source Serif,Georgia,serif}
.tour-theme-check {
  position:absolute;
  inset-block-start:9px;
  inset-inline-end:9px;
  display:none;
  width:22px;
  height:22px;
  padding:3px;
  border-radius:50%;
  background:#29392e;
  color:#faf6eb;
  pointer-events:none;
}
.tour-theme-check svg {display:block;width:100%;height:100%}
.tour-theme-card:has(:checked) .tour-theme-check {display:block}
@media (max-width:900px) {
  .tour-themes {grid-template-columns:minmax(0,1fr)}
  .tour-theme-preview {max-width:680px;justify-self:center}
  .tour-theme-options {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:380px) {
  .tour-theme-window {grid-template-columns:32px minmax(0,1fr)}
  .tour-theme-window > .tour-writing-lights {justify-content:center;gap:2px;padding-inline:0}
  .tour-theme-window > .tour-writing-lights span {width:5px;height:5px}
  .tour-theme-sidebar > div {justify-content:center;padding-inline:0}
  .tour-theme-sidebar .tour-theme-wordmark {
    position:absolute;
    inset:8px auto auto 42px;
    margin:0;
    font-size:12px;
    color:#faf6eb;
    text-shadow:0 1px 3px #000;
  }
  .tour-theme-sidebar span {display:none}
}

@supports (animation-timeline: view()) and (view-timeline-name: --tour-echo-scroll) and (animation-range: cover 25% cover 75%) and (translate: 0 1px) {
  @media (prefers-reduced-motion: no-preference) {
    .features-page {--tour-motion-scale: .45}

    .tour-writing-prompt,
    .tour-places-drawer,
    .tour-echo-player {
      animation: tour-scroll-drift 1ms linear both;
      animation-timeline: view(block);
      /* Spend the travel where the illustration is most visible. */
      animation-range: cover 25% cover 75%;
    }

    /* Measure travel against the stationary illustration stack. */
    .tour-writing-art {
      --tour-stack-travel: 192px;
      view-timeline: --tour-writing-scroll block;
    }
    .tour-writing-prompt {animation-timeline: --tour-writing-scroll}
    .tour-writing-prompt {--tour-motion-distance: 64px}

    .tour-places-stack {
      --tour-stack-travel: 144px;
      view-timeline: --tour-places-scroll block;
    }
    .tour-places-drawer {animation-timeline: --tour-places-scroll}
    .tour-places-drawer {--tour-motion-distance: 48px;--tour-motion-offset: -100px}
    /* The cards already ride with the drawer. Give them a little extra lift. */
    .tour-places-media {
      animation: tour-media-lift 1ms linear both;
      animation-timeline: --tour-places-scroll;
      animation-range: cover 25% cover 75%;
    }

    @keyframes tour-media-lift {
      from {translate: 0 0}
      to {translate: 0 calc(-24px * var(--tour-motion-scale))}
    }

    .tour-echo-stack {
      view-timeline: --tour-echo-scroll block;
    }
    .tour-echo-player {
      animation-name: tour-echo-drift;
      animation-timeline: --tour-echo-scroll;
    }

    @keyframes tour-echo-drift {
      from {translate: 0 calc(360px * var(--tour-motion-scale) - 200px)}
      to {translate: 0 calc(80px * var(--tour-motion-scale) - 200px)}
    }

    .tour-writing-prompt,
    .tour-places-drawer {--tour-motion-multiplier: 2}

    @media (min-width: 701px) {
      .features-page {--tour-motion-scale: .6}
    }

    @media (min-width: 1024px) {
      .features-page {--tour-motion-scale: 1}
    }

    @keyframes tour-scroll-drift {
      from {translate: 0 calc((-200px + (var(--tour-motion-distance) + var(--tour-stack-travel, 0px)) * var(--tour-motion-multiplier, 1)) * var(--tour-motion-scale) + var(--tour-motion-offset, 0px))}
      to {translate: 0 calc(-200px * var(--tour-motion-scale) + var(--tour-motion-offset, 0px))}
    }
  }
}
