/* You Say Fine — calm, warm, simple. No external fonts, no JS. */
:root {
  --bg: #f8f3ec;
  --tint: #efe5d8;
  --card: #fffdf9;
  --ink: #2a2420;
  --muted: #5a4f47;
  --accent: #9a3f22;
  --accent-ink: #ffffff;
  --accent-soft: #f3dfd3;
  --line: #ddcfbf;
  --focus: #1f5f8b;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 44rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 8vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.35rem); max-width: 30ch; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; max-width: 65ch; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 10;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { padding: 1.25rem 0; }
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 1.2rem;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}

/* Hero */
.hero { padding: 2.5rem 0 3.5rem; }
.h1-break { display: block; color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.hook { margin-top: 1.75rem; margin-bottom: 0.75rem; font-family: var(--serif); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-bottom: 1rem; }
.text-link { font-weight: 600; }

.small-print { font-size: 0.95rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.3;
  padding: 0.85rem 1.35rem; border-radius: 999px;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 2px solid var(--accent);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #7f3219; border-color: #7f3219; }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--tint); }

/* Moments */
.moments { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.75rem; }
.moments li {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1rem 1.15rem;
}
.moments strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.source-line { font-size: 0.95rem; color: var(--muted); }

/* Steps */
.steps { padding-left: 1.4rem; margin: 1.5rem 0; display: grid; gap: 0.6rem; max-width: 65ch; }
.steps li::marker { font-family: var(--serif); font-weight: 700; color: var(--accent); }

.example-reset {
  margin-top: 1.5rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.35rem; max-width: 65ch;
}
.example-reset p { margin: 0; }
.example-reset strong { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 0.3rem; }

/* Product cards */
.cards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; overflow-wrap: anywhere; /* M7: long link text wraps inside the card at 375 px */
}
.card p { flex: 1 0 auto; }
.card .card-label {
  flex: 0 0 auto; margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}
.disclaimer { margin-top: 1.75rem; font-size: 0.95rem; color: var(--muted); }

/* Visible placeholder text: must be filled before launch */
.placeholder {
  background: #fff1b8; color: #3d2e00; outline: 2px dashed #8a6d00; outline-offset: 1px;
  padding: 0 0.25em; border-radius: 3px; font-weight: 700;
}

.field-row { display: flex; flex-direction: column; gap: 0.75rem; }

/* Footer */
.site-footer { background: var(--ink); color: #f3ece4; padding: 3rem 0 2.5rem; }
.site-footer a { color: #ffd2bd; }
.footer-links a { display: inline-block; padding: 0.25rem 0; }
.source-link { font-size: 0.9rem; white-space: nowrap; }
.signoff { font-family: var(--serif); font-size: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0; }
.footer-links li:not(:last-child)::after { content: "·"; padding: 0 0.6rem; color: #b9ab9e; }
.footer-disclaimer { margin-top: 1.5rem; }
.footer-meta { color: #d6cabe; font-size: 0.95rem; margin-bottom: 0; }
.site-footer :focus-visible { outline-color: #ffd2bd; }

/* Larger screens */
@media (min-width: 40rem) {
  .field-row { flex-direction: row; }
  .field-row input { flex: 1; }
  .moments { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 60rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .section { padding: 5rem 0; }
  .moments { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* layout: keep footer at the bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
main h2 { margin-top: 2rem; }
main h2:first-child { margin-top: 0; }
.consent-row { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.9rem; }
.consent-row input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; }

/* Honeypot spam field (parked contact form): off-screen for people, still in the form for bots. */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.footer-seller { color: #d6cabe; font-size: 0.95rem; margin: 0.5rem 0 0; }
