/* Inner pages: page heads, long-form text, tables, signup band. Loads after site.css. */
.page-hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); max-width: 18ch; }
.page-hero .lede { max-width: 56ch; margin: 1.25rem 0 0; font-size: clamp(1.0625rem, 2vw, 1.3125rem); color: var(--text-soft); }

/* Long-form article text */
.blog-post { padding-block: clamp(2rem, 6vw, 4rem) clamp(2rem, 5vw, 3rem); }
.post-header h1 { font-size: clamp(2rem, 5.2vw, 3.75rem); max-width: 22ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 1rem; color: var(--text-soft); font-size: 0.9375rem; }
.post-content { margin-top: 2rem; max-width: 68ch; }
.post-content p, .post-content li { line-height: 1.7; }
.post-content p { margin: 0 0 1.1rem; }
.post-content h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); margin: 3rem 0 1rem; max-width: 24ch; }
.post-content h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 2rem 0 0.75rem; }
.post-content a { color: var(--copper-bright); }
.post-content a:hover { color: var(--honey); }
.post-content strong { color: var(--text); }
.post-content em { color: var(--text-soft); }
.content-section { margin: 0; }
.intro-box { font-size: 1.25rem; line-height: 1.6; }
.intro-box p { font-size: inherit; }
.intro-box em { font-style: normal; color: var(--text); }

.feature-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.75rem; }
.feature-list li { position: relative; padding-left: 1.75rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.9rem; height: 0.5rem; border-radius: 2px; background: var(--copper); }
.numbered-list { margin: 0 0 1.25rem; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.25rem; }
.numbered-list li { counter-increment: step; position: relative; padding-left: 3rem; }
.numbered-list li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--copper-bright); color: var(--ink); font-family: var(--display); font-weight: 700;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.highlight-box { background: var(--chestnut-deep); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2rem); margin-block: 2.5rem; }
.highlight-box h2 { margin-top: 0; }

.comparison-table-wrapper { overflow-x: auto; margin: 1.5rem 0 2rem; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9375rem; }
.comparison-table th, .comparison-table td { text-align: left; padding: 0.75rem 1rem 0.75rem 0; vertical-align: top; border-bottom: 1px solid rgba(241, 236, 230, 0.25); }
.comparison-table th { font-family: var(--display); font-size: 1rem; color: var(--honey); border-bottom-width: 2px; }

.post-footer { margin-top: 3rem; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--copper-bright); font-weight: 700; }

