/* Sharp Thought landing — docs/design.md tokens. Static, no build step. */

:root {
  --paper: #f4efe6;
  --paper2: #ece4d5;
  --card: #fbf7ef;
  --ink: #221e18;
  --ink2: #5c5346;
  --ink3: #8a8072;
  --clay: #b05a37;
  --clay2: #c9744e;
  --sage: #7c8466;
  --hairline: rgba(34, 30, 24, 0.14);
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  /* Motion tokens (docs/design.md motion language — emphasized decelerate). */
  --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);
  --ease-emphasis: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 180ms;
  --motion-std: 400ms;
  --motion-mount: 500ms;
  --motion-reveal: 600ms;
  --motion-hero: 700ms;
  --motion-pulse: 1200ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Quiet background structure, always behind the page content. */
.paper-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(34, 30, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 30, 24, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 94%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 94%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(201, 116, 78, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(176, 90, 55, 0.10) 0%, rgba(244, 239, 230, 0.85) 50%, rgba(124, 132, 102, 0.12) 100%);
}

/* Faint paper grain over the background treatments, pointer-transparent. */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.topbar {
  position: relative;
  z-index: 10;
}

main,
.footer {
  position: relative;
  z-index: 5;
}

a {
  color: var(--clay);
  text-decoration: none;
}

a:hover {
  color: var(--clay2);
}

:where(a, button, input):focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--paper);
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Topbar ─────────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.topnav a {
  color: var(--ink2);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.topnav a:hover {
  color: var(--clay);
}

/* The wordmark and the app CTA — including the signed-in dot and its pulse —
   live in topbar.css, shared with the quotes pages. */

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 40px;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 7.5vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 auto 42px;
}

.store-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 11px 20px 11px 16px;
  opacity: 0.86;
  cursor: default;
  user-select: none;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.store-text em {
  font-style: italic;
  font-size: 11.5px;
  color: rgba(244, 239, 230, 0.75);
}

.store-text strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.hero-note {
  font-size: 14px;
  color: var(--ink2);
  font-style: italic;
  margin: 0;
}

/* ── Sections ───────────────────────────────────────────────── */

section {
  padding: 72px 24px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 14px;
}

.section-sub {
  text-align: center;
  color: var(--ink2);
  font-style: italic;
  font-size: 15px;
  margin: 0 0 46px;
}

/* ── Phones ─────────────────────────────────────────────────── */

.phones-section {
  padding-bottom: 40px;
}

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 46px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.phone {
  margin: 0;
  width: min(100%, 292px);
  border: 1px solid var(--hairline);
  border-radius: 42px;
  padding: 12px;
  background: var(--card);
  box-shadow: 0 30px 60px -34px rgba(34, 30, 24, 0.45);
}

.phone-b {
  margin-top: 54px;
}

.phone-screen {
  border-radius: 32px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 22px 18px 20px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mock-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
}

.mock-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--clay);
  vertical-align: 4px;
}

.mock-chip {
  font-size: 11px;
  color: var(--ink3);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 3px 10px;
}

.mock-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink2);
  margin: 0 0 16px;
}

.mock-quote-author {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  color: var(--ink3);
  margin-top: 6px;
}

.mock-page {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
}

.mock-page p {
  margin: 0;
  display: inline;
}

.mock-caret {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  background: var(--clay);
  margin-left: 3px;
  vertical-align: -2px;
  animation: caret 1.1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.mock-moods {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0;
}

.mock-moods i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.45;
}

.mock-moods .mock-mood-on {
  opacity: 1;
  outline: 2px solid var(--hairline);
  outline-offset: 3px;
}

.mock-cta {
  background: var(--clay);
  color: var(--card);
  text-align: center;
  border-radius: 14px;
  padding: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.mock-streak {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin: 8px 0 2px;
}

.mock-streak-sub {
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink3);
  margin: 0 0 20px;
}

