/* Winnie Jayne site styles
   Edit colors and fonts in the :root block below. Everything else uses these values. */

:root {
  --ink: #1c2230;          /* main text */
  --ink-soft: #454d5e;     /* secondary text */
  --paper: #fbf8f3;        /* page background */
  --paper-tint: #f2ece2;   /* alternating section background */
  --card: #ffffff;
  --line: #ddd4c6;
  --accent: #4a2c7a;       /* buttons and links (deep purple) */
  --accent-dark: #351d5c;
  --accent-soft: #efe9f7;
  --error: #a3261b;
  --error-soft: #fbeceb;
  --notice: #7a4b00;
  --notice-soft: #fdf3dd;

  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 1.5em; color: var(--ink-soft); }

p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.form-container { max-width: 720px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Preview banner (remove the HTML for launch) */
.preview-banner {
  background: var(--notice-soft);
  color: var(--notice);
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-bottom: 1px solid #ecd9ae;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.98rem; }
.nav-links a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 820px) {
  .nav-links { display: flex; }
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 14px 26px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.3;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button:disabled { opacity: 0.55; cursor: not-allowed; }
.button-small { padding: 9px 18px; font-size: 0.95rem; white-space: nowrap; }
.text-link { font-weight: 600; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-inner { max-width: 860px; }
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}
.lede { font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (min-width: 820px) {
  .hero { padding: 112px 0 120px; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--paper-tint); }
.section-intro { color: var(--ink-soft); max-width: 640px; margin-bottom: 2em; }
@media (min-width: 820px) {
  .section { padding: 88px 0; }
}

/* Cards */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .card-grid.two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.service-card { padding: 32px; }
.step-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.price { margin: 0.2em 0 1em; }
.price-amount { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 600; }
.price-amount-text { font-size: 1.6rem; }
.price-note { color: var(--ink-soft); }

.check-list, .x-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .x-list li { position: relative; padding-left: 28px; margin-bottom: 0.45em; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 7px;
  height: 12px;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.x-list li { color: var(--ink-soft); }
.x-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.8em;
  width: 12px;
  height: 2px;
  background: var(--ink-soft);
}

/* About */
.about-text { font-size: 1.2rem; line-height: 1.7; }
.fine-print { font-size: 0.9rem; color: var(--ink-soft); }

/* Process */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: none;
}
.process li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.process h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.process p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
@media (min-width: 960px) {
  .process { grid-template-columns: repeat(5, 1fr); }
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 16px 36px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-right: 24px; }

/* Placeholders: visible on purpose so nothing ships unfilled */
.placeholder {
  background: #fff4c2;
  color: #5c4500;
  border: 1px dashed #b38f00;
  border-radius: 4px;
  padding: 0 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

/* Form notices */
.demo-notice, .sensitive-notice {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.demo-notice { background: var(--notice-soft); color: var(--notice); border: 1px solid #ecd9ae; }
.sensitive-notice { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #d3c5ea; font-weight: 500; }

.error-summary {
  background: var(--error-soft);
  border: 2px solid var(--error);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}
.error-summary h3 { font-family: var(--font-body); font-size: 1.05rem; color: var(--error); margin-bottom: 0.4em; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 600; }

/* Form */
#inquiry-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  #inquiry-form { padding: 36px; }
}
.field { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  padding: 0;
}
.req, .optional { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.hint { font-size: 0.93rem; color: var(--ink-soft); margin: 0 0 8px; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #8a8f9a;
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 48px;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
[aria-invalid="true"] { border-color: var(--error) !important; background: var(--error-soft); }

.choices { display: grid; gap: 8px; }
.choices.inline { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.choice {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-weight: 400 !important;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 !important;
  cursor: pointer;
  min-height: 48px;
}
.choice:hover { border-color: var(--accent); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.error { color: var(--error); font-weight: 600; font-size: 0.93rem; margin: 6px 0 0; }
.error:empty { display: none; }
.note { background: var(--notice-soft); color: var(--notice); border-radius: 8px; padding: 10px 14px; margin: 10px 0 0; font-size: 0.95rem; }
.char-count { font-size: 0.85rem; color: var(--ink-soft); text-align: right; margin: 4px 0 0; }

.form-status {
  margin-top: 20px;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.form-status:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-status-demo { background: var(--notice-soft); color: var(--notice); border: 2px solid #d9b25c; }
.form-status-success { background: var(--accent-soft); color: var(--accent-dark); border: 2px solid var(--accent); }
.form-status-error { background: var(--error-soft); color: var(--error); border: 2px solid var(--error); }
.form-status p:last-child { margin-bottom: 0; }

/* Spam trap: hidden from people, visible to simple bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e6e8ee;
  padding: 56px 0 32px;
  font-size: 0.95rem;
}
.site-footer a { color: #ffffff; }
.site-footer .placeholder { color: #5c4500; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.2fr 1.5fr 1fr; }
}
.footer-brand { font-family: var(--font-heading); font-size: 1.4rem; color: #fff; margin-bottom: 0.4em; }
.footer-legal {
  border-top: 1px solid #3a4152;
  margin-top: 32px;
  padding-top: 20px;
  color: #c3c7d1;
  font-size: 0.86rem;
}

/* Privacy page */
.doc { padding: 48px 0 72px; }
.doc h2 { font-size: 1.45rem; margin-top: 1.8em; }
.draft-banner {
  background: var(--error-soft);
  border: 2px solid var(--error);
  color: var(--error);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
}
.draft-banner p:last-child { margin-bottom: 0; }

/* Optional question group in the inquiry form */
.optional-group {
  border-top: 1px solid var(--line);
  margin: 8px 0 26px;
  padding-top: 22px;
}
.optional-group-title { font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 4px; }
.optional-group .hint { margin-bottom: 18px; }
@media (max-width: 479px) {
  .choices.inline { grid-template-columns: 1fr; }
}
