/* robthiesfield.com: warm, plain, readable. Big type for everyday readers. */
:root {
  --bg: #fbf7f0;
  --bg-alt: #f3ebdd;
  --ink: #1f2a37;
  --ink-soft: #4a5563;
  --brand: #1e3a5f;
  --accent: #c8702a;
  --accent-dark: #a85a1c;
  --card: #ffffff;
  --line: #e4d9c6;
  --radius: 14px;
  --max: 1080px;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); color: var(--brand); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2em; color: var(--ink-soft); }
.small { font-size: .85em; color: var(--ink-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 72px 0; }
.alt { background: var(--bg-alt); }
.center { text-align: center; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--brand); text-decoration: none; }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--accent-dark); border-bottom: 3px solid var(--accent); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 4px 0 var(--accent-dark);
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Hero */
.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero .kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--accent-dark); font-size: .85rem; margin-bottom: .8em; }

/* Placeholder image box (swap for real photos) */
.photo {
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, #e9dcc5, #d8c3a0);
  border-radius: var(--radius); display: grid; place-items: center; color: var(--ink-soft);
  font-size: .9rem; text-align: center; padding: 20px; border: 1px solid var(--line);
}
.book-cover {
  aspect-ratio: 2 / 3; max-width: 320px; margin: 0 auto; border-radius: 6px 14px 14px 6px;
  background: linear-gradient(150deg, var(--brand), #2f5a8a); color: #fff; display: flex; flex-direction: column;
  justify-content: center; padding: 28px; box-shadow: 0 18px 40px rgba(30,58,95,.3); font-family: var(--serif);
}
.book-cover strong { font-size: 1.9rem; line-height: 1.15; }
.book-cover span { margin-top: 14px; font-size: .95rem; opacity: .85; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.price { font-family: var(--serif); font-size: 1.6rem; color: var(--brand); font-weight: 700; margin: .2em 0 .6em; }

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding-left: 36px; position: relative; margin-bottom: .6em; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-dark); font-weight: 700; font-size: 1.1em; }

/* Testimonials */
blockquote { margin: 0; }
.quote { background: var(--card); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 24px 28px; }
.quote p { font-family: var(--serif); font-style: italic; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink-soft); font-size: .9em; }

/* Opt-in box */
.optin { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 44px; }
.optin h2, .optin a { color: #fff; }
.optin .lead { color: #dfe7f1; }
.optin form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.optin input {
  flex: 1 1 220px; font-size: 1.05rem; padding: 15px 18px; border-radius: 10px; border: 0; font-family: inherit;
}
.optin .small { color: #c9d5e4; margin-top: 12px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; color: var(--brand); }
details p { margin: .8em 0 0; }

/* Footer */
.site-footer { background: var(--brand); color: #d6e0ec; padding: 40px 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  body { font-size: 19px; }
  section { padding: 52px 0; }
  .hero { padding: 48px 0; }
  .hero-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-grid .photo { max-width: 360px; }
  .optin { padding: 30px 22px; }
}

/* Real images */
.book-img { width: 100%; max-width: 440px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(30,58,95,.18)); }
.rob-photo { width: 100%; max-width: 400px; margin: 0 auto; border-radius: 50%; }
.quote-photo { display: flex; gap: 22px; align-items: center; margin-bottom: 20px; }
.quote-photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-photo p { margin-bottom: .3em; }
.from-rob { display: flex; gap: 28px; align-items: center; margin-bottom: 1.2em; }
.from-rob img { width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; }
.included .card h3 { font-size: 1.15rem; }
.crosses { list-style: none; padding: 0; }
.crosses li { padding-left: 36px; position: relative; margin-bottom: .6em; }
.crosses li::before { content: "✕"; position: absolute; left: 0; color: #9a3b2c; font-weight: 700; }
.buy-box { min-height: 120px; display: flex; justify-content: center; margin: 12px 0; }
@media (max-width: 560px) {
  .quote-photo, .from-rob { flex-direction: column; text-align: center; }
}

h1, h2, h3, p { overflow-wrap: break-word; }

/* Thank-you page downloads */
.downloads { display: grid; gap: 14px; margin-bottom: 14px; }
.download { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 24px; text-decoration: none; color: var(--ink); }
.download:hover { border-color: var(--accent); color: var(--ink); }
.download strong { color: var(--brand); font-size: 1.1em; }
.dl-size { flex-shrink: 0; background: var(--accent); color: #fff; font-weight: 700; padding: 10px 16px; border-radius: 999px; font-size: .9rem; }
.steps li { margin-bottom: .8em; }
@media (max-width: 560px) { .download { flex-direction: column; align-items: flex-start; } }