.mock-pixels {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.mock-pixels i {
  aspect-ratio: 1;
  border-radius: 2.5px;
  display: block;
}

.mock-pixels-label {
  font-size: 11.5px;
  color: var(--ink3);
  margin: 0 0 auto;
}

.mock-export {
  margin-top: 18px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-export span {
  font-size: 11.5px;
  color: var(--ink3);
  font-style: italic;
}

/* ── Trio ───────────────────────────────────────────────────── */

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  max-width: 940px;
  margin: 44px auto 0;
}

.trio-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 8px;
}

.trio-item p {
  color: var(--ink2);
  font-size: 16px;
  margin: 0;
}

/* ── Share cards ────────────────────────────────────────────── */

.cards-section {
  background: var(--paper2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.share-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}

.share-card {
  margin: 0;
  width: min(100%, 288px);
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: linear-gradient(180deg, #faf6ee 0%, #ece4d5 100%);
  box-shadow: 0 18px 40px -20px rgba(34, 30, 24, 0.55);
  padding: 17px;
  transform: rotate(-1.4deg);
}

.share-card-mid {
  transform: rotate(0.8deg);
  margin-top: 30px;
}

.share-card:last-child {
  transform: rotate(1.6deg);
}

.share-inner {
  height: 100%;
  border: 1px solid rgba(34, 30, 24, 0.16);
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
}

.share-eyebrow {
  color: var(--clay);
  font-size: 10px;
  letter-spacing: 0.28em;
  margin: 0 0 12px;
}

.share-source {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink2);
  margin: 0 0 auto;
}

.share-excerpt {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.34;
  letter-spacing: -0.005em;
  margin: 14px 0 auto;
}

.share-sign {
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink2);
  margin: 18px 0 8px;
}

.share-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13.5px;
  margin: 0;
}

.share-mark i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--clay);
  vertical-align: 3px;
}

/* ── Quotes ─────────────────────────────────────────────────── */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1000px;
  margin: 46px auto 0;
}

.quotes blockquote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px 22px 18px;
}

.quotes p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.quotes footer {
  font-size: 13px;
  color: var(--clay);
}

/* ── Waitlist ───────────────────────────────────────────────── */

.wait-section {
  padding-bottom: 100px;
}

.wait-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 44px 40px 34px;
  text-align: center;
}

.wait-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 10px;
}

.wait-sub {
  color: var(--ink2);
  font-size: 15px;
  margin: 0 0 26px;
}

#waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

#waitlist-form input[type="email"] {
  flex: 1 1 220px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 15px;
  min-height: 48px;
}

#waitlist-form input[type="email"]:focus {
  border-color: var(--clay);
}

#waitlist-form button {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.02em;
  background: var(--clay);
  color: var(--card);
  border: none;
  border-radius: 14px;
  padding: 12px 22px;
  cursor: pointer;
  transition:
    background var(--motion-fast) ease-out,
    transform var(--motion-fast) ease-out;
  min-height: 48px;
}

#waitlist-form button:hover:not(:disabled) {
  background: var(--clay2);
  transform: translateY(-1px);
}

#waitlist-form button:active:not(:disabled) {
  transform: translateY(0);
}

#waitlist-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wait-note {
  font-size: 14px;
  font-style: italic;
  color: var(--ink2);
  margin: 16px 0 0;
  min-height: 18px;
}

.wait-note.is-success {
  color: var(--sage);
}

.wait-note.is-error {
  color: #9a5f4e;
}

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--hairline);
  background: var(--paper2);
  padding: 44px 24px 52px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--ink2);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--clay);
}

.footer-meta {
  font-size: 14px;
  color: var(--ink2);
  margin: 0;
}

.footer-sep {
  margin: 0 8px;
}

/* ── Roadmap page ───────────────────────────────────────────── */

.roadmap-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}

.roadmap-main > h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 52px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.roadmap-lede {
  color: var(--ink2);
  font-size: 16px;
  margin: 0 0 54px;
}

.roadmap-group {
  margin-bottom: 46px;
}

.roadmap-group h2 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 18px;
}

.roadmap-item {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline);
}

.roadmap-item:last-child {
  border-bottom: none;
}

