/* Lately: white paper, deep ink, one golden-hour accent. The photos are the colour. */

:root {
  --paper: #ffffff;
  --stone: #f3f1ec;
  --stone-2: #e7e4dd;
  --ink: #161513;
  --ink-2: #5f5c56;
  --ink-3: #9a968e;
  --gold: #f0b323;
  --gold-deep: #c98d00;
  --dusk: #1c1d2b;
  --dusk-2: #272839;
  --ok: #2e8b57;
  --bad: #c0392b;

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --r: 14px;
  --r-lg: 26px;
  --shadow: 0 30px 60px -30px rgba(22, 21, 19, .35), 0 8px 20px -12px rgba(22, 21, 19, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top.stuck { border-bottom-color: var(--stone-2); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.wordmark svg { width: 30px; height: 30px; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.top nav a:hover { color: var(--ink); background: var(--stone); }
.top .btn { min-height: 42px; padding-inline: 18px; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.apk-note { margin-top: 12px; font-size: .92rem; color: var(--ink-2); }
.hero-note { font-size: .95rem; color: var(--ink-3); }
.hero-phone { justify-self: center; position: relative; }
.hero-phone { display: grid; gap: 16px; justify-items: center; }
.hero-phone .hint { order: 2; max-width: 260px; text-align: center; font-size: .95rem; color: var(--ink-2); line-height: 1.35; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1.5px solid var(--stone-2); border-radius: 12px; color: var(--ink-2); font-size: .85rem; line-height: 1.15; }
.store svg { width: 24px; height: 24px; flex: none; }
.store b { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- phone ---------- */
.phone {
  --w: 300px; width: var(--w); aspect-ratio: 300 / 620; position: relative;
  background: #0b0b0d; border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow), inset 0 0 0 2px #2a2a2e, inset 0 0 0 4px #0b0b0d;
}
.phone::before { content: ""; position: absolute; left: 50%; top: 22px; width: 92px; height: 26px; transform: translateX(-50%); background: #0b0b0d; border-radius: 999px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; background: var(--paper); border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.screen.dark { background: var(--dusk); color: var(--paper); }
.status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; font-size: 12px; font-weight: 600; height: 46px; }
.status .sig { display: inline-flex; gap: 3px; align-items: flex-end; }
.status .sig i { width: 3px; background: currentColor; border-radius: 1px; }
.home-bar { position: absolute; left: 50%; bottom: 8px; width: 110px; height: 5px; border-radius: 3px; background: currentColor; opacity: .35; transform: translateX(-50%); }
.scr-body { padding: 8px 16px 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.scr-title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.scr-sub { color: var(--ink-2); font-size: 12px; }
.screen.dark .scr-sub { color: rgba(255, 255, 255, .65); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--stone); font-size: 11px; font-weight: 600; }
.pill.gold { background: var(--gold); color: var(--ink); }
.pbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; border: 0; }
.pbtn.gold { background: var(--gold); color: var(--ink); }
.pbtn.line { background: transparent; color: var(--ink); border: 1.5px solid var(--stone-2); }
.screen.dark .pbtn.line { color: var(--paper); border-color: rgba(255, 255, 255, .25); }

/* time window picker */
.tw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--stone); }
.tw button { border: 0; background: transparent; border-radius: 10px; padding: 9px 0; font-weight: 600; font-size: 12px; white-space: nowrap; color: var(--ink-2); cursor: pointer; }
.tw button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.tw button span { display: none; font-size: 9px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
#tw button span { display: block; }
.tw-count { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 8px; font-size: 12px; color: var(--ink-2); }
.tw-count b { font-size: 15px; color: var(--ink); }

/* photo grids */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; flex: 1; min-height: 0; align-content: start; overflow: hidden; border-radius: 12px; }
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.grid .more { display: grid; place-items: center; aspect-ratio: 1; background: var(--stone); color: var(--ink-2); font-weight: 600; font-size: 12px; }
.grid.live img { transition: opacity .35s ease, transform .35s ease; }
.grid.live img.out { opacity: .12; transform: scale(.94); }
.grid.live img.vid { position: relative; }

/* album list */
.albums { display: grid; gap: 10px; }
.album { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 6px; border-radius: 14px; background: var(--stone); }
.album img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.album b { display: block; font-size: 13px; }
.album small { color: var(--ink-2); font-size: 11px; }
.album .n { font-size: 11px; color: var(--ink-3); padding-right: 8px; }
.cover { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .cap { position: absolute; left: 12px; bottom: 10px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); font-weight: 700; font-size: 16px; }

/* share sheet */
.sheet { position: relative; z-index: 1; margin: auto -16px -24px; padding: 18px 20px 30px; background: var(--paper); border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .18); display: grid; gap: 12px; }
.sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--stone-2); margin: -6px auto 2px; }
.qr { display: grid; place-items: center; padding: 14px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--stone-2); }
.qr img { width: 132px; height: 132px; }
.code { font-weight: 700; letter-spacing: .06em; font-size: 14px; text-align: center; white-space: nowrap; }
.sheet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sheet-row .pbtn { min-height: 40px; font-size: 13px; }
.dim { position: absolute; inset: 0; background: rgba(22, 21, 19, .35); }

