/* Rex web presence — the app's own palette and faces, nothing more.
   Sept 17: built to take find-rex.com off Lovable. */
:root {
  --forest: #173626;
  --forest-soft: #2b4d3a;
  --paper: #f8f8f5;
  --card: #ffffff;
  --ink: #1a1c19;
  --muted: #6b7166;
  --line: #e2e5de;
  --gold: #c9a227;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Sentient", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.45rem; margin: 2.4rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
a { color: var(--forest); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }
header.site {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 5;
}
header.site .wrap { display: flex; align-items: center; gap: .75rem; }
.brand { font-family: "Sentient", Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--forest); text-decoration: none; letter-spacing: .02em; }
.brand img { height: 26px; vertical-align: -5px; margin-right: .4rem; }
nav.site { margin-left: auto; display: flex; gap: 1.1rem; font-size: .93rem; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--forest); }
main { padding: 2.5rem 0 4rem; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.8rem; }
.btn {
  display: inline-block; background: var(--forest); color: #fff; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
}
.btn.secondary { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 0; }
.points { display: grid; gap: 1rem; margin: 2.5rem 0 0; }
@media (min-width: 620px) { .points { grid-template-columns: repeat(3, 1fr); } }
.point { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.15rem; }
.point h3 { margin: 0 0 .3rem; font-size: 1.02rem; }
.point p { margin: 0; color: var(--muted); font-size: .95rem; }
.legal { font-size: .98rem; }
.legal p, .legal li { color: #30342e; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; }
footer.site { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
footer.site a { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; margin: 1.5rem 0; }
.muted { color: var(--muted); }
.rating { display: inline-block; background: #eef1ec; border-radius: 999px; padding: .15rem .6rem; font-size: .85rem; }

/* ---- share pages (/r/<id>, /t/<id>) ------------------------------------ */
.card.rex { padding: 0 0 1.4rem; overflow: hidden; }
.card.rex > *:not(.hero) { margin-left: 1.4rem; margin-right: 1.4rem; }
.card.rex h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); margin-top: .1rem; }
.hero { display: block; width: 100%; max-height: 22rem; object-fit: cover; margin: 0 0 1.2rem; }
.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 1.2rem 0 .35rem;
}
.card.rex .lede { font-size: 1.02rem; margin-bottom: .8rem; }
blockquote {
  margin: .9rem 0; padding: .9rem 1.1rem; background: #f2f4f0;
  border-radius: 14px; font-size: 1.02rem; line-height: 1.5;
}
.byline { font-size: .95rem; margin: 1rem 0 0; }
.card.join h3 { margin-top: 0; }
.card.join p:last-child { margin-bottom: 0; }
.maps { font-size: .88rem; font-weight: 600; text-decoration: none; }
.maps::after { content: " →"; }
.stops { list-style: none; margin: 0; padding: 0; counter-reset: stop; }
.stop { display: flex; gap: .9rem; padding: 0 0 1.5rem; }
.stop-number {
  flex: 0 0 1.85rem; height: 1.85rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: var(--forest);
  font-variant-numeric: tabular-nums; margin-top: 1.1rem;
}
.stop-body {
  flex: 1 1 auto; min-width: 0; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 0 1.1rem 1.1rem; overflow: hidden;
}
.stop-body > .eyebrow { margin-top: 1.1rem; }
.stop-body h3 { margin: 0 0 .2rem; }
.stop-body p { margin: .3rem 0; }
.stop-photo { display: block; width: calc(100% + 2.2rem); margin: 0 -1.1rem; max-height: 13rem; object-fit: cover; }
