/* ---------------------------------------------------------
   Newsara — base styles
   Mobile-first, neutral palette, no build step.
--------------------------------------------------------- */

:root {
  --bg: #faf9f6;
  --bg-alt: #f1efe9;
  --bg-card: #ffffff;
  --ink: #1b1a17;
  --ink-muted: #5c5950;
  --border: #ddd8cc;
  --accent: #15322b;
  --accent-ink: #ffffff;
  --accent-hover: #0d1f1a;
  --focus: #1d6fae;
  --radius: 10px;
  --maxw: 1080px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- site header ---- */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* ---- generic section rhythm ---- */
section {
  padding: 3rem 0;
}

section.alt {
  background: var(--bg-alt);
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 38rem;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

/* ---- buttons / links ---- */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

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

.btn-secondary:hover {
  background: var(--bg-alt);
}

.link-secondary {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--ink-muted);
  text-decoration: underline;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-top: 1.75rem;
}

/* ---- hero ---- */
.hero {
  padding-top: 3.5rem;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero .hero-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* ---- how it works cards ---- */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.card p {
  color: var(--ink-muted);
  margin-bottom: 0;
}

/* ---- placeholder media block ---- */
.media-placeholder {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--ink-muted);
}

.media-placeholder .label {
  max-width: 24rem;
}

.media-placeholder .label strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

/* ---- comparison ---- */
.compare {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.compare .col {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-card);
}

.compare .col h3 {
  margin-bottom: 0.5rem;
}

.compare .col ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.compare .col li {
  margin-bottom: 0.5rem;
}

.compare .col li:last-child {
  margin-bottom: 0;
}

.compare .col.highlight {
  border-color: var(--accent);
}

/* ---- offer ---- */
.offer-box {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 34rem;
}

.offer-price {
  margin-bottom: 1rem;
}

.offer-price .price-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.offer-price .price {
  font-size: 2.25rem;
  font-weight: 700;
}

.offer-price .price-then {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.offer-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.offer-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--ink-muted);
}

.offer-list li .mark {
  color: var(--accent);
  font-weight: 700;
}

/* ---- email capture ---- */
.capture-box {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 30rem;
}

.embed-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
  background: var(--bg-alt);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.embed-placeholder code {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  word-break: break-word;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--ink-muted);
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

/* ---- simple page (thanks/booked/privacy/refunds) ---- */
.simple-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.simple-page .wrap {
  max-width: 38rem;
}

.simple-page .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ---- responsive ---- */
@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .link-secondary {
    margin-top: 0;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
