/* ThriftUp landing — palette and type mirror the app's design tokens
   (APP_BUILDING/app/src/design-tokens.json + theme.ts). Edit tokens here. */
:root {
  --bar: #B8CACE;        /* sage screen ground */
  --bar-deep: #A1AEB3;   /* tab-bar band composite */
  --ink: #4A3538;        /* plum ink */
  --paper: #FFFFFF;
  --n100: #F5F5F5;
  --n300: #D4D4D4;
  --n500: #737373;
  --n700: #404040;
  --n900: #171717;
  --radius: 28px;
  --font: "Gill Sans", "Gill Sans MT", Optima, "Segoe UI", system-ui, sans-serif;
  --serif: Baskerville, "Baskerville Old Face", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bar);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
}
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

header.top {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 28px 0 8px;
}
.wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 34px; letter-spacing: -0.02em; text-decoration: none;
}
nav a { text-decoration: none; margin-left: 22px; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
nav a:hover { opacity: 1; }

.hero { padding: 72px 0 56px; }
.hero h1 {
  font-weight: 300; font-size: clamp(38px, 6vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 20px; max-width: 14ch;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 700; }
.hero p.lead { font-size: 22px; max-width: 34em; margin: 0 0 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: 15px;
  letter-spacing: 0.04em; text-decoration: none;
}
.pill.dim { background: var(--bar-deep); color: var(--paper); }

section { padding: 40px 0; }
section h2 {
  font-weight: 300; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0 0 24px; opacity: 0.75;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 26px 26px 24px;
}
.card h3 { margin: 0 0 8px; font-weight: 400; font-size: 21px; }
.card p { margin: 0; color: var(--n700); font-size: 17px; }
.card .n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; margin-bottom: 14px; display: block; }

.prose { max-width: 40em; }
.prose p { margin: 0 0 16px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.faq details { background: var(--paper); border-radius: 18px; padding: 16px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 400; font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 4px; color: var(--n700); font-size: 17px; }

footer {
  padding: 48px 0 56px; font-size: 15px; color: var(--ink);
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline;
}
footer .muted { opacity: 0.7; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  header.top { padding-top: 20px; flex-wrap: wrap; }
  nav { width: 100%; margin-top: 10px; display: flex; gap: 18px; }
  nav a { margin-left: 0; font-size: 13px; }
  .hero { padding: 48px 0 40px; }
  .hero p.lead { font-size: 19px; }
}