.roadmap-item .mark {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  border: 1.5px solid var(--ink3);
}

.roadmap-item.is-done .mark {
  background: var(--sage);
  border-color: var(--sage);
}

.roadmap-item.is-doing .mark {
  background: var(--clay);
  border-color: var(--clay);
}

.roadmap-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 3px;
}

.roadmap-item p {
  color: var(--ink2);
  font-size: 14.5px;
  margin: 0;
}

.roadmap-item .when {
  font-size: 12px;
  font-style: italic;
  color: var(--ink3);
}

/* ── Reveal on scroll ───────────────────────────────────────── */
/* Brand motion. Initial state: invisible + 12px below, no layout shift.
   Transition uses emphasized decelerate (Material 3 "emphasized") per
   docs/design.md motion language. Hero h1/subhead get a longer, deeper
   curve; in-hero elements stagger their delay so the wordmark/eyebrow/
   headline/cta land sequentially without anyone leading (≤120ms gap).
   Cards/quotes stagger 80ms on scroll-in. No springy easing, no bounce. */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--motion-reveal) var(--ease-emphasis),
    transform var(--motion-reveal) var(--ease-emphasis);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Hero-specific variant: longer + slightly deeper, headline leads subhead. */
.js .hero h1.reveal {
  transition-duration: var(--motion-hero);
  transition-timing-function: var(--ease-emphasis);
}
.js .hero h1.reveal.is-in {
  transition-delay: 80ms;
}
.js .hero .eyebrow.reveal.is-in {
  transition-delay: 0ms;
}
.js .hero .hero-sub.reveal.is-in {
  transition-delay: 200ms;
  transition-duration: var(--motion-mount);
}
.js .hero .store-row.reveal.is-in {
  transition-delay: 320ms;
  transition-duration: var(--motion-mount);
}
.js .hero .hero-note.reveal.is-in {
  transition-delay: 460ms;
  transition-duration: var(--motion-mount);
}

/* Section title + sub lead the trio/cards/quotes by a small gap. */
.js .phones-section .section-title.reveal.is-in {
  transition-delay: 0ms;
}
.js .phones .phone.reveal:nth-of-type(1).is-in {
  transition-delay: 120ms;
}
.js .phones .phone.reveal:nth-of-type(2).is-in {
  transition-delay: 200ms;
}
.js .trio-item.reveal:nth-of-type(1).is-in {
  transition-delay: 80ms;
}
.js .trio-item.reveal:nth-of-type(2).is-in {
  transition-delay: 160ms;
}
.js .trio-item.reveal:nth-of-type(3).is-in {
  transition-delay: 240ms;
}
.js .share-card.reveal:nth-of-type(1).is-in {
  transition-delay: 80ms;
}
.js .share-card.reveal:nth-of-type(2).is-in {
  transition-delay: 160ms;
}
.js .share-card.reveal:nth-of-type(3).is-in {
  transition-delay: 240ms;
}
.js .quotes blockquote.reveal:nth-of-type(1).is-in {
  transition-delay: 0ms;
}
.js .quotes blockquote.reveal:nth-of-type(2).is-in {
  transition-delay: 80ms;
}
.js .quotes blockquote.reveal:nth-of-type(3).is-in {
  transition-delay: 160ms;
}
.js .quotes blockquote.reveal:nth-of-type(4).is-in {
  transition-delay: 80ms;
}
.js .quotes blockquote.reveal:nth-of-type(5).is-in {
  transition-delay: 160ms;
}
.js .quotes blockquote.reveal:nth-of-type(6).is-in {
  transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Hard rules (CLAUDE.md):
     reduced-motion MUST disable all transforms, transitions, and animations.
     No motion, only instant state changes. */
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mock-caret {
    animation: none;
  }

  #waitlist-form button {
    transition: none;
  }
  #waitlist-form button:hover,
  #waitlist-form button:active {
    transform: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ── Marketing assets page (/assets.html) ───────────────────── */
/* Public gallery of approved+published assets. Same tokens, same
   motion language as the home page — no new design primitives. */

