@font-face {
  font-family: 'Jost';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Jost_400Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Jost';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Jost_500Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Jost';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Jost_600SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Jost';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Jost_700Bold.ttf') format('truetype');
}

/* Same palette and type as the app (ui/constants/colors.js, ui/constants/fonts.js). */
:root {
  --surface: #f8f5ef;
  --sunken: #ece6dc;
  --raised: #fffdfa;
  --line: #dad3c9;
  --line-strong: #3f3933;
  --ink: #1a1613;
  --ink-muted: #4d4640;
  --ink-subtle: #6e665e;
  --ink-faint: #9c948b;
  --primary: #963f33;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font:
    17px/1.6 'Jost',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Helvetica,
    Arial,
    sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 40px;
}

.disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.disc::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.wordmark {
  font-family: 'Jost', Futura, 'Century Gothic', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 36px 0 8px;
}

p,
li {
  color: var(--ink-muted);
}

a {
  color: var(--primary);
  font-weight: 600;
}

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.muted {
  color: var(--ink-subtle);
  font-size: 15px;
}

/* Shared store and find pages (rendered by web/pages.ts) */

/* The app's small uppercase labels (font-display-semibold text-caption tracking-label). */
.eyebrow,
.label,
.details dt {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
}

.eyebrow-muted {
  color: var(--ink-faint);
}

.label {
  margin: 32px 0 8px;
  color: var(--ink);
}

.artist {
  margin: 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.price {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
}

.photos {
  display: flex;
  margin: 0 -24px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.photos::-webkit-scrollbar {
  display: none;
}

.photos img {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--sunken);
}

.thumbs {
  display: flex;
  gap: 8px;
  margin: -12px 0 24px;
}

.thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
}

.thumbs button[aria-current='true'] {
  border-color: var(--ink);
}

.thumbs img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
}

@media (min-width: 728px) {
  .photos {
    margin: 0 0 24px;
    border-radius: 12px;
  }
}

.details {
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 24px 0 0;
  border-top: 1px solid var(--line-strong);
}

.details dt,
.details dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  color: var(--ink-muted);
}

.details dd {
  font-size: 15px;
  text-align: right;
}

.notes {
  margin-top: 0;
  color: var(--ink);
  white-space: pre-line;
}

.store-link {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

.store-link-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.store-link strong {
  font-weight: 600;
}

.chevron {
  color: var(--ink-faint);
  font-size: 28px;
  line-height: 1;
}

.store-actions a {
  margin-right: 16px;
}

.shop-note {
  margin-top: 24px;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--primary);
}

.shop-note p:last-child {
  margin: 0;
  white-space: pre-line;
}

.finds {
  list-style: none;
  margin: 0;
  padding: 0;
}

.finds a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

.finds img,
.no-photo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--sunken);
}

/* Same placeholder disc the app shows for finds without a photo. */
.no-photo {
  background: radial-gradient(circle, var(--primary) 0 3px, var(--ink) 3.5px 11px, var(--sunken) 11.5px);
}

.events {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.events a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

/* Calendar-style date, same as the app's event rows. */
.date-block {
  display: flex;
  flex: 0 0 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--raised);
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.date-block span {
  color: var(--primary);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.event-when {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 24px;
}

.event-when > span:last-child {
  display: flex;
  flex-direction: column;
}

.find-tags {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.find-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.find-text strong {
  font-weight: 600;
}

.find-price {
  font-weight: 600;
}

.get-app {
  margin-top: 32px;
}

.get-app p {
  margin: 0 0 12px;
}

.badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.badges a,
.badges img {
  display: block;
}

/* Home page (same look as marketing/promo-card.html) */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--surface);
  text-align: center;
}

.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.hero-rings span {
  position: absolute;
  top: 300px;
  left: 50%;
  border: 1px solid rgba(248, 245, 239, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-rings span:nth-child(1) {
  width: 320px;
  height: 320px;
}

.hero-rings span:nth-child(2) {
  width: 460px;
  height: 460px;
}

.hero-rings span:nth-child(3) {
  width: 600px;
  height: 600px;
}

.brand-light {
  justify-content: center;
  color: var(--surface);
}

.brand-light .disc {
  background: var(--surface);
}

.pin {
  display: block;
  width: 150px;
  margin: 8px auto 0;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}

.hero h1 {
  margin: 32px 0 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.tagline {
  max-width: 400px;
  margin: 16px auto 0;
  color: rgba(248, 245, 239, 0.88);
  font-size: 18px;
  line-height: 1.45;
}

.hero-badge {
  margin-top: 28px;
}

.section-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.steps {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    inset 0 0 0 5px var(--ink),
    inset 0 0 0 6px #3a3531;
  color: var(--surface);
  font-size: 15px;
  font-weight: 600;
}

.steps strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.steps p {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.owners {
  margin-top: 56px;
}

.owners .section-title + p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.owners-how {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.45;
}

.owners-how strong {
  color: var(--ink);
  font-weight: 600;
}

.closing {
  margin-top: 56px;
  padding: 40px 24px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--surface);
  text-align: center;
}

.closing .section-title {
  margin-bottom: 20px;
  color: var(--surface);
  font-size: 26px;
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-subtle);
}

footer a {
  margin-right: 16px;
}
