/* ==========================================================================
   Liz Beasley Spanish — single-page site
   Light theme only, on purpose: product covers and PDF mockups are white-
   background artwork and look broken on a dark canvas.
   ========================================================================== */

:root {
  --ink:        #14201f;
  --ink-soft:   #4a5b59;
  --teal:       #0f5257;
  --teal-dark:  #0a3b3f;
  --clay:       #c2532f;
  --clay-dark:  #a3421f;
  --cream:      #fdfaf5;
  --sand:       #f4ede1;
  --line:       #e2d9c9;
  --white:      #ffffff;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 31, .06), 0 12px 32px rgba(20, 32, 31, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.12rem; font-family: var(--font); font-weight: 650; letter-spacing: -.005em; }

p { margin: 0 0 1rem; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--teal); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px;
  z-index: 50; text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: .5rem;
}

.section-lede {
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid var(--clay);
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--line);
  padding: 8px 16px;
  font-size: .95rem;
}
.btn--ghost:hover { background: var(--sand); border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 68px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.wordmark span { color: var(--clay); }
.site-header nav {
  display: flex; align-items: center; gap: 22px;
  font-size: .95rem;
}
.site-header nav a { text-decoration: none; font-weight: 500; }
.site-header nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 620px) {
  .site-header nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(36px, 6vw, 76px) 0 clamp(40px, 6vw, 80px); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 34rem; }
.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 1.9rem;
}
.hero__art img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-inline: auto;
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 300px; margin-inline: auto; }
}

/* On phones the cover shrinks to a thumbnail and the spacing tightens so the
   signup form stays above the fold — that placement is the whole point of the
   page, and a full-size cover pushes it out of view on a 812px screen. */
@media (max-width: 620px) {
  .hero { padding-top: 24px; }
  .hero__inner { gap: 20px; }
  .hero__art { max-width: 156px; }
  .lede { font-size: 1.05rem; margin-bottom: 1.4rem; }
}

/* ---------- Signup form ---------- */

.signup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 34rem;
}
.signup input[type="email"] {
  font: inherit;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  min-width: 0;
}
.signup input[type="email"]::placeholder { color: #9aa8a6; }
.signup input[type="email"]:focus { border-color: var(--teal); outline: none; }
.signup input[type="email"]:focus-visible { outline: 3px solid var(--clay); outline-offset: 1px; }

.signup button {
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--clay);
  color: #fff;
  white-space: nowrap;
  transition: background .15s;
}
.signup button:hover { background: var(--clay-dark); }
.signup button[disabled] { opacity: .6; cursor: default; }

.signup__note, .signup__msg {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: .86rem;
  color: var(--ink-soft);
}
.signup__msg:empty { display: none; }
.signup__msg { font-weight: 600; color: var(--teal); }
.signup__msg[data-state="error"] { color: var(--clay-dark); }

.signup--center { margin-inline: auto; }

@media (max-width: 560px) {
  .signup { grid-template-columns: 1fr; }
}

/* ---------- Freebie ---------- */

.freebie {
  background: var(--teal);
  color: #eef6f5;
  padding: clamp(44px, 6vw, 76px) 0;
}
.freebie h2 { color: #fff; }
.freebie .eyebrow { color: #f0b49a; }
.freebie__copy { max-width: 40rem; }
.freebie .signup input[type="email"] { border-color: transparent; }

.checks { list-style: none; padding: 0; margin: 0 0 1.9rem; }
.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .6rem;
}
.checks li::before {
  content: "";
  position: absolute; left: 4px; top: .62em;
  width: 11px; height: 6px;
  border-left: 2.5px solid #f0b49a;
  border-bottom: 2.5px solid #f0b49a;
  transform: rotate(-45deg);
}

/* ---------- About ---------- */

.about { padding: clamp(48px, 7vw, 88px) 0; }
.about__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.about__photo {
  border-radius: 50%;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  object-fit: cover;
}
.about__copy { max-width: 54ch; }
.about__copy p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { max-width: 190px; }
}

/* ---------- Shop ---------- */

.shop {
  background: var(--sand);
  padding: clamp(48px, 7vw, 88px) 0;
}
.cards {
  list-style: none; padding: 0; margin: 0 0 2.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform .15s, box-shadow .15s;
}
.card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 1; object-fit: cover; background: var(--sand); }
.card h3 { margin: 18px 18px 6px; }
.card p { margin: 0 18px 20px; font-size: .93rem; color: var(--ink-soft); }
.shop__cta { text-align: center; margin: 0; }

/* ---------- Reviews ---------- */

.reviews { padding: clamp(48px, 7vw, 88px) 0; }
.reviews h2 { text-align: center; margin-bottom: 2.4rem; }
.quotes {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.quotes blockquote { margin: 0 0 .7rem; }
.quotes blockquote p {
  font-family: var(--font-display);
  font-size: 1.06rem;
  margin: 0;
}
.quotes blockquote p::before { content: "\201C"; }
.quotes blockquote p::after  { content: "\201D"; }
.quotes cite {
  font-style: normal;
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--sand);
  padding: clamp(48px, 7vw, 84px) 0;
  text-align: center;
}
.final-cta p { color: var(--ink-soft); margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--teal-dark);
  color: #cfe0df;
  padding: 40px 0;
  font-size: .92rem;
}
.site-footer__inner { display: grid; gap: 14px; justify-items: center; text-align: center; }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.site-footer a { color: #cfe0df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal { margin: 0; color: #8fb0ae; font-size: .84rem; }

/* ---------- Simple content pages (privacy) ---------- */

.page { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); }
.page .wrap { max-width: 68ch; }
.page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.page ul { padding-left: 1.2em; }
.page li { margin-bottom: .4rem; }
