/* =========================================
   PAPAPRESS — Landing Page Stylesheet
   ========================================= */

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

:root {
  --bg:           #f5f0e8;
  --bg-alt:       #ece6d8;
  --fg:           #1c1c1c;
  --fg-muted:     #5a5248;
  --fg-light:     #8a7d72;
  --accent:       #c96f3b;
  --accent-dark:  #a8572a;
  --accent-light: #f0d5c0;
  --sage:         #7a8c6e;
  --gold:         #d4a853;
  --paper:        #fdf8f0;
  --ink:          #1a1a1a;
  --ink-light:    #4a4a4a;
  --border:       #d4c9b8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 960px;
  --section-pad: clamp(64px, 8vw, 120px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(24px, 5vw, 48px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav__tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-light);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
}

/* === Hero === */
.hero {
  padding: 0 clamp(24px, 5vw, 48px) var(--section-pad);
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.hero__headline-top {
  font-style: italic;
  font-weight: 400;
}

.hero__headline-mid {
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
}

.hero__price-note {
  font-size: 0.9rem;
  color: var(--fg-light);
  font-weight: 400;
}

.hero__delivery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}

.hero__delivery-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.hero__delivery-item svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* === Newspaper Mockup === */
.newspaper {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 24px 28px 20px;
  max-width: 680px;
  margin: 48px 0 40px;
  font-family: 'Georgia', serif;
  box-shadow: 8px 8px 0 var(--accent-light), 12px 12px 0 rgba(0,0,0,0.08);
  position: relative;
}

.newspaper::before {
  content: 'SAMPLE PREVIEW';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 14px;
  border-radius: 2px;
}

.newspaper__masthead {
  text-align: center;
  margin-bottom: 12px;
}

.newspaper__editions {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--fg-light);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.newspaper__title {
  font-family: 'Georgia', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.newspaper__rule {
  border-top: 2px solid var(--ink);
  margin: 6px 0;
}

.newspaper__dateline {
  font-size: 0.7rem;
  color: var(--ink-light);
  font-style: italic;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}

.newspaper__nameplate {
  font-weight: 700;
  font-style: normal;
}

.newspaper__body {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 20px;
  margin-top: 14px;
}

.newspaper__main-story {}

.newspaper__headline {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}

.newspaper__byline {
  font-size: 0.62rem;
  color: var(--ink-light);
  font-family: var(--font-body);
  margin-bottom: 6px;
}

.newspaper__deck {
  font-size: 0.75rem;
  color: var(--ink-light);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
  margin-bottom: 10px;
}

.newspaper__body-text p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: justify;
}

.newspaper__sidebar {}

.newspaper__sidebar-section {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.newspaper__sidebar-section:last-child {
  border-bottom: none;
}

.newspaper__sidebar-headline {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.newspaper__sidebar-text {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--ink-light);
}

.newspaper__footer-rule {
  border-top: 1px solid var(--border);
  margin: 12px 0 8px;
}

.newspaper__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newspaper__caption {
  font-size: 0.62rem;
  color: var(--ink-light);
  font-style: italic;
}

.newspaper__disclaimer {
  font-size: 0.58rem;
  color: var(--fg-light);
  font-style: italic;
}

/* === Keepsakes Section === */
.keepsakes {
  padding: var(--section-pad) clamp(24px, 5vw, 48px);
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.keepsakes__header {
  max-width: var(--max-w);
  margin: 0 auto 52px;
}

.keepsakes__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.keepsakes__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}

.keepsakes__sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
}

.keepsakes__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: start;
}

.keepsake-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 24px 20px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.keepsake-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.keepsake-card--primary {
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--accent-light);
}

.keepsake-card--crossword {
  /* slightly taller to break grid rhythm */
}

.keepsake-card__icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.keepsake-card__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 12px;
}

.keepsake-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}

.keepsake-card__desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === How It Works === */
.how {
  padding: var(--section-pad) clamp(24px, 5vw, 48px);
  background: var(--bg);
}

.how__header {
  max-width: var(--max-w);
  margin: 0 auto 56px;
}

.how__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.steps {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  flex: 1;
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0;
}

.step__body {}

.step__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step__arrow {
  flex-shrink: 0;
  color: var(--accent);
  margin: 0 12px;
}

.how__countdown {
  max-width: var(--max-w);
  margin: 64px auto 0;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 40px;
}

.countdown__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 8px;
}

.countdown__date {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.countdown__window {
  font-size: 1rem;
  color: var(--fg-muted);
}

/* === Pricing === */
.pricing {
  padding: var(--section-pad) clamp(24px, 5vw, 48px);
  background: var(--fg);
}

.pricing__card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--paper);
  padding: 48px;
}

.pricing__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.pricing__price {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing__note {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 28px;
}

.pricing__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--fg);
  font-weight: 500;
}

.pricing__features li svg {
  color: var(--sage);
  flex-shrink: 0;
}

.pricing__compare {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 20px;
}

.pricing__compare-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 12px;
}

.pricing__competitor {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--fg-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.pricing__ours {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--fg);
  font-weight: 700;
  padding: 10px 0 0;
}

/* === Closing === */
.closing {
  padding: var(--section-pad) clamp(24px, 5vw, 48px);
  background: var(--bg);
}

.closing__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing__quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--accent-light);
  display: block;
  margin-bottom: 24px;
}

.closing__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 24px;
}

.closing__author {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-light);
  text-transform: uppercase;
  margin-bottom: 56px;
}

.closing__urgency {
  border: 2px solid var(--fg);
  padding: 40px;
}

.urgency__window {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.urgency__days {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.urgency__label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.urgency__note {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* === Footer === */
.footer {
  background: var(--fg);
  color: var(--paper);
  padding: 56px clamp(24px, 5vw, 48px);
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--fg-light);
  margin-bottom: 32px;
}

.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.footer__links a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.footer__links a:hover { opacity: 1; }
.footer__sep { color: var(--fg-light); opacity: 0.4; }
.footer__copy { font-size: 0.75rem; color: var(--fg-light); opacity: 0.5; }

/* === Responsive === */
@media (max-width: 860px) {
  .keepsakes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .keepsake-card--primary {
    grid-column: 1 / -1;
  }
  .steps {
    flex-direction: column;
    gap: 32px;
  }
  .step__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .keepsakes__grid {
    grid-template-columns: 1fr;
  }
  .keepsake-card--primary {
    grid-column: auto;
  }
  .newspaper__body {
    grid-template-columns: 1fr;
  }
  .newspaper__sidebar {
    display: none;
  }
  .pricing__card {
    padding: 32px 24px;
  }
  .hero__delivery {
    flex-direction: column;
    gap: 12px;
  }
}

/* === Custom scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === Selection === */
::selection { background: var(--accent); color: white; }
