/* Tokens mirror NotebookPalette so the site and the app read as one thing. */
:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --card: #ffffff;
  --ink: #1d1d1b;
  --rule: #e4e2dd;
  --secondary: #6b6964;
  --metadata: #8a8781;
  --quiet: #a9a69f;
  --words: #3a3835;
  --chip: #f1ece3;
  --words-font: "Newsreader", Georgia, serif;
  --ui-font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui-font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

/* Nav: quiet links to the two sides of Kept, then the beta. */
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--secondary); white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a.outline {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--rule), 0 1px 2px rgba(0, 0, 0, 0.04);
  color: var(--ink);
}
.nav-links a.outline[aria-current="page"] { box-shadow: inset 0 0 0 1px #c9c6bf, 0 1px 2px rgba(0, 0, 0, 0.04); }
.nav-links a.pill {
  color: #fff;
  background: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
}
.wordmark {
  font-family: var(--words-font);
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  padding-block: 64px 112px;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--metadata);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-promise {
  color: var(--secondary);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}
h1, h2 {
  font-family: var(--words-font);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(46px, 6vw, 80px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.08; }
.lede {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.6;
}
.actions { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.button svg { width: 16px; height: 16px; }
.text-link { font-size: 14px; color: var(--secondary); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.dots { display: flex; gap: 7px; margin-top: 56px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--rule); }
.dots i:first-child { width: 18px; background: var(--ink); }

/* Cards — white paper on paper, hairline edge, no heavy shadow (NotebookOnboardingCard). */
.card {
  background: var(--card);
  border: 0.5px solid var(--rule);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.04);
}
.stack { display: grid; gap: 16px; }
.words { font-family: var(--words-font); }
.muted { color: var(--secondary); }

.row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--rule);
}
.row:has(+ .composer) { border-bottom: 0; }
.row p { margin: 0 0 4px; font-family: var(--words-font); font-size: 18px; line-height: 1.3; }
.collection { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--secondary); }
.collection::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--c); }
.lock { width: 12px; height: 12px; color: var(--quiet); flex: none; margin-top: 6px; }
/* A moment shared to your profile shows your avatar where private ones show the lock. */
.row > .avatar { flex: none; margin-top: 3px; }
.photos { display: flex; gap: 10px; margin-bottom: 6px; }
.photo { width: 68px; height: 68px; border-radius: 9px; object-fit: cover; flex: none; background: var(--chip); }

.ripple { position: relative; width: var(--s, 14px); height: var(--s, 14px); flex: none; color: var(--rc, var(--quiet)); }
.ripple::before, .ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 99px;
  border: calc(var(--s, 14px) * 0.067) solid currentColor;
}
.ripple::before { width: 62.5%; height: 62.5%; opacity: 0.5; }
.ripple::after { width: 25%; height: 25%; }

.composer {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 0.5px solid var(--rule);
  color: var(--ink);
}
.composer span { flex: 1; font-family: var(--words-font); color: var(--metadata); font-size: 16px; }
.composer svg { width: 17px; height: 17px; }

/* Feature sections */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  padding-block: 104px;
  border-top: 1px solid var(--rule);
}
.feature.flip .copy { order: 2; }
.feature .copy p { max-width: 440px; margin: 22px 0 0; color: var(--secondary); font-size: 17px; line-height: 1.65; }
.feature .num { font-size: 12px; color: var(--metadata); font-variant-numeric: tabular-nums; margin-bottom: 20px; display: block; }
.art { max-width: 420px; width: 100%; justify-self: center; }

