/* How Not To Get Screwed By Your Lawyer — static companion site
   Colors/fonts taken from the live Simvoly theme (Nov 2026 public HTML). */

:root {
  --yellow: #ffdf55;
  --yellow-soft: #f7e894;
  --ink: #3e3e3e;
  --ink-dark: #231f20;
  --ink-soft: #6a6a6a;
  --hero: #231f20;
  --green: #61bd6d;
  --teal: #028090;
  --teal-2: #00a896;
  --cream: #f0f3bd;
  --white: #ffffff;
  --footer: #3e3e3e;
  --max: 1100px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--white);
  background-image: url("/assets/maze-white.png");
  background-repeat: repeat;
  min-height: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.6em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin: 0 0 0.45em; }
em { font-style: italic; }
strong { font-weight: 700; }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.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;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e6e6e6;
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo img { width: 72px; height: 72px; object-fit: contain; }
.logo-text { display: none; }

.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 12px;
  font-weight: 400;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a.btn-nav {
  background: var(--ink-dark);
  color: var(--white);
  border-radius: 2px;
  margin-left: 0.4rem;
  padding: 10px 16px;
}
.nav a.btn-nav:hover { background: var(--green); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; height: 2px; background: var(--ink); width: 22px; position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Hero */
.hero {
  background: var(--hero);
  color: var(--white);
  padding: 3.2rem 0 3.6rem;
}
.hero-grid {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.7em;
}
.hero .deck {
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.4em;
}
.hero-copy { color: var(--white); font-size: 18px; margin-bottom: 1.4em; }
.hero-cover { display: flex; justify-content: center; }
.hero-cover img {
  width: min(360px, 100%);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink-dark);
  padding: 0.95em 1.5em;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--green); color: var(--white); }
.btn-dark { background: #333; color: var(--white); }
.btn-dark:hover { background: var(--green); color: var(--white); }

/* Bands */
.band { padding: 3.2rem 0; }
.band-yellow { background: var(--yellow); }
.band-white { background: var(--white); }
.band-muted { background: rgba(62, 62, 62, 0.08); }
.band-dark { background: var(--footer); color: #ddd; }

.kicker {
  font-family: "Yesteryear", cursive;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 400;
  text-align: center;
  line-height: 1;
  margin: 0 0 0.25em;
  color: var(--ink-dark);
}
.center { text-align: center; }
.lead-heading { text-align: center; font-weight: 700; margin-bottom: 1.2em; }

.prose { max-width: 720px; margin-inline: auto; }
.prose-wide { max-width: 800px; margin-inline: auto; }
.split {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 860px;
  margin-inline: auto;
}
.split img.icon { width: 140px; margin-top: 0.3rem; }

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review-card {
  background: var(--white);
  padding: 1.4rem 1.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
}
.review-card .stars { width: 110px; margin: 0 auto 0.7rem; }
.review-card .who { font-weight: 700; margin-bottom: 0.35em; }
.review-card .quote { font-size: 16px; color: #242424; }

.review-rows { max-width: 960px; margin-inline: auto; }
.review-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 1.6rem 0.4rem;
}
.review-mini .stars { width: 100px; margin: 0 0 0.5rem; }
.review-mini .who { font-weight: 700; font-family: Arial, sans-serif; font-size: 16px; margin-bottom: 0.25em; }
.review-mini .quote { font-size: 16px; }

/* Photo + bio */
.photo-block { padding: 0; background: var(--white); }
.photo-block img { width: min(820px, 100%); margin: 0 auto; }
.bio {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  width: min(var(--max), calc(100% - 2.4rem));
}
.bio img { width: 100%; object-fit: cover; max-height: 420px; object-position: center 20%; }
.bio h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: right; margin: 0 0 0.4em; }
.bio p { font-size: 18px; }

/* Chapter hero */
.chapter-hero {
  background-color: var(--yellow);
  background-image: url("/assets/pushpin-bg.png");
  background-size: 520px;
  background-position: right bottom;
  background-repeat: repeat;
  padding: 4.2rem 1.2rem 4.6rem;
  text-align: center;
}
.chapter-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 2.7rem);
  text-shadow: 0 2px 0 rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.28);
  display: inline-block;
  background: rgba(35, 31, 32, 0.55);
  padding: 0.45em 0.8em;
  margin: 0;
}

.page-kicker {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin: 0 0 0.8em;
}
.intro-band { padding: 3rem 0 2rem; background: var(--white); }
.section { padding: 2.4rem 0; background: var(--white); }
.section + .section { padding-top: 0.5rem; }
.section h2 { text-align: center; }
.section.left h2 { text-align: left; font-size: 2rem; }
.tip {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.6rem;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.tip img { width: 160px; }
.tip h2 { text-align: left; font-size: 1.7rem; margin-top: 0; }
.muted { color: var(--ink-soft); }

.video {
  position: relative;
  width: min(800px, 100%);
  margin: 1.4rem auto 0;
  aspect-ratio: 16 / 9;
  background: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.legal { max-width: 800px; margin: 0 auto; font-size: 16px; }
.legal h1, .page-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.2em 0 0.2em;
}
.underline {
  width: min(280px, 70%);
  height: 14px;
  object-fit: cover;
  margin: 0 auto 2rem;
}
.legal p { margin-bottom: 1em; }
.notice {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-size: 16px;
  color: var(--ink-soft);
  text-align: center;
}

blockquote.marilyn {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 18px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.8;
  font-style: italic;
}
blockquote.marilyn cite {
  display: block;
  margin-top: 0.6em;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.book-list p { margin-bottom: 0.55em; }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #d0d0d0;
  padding: 2.2rem 0 2.4rem;
  text-align: center;
  font-size: 14px;
}
.social { display: flex; gap: 0.55rem; justify-content: center; margin-bottom: 1rem; }
.social a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #cccccc; color: #3e3e3e;
  border-radius: 4px; text-decoration: none;
}
.social a:hover { background: var(--white); color: var(--ink); }
.social svg { width: 14px; height: 14px; fill: currentColor; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.copyright { margin: 0; }

/* Mobile */
@media (max-width: 860px) {
  .hero-grid, .bio, .split, .tip { grid-template-columns: 1fr; }
  .bio h2 { text-align: left; }
  .review-grid, .review-row { grid-template-columns: 1fr; }
  .split img.icon, .tip img { margin-inline: auto; }
  .hero { padding-top: 2rem; }
  .hero-cover img { width: min(260px, 80%); margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.2rem 1rem;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 8px 16px rgba(0,0,0,.06);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a.btn-nav { margin: 0.4rem 0 0; text-align: center; }
  .header-inner { position: relative; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .review-row { grid-template-columns: repeat(2, 1fr); }
}