/* Blog index list */
.post-list { margin: 0; padding: 0; list-style: none; }
.post-row { display: grid; gap: 0.5rem 3rem; padding-block: 1.75rem; border-top: 1px solid rgba(241, 236, 230, 0.25); }
.post-list li:last-child .post-row { border-bottom: 1px solid rgba(241, 236, 230, 0.25); }
.post-row h2 { font-size: clamp(1.4rem, 3vw, 2rem); display: flex; align-items: center; gap: 0.9rem; max-width: none; }
.post-row h2::before { content: ""; flex: 0 0 auto; width: 2.5rem; height: 1rem; border-radius: 3px; background: var(--chip, var(--copper)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.post-row h2 a { text-decoration: none; }
.post-row h2 a:hover { text-decoration: underline; text-decoration-color: var(--copper-bright); text-underline-offset: 0.2em; }
.post-row p { margin: 0 0 0.75rem; color: var(--text-soft); max-width: 60ch; }
.post-row .meta { font-size: 0.9375rem; color: var(--text-soft); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.post-row .meta a { color: var(--copper-bright); font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
.post-list li:nth-child(1) { --chip: #d9824f; }
.post-list li:nth-child(2) { --chip: #dba54f; }
.post-list li:nth-child(3) { --chip: #7a4430; }
.post-list li:nth-child(4) { --chip: #bdb6ae; }
@media (min-width: 52rem) {
  .post-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .post-row .body { grid-column: 2; }
}

/* Signup band at the foot of inner pages */
.band { background: var(--honey); color: var(--ink); padding-block: clamp(3rem, 7vw, 5rem); }
.band h2 { font-size: clamp(1.75rem, 4.4vw, 3rem); max-width: 18ch; }
.band .sub { margin: 1rem 0 0; max-width: 52ch; font-size: 1.125rem; }
.band .waitlist-form input[type="email"] { background: var(--jet); color: var(--text); border-color: var(--jet); }
.band .waitlist-form input::placeholder { color: #b8aca2; }
.band .waitlist-form button { background: var(--jet); border-color: var(--jet); color: var(--label); }
.band .waitlist-form button:hover { background: #3a2c27; border-color: #3a2c27; }
.band .fine { color: var(--ink-soft); }
.band :focus-visible { outline-color: var(--jet); }

main > section:not(.band):not(.page-hero) { padding-block: 1rem clamp(2.5rem, 6vw, 4rem); }

/* Posts vary in markup: constrain reading measure on the elements themselves. */
.blog-post p, .blog-post ul, .blog-post ol, .blog-post h2, .blog-post h3 { max-width: 68ch; }
.blog-post p, .blog-post li { line-height: 1.7; }
.blog-post h1 { font-size: clamp(2rem, 5.2vw, 3.75rem); max-width: 22ch; }
.blog-post a { color: var(--copper-bright); }
.blog-post a:hover { color: var(--honey); }
.blog-post .content-section, .blog-post .intro-box, .blog-post .highlight-box { margin-top: 0; }
.blog-post .post-header ~ * { margin-top: 2rem; }
.blog-post h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); margin: 3rem 0 1rem; }
.blog-post h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 2rem 0 0.75rem; }
.blog-post p { margin: 0 0 1.1rem; }
.blog-post strong { color: var(--text); }

/* Sharing */
.share { margin-top: 2.5rem; max-width: 68ch; }
.share p { margin: 0 0 0.75rem; color: var(--text-soft); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share-buttons a, .share-buttons button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--text); background: none; border: 2px solid var(--text-soft); border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.share-buttons a:hover, .share-buttons button:hover { background: var(--copper-bright); border-color: var(--copper-bright); color: var(--ink); }
.share-buttons [hidden] { display: none; }
.share-status { min-height: 1.5rem; margin: 0.5rem 0 0; font-weight: 500; }
.blog-post .post-date { margin-top: 1rem; color: var(--text-soft); font-size: 0.9375rem; }

/* Question-and-answer and text rows (FAQ, About) */
.qa { margin: 0; padding: 0; list-style: none; }
.qa-row { display: grid; gap: 0.75rem 3rem; padding-block: 1.75rem; border-top: 1px solid rgba(241, 236, 230, 0.25); }
.qa li:last-child { border-bottom: 1px solid rgba(241, 236, 230, 0.25); }
.qa-row h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); max-width: 22ch; }
.qa-row p { margin: 0 0 0.9rem; max-width: 62ch; color: var(--text-soft); line-height: 1.7; }
.qa-row p:last-child { margin-bottom: 0; }
.qa-row strong { color: var(--text); }
.qa-row a, .more a { color: var(--copper-bright); }
.qa-row a:hover, .more a:hover { color: var(--honey); }
.more { margin: 2rem 0 0; max-width: 62ch; color: var(--text-soft); line-height: 1.7; }
@media (min-width: 52rem) {
  .qa-row { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}

.download { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.25rem; border: 2px solid var(--copper-bright); border-radius: 999px; color: var(--copper-bright); font-weight: 700; text-decoration: none; }
.qa-row a.download:hover { background: var(--copper-bright); color: var(--ink); }

/* Legal pages: one calm reading column */
.page-hero .updated { margin: 1rem 0 0; color: var(--text-soft); font-size: 0.9375rem; }
.legal { padding-bottom: clamp(3rem, 7vw, 5rem); }
.legal-section { max-width: 68ch; padding-block: 1.75rem; border-top: 1px solid rgba(241, 236, 230, 0.25); }
.legal-section h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 1rem; }
.legal-section h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.legal-section p, .legal-section li { line-height: 1.7; }
.legal-section p { margin: 0 0 1rem; color: var(--text-soft); }
.legal-section strong { color: var(--text); }
.legal-section a { color: var(--copper-bright); overflow-wrap: anywhere; }
.legal-section a:hover { color: var(--honey); }
.legal-section .feature-list { margin: 0 0 1.25rem; color: var(--text-soft); }
.legal-section .contact-info p { margin-bottom: 0.4rem; }
