/* moiretelltales.com — base styles */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400&display=swap');

:root {
  --orange: #f5a623;
  --orange-dark: #d4891a;
  --green-arrow: #5a8a3c;
  --text: #222;
  --text-light: #555;
  --border: #ddd;
  --max-w: 820px;
}

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

body {
  margin: 0;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

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

a:hover {
  text-decoration: underline;
}

/* ── Layout ─────────────────────────────────────────── */

header, main, footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

/* ── Header / site title ─────────────────────────────── */

header {
  padding-bottom: 0;
}

.site-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.site-title a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  line-height: 1.1;
}

.site-title a:hover {
  text-decoration: none;
}

.site-subtitle {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Navigation ──────────────────────────────────────── */

nav[aria-label="Main"] {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

nav[aria-label="Main"] a {
  padding: 0.25rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav[aria-label="Main"] a:hover,
nav[aria-label="Main"] a.active {
  border-bottom-color: var(--text);
}

/* ── Hero section ────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.hero h1 {
  font-size: 1.7rem;
  font-style: italic;
  font-weight: normal;
  line-height: 1.3;
  margin: 0 auto 1rem;
  max-width: 420px;
}

.hero p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 340px;
  margin: 0 auto 1.75rem;
}

/* ── Button ──────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  padding: 0.75rem 2.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--orange-dark);
  text-decoration: none;
  color: #fff;
}

/* ── Features list ───────────────────────────────────── */

.features {
  padding: 1.5rem 0;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
}

.features li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.9rem;
}

.features li::before {
  content: '⇒';
  position: absolute;
  left: 0;
  color: var(--green-arrow);
  font-size: 1rem;
  line-height: 1.6;
}

/* Bold the first few words of each feature item */
.features li strong {
  font-weight: bold;
}

/* ── Video embed ─────────────────────────────────────── */

.video-embed {
  padding: 1rem 0;
  text-align: center;
}

.video-embed iframe {
  max-width: 100%;
  border: none;
}

/* ── Testimonials ────────────────────────────────────── */

.testimonials {
  padding: 1rem 0 1.5rem;
}

.testimonials blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text);
}

.testimonials blockquote p {
  margin: 0 0 0.3rem;
}

.testimonials blockquote footer {
  font-style: normal;
  font-weight: bold;
  font-size: 0.88rem;
  padding: 0;
  background: none;
  color: var(--text);
  max-width: none;
}

/* ── Page-level headings (interior pages) ────────────── */

main h1 {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

main h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

main p {
  margin: 0 0 1rem;
}

/* ── Contact / forms ─────────────────────────────────── */

.contact-form {
  max-width: 520px;
}

.contact-form label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  margin-top: 0.8rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form button[type="submit"] {
  margin-top: 1rem;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: italic;
}

/* ── Inline figures / images ─────────────────────────── */

.inline-figure {
  margin: 1.25rem 0;
}

.inline-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
}

/* ── PayPal order form ───────────────────────────────── */

.paypal-order {
  margin-top: 2rem;
}

.paypal-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  max-width: 420px;
}

.paypal-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.paypal-fields input[type="number"] {
  width: 5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 1rem;
}

.paypal-fields fieldset {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
}

.paypal-fields fieldset legend {
  padding: 0 0.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.paypal-fields fieldset label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.paypal-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ── Footer ──────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.7;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--text-light);
  text-decoration: underline;
}

footer a:hover {
  color: var(--text);
}

/* ── Cookie consent banner ───────────────────────────── */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

#cookie-banner p {
  margin: 0;
  flex: 1;
}

#cookie-banner a {
  color: #f0f0f0;
}

#cookie-banner button {
  padding: 0.5rem 1.25rem;
  border: 1px solid #f0f0f0;
  background: transparent;
  color: #f0f0f0;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: Arial, Helvetica, sans-serif;
}

#cookie-banner button:hover {
  background: #f0f0f0;
  color: #1a1a1a;
}

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 600px) {
  .site-title a {
    font-size: 1.8rem;
  }

  .features ul {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  nav[aria-label="Main"] a {
    padding: 0.25rem 0.5rem;
  }
}
