/* =========================================================
   Pulp landing styles. Theme mirrors the app:
   warm cream paper, ink-on-paper text, terracotta accent.
   Outfit for UI, Fraunces for display (Pulp uses a serif in
   its headlines, Fraunces is the closest free pairing).
   ========================================================= */

:root {
  --paper: #FBF5E3;
  --paper-deep: #F3E8C8;
  --ink: #1A1814;
  --ink-soft: #4A4640;
  --ink-mute: #8A857C;
  --ink-faint: #B8B2A6;
  --rule: rgba(26, 24, 20, 0.10);
  --accent: #C2451E;
  --accent-deep: #A03612;
  --shadow: 0 10px 24px rgba(26, 24, 20, 0.10), 0 2px 6px rgba(26, 24, 20, 0.06);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.35) 0, transparent 38%),
                    radial-gradient(circle at 92% 88%, rgba(194, 69, 30, 0.06) 0, transparent 36%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  z-index: 999;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.6rem;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-flex;
  filter: drop-shadow(0 1px 1px rgba(26, 24, 20, 0.12));
}
.brand-word .dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.6rem 2rem;
}

.hero-copy h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  color: var(--ink);
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
}
.hero-copy h1 em::after {
  content: '.';
  color: var(--accent);
  margin-left: 1px;
}
.lede {
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.4rem;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.b-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  flex: 0 0 auto;
  transform: rotate(8deg);
}

/* =========================================================
   CTAs
   ========================================================= */
.ctas {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.18s ease;
}
.cta-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(26, 24, 20, 0.18), 0 2px 6px rgba(26, 24, 20, 0.08);
}
.cta-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.cta-small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 245, 227, 0.78);
}
.cta-large {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cta-ghost {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.cta-ghost:hover { color: var(--ink); border-bottom-color: var(--ink); text-decoration: none; }

.cta-meta {
  font-size: 0.84rem;
  color: var(--ink-mute);
  padding: 0.6rem 0;
}

/* =========================================================
   iPhone mockup
   ========================================================= */
.hero-mock {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-svg {
  width: clamp(260px, 32vw, 380px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(26, 24, 20, 0.18)) drop-shadow(0 6px 12px rgba(26, 24, 20, 0.10));
  transform: rotate(-2deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone-svg:hover { transform: rotate(0deg) translateY(-2px); }

/* =========================================================
   Footer
   ========================================================= */
.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.6rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-mute);
}
.foot a:hover { color: var(--ink); }
.dot-sep { color: var(--ink-faint); }

/* =========================================================
   Long-form pages (privacy, terms)
   ========================================================= */
.long {
  flex: 1;
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1.6rem 3rem;
}
.long h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.long h1::after { content: '.'; color: var(--accent); }
.long .updated {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin: 0 0 2rem;
}
.long h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.2rem 0 0.6rem;
}
.long p, .long li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.long ul { padding-left: 1.3rem; }
.long li { margin-bottom: 0.4rem; }
.long a { color: var(--accent-deep); }
.long a:hover { color: var(--accent); }

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: left;
    padding-top: 0.5rem;
  }
  .hero-mock { order: -1; margin-top: 0.5rem; }
  .phone-svg { width: clamp(220px, 60vw, 300px); transform: rotate(-1.5deg); }
  .bullets { display: none; }
  .nav-links { gap: 1rem; font-size: 0.86rem; }
  .lede { font-size: 1rem; }
}

@media (max-height: 720px) and (min-width: 881px) {
  .hero-copy h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
  .lede { margin-bottom: 1rem; }
  .bullets { margin-bottom: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-svg, .cta-primary { transition: none; }
}