.person { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.avatar { border-radius: 99px; object-fit: cover; }
.post { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; }
.post p { margin: 0; font-family: var(--words-font); font-size: 18px; line-height: 1.32; }
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--secondary); margin-bottom: 8px; }
.option { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.option .icon { width: 22px; display: grid; place-items: center; }
.option .icon svg { width: 15px; height: 15px; }
.option b { display: block; font-weight: 400; font-size: 15px; }
.option small { display: block; font-size: 12px; color: var(--secondary); margin-top: 1px; }
.option .check { margin-left: auto; width: 18px; height: 18px; border-radius: 99px; border: 1.5px solid var(--rule); }
.option .check.on { border: 0; background: var(--ink); display: grid; place-items: center; }
.option .check.on svg { width: 10px; height: 10px; color: #fff; }
/* In a circle you can post with your name or without it. */
.as-row { display: flex; gap: 6px; margin: 0 0 4px 34px; }
.as-row span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 99px; border: 0.5px solid var(--rule); font-size: 12px; color: var(--secondary); }
.as-row .on { background: var(--chip); border-color: transparent; color: var(--ink); padding-left: 6px; }

.profile-head { display: flex; align-items: center; gap: 12px; }
.profile-head b { display: block; font-weight: 400; font-size: 19px; }
.profile-head small { font-size: 12px; color: var(--secondary); }
.bio { font-family: var(--words-font); font-size: 18px; margin: 14px 0; }
.hr { height: 0.5px; background: var(--rule); margin: 14px 0; }
.moment { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; }
.moment p { margin: 0; font-family: var(--words-font); font-size: 16px; line-height: 1.45; color: var(--words); }
.moment .ripple { margin-top: 5px; }
.pics { display: flex; gap: 6px; margin: 10px 0; }
.pics img { width: 35%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px 0 7px; border-radius: 99px; background: var(--chip); font-size: 12px; color: #4a4844; }
/* Places and things a moment is tagged with. */
.chip svg { width: 11px; height: 11px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.post .chip { margin-top: 10px; }
/* A long product name trails off, the way the app truncates it. */
.chip.item { max-width: 190px; }
.chip.item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 03 · Views: a carousel of full AI views, drawn like NotebookWebArtifact renders them. */
#views { display: block; }
.views-intro { max-width: 640px; }
.carousel { margin-top: 56px; }
.track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
/* Cards sit centered with their neighbours peeking in, so it reads as something to swipe. */
.carousel { --slide: min(560px, calc(100vw - 64px)); width: 100vw; margin-inline: calc(50% - 50vw); }
.track { position: relative; gap: 28px; padding: 8px calc((100vw - var(--slide)) / 2) 28px; }
.slide {
  flex: 0 0 var(--slide);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.38;
  transform: scale(0.95);
  transition: opacity 0.35s, transform 0.35s;
  cursor: pointer;
}
.slide.active { opacity: 1; transform: none; cursor: auto; }
.slide-head { display: flex; align-items: center; gap: 6px; min-height: 32px; }
/* Small chevrons beside the label, so the carousel reads as swipeable from the top too. */
.nudge { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 99px; background: var(--chip); color: var(--ink); cursor: pointer; transition: background 0.15s, color 0.15s; }
.nudge:hover { background: var(--ink); color: #fff; }
.nudge svg { width: 15px; height: 15px; }
.kind { padding: 0 4px; }
.kind { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; color: var(--ink); }

.view { display: flex; flex-direction: column; height: 640px; padding: 26px 26px 20px; }
.view .src { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--secondary); }
.view .src svg { width: 13px; height: 13px; }
.view .src .collection { font-size: 13px; }
.view h4 { font-family: var(--words-font); font-weight: 400; font-size: 32px; letter-spacing: -0.01em; line-height: 1.12; margin: 8px 0 4px; }
.view .from { font-size: 12px; color: var(--metadata); margin: 0 0 20px; }
.view .body {
  flex: 1;
  min-height: 0;
  font-family: var(--words-font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
.view .body p { margin: 0 0 16px; }
.view .body ul { margin: 0; padding-left: 1.1em; }
.view .body li { margin: 0 0 12px; }
.view .body b { font-weight: 500; }
.view .composer { margin-top: 12px; flex: none; }
.cite {
  display: inline-block;
  width: 0.68em;
  height: 0.68em;
  margin-left: 0.18em;
  vertical-align: middle;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%233a6ea5'%3E%3Ccircle cx='4' cy='5' r='2.6'/%3E%3Ccircle cx='11' cy='5' r='2.6'/%3E%3C/g%3E%3Cpath d='M5.97 5c0 3-1 5-3 6M12.97 5c0 3-1 5-3 6' fill='none' stroke='%233a6ea5' stroke-width='1.26' stroke-linecap='round'/%3E%3C/svg%3E");
}
.cite.open { border-radius: 99px; box-shadow: 0 0 0 4px rgba(58, 110, 165, 0.14); background-color: rgba(58, 110, 165, 0.14); }
/* The moment behind the highlighted mark, opened in place under the line it supports. */
.source {
  margin: -4px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
  border-left: 2px solid rgba(58, 110, 165, 0.45);
}
.source .meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-family: var(--ui-font); }
.view .source p { margin: 0; font-size: 15.5px; line-height: 1.4; }
.source .lock { margin-top: 0; }

/* Shared pieces for the tracker-style views. */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-family: var(--ui-font); }
.tags span { font-size: 12px; color: var(--words); background: var(--chip); border-radius: 99px; padding: 4px 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { padding: 12px; border-radius: 12px; background: var(--paper); }
.stat b { display: block; font-family: var(--words-font); font-weight: 400 !important; font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.stat small { display: block; margin-top: 6px; font-family: var(--ui-font); font-size: 11.5px; color: var(--secondary); line-height: 1.3; }
.label-row { display: flex; justify-content: space-between; font-family: var(--ui-font); font-size: 11px; color: var(--metadata); }
.reel { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 8px 1px 6px; border-radius: 6px; background: var(--chip); font-family: var(--ui-font); font-size: 11px; color: var(--secondary); vertical-align: 2px; white-space: nowrap; }

.days { list-style: none; padding: 0; margin: 0; position: relative; }
.days::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 1px; background: var(--rule); }
.days li { display: grid; grid-template-columns: 38px 1fr; gap: 22px; margin: 0 0 16px !important; position: relative; }
.days li::before { content: ""; position: absolute; left: 44px; top: 9px; width: 7px; height: 7px; border-radius: 99px; background: #d9b87c; box-shadow: 0 0 0 3px #fff; }
.days .day { font-family: var(--ui-font); font-size: 12px; font-weight: 500; color: var(--secondary); padding-top: 3px; }
.days .day small { display: block; font-weight: 400; color: var(--metadata); }

.bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; margin: 4px 0 6px; }
.bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: #a9bfd8; }
.bars i:last-child { background: #6e91b8; }
.runs { margin-top: 18px; border-top: 0.5px solid var(--rule); }
.runs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--rule); font-size: 15.5px; }
.runs small { font-family: var(--ui-font); font-size: 12px; color: var(--secondary); white-space: nowrap; padding-top: 3px; }

.reel .ripple { display: inline-block; }

.spots { list-style: none; padding: 0 !important; margin: 0; }
.spots li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; margin: 0 0 16px !important; }
.spots img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.spots b { display: block; }
.spots small { display: block; font-family: var(--ui-font); font-size: 12px; color: var(--secondary); margin: 1px 0 3px; }
.scrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; padding: 10px 6px 0; }
.scrap > div { display: flex; flex-direction: column; gap: 18px; }
.note, .polaroid { position: relative; margin: 0; padding: 14px 14px 12px; transform: rotate(var(--r)); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 18px rgba(0, 0, 0, 0.06); }
.note { background: var(--p); border-radius: 3px; }
.polaroid { background: #fff; border: 0.5px solid var(--rule); padding: 10px 10px 12px; }
.polaroid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.scrap p { margin: 8px 0 6px !important; font-size: 15px; line-height: 1.35; }
.note p { margin-top: 0 !important; }
.scrap small { display: block; font-family: var(--ui-font); font-size: 11px; color: var(--secondary); }
/* A strip of washi tape across the top of each scrap. */
.tape::before { content: ""; position: absolute; top: -8px; left: 50%; width: 58px; height: 16px; margin-left: -29px; background: var(--t); transform: rotate(calc(var(--r) * -2)); }

/* Controls: prominent arrows, dots that fill while the slide waits to advance. */
.controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 8px; }
.arrow {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  border: 0.5px solid var(--rule);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.arrow:hover { background: var(--ink); color: #fff; }
.arrow svg { width: 22px; height: 22px; }
.pager { display: flex; align-items: center; gap: 8px; }
.pager button { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.pager button i { position: relative; display: block; width: 8px; height: 8px; border-radius: 99px; background: var(--rule); overflow: hidden; transition: width 0.25s; }
.pager button.active { width: 40px; }
.pager button.active i { width: 36px; }
.pager button.active i::after { content: ""; position: absolute; inset: 0; width: 100%; background: var(--ink); border-radius: inherit; }
.autoplay .pager button.active i::after { animation: fill 7s linear forwards; }
.autoplay:hover .pager button.active i::after,
.autoplay:has(:focus-visible) .pager button.active i::after,
.autoplay.offscreen .pager button.active i::after { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* Closing */
.closing { text-align: center; padding-block: 128px 112px; border-top: 1px solid var(--rule); }
.closing .wordmark { font-size: 64px; display: inline-block; margin-bottom: 26px; }
.closing p { color: var(--secondary); font-size: 18px; margin: 18px auto 36px; max-width: 460px; line-height: 1.6; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px 48px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--secondary);
}
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; }

/* Legal pages */
.legal { max-width: 760px; padding-block: 72px 120px; }
.legal .back { display: inline-block; margin-bottom: 64px; color: var(--secondary); font-size: 14px; text-decoration: none; }
.legal h1 { font-size: clamp(46px, 7vw, 72px); }
.legal .updated { margin: 18px 0 56px; color: var(--metadata); font-size: 13px; }
.legal h2 { margin: 48px 0 12px; font-size: 27px; }
.legal p, .legal li { color: var(--words); font-size: 16px; line-height: 1.75; }
.legal li + li { margin-top: 8px; }

/* ─── For places & brands ───────────────────────────────────────────
   Mocks here are design previews of what's being built with the first
   places, drawn with the canvas's illustrations rather than real photos. */
.mock { position: relative; min-width: 0; }
.preview-tag {
  position: absolute;
  top: -11px;
  right: 18px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px dashed var(--quiet);
  background: var(--paper);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--secondary);
}
.mock .fade {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 80%, transparent);
  mask-image: linear-gradient(#000 80%, transparent);
}
.sq { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; flex: none; }
.initial {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 99px;
  display: grid;
  place-items: center;
  font-family: var(--words-font);
  font-size: 12px;
  background: var(--bg, #ece5da);
  color: var(--fg, #5a5148);
}
.byline { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.byline b { font-weight: 500; }
.byline span { color: var(--secondary); font-size: 12.5px; }
.words-lg { margin: 0; font-family: var(--words-font); font-size: 17px; line-height: 1.45; }
.cap { margin: 8px 0 0; font-size: 12px; color: var(--secondary); }
.cap + .words-lg { margin-top: 8px; }
.strip { display: flex; gap: 4px; margin-right: -18px; overflow: hidden; }
.strip img { height: 150px; width: 112px; object-fit: cover; border-radius: 3px; flex: none; }
.strip img.wide { width: 200px; }
.ghost-btn { display: inline-flex; align-items: center; height: 32px; margin-top: 10px; padding: 0 13px; border-radius: 99px; box-shadow: inset 0 0 0 1px #d6d6d1; font-size: 13px; font-weight: 500; }
.solid-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; }
.outline-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 99px; box-shadow: inset 0 0 0 1px #d6d6d1; font-size: 14px; font-weight: 500; }
.small-note { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: var(--secondary); }
.small-note svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }

/* A place's page */
.place .fade { max-height: 700px; }
.pl-head { display: flex; align-items: center; gap: 12px; }
.pl-head img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.pl-head div { flex: 1; min-width: 0; }
.pl-head b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.pl-head small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--secondary); }
.pl-fav { width: 32px; height: 32px; border-radius: 99px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.pl-fav svg { width: 13px; height: 13px; }
.pl-status { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: 13px; }
.pl-status svg { width: 14px; height: 14px; }
.pl-status span { color: var(--secondary); }
.pl-trust { margin: 5px 0 0; font-size: 12px; color: var(--secondary); }
.pl-tabs { display: flex; gap: 18px; margin: 8px 0 14px; padding-bottom: 2px; border-bottom: 0.5px solid var(--rule); font-size: 14px; color: var(--secondary); }
.pl-tabs span { padding: 8px 0; }
.pl-tabs .on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.place article + article { margin-top: 24px; }
.place .pins-label { margin-top: 14px; }
.place .pl-tabs { margin-top: 14px; }
/* A shop's text post as a small event card: one color, big type, like an invite */
.note-tile {
  box-sizing: border-box;
  width: 112px;
  height: 140px;
  padding: 11px 11px 12px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 20% 0%, #b9805a 0%, #8b5636 55%, #6b3d24 100%);
  color: #fbf1e4;
  overflow: hidden;
}
.nt-date { font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.nt-title { margin-top: auto; font-family: var(--words-font); font-style: italic; font-size: 25px; line-height: 0.98; letter-spacing: -0.01em; }
.nt-sub { margin-top: 8px; font-size: 10.5px; line-height: 1.3; opacity: 0.85; }

/* Regulars */
.regulars h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.regulars .sub { margin: 2px 0 16px; font-size: 12.5px; color: var(--secondary); }
.regulars .stats { margin-bottom: 18px; }
.stats-2 { grid-template-columns: 1fr 1fr; }
.list-label { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.list-label small { display: block; font-weight: 400; color: var(--secondary); font-size: 12px; margin-top: 1px; }
.person-row { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.person-row .initial { width: 34px; height: 34px; font-size: 16px; }
.person-row b { display: block; font-size: 14px; font-weight: 500; }
.person-row b span { font-weight: 400; color: var(--secondary); }
.person-row small { display: block; margin-top: 1px; font-size: 12px; color: var(--secondary); }
.regulars .composer span:last-child { flex: none; font-family: var(--ui-font); font-size: 12px; color: var(--secondary); background: var(--chip); border-radius: 99px; padding: 3px 9px; }

/* A friend coupon riding on a shared moment: one quiet pill in the post's header */
.post-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.post-head .person { margin-bottom: 0; }
.clip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px #d6d6d1;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.clip-pill svg { width: 13px; height: 13px; }

/* A visit card reward, shown at the counter */
.pass { text-align: center; padding: 30px 22px 22px; }
.ring { position: relative; width: 104px; height: 104px; margin: 0 auto; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; animation: ring-spin 6s linear infinite; }
.ring img { width: 78px; height: 78px; border-radius: 20px; object-fit: cover; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring svg { animation: none; } }
.pass .shop { margin: 16px 0 0; font-size: 14px; font-weight: 600; }
.pass h3 { margin: 8px 0 0; font-family: var(--words-font); font-weight: 400; font-size: 36px; letter-spacing: -0.01em; line-height: 1.1; }
.pass .when { margin: 8px 0 0; font-size: 13.5px; color: var(--words); }
.visit-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.visit-dots i { width: 10px; height: 10px; border-radius: 99px; background: var(--ink); }
.visit-dots i:last-child { background: #f2542d; }
.pass .counted { margin: 8px 0 22px; font-size: 12px; color: var(--secondary); }
.slider {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  padding: 4px;
  border-radius: 99px;
  background: var(--ink);
}
.slider .knob {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  animation: knob-nudge 2.4s ease-in-out infinite;
}
.slider .knob svg { width: 18px; height: 18px; }
.slider-label { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 40px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
@keyframes knob-nudge { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .slider .knob { animation: none; } }
.pass .small-note { justify-content: center; text-align: center; }

/* A shop asking to feature a photo */
.feature-ask .ask-head { display: flex; align-items: center; gap: 10px; }
.feature-ask .ask-head img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.feature-ask .ask-head b { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.feature-ask .ask-body { display: flex; gap: 14px; margin-top: 16px; }
.feature-ask .ask-body img { width: 96px; height: 128px; border-radius: 3px; object-fit: cover; flex: none; }
.feature-ask dl { display: grid; grid-template-columns: 70px 1fr; gap: 6px 10px; margin: 16px 0 0; font-size: 13px; line-height: 1.4; }
.feature-ask dt { color: var(--secondary); }
.feature-ask dd { margin: 0; }
.thanks { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 13px; line-height: 1.4; }
.thanks svg { width: 16px; height: 16px; flex: none; }
.feature-ask .buttons { display: grid; gap: 8px; margin-top: 16px; }
.feature-ask .buttons span:last-child { text-align: center; font-size: 13.5px; color: var(--words); padding-top: 4px; }

/* World › Places & brands: a quiet message list */
.inbox h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.inbox .pl-tabs { margin-bottom: 4px; }
.msg { display: flex; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--rule); }
.msg > img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; }
.msg > div { flex: 1; min-width: 0; }
.msg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0; }
.msg-top b { font-size: 14.5px; font-weight: 500; }
.msg-top time { font-size: 12px; color: var(--secondary); flex: none; }
.msg small { display: block; margin-top: 1px; font-size: 12px; color: var(--secondary); }
.msg-text { margin: 5px 0 0; font-size: 14px; line-height: 1.45; color: var(--secondary); }
.msg.new .msg-top b { font-weight: 600; }
.msg.new .msg-text { color: var(--ink); }
.msg .clip-pill { margin-top: 9px; height: 28px; font-size: 12px; }
.msg > .msg-thumb { width: 54px; height: 68px; border-radius: 4px; object-fit: cover; flex: none; margin-top: 2px; }
.inbox-end { margin: 14px 0 2px; text-align: center; font-size: 12px; color: var(--quiet); }

/* Someone's profile: her life below, her favorites pinned above */
.pinned-profile .fade { max-height: 720px; }
.pinned-profile .profile-head .follow { margin-left: auto; height: 32px; padding: 0 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px #d6d6d1; display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.pinned-profile .bio { margin: 12px 0 0; }
.pins-label { margin: 16px 0 8px; font-size: 12px; font-weight: 500; color: var(--secondary); }
.pins { display: flex; gap: 8px; margin-right: -18px; overflow: hidden; }
.pin { flex: none; width: 112px; }
.pin > img, .pin .grid { display: block; width: 112px; height: 140px; border-radius: 4px; object-fit: cover; }
.pin .grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; overflow: hidden; }
.pin .grid img { width: 100%; height: 100%; object-fit: cover; }
.pin .star { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 99px; background: #fff; display: grid; place-items: center; }
.pin .star svg { width: 12px; height: 12px; }
.pin b { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 13px; font-weight: 600; }
.pin b i { width: 7px; height: 7px; border-radius: 99px; background: var(--c); }
.pin small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pinned-profile .pl-tabs { margin-top: 14px; }

/* How it starts */
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 22px 44px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 99px; background: var(--chip); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.steps b { display: block; font-size: 17px; font-weight: 500; }
.steps span { display: block; margin-top: 4px; max-width: 420px; color: var(--secondary); font-size: 15.5px; line-height: 1.55; }

/* The printed counter card */
.counter-card { max-width: 340px; padding: 34px 28px 24px; text-align: center; background: #fbfaf7; }
.counter-card .shop { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.counter-card .shop img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }
.counter-card h3 { margin: 16px 0 0; font-family: var(--words-font); font-weight: 400; font-size: 38px; line-height: 1.05; letter-spacing: -0.015em; }
.counter-card .qr { display: inline-block; margin-top: 22px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.07); }
.counter-card .qr svg { display: block; width: 150px; height: 150px; }
.counter-card p { margin: 18px auto 0; max-width: 250px; font-size: 13.5px; line-height: 1.45; }
.counter-card em { display: block; margin-top: 10px; font-family: var(--words-font); font-size: 17px; color: var(--words); }
.counter-card .mark { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-size: 13px; font-weight: 600; }
.counter-card .mark::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--ink); }

.biz-closing .note { margin-top: 18px; font-size: 14px; }

@media (max-width: 860px) {
  .shell { width: calc(100% - 32px); }
  .nav { height: 68px; }
  .nav-links { gap: 16px; }
  /* On a phone, show only the link to the other side. */
  .nav-links a[aria-current="page"] { display: none; }
  .hero, .feature { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-block: 32px 72px; }
  .feature { padding-block: 72px; }
  .feature.flip .copy { order: 0; }
  .carousel { --slide: calc(100vw - 56px); margin-top: 36px; }
  .track { gap: 12px; }
  .view { height: 580px; padding: 22px 18px 16px; }
  .view h4 { font-size: 27px; }
  .stat b { font-size: 24px; }
  .controls { gap: 18px; }
  .dots { display: none; }
  footer { flex-direction: column; align-items: flex-start; }
}

/* ─── Evolution (unlisted): real screenshots of each shipped version ─── */
.evo-hero { padding-block: 72px 56px; }
.evo-hero h1 { max-width: 900px; font-size: clamp(40px, 5.2vw, 68px); }
.evo-hero .lede { max-width: 620px; }
/* The four versions as a timeline: a peek at each real screen, a dot on the line, the lesson. */
.evo-summary { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.evo-summary li { min-width: 0; }
.evo-summary a { display: block; padding-right: 28px; text-decoration: none; color: var(--ink); }
.evo-summary .peek { display: block; width: 132px; height: 150px; overflow: hidden; border-radius: 18px 18px 0 0; box-shadow: 0 0 0 1px var(--rule); background: var(--card); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); transition: transform 0.25s ease; transform-origin: bottom left; }
.evo-summary a:hover .peek { transform: translateY(-4px) rotate(-1.5deg); }
.evo-summary .peek img { display: block; width: 100%; }
.evo-summary .when { position: relative; display: block; margin-top: 4px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--metadata); }
.evo-summary a { padding-right: 0; }
.evo-summary .when::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 99px; background: var(--c); box-shadow: 0 0 0 4px var(--paper); }
.evo-summary b { display: block; margin-top: 8px; padding-right: 24px; font-family: var(--words-font); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }
.evo-summary em { display: block; margin-top: 8px; padding-right: 24px; font-family: var(--words-font); font-size: 16px; line-height: 1.4; color: var(--secondary); }
.evo-version { padding-block: 88px; border-top: 1px solid var(--rule); scroll-margin-top: 12px; }
.evo-text { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.evo-text .num { display: block; font-size: 12px; color: var(--metadata); margin-bottom: 20px; }
.evo-text p { margin: 22px 0 0; max-width: 520px; color: var(--secondary); font-size: 17px; line-height: 1.65; }
.learned { padding: 24px 26px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.learned h3 { margin: 0; font-size: 13px; font-weight: 600; }
.learned ul { list-style: none; margin: 14px 0 0; padding: 0; }
.learned li { padding: 12px 0; border-top: 0.5px solid var(--rule); font-size: 15px; line-height: 1.55; color: var(--words); }
.learned li b { font-weight: 600; color: var(--ink); }
.learned .origin { margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: var(--chip); font-size: 11.5px; color: var(--secondary); white-space: nowrap; }
.learned .carried { margin: 0; padding-top: 14px; border-top: 0.5px solid var(--rule); max-width: none; font-family: var(--words-font); font-style: italic; font-size: 16px; line-height: 1.45; color: var(--secondary); }
.shots { display: grid; gap: 20px; margin-top: 56px; align-items: start; }
.shots.three { grid-template-columns: repeat(3, 1fr); max-width: 660px; margin-inline: auto; }
.shots.four { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin-inline: auto; }
.shots figure { margin: 0; min-width: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--rule), 0 18px 40px rgba(29, 29, 27, 0.08); }
.shots figcaption { margin-top: 12px; text-align: center; font-size: 12.5px; line-height: 1.4; color: var(--secondary); }
.evo-next .num { display: block; font-size: 12px; color: var(--metadata); margin-bottom: 18px; }
.evo-next p { max-width: 560px; }
@media (max-width: 860px) {
  .evo-hero { padding-block: 40px 40px; }
  /* Both links back into the site fit on a phone once the beta button steps aside. */
  .evo-nav a.pill { display: none; }
  .evo-nav a.outline { padding: 7px 12px; font-size: 13px; }
  .evo-summary { grid-template-columns: 1fr 1fr; row-gap: 32px; margin-top: 40px; }
  .evo-summary .peek { width: 110px; height: 120px; }
  .evo-summary b { font-size: 21px; }
  .evo-version { padding-block: 56px; }
  .evo-text { grid-template-columns: 1fr; gap: 28px; }
  .shots, .shots.three, .shots.four { display: flex; max-width: none; margin: 36px -16px 0; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; }
  .shots figure { flex: none; width: 44vw; scroll-snap-align: center; }
  .shots img { border-radius: 18px; }
}

@media (max-width: 480px) {
  .home-nav .nav-links { gap: 12px; }
  .home-nav .nav-links a.outline { padding-inline: 12px; }
  /* The beta invitation is also the first action in the hero. */
  .home-nav .nav-links a.pill { display: none; }
}