/* auto-share */
.auto-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.auto-card b { font-size: 14px; }
.auto-card small { grid-column: 1; color: rgba(255, 255, 255, .65); font-size: 11px; }
.toggle { grid-row: 1 / 3; grid-column: 2; width: 42px; height: 26px; border-radius: 13px; background: var(--gold); position: relative; }
.toggle i { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
#auto-grid img:first-child { outline: 2.5px solid var(--gold); outline-offset: -2.5px; }
#auto-grid img.drop { animation: drop .5s ease; }
@keyframes drop { from { opacity: 0; transform: scale(.7); } }
.toast { align-self: center; padding: 7px 12px; border-radius: 999px; background: var(--stone); font-size: 11px; font-weight: 600; }
.auto-sec .split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.auto-sec .phone { justify-self: center; }
.auto-list { display: grid; gap: 14px; margin-top: 8px; padding: 0; list-style: none; }
.auto-list li { color: var(--ink-2); padding-left: 22px; position: relative; }
.auto-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.auto-list b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .live-dot, .grid.auto img.drop { animation: none; } }

/* guest (web) view */
.browser { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--stone-2); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--stone); font-size: 13px; color: var(--ink-2); }
.browser-bar .dots { display: inline-flex; gap: 5px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--stone-2); }
.browser-bar .url { flex: 1; text-align: center; background: var(--paper); border-radius: 8px; padding: 5px 10px; font-size: 12px; }
.guest { padding: 22px; display: grid; gap: 16px; }
.guest-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.guest-head h3 { font-size: 1.35rem; }
.guest-head small { display: block; color: var(--ink-2); font-size: .9rem; font-weight: 400; }
.guest .btn { min-height: 44px; }
.guest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.guest-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.guest-grid img:first-child { grid-column: span 2; grid-row: span 2; }

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 8vw, 110px); }
.sec-head { display: grid; gap: 14px; max-width: 40em; margin-bottom: clamp(30px, 5vw, 56px); }
.sec-head .lede { max-width: 32em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { display: grid; gap: 14px; align-content: start; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: 1.05rem;
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--ink-2); text-wrap: pretty; }
.step .phone { --w: 262px; margin-top: 10px; justify-self: start; }

.band { background: var(--stone); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; }
.feat { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feat svg { width: 44px; height: 44px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--ink-2); text-wrap: pretty; }

.guest-sec .split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }

