/* ============================================================
   Vellum Marketing Site — Shared Stylesheet
   Design system: warm off-white, Crimson Pro + Inter,
   no shadows, hairline borders, quiet confidence.
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:        #FAF8F5;
  --ink:       #1F1B1A;
  --muted:     #5A5552;
  --hairline:  #E8E2D9;
  --rose:      #A8556B;
  --sage:      #7A8A6E;
  --callout-bg:#F3EFE9;
  --r-card:    12px;
  --r-btn:     8px;
  --r-pill:    999px;
  --max-prose: 720px;
  --max-wide:  1080px;
}

/* ── Base ───────────────────────────────────────────────────── */
html {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { background: var(--bg); min-height: 100vh; }

img { display: block; max-width: 100%; }

a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 38px); }
h3 { font-size: 23px; }

p + p { margin-top: 1em; }

ul, ol { padding-left: 1.4em; }
li + li { margin-top: 0.4em; }

strong { font-weight: 600; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.container--prose {
  max-width: var(--max-prose);
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section--tight {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ── Site nav ───────────────────────────────────────────────── */
.site-nav {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav__brand {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
}

.site-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.site-nav__links a:hover { color: var(--ink); }

.site-nav__cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--rose);
  text-decoration: none;
  border: 1px solid var(--rose);
  padding: 7px 18px;
  border-radius: var(--r-btn);
}

.site-nav__cta:hover { background: var(--rose); color: var(--bg); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

/* ── Site footer ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.site-footer__tagline {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

.site-footer__links {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer__links a { color: var(--muted); font-size: 13px; }
.site-footer__links a:hover { color: var(--ink); }

.site-footer__copy {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn--primary:hover { background: #3a3330; border-color: #3a3330; color: var(--bg); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}

.btn--outline:hover { border-color: var(--ink); }

/* ── Callout block ───────────────────────────────────────────── */
.callout {
  background: var(--callout-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 20px 24px;
}

.callout p { font-size: 15px; color: var(--muted); }

/* ── Privacy list (definition-style) ────────────────────────── */
.privacy-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.privacy-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.privacy-list li::before {
  content: "—";
  color: var(--muted);
  flex-shrink: 0;
}

/* ── Pricing cards ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pricing-card {
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 32px;
}

.pricing-card--featured {
  border-color: var(--rose);
}

.pricing-card__tier {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-family: 'Crimson Pro', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.pricing-card__price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card__features li {
  font-size: 15px;
  color: var(--ink);
  padding-left: 0;
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}

.faq-item__q {
  font-family: 'Crimson Pro', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-item__a {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Screenshots section ─────────────────────────────────────── */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: end;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-frame {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9/19.5;
  border: 1.5px solid var(--hairline);
  border-radius: 28px;
  background: var(--callout-bg);
  overflow: hidden;
  position: relative;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-frame__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}

.screenshot-caption {
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  max-width: 200px;
}

/* ── Prose article ───────────────────────────────────────────── */
.article-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
}

.article-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}

.article-body h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-body h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-body p { margin-bottom: 1em; }
.article-body ul { margin-bottom: 1em; }
.article-body li + li { margin-top: 0.5em; }

.article-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
  color: var(--muted);
}

.article-cta a { color: var(--rose); }

/* ── Blog index ──────────────────────────────────────────────── */
.blog-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.blog-entry {
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}

.blog-entry__date {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.blog-entry__title {
  font-family: 'Crimson Pro', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
}

.blog-entry__title:hover { color: var(--rose); }

.blog-entry__excerpt {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}

.blog-entry__read-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--rose);
}

/* ── Page header (prose pages) ───────────────────────────────── */
.page-header {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
}

.page-header__app {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.page-header__date {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Privacy policy sections ─────────────────────────────────── */
.policy-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.policy-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-section h2 {
  font-size: 23px;
}

.policy-section ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.policy-footer a { color: var(--muted); }

/* ── Support page ────────────────────────────────────────────── */
.contact-block {
  background: var(--callout-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.contact-block p { color: var(--muted); font-size: 16px; }
.contact-block a { color: var(--rose); font-size: 17px; font-weight: 500; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero__title {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  max-width: 700px;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}

.hero__trust {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .screenshots-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .hero { padding-top: 56px; padding-bottom: 56px; }

  .site-nav__links { display: none; }
  .site-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px 24px;
    z-index: 100;
    gap: 16px;
  }
  .site-nav__cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav { position: relative; }

  .pricing-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .screenshot-item { max-width: 260px; margin: 0 auto; }

  .policy-footer { flex-direction: column; gap: 6px; }
}
