/* One Hundred Questions — shared editorial palette */
:root {
  --paper: #faf7f2;
  --cream: #faf7f2;
  --ink: #1a1814;
  --muted: #6d655d;
  --muted-light: #8a827a;
  --accent: #2c2824;
  --tan: #b8956a;
  --white: #ffffff;
  --border: #e8e2d8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.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;
}

/* --- Landing header / logo lockup --- */

.site-header {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}

.ohq-logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
}

.ohq-logo-lockup:hover {
  color: var(--ink);
}

.ohq-logo-mark {
  width: min(520px, 88vw);
  height: auto;
  display: block;
  color: var(--ink);
  margin-bottom: 1.35rem;
}

.ohq-logo-number {
  fill: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 184px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.ohq-logo-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}

.ohq-logo-tagline {
  margin-top: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* Demo page: same lockup, slightly tighter vertical footprint */
.demo-site-header .ohq-logo-mark {
  width: min(420px, 92vw);
  margin-bottom: 1rem;
}

.demo-site-header .ohq-logo-wordmark {
  font-size: clamp(1.35rem, 3.5vw, 2.25rem);
}

.demo-site-header .ohq-logo-tagline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  margin-top: 0.65rem;
}

.demo-site-header .ohq-logo-number {
  font-size: 148px;
}

/* --- Hero --- */

.hero {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero-statement {
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 1.75rem;
}

.hero-statement span {
  display: block;
}

.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--cream);
  background: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.hero-secondary {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.hero-secondary a {
  color: var(--muted);
  color: color-mix(in srgb, var(--ink) 60%, transparent);
  text-decoration: none;
}

.hero-secondary a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Sections --- */

.section {
  padding: 2.5rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.35rem;
  font-weight: normal;
  margin: 0 0 1.25rem;
  letter-spacing: 0.03em;
}

/* Book page preview card */
.preview-card-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.preview-sample-label {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  margin: 0 0 0.75rem;
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(26, 24, 20, 0.06);
}

.preview-card .sample-q {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 1rem;
}

.preview-card .sample-a {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  hyphens: auto;
}

.preview-card .sample-a p {
  margin: 0;
}

.preview-card .dropcap {
  float: left;
  font-size: 2.35rem;
  line-height: 0.85;
  padding-right: 0.25rem;
  padding-top: 0.15rem;
}

.preview-card::after {
  content: "";
  display: table;
  clear: both;
}

/* Founder note */
.founder-note {
  max-width: 520px;
}

.founder-note-body {
  margin: 0 0 1rem;
  font-size: inherit;
  line-height: 1.65;
}

.signature {
  margin: 1.25rem 0 0;
  font-style: italic;
  color: var(--muted);
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-family: Georgia, serif;
}

.step-body strong {
  display: block;
  margin-bottom: 0.25rem;
}

.step-body span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* What makes this different */
.what-makes-different .diff-items {
  margin: 0;
}

.what-makes-different .diff-item {
  margin-bottom: 1.75rem;
}

.what-makes-different .diff-item:last-child {
  margin-bottom: 0;
}

.what-makes-different .diff-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: bold;
  color: var(--ink);
}

.what-makes-different .diff-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* FAQ */
.faq dl {
  margin: 0;
}

.faq dt {
  font-weight: bold;
  margin-top: 1.25rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

/* Waitlist */
.waitlist-section {
  text-align: center;
  padding-bottom: 3rem;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  max-width: 420px;
  margin: 0 auto;
}

.waitlist-form input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
}

.waitlist-success {
  color: var(--muted);
  display: none;
}

.waitlist-success.visible {
  display: block;
}

.waitlist-form.hidden {
  display: none;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
}

.site-footer span {
  margin: 0 0.35rem;
}

/* Legal stubs */
.legal-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.legal-page h1 {
  font-weight: normal;
  font-size: 1.75rem;
}

