/* How Contracts Become Lawsuits — site styles */
:root {
  --ink: #171210;
  --ink-2: #221b18;
  --ink-3: #2e2521;
  --cream: #fbe3c9;
  --cream-soft: #f6efe6;
  --paper: #fbf8f3;
  --text: #2a2320;
  --muted: #6b5f58;
  --muted-on-dark: #b9aba0;
  --accent: #c8642a;
  --accent-dark: #a94f1c;
  --line: #e6dccf;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; }
.eyebrow {
  font-family: var(--ui); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--ui); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 6px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #f0a36f; outline-offset: 2px; }

/* Header */
.site-header { background: var(--ink); border-bottom: 1px solid var(--ink-3); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { font-family: var(--display); color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 600; letter-spacing: .04em; font-size: 1.05rem; }
.brand span { color: var(--cream); }
.nav { display: flex; align-items: center; gap: 22px; font-family: var(--ui); font-size: .9rem; }
.nav a { color: var(--muted-on-dark); text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 9px 16px; font-size: .88rem; color: #fff; }
.nav .btn { white-space: nowrap; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } .brand { font-size: .82rem; white-space: nowrap; } }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 75% 20%, #3a2e28 0%, var(--ink) 60%); color: #fff; padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--cream); display: block; }
.hero .sub { font-size: 1.25rem; color: #e9ddd2; max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .fine { font-family: var(--ui); font-size: .85rem; color: var(--muted-on-dark); margin-top: 16px; }
.cover { width: 100%; max-width: 340px; margin: 0 auto; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); transform: rotate(1.5deg); }
@media (max-width: 820px) {
  .hero { padding: 40px 0 52px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .cover { max-width: 170px; order: -1; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--cream-soft); }
.dark { background: var(--ink); color: #f1e8df; }
.dark h2 { color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.dark .lead { color: var(--muted-on-dark); }
@media (max-width: 720px) { section { padding: 52px 0; } }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; margin-top: 28px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.video iframe, .video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video button { cursor: pointer; padding: 0; background: #000 center / cover no-repeat; }
.video button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 46px no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.video button:hover::after { background-color: var(--accent-dark); }

/* Chapters */
.chapters { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; counter-reset: ch; }
.chapters li { counter-increment: ch; display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.chapters li::before { content: counter(ch, decimal-leading-zero); font-family: var(--display); font-size: 1.5rem; color: var(--accent); min-width: 1.6em; }
.chapters strong { display: block; font-family: var(--ui); font-size: 1.02rem; }
.chapters span { color: var(--muted); font-size: .98rem; }
@media (max-width: 720px) { .chapters { grid-template-columns: 1fr; } }

/* Bonuses */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.card .tag { font-family: var(--ui); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 8px 0 8px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 820px) { .bonus-grid { grid-template-columns: 1fr; } }

/* Get the book */
.get .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.get-head { grid-column: 1 / -1; }
.panel { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; }
.panel.featured { background: #fff; color: var(--text); border-color: #fff; }
.panel h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 6px; }
.panel.featured h3 { color: var(--ink); }
.panel p { margin: 0 0 18px; }
.panel .spacer { flex: 1; }
.panel img { border-radius: 6px; margin-bottom: 20px; }
form label { display: block; font-family: var(--ui); font-size: .85rem; font-weight: 600; margin: 0 0 6px; }
form input[type=text], form input[type=email] {
  width: 100%; padding: 14px; font-size: 1rem; font-family: var(--ui); border: 1px solid #cfc3b6; border-radius: 6px; margin-bottom: 14px; background: #fff; color: var(--text);
}
form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-family: var(--ui); font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-msg { font-family: var(--ui); font-size: .92rem; margin: 12px 0 0; padding: 12px 14px; border-radius: 6px; display: none; }
.form-msg.err { display: block; background: #fdecea; color: #8c2318; }
@media (max-width: 820px) { .get .wrap { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { columns: 2; column-gap: 24px; margin-top: 32px; }
.reviews blockquote { break-inside: avoid; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 22px 24px; }
.reviews p { margin: 0 0 10px; font-size: 1.02rem; }
.reviews cite { font-family: var(--ui); font-style: normal; font-weight: 700; font-size: .88rem; color: var(--muted); }
.disclaimer { font-family: var(--ui); font-size: .8rem; color: var(--muted); }
@media (max-width: 720px) { .reviews { columns: 1; } }

/* About */
.about .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.session { background: var(--ink); color: #f1e8df; border-radius: 10px; padding: 30px; }
.session h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; }
.session .btn { width: 100%; margin-top: 8px; }
.session .phone { display: block; text-align: center; margin-top: 14px; font-family: var(--ui); color: var(--cream); text-decoration: none; font-weight: 600; }
@media (max-width: 820px) { .about .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--ui); font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); font-family: var(--ui); font-size: .85rem; padding: 44px 0; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 20px; padding: 0; list-style: none; font-weight: 600; }
.site-footer p { margin: 0 0 10px; max-width: 70em; line-height: 1.55; }

/* Thank-you page */
.ty-hero { background: var(--ink); color: #fff; padding: 56px 0 64px; text-align: center; }
.ty-hero .sub { color: #e9ddd2; font-size: 1.2rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 24px 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--ui); font-weight: 700; display: grid; place-items: center; }