.assets-page .hero-bg {
  display: none; /* gallery is content-first; no hero wash */
}

.assets-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}

.assets-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.assets-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 52px);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.assets-lede {
  color: var(--ink2);
  font-size: 16px;
  margin: 0;
}

.assets-status {
  text-align: center;
  font-style: italic;
  color: var(--ink2);
  font-size: 15px;
  margin: 24px 0 0;
}

.assets-status.is-error {
  color: #9a5f4e;
}

.assets-empty {
  max-width: 520px;
  margin: 16px auto 0;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 44px 28px 36px;
  text-align: center;
}

.assets-empty h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
}

.assets-empty p {
  color: var(--ink2);
  font-size: 15px;
  margin: 0;
}

.assets-empty-mark {
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--paper2);
  border: 1px solid var(--hairline);
}

.asset-group {
  margin-bottom: 54px;
}

.asset-group:last-child {
  margin-bottom: 0;
}

.asset-group-title {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 20px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.asset-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out);
}

.asset-card:hover {
  border-color: rgba(176, 90, 55, 0.45);
  transform: translateY(-2px);
}

.asset-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper2);
  border: 1px solid var(--hairline);
  aspect-ratio: 1 / 1;
  position: relative;
}

.asset-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

.asset-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.3;
  /* Two-line clamp so cards stay equal-height regardless of title. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asset-sub {
  font-size: 12.5px;
  color: var(--ink3);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.asset-copy {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--ink2);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 7px 12px;
  cursor: pointer;
  transition:
    color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background var(--motion-fast) var(--ease-out);
  min-height: 36px;
}

.asset-copy:hover {
  color: var(--clay);
  border-color: var(--clay);
}

.asset-copy:active {
  transform: translateY(1px);
}

.asset-copy.is-copied {
  color: var(--sage);
  border-color: var(--sage);
  background: rgba(124, 132, 102, 0.08);
}

/* Per-card reveal staggers inside a group so a long catalog doesn't
   land all at once. Mirrors the home-page quote/card motion language
   (≤120ms gap, emphasized decelerate). */
.js .asset-grid .asset-card.reveal.is-in:nth-child(2) { transition-delay: 80ms; }
.js .asset-grid .asset-card.reveal.is-in:nth-child(3) { transition-delay: 160ms; }
.js .asset-grid .asset-card.reveal.is-in:nth-child(4) { transition-delay: 240ms; }
.js .asset-grid .asset-card.reveal.is-in:nth-child(n + 5) { transition-delay: 320ms; }

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 880px) {
  .trio,
  .quotes {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .phone-b,
  .share-card-mid {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 64px;
  }

  section {
    padding: 52px 20px;
  }

  .wait-card {
    padding: 34px 22px 28px;
  }

  #waitlist-form {
    flex-direction: column;
  }

  #waitlist-form input[type="email"],
  #waitlist-form button {
    width: 100%;
    flex-basis: auto;
  }

  .share-card,
  .share-card-mid,
  .share-card:last-child {
    aspect-ratio: auto;
    min-height: 360px;
    transform: none;
  }

  /* /assets page on small screens: drop the grid to two columns,
     tighten padding. The auto-fill grid still picks a sensible size
     at every viewport; this is the explicit floor. */
  .assets-main {
    padding: 48px 20px 70px;
  }

  .assets-hero {
    margin-bottom: 36px;
  }

  .asset-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .asset-card {
    padding: 10px 10px 12px;
    border-radius: 14px;
  }

  .asset-thumb {
    border-radius: 10px;
  }
}

@media (max-width: 390px) {
  .topbar {
    gap: 10px;
    padding-inline: 16px;
  }

  .topnav {
    gap: 8px;
    font-size: 13px;
  }

  .topnav a:not(.topnav-app) {
    display: none;
  }

  .topnav-app {
    padding-inline: 11px;
  }
}

/* ── Logged-in state (set by session-hint.js from the st_session_hint cookie) ── */

body.st-logged-in .hero-note a {
  font-weight: 500;
  color: var(--clay2);
}