.faq { max-width: 44em; display: grid; }
.faq details { border-top: 1px solid var(--stone-2); }
.faq details:last-child { border-bottom: 1px solid var(--stone-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--ink-3); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* beta */
.beta { background: var(--dusk); color: var(--paper); }
.beta .lede { color: rgba(255, 255, 255, .7); }
.beta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.beta form { display: grid; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--dusk-2); }
.beta label { font-size: .92rem; font-weight: 600; }
.beta input, .beta select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .18);
  background: var(--dusk); color: var(--paper);
}
.beta input::placeholder { color: rgba(255, 255, 255, .4); }
.beta select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.beta .field { display: grid; gap: 6px; }
.beta .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beta .msg { min-height: 1.4em; font-size: .95rem; }
.beta .msg.ok { color: #9be2b8; }
.beta .msg.bad { color: #ffb4a8; }
.beta small { color: rgba(255, 255, 255, .55); font-size: .85rem; }
.beta .stores .store { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); }
.beta .stores .store b { color: var(--paper); }
.beta .stores svg { fill: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
footer { padding: 40px 0 48px; border-top: 1px solid var(--stone-2); color: var(--ink-2); font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.foot-in a { color: var(--ink-2); }
.foot-in a:hover { color: var(--ink); }

/* ---------- design page ---------- */
.design-hero { padding-block: clamp(40px, 6vw, 80px) 0; }
.flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 28px; padding-block: 40px; }
.flow figure { margin: 0; display: grid; gap: 14px; justify-items: center; flex: 0 1 260px; }
.flow figcaption { max-width: 260px; font-size: .95rem; color: var(--ink-2); text-align: center; text-wrap: pretty; }
.flow figcaption b { display: block; color: var(--ink); margin-bottom: 4px; }
.flow .phone { --w: 260px; }
.tokens { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.swatch { border-radius: 14px; padding: 14px; min-height: 96px; display: grid; align-content: end; font-size: .85rem; border: 1px solid var(--stone-2); }
.swatch b { display: block; font-size: 1rem; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; max-width: 60em; }
.rules h3 { margin-bottom: 6px; }
.rules p { color: var(--ink-2); }

/* legal pages */
.doc { max-width: 42em; padding-block: clamp(32px, 5vw, 64px); display: grid; gap: 18px; }
.doc h1 { font-size: clamp(2rem, 4vw, 3rem); }
.doc h2 { font-size: 1.35rem; margin-top: 18px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .meta { color: var(--ink-3); font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-phone .hint { max-width: 300px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { grid-template-columns: 1fr; }
  .step .phone { --w: 262px; }
}
@media (max-width: 820px) {
  .hero-grid, .beta-grid, .guest-sec .split, .auto-sec .split { grid-template-columns: 1fr; }
  .hero-phone { order: 2; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 10px var(--gutter) 18px; background: var(--paper); border-bottom: 1px solid var(--stone-2); }
  .top.open nav { display: flex; }
  .top nav a { padding: 12px 8px; font-size: 1.05rem; }
  .menu-btn { display: inline-flex; align-items: center; margin-left: auto; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--stone-2); background: var(--paper); cursor: pointer; font-weight: 600; }
  .top .btn { display: none; }
  .guest-grid { grid-template-columns: repeat(4, 1fr); }
  .beta .two { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .phone { --w: 270px; }
  .guest { padding: 16px; }
  .guest-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- themes (hero) ---------- */
/* The headline is three fixed lines so switching themes never reflows it:
   "The photos from" / <theme> / "in one album." The theme line never wraps. */
.hero-title { display: grid; gap: .08em; }
.hero-title .h-small { font-size: .52em; letter-spacing: -.01em; }
.hero-title .h-word { display: block; white-space: nowrap; font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: 1.05; min-height: 1.05em; }
#theme-word { display: inline-block; background: linear-gradient(transparent 64%, rgba(240, 179, 35, .55) 64%); will-change: transform, opacity; }
/* the word rolls: out upward, in from below, clipped to its own line */
.hero-title .h-word { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
#theme-word.roll-out { transform: translateY(-70%); opacity: 0; transition: transform .28s cubic-bezier(.5, 0, .75, 0), opacity .22s ease; }
#theme-word.roll-in { animation: roll-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes roll-in { from { transform: translateY(80%); opacity: 0; } to { transform: none; opacity: 1; } }
/* photos crossfade over each other, tile by tile */
#th-grid .tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
#th-grid .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
#th-grid .tile img.incoming { opacity: 0; transform: scale(1.06); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
#th-grid .tile img.incoming.shown { opacity: 1; transform: none; }
/* album name and counts crossfade */
#th-album, #th-count, #th-since { transition: opacity .26s ease; }
#th-album.fading, #th-count.fading, #th-since.fading { opacity: 0; }
/* the time-window highlight slides between buttons */
.tw.sliding { position: relative; }
.tw.sliding button { position: relative; z-index: 1; background: transparent !important; box-shadow: none !important; transition: color .3s ease; }
.tw-ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 10px; background: var(--paper); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: transform .5s cubic-bezier(.2, .8, .2, 1), width .5s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  #theme-word.roll-out { transform: none; }
  #theme-word.roll-in { animation: fade-in .4s ease; }
  #th-grid .tile img.incoming { transform: none; transition: opacity .5s ease; transition-delay: 0s !important; }
  .tw-ind { transition: none; }
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes word-in { from { opacity: 0; transform: translateY(.3em); } }
.hero-phone { display: grid; justify-items: center; gap: 16px; }
.theme-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 340px; }
.theme-chips button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--stone-2); background: var(--paper); font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.theme-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.theme-chips .pause, .theme-chips .pause[aria-pressed] { border-color: transparent; background: transparent; color: var(--ink-3); text-decoration: underline; font-weight: 500; }
.scr-title { transition: opacity .3s ease; }
.tw button { cursor: default; }

/* ---------- why ---------- */
.why { max-width: 40em; display: grid; gap: 14px; }
.why p { font-size: 1.12rem; color: var(--ink-2); text-wrap: pretty; }
.why .sig { color: var(--ink); font-weight: 600; font-size: 1rem; }
.why .sig span { color: var(--ink-3); margin: 0 4px; }

/* the guest mockup is a link to the real demo album */
a.browser { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.browser:hover { transform: translateY(-2px); }

/* ---------- credits ---------- */
.credits ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.credits li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; font-size: .85rem; color: var(--ink-2); }
.credits img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.credits a { color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .hero-title .h-word { font-size: clamp(2.1rem, 10.4vw, 3.6rem); }
  .hero-title .h-small { font-size: .62em; }
}

/* ---------- "Made for" cards on the home page ---------- */
.use-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.use-card { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--stone); }
.use-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.use-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(22, 21, 19, .75)); }
.use-card span { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-weight: 700; font-size: 1.15rem; }
.use-card:hover img { transform: scale(1.05); }
@media (max-width: 960px) { .use-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .use-cards { grid-template-columns: repeat(2, 1fr); } }

/* ---------- use-case pages ---------- */
.eyebrow { font-size: .95rem; color: var(--ink-2); font-weight: 600; margin-bottom: 10px; }
.eyebrow a { color: var(--ink-2); }
.uc-title { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }
.uc-title em, .hero-title em { font-style: normal; background: linear-gradient(transparent 62%, rgba(240, 179, 35, .55) 62%); }
.uc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.uc-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.uc-step > b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); font-size: 1.05rem; }
.uc-step h3 { margin-bottom: 6px; }
.uc-step p { color: var(--ink-2); }
.uc-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.uc-split h2 { margin-bottom: 18px; }
.uc-tips { display: grid; gap: 14px; padding: 0; list-style: none; }
.uc-tips li { position: relative; padding-left: 24px; color: var(--ink-2); }
.uc-tips li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.uc-more { padding-top: 0; }
.uc-more h2 { margin-bottom: 16px; font-size: 1.4rem; }
.uc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.uc-links a { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--stone-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.uc-links a:hover { border-color: var(--ink); }
.foot-uses { display: flex; flex-wrap: wrap; gap: 4px 16px; width: 100%; order: -1; }
@media (max-width: 820px) { .uc-steps, .uc-split { grid-template-columns: 1fr; } }
/* width/height attributes are there to reserve space while loading; the square comes from aspect-ratio */
.grid img, .guest-grid img { height: auto; }
