/* XLPostcards — shared stylesheet */
:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #fff7ed;
  --ink: #111827;
  --slate: #4b5563;
  --slate-light: #9ca3af;
  --paper: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 34px rgba(17, 24, 39, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--orange-dark); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  margin-right: auto;
}
.brand img { width: 42px; height: 42px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}
.nav-links a { color: var(--slate); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--orange-dark); }

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--orange-dark); }
.btn.big { font-size: 1.1rem; padding: 0.85rem 1.8rem; }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 3.5rem; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero .sub { font-size: 1.15rem; color: var(--slate); margin: 0 0 1.75rem; max-width: 34rem; }
.tagline-chip {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}

.store-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.store-row img.badge { height: 52px; width: auto; display: block; }
.qr-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 600;
}
.qr-box img { width: 84px; height: 84px; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 6px; }
.trust-line { margin-top: 1rem; font-size: 0.9rem; color: var(--slate-light); }

/* Size comparison visual */
.size-visual { position: relative; min-height: 380px; }
.card-xl, .card-std {
  position: absolute;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 6px solid #fff;
  overflow: hidden;
}
.card-xl {
  width: 82%;
  aspect-ratio: 3 / 2;
  right: 0;
  top: 6%;
  transform: rotate(2.5deg);
  z-index: 2;
}
.card-xl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-std {
  width: 46%;
  aspect-ratio: 3 / 2;
  left: 0;
  bottom: 2%;
  transform: rotate(-5deg);
  z-index: 3;
  background: url('assets/postcard-front.webp') left center / 170% auto no-repeat;
  filter: saturate(0.85);
}
.size-tag {
  position: absolute;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 4;
}
.size-tag.xl { top: -2%; right: 4%; background: var(--orange); font-size: 0.9rem; }
.size-tag.std { bottom: -4%; left: 4%; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.section-head p { color: var(--slate); font-size: 1.05rem; margin: 0; }

/* Why so big */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.point {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.point .icon { font-size: 1.8rem; }
.point h3 { margin: 0.6rem 0 0.35rem; font-size: 1.1rem; }
.point p { margin: 0; color: var(--slate); font-size: 0.95rem; }
.kicker {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--orange-dark);
}

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { text-align: center; }
.step .shot {
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 240px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  margin: 1rem 0 0.4rem;
}
.step h3 { margin: 0.2rem 0 0.3rem; font-size: 1.1rem; }
.step p { margin: 0 auto; color: var(--slate); font-size: 0.95rem; max-width: 17rem; }

/* Use cases */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow);
}
.tile .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 12px;
  background: var(--orange-soft);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.tile h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.tile p { margin: 0; color: var(--slate); font-size: 0.88rem; line-height: 1.45; }
.tile.more {
  background: var(--orange);
  border-color: var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tile.more h3 { color: #fff; font-size: 1.15rem; }
.tile.more p { color: #ffedd5; }

/* Where it ends up */
.spots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.spot { text-align: center; }
.spot svg { width: 100%; max-width: 190px; height: auto; }
.spot h3 { margin: 0.7rem 0 0.2rem; font-size: 1.02rem; }
.spot p { margin: 0; color: var(--slate); font-size: 0.88rem; }

/* Screenshot strip */
.shots-strip {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem 1.2rem;
  scroll-snap-type: x mandatory;
}
.shots-strip img {
  width: 210px;
  flex: 0 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

/* Pricing */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem;
}
.price-card table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price-card th, .price-card td { padding: 0.6rem 0.5rem; text-align: left; }
.price-card th { color: var(--slate); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--border); }
.price-card td { border-bottom: 1px solid var(--border); }
.price-card tr:last-child td { border-bottom: none; font-weight: 700; }
.price-card .best { color: var(--orange-dark); font-weight: 800; }
.price-note { color: var(--slate); font-size: 0.9rem; margin-top: 1rem; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  margin-bottom: 0.75rem;
  padding: 1rem 1.2rem;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-left: 1.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; position: absolute; left: 0; top: -0.1rem; font-size: 1.25rem; color: var(--orange); font-weight: 800; }
.faq details[open] summary::before { content: "\2212"; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--slate); }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; text-align: center; padding: 3.5rem 0; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin: 0 0 0.5rem; }
.cta-band p { color: #ffedd5; font-size: 1.1rem; margin: 0 0 1.6rem; }
.cta-band .store-row { justify-content: center; }

/* Footer */
.site-footer { padding: 2.5rem 0 3rem; color: var(--slate); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--ink); margin-right: auto; }
.site-footer .foot-brand img { width: 30px; height: 30px; }
.site-footer a { color: var(--slate); text-decoration: none; }
.site-footer a:hover { color: var(--orange-dark); }

/* ---------- Content pages (privacy / delete / ads) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.page h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.01em; }
.page h2 { color: var(--orange-dark); font-size: 1.25rem; margin-top: 2rem; }
.page .card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Ads page */
.ad-mock { position: relative; max-width: 720px; margin: 0 auto; }
.ad-mock img { border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: block; }
.ad-slot-ring {
  position: absolute;
  border: 3px dashed var(--orange);
  border-radius: 12px;
  top: 6%; left: 52%; width: 46%; height: 42%;
}
.ad-slot-label {
  position: absolute;
  top: -2.4rem; right: 0;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.sample-ads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sample-ad {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
  text-align: center;
}
.sample-ad .ad-inner {
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.9rem 0.6rem;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
}
.sample-ad .ad-name { font-weight: 800; font-size: 1.05rem; }
.sample-ad .ad-line { font-size: 0.82rem; color: var(--slate); }
.sample-ad .ad-cta { font-size: 0.82rem; font-weight: 700; color: var(--orange-dark); margin-top: 0.3rem; }
.sample-ad .ad-target { margin-top: 0.7rem; font-size: 0.78rem; color: var(--slate-light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .size-visual { min-height: 300px; max-width: 480px; margin: 0 auto; width: 100%; }
  .points, .steps, .sample-ads { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .spots { grid-template-columns: repeat(2, 1fr); }
  .nav-links .hide-mobile { display: none; }
  .qr-box { display: none; }
}
@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
  .spots { grid-template-columns: 1fr; }
  .store-row img.badge { height: 46px; }
}