.legal-mini-header {
  text-align: center;
  padding: 2.5rem 1.25rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-brand-link {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
}

.legal-brand-link:hover {
  color: var(--ink);
}

.legal-mini-header .ohq-logo-wordmark {
  font-size: clamp(1.15rem, 3vw, 1.65rem);
}

.legal-mini-header .ohq-logo-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  margin-top: 0.5rem;
}

.legal-home-link {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}

.legal-home-link a {
  color: var(--muted);
  text-decoration: none;
}

.legal-home-link a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-weight: normal;
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
}

/* --- Demo flow --- */

.demo-site-header {
  text-align: center;
  padding: 1.25rem 1rem 0;
}

.demo-page {
  min-height: 100vh;
  padding: 0 1rem 3rem;
}

.demo-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.demo-back {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.demo-back a {
  color: var(--muted);
}

.demo-card {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.75rem 1.5rem;
}

.demo-card h1 {
  font-weight: normal;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.demo-card .lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}

.demo-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.demo-form input[type="email"],
.demo-form input[type="text"],
.demo-form textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  background: var(--cream);
  color: var(--ink);
}

.demo-form textarea {
  min-height: 140px;
  line-height: 1.55;
}

.demo-error {
  color: #8b2e2e;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  display: none;
}

.demo-error.visible {
  display: block;
}

/* Progress */
.demo-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.demo-progress-bar {
  height: 3px;
  background: var(--border);
  margin-bottom: 1.25rem;
}

.demo-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
}

.demo-question-text {
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 1.25rem;
}

/* Tabs */
.answer-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.answer-tab {
  flex: 1;
  text-align: center;
  padding: 0.5rem 0.25rem;
  font-family: inherit;
  font-size: 0.92rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--muted);
}

.answer-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.answer-panel {
  display: none;
}

.answer-panel.active {
  display: block;
}

/* Recording control — book-illustration style */
.record-ui {
  text-align: center;
  padding: 1rem 0;
}

.record-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--cream);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.record-btn:hover {
  background: var(--white);
}

.record-btn .inner-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}

.record-btn.recording .inner-dot {
  border-radius: 2px;
  width: 22px;
  height: 22px;
}

.record-time {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.record-review {
  margin-top: 1rem;
}

.record-review audio {
  width: 100%;
  margin-bottom: 0.75rem;
}

.record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.btn-secondary {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--cream);
}

.transcribing-note {
  font-style: italic;
  color: var(--muted);
  margin: 0.75rem 0;
}

.transcript-block label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.skip-confirm {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.photo-upload {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.photo-upload label {
  font-size: 0.92rem;
  color: var(--muted);
}

.photo-upload input[type="file"] {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

/* Completion & feedback */
.completion-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.book-preview-notice {
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--tan);
  background: var(--paper);
  text-align: left;
}

.book-preview-notice p {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.book-preview-notice-dismiss {
  margin-top: 0;
  font-size: 0.9rem;
}

.feedback-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: none;
}

.feedback-block.visible {
  display: block;
}

.rating-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.rating-row label {
  cursor: pointer;
  font-size: 0.95rem;
}

.feedback-done {
  color: var(--muted);
  margin-top: 1rem;
  display: none;
}

.feedback-done.visible {
  display: block;
}

@media (max-width: 600px) {
  .site-header {
    padding: 2.75rem 1rem 2rem;
  }

  .ohq-logo-mark {
    width: min(400px, 92vw);
    margin-bottom: 1rem;
  }

  .ohq-logo-number {
    font-size: 156px;
  }

  .ohq-logo-wordmark {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }

  .ohq-logo-tagline {
    margin-top: 0.7rem;
    font-size: 1.15rem;
  }

  .demo-site-header .ohq-logo-mark {
    width: min(340px, 94vw);
  }

  .demo-site-header .ohq-logo-number {
    font-size: 124px;
  }

  .hero-statement {
    font-size: 18px;
  }

  .section {
    padding: 2rem 1rem;
  }

  .demo-card {
    padding: 1.35rem 1.1rem;
  }

  .demo-question-text {
    font-size: 1.15rem;
  }

  .record-btn {
    width: 76px;
    height: 76px;
  }
}
