/* Cardinera — shared stylesheet.
   No external fonts, no JS. The cream (#FDF7EE) matches the logo PNG's baked-in
   background exactly, so the wordmark sits on the page without a visible box. */

:root {
  --cream: #FDF7EE;
  --surface: #FFFFFF;
  --surface-warm: #FFFCF6;
  --ink: #241F1C;
  --muted: #6B625A;
  --red: #B4213A;
  --red-dark: #971B31;
  --red-soft: #F7E3E4;
  --border: #EBDFCF;
  --shadow: 0 1px 2px rgba(36, 31, 28, 0.05), 0 8px 24px rgba(36, 31, 28, 0.06);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand img { height: 44px; width: auto; }
.brand:hover { text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--red); text-decoration: none; }

.site-nav a[aria-current="page"] { color: var(--red); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--red);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--red);
}

.btn-ghost:hover { background: var(--red-soft); color: var(--red-dark); }

.btn-small { padding: 0.45rem 1.1rem; font-size: 0.9rem; }
.site-nav .btn-small { color: #fff; }
.site-nav .btn-small:hover { color: #fff; }

/* ------------------------------------------------------------------ hero */

.hero { padding: 5rem 0 4rem; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 21ch;
  margin: 0 auto 1.2rem;
}

.hero .lede {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-note { font-size: 0.92rem; color: var(--muted); }

/* ------------------------------------------------------------------ sections */

section { padding: 3.5rem 0; }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.6rem; }

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.section-head p { color: var(--muted); font-size: 1.1rem; }

h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }

.band { background: var(--surface-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.band-red { background: var(--red); color: #fff; }
.band-red h2 { color: #fff; }
.band-red .section-head p { color: #F6D9DC; }

/* ------------------------------------------------------------------ cards & grids */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); font-size: 0.98rem; }

.card .card-cta { display: inline-block; margin-top: 1rem; font-weight: 700; }

/* numbered steps */
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* icon chip used on promise / feature cards */
.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 1rem;
}

.chip svg { width: 1.4rem; height: 1.4rem; }

.band-red .card { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.band-red .card h3 { color: #fff; }
.band-red .card p { color: #F3D6DA; }
.band-red .chip { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* audience "two doors" cards */
.door { display: flex; flex-direction: column; align-items: flex-start; }
.door .price-tag { font-weight: 800; color: var(--red); margin-top: 0.6rem; }
.door .card-cta { margin-top: auto; padding-top: 1.2rem; }

/* ------------------------------------------------------------------ example inbox / addresses */

.inbox-demo {
  background: var(--ink);
  color: #F4EDE2;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92rem;
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.inbox-demo .from { color: #B8AB99; }
.inbox-demo .hl { color: #F2A0AC; }
.inbox-demo p { margin: 0.2rem 0; overflow-wrap: anywhere; }
.inbox-demo hr { border: 0; border-top: 1px solid rgba(244, 237, 226, 0.2); margin: 0.8rem 0; }

/* ------------------------------------------------------------------ checklists */

ul.checks { list-style: none; }

ul.checks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
}

ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--red);
}

ul.checks li::after {
  content: "";
  position: absolute;
  left: 0.28em;
  top: 0.62em;
  width: 0.45em;
  height: 0.22em;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

ul.checks strong { color: var(--ink); }

/* ------------------------------------------------------------------ split (text + panel) */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.split h2 { max-width: 18ch; }
.split > div > p { color: var(--muted); margin-bottom: 1rem; }

/* ------------------------------------------------------------------ pricing */

.price-cards { align-items: stretch; }

.price-card { display: flex; flex-direction: column; position: relative; }

.price-card .plan-name { font-size: 1.15rem; font-weight: 800; }
.price-card .plan-for { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }

.price-card .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-card .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card .price-sub { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 1.3rem; }

.price-card ul.checks { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4rem; }
.price-card .btn { margin-top: auto; text-align: center; }

.price-card.featured { border: 2px solid var(--red); }

.badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* the ROI anchor line under the price cards */
.price-anchor {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 44rem;
  margin: 1.8rem auto 0;
}

/* trial explainer */
.trial-box {
  border: 2px dashed var(--red);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2rem;
  max-width: 46rem;
  margin: 0 auto;
}

.trial-box h3 { color: var(--red); }
.trial-box p { color: var(--muted); }
.trial-box p + p { margin-top: 0.8rem; }

/* ------------------------------------------------------------------ FAQ */

.faq { max-width: 46rem; margin: 0 auto; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--red);
}

.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--muted); margin-top: 0.7rem; font-size: 0.98rem; }
.faq details p + p { margin-top: 0.5rem; }

/* ------------------------------------------------------------------ final CTA */

.cta-final { text-align: center; padding: 4.5rem 0; }
.cta-final h2 { max-width: 24ch; margin-left: auto; margin-right: auto; }
.cta-final p { color: var(--muted); max-width: 40rem; margin: 0 auto 1.8rem; }

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--ink);
  color: #CFC5B8;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.site-footer a { color: #CFC5B8; display: block; margin-bottom: 0.45rem; }
.site-footer a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.3rem;
  padding-bottom: 1.6rem;
  font-size: 0.85rem;
  color: #9C917F;
}

/* ------------------------------------------------------------------ small screens */

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 2.5rem 0; }
  .header-inner { justify-content: center; }
}
