:root {
    --bg: #ffffff;
    --text: #222222;
    --muted: #666666;
    --accent: #3A5A7A;
    --border: #dddddd;
    --max-width: 720px;
}

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

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Merriweather', Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.75;
}

hr.thin {
  height: 1px;
  border: none;
  background-color: var(--border);
  width: 40%; 
  margin: 40px auto; 
}

.logo-first-letter {
  display: inline-block; /* Required for background/color to work on inline elements */
  background-color: var(--accent);
  border-radius: 5px;   /* Creates the rounded block effect */
  color: white;         /* Sets the text color to white */
  padding: 0px 4px;     /* Adds space inside the block */

}

.site-shell {
    width: 100%;
}

.site-header {
    padding: 1.5rem 1.25rem 0.75rem;
}

.site-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-title a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
}

.site-nav {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.site-nav a {
    color: var(--accent);
    text-decoration: none;
    margin-right: 1rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    text-decoration: underline;
}

.content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

section {
    margin-bottom: 2.5rem;
}

h1,
h2,
h3 {
    font-weight: normal;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.3rem;
}

h2 {
    font-size: 1.4rem;
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
    color: #333;
}

p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

a {
    color: var(--accent);
}

.hero {
    margin-top: 2rem;
}

.subhead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 36rem;
}

.intro {
    margin-bottom: 2rem;
}

.essay {
    margin-top: 0.5rem;
}

.essay-footer {
    margin-left: 0.5em;
  margin-top: 2.5em;
  padding-top: 1.5em;
}

.essay-footer p {
  margin-bottom: 0.75em;
}

.essay-footer a {
  text-decoration: none;
}

.essay-footer a:hover {
  text-decoration: underline;
}

.signup {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
}

ul {
    padding-left: 1.25rem;
}

.essay-list {
    list-style: none;
    padding-left: 0;
}

.essay-list li {
    margin-bottom: 0.75rem;
}

.essay-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

.essay-next {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.guide-list {
    list-style: none;
    padding-left: 0;
}

.guide-list li {
    margin-bottom: 1rem;
}

.guide-list-meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}


.kicker {
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.5em;
}

.lede {
  font-size: 1.08em;
  margin-bottom: 2.5rem;
}

.section-meta {
  font-style: italic;
  opacity: 0.75;
}

.guide-sections ol {
  padding-left: 1.5em;
}

.guide-sections li {
  margin-bottom: 0.65em;
}

.guide-note {
  font-style: italic;
}

.guide-footer {
  margin-top: 2.5em;
  padding-top: 1em;
}

.button-link {
  display: inline-block;
  margin-top: 1em;
  padding: 0.8rem 1rem;
  font: inherit;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 5px;   /* Creates the rounded block effect */
  cursor: pointer;
  text-decoration: none;
}

.sales-page section {
  margin-top: 2.5em;
}

.sales-page blockquote {
  margin: 1.5em 0;
  padding-left: 1.25em;
  border-left: 3px solid #ddd;
  font-style: italic;
}

.offer-box {
  margin-top: 3em;
  padding: 1.75em;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa; /* very light */
}

.price {
  font-size: 1.4em;
  font-weight: bold;
}

.small-note {
  font-size: 0.95em;
  opacity: 0.8;
}

.site-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}


.guide-draft {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.guide-chapter {
  margin-top: 1rem;
}

.subtitle {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
}

.guide-contents {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.guide-contents li {
  margin-bottom: 0.85rem;
}

.small-note {
  font-size: 0.9rem;
  color: #666;
}

.draft-note {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
}

.guide-kicker {
  font-size: 0.9rem;
  color: #666;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.chapter-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}

.guide-note {
  border-left: 3px solid var(--accent-color, #3A5A7A);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  background: #f8f8f6;
}

.guide-note p:last-child {
  margin-bottom: 0;
}

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 0.95rem;
}

.guide-nav a {
  text-decoration: none;
}

.guide-nav a:hover {
  text-decoration: underline;
}

.guide-highlight {
  border-left: 3px solid var(--accent-color, #3A5A7A);
  padding: 0.9rem 1.1rem;
  margin: 1.75rem 0;
  background: #f8f8f6;
  color: #333;
}

.guide-highlight p {
  margin: 0;
}

.guide-highlight strong {
  font-weight: 600;
}

@media (max-width: 640px) {
    body {
        font-size: 18px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .subhead {
        font-size: 1.08rem;
    }

    h2 {
        margin-top: 3rem;
    }
}


@media print {

  .site-nav {
    display: none;
  }

  .guide-nav {
    display: none;
  }

  .content {
    padding: 10px 0px;
  }

}
