/* Quality.Noted home page, matched to the notedsuite.app homepage. No third-party code. */
:root {
  --ink: var(--text);
  --ink-dim: var(--text-dim);
  --ink-faint: #8a8ea0;
  --quality: #a87700;
  --grad-q: linear-gradient(150deg, #ffe08a 0%, #fcc73a 40%, #e89a1c 100%);
  --soft-q: linear-gradient(150deg, #fff3cf 0%, #fde39a 55%, #f6c76a 100%);
  --line: rgba(20, 22, 43, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink-faint: #7f87a3;
    --quality: #fcd643;
    --soft-q: linear-gradient(150deg, #3a3216 0%, #4a3a12 55%, #5a3f0c 100%);
    --line: rgba(255, 255, 255, 0.10);
  }
}

.qh { padding-top: 64px; color: var(--ink); }
.qh-accent { color: var(--quality); }
.qh h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; }

/* Buttons: rounded rectangles, never pills */
.qh .btn, .qh-footer .btn { border-radius: 14px; min-height: 56px; }
.qh .btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.qh .btn-outline:hover { background: var(--ink); color: var(--bg); }
.qh-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* 1. Hero */
.qh-hero { max-width: 1240px; margin: 0 auto; padding: 72px 28px 0; text-align: center; }
.qh-icon { display: block; width: 96px; height: 96px; margin: 0 auto; }
.qh-app { margin: 14px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.qh-hero h1 {
  margin: 18px auto 0; max-width: 980px;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600;
}
.qh-sub { margin: 22px auto 0; max-width: 640px; color: var(--ink-dim); font-size: 21px; }
.qh-panel {
  position: relative; overflow: hidden; max-width: 1056px; height: 500px; margin: 56px auto 0;
  border-radius: 40px; background: var(--grad-q);
}
/* audit-result.png carries its own transparent margin and shadow: scale it so the window sits 48px in */
.qh-panel img {
  position: absolute; left: 50%; top: 48px; transform: translateX(-50%);
  width: min(971px, 101.2%); max-width: none; height: auto; margin-top: -3.5%;
}
.qh-fine { margin: 16px 0 0; color: var(--ink-faint); font-size: 14px; }

/* 2. Three moments */
.qh-moments { max-width: 1180px; margin: 0 auto; padding: 120px 28px 0; display: grid; gap: 96px; }
.qh-moment { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.qh-moment--flip .qh-copy { order: 2; }
.qh-copy h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); }
.qh-copy p { margin: 22px 0 0; color: var(--ink-dim); font-size: 19px; line-height: 1.55; }
.qh-shot {
  margin: 0; padding: 32px; border-radius: 32px; background: var(--soft-q);
  display: flex; align-items: center; justify-content: center;
}
.qh-shot img { display: block; width: 100%; border-radius: 12px; box-shadow: 0 18px 48px rgba(60, 40, 0, 0.22); }
.qh-shot--tall img { max-width: 360px; }
.qh-trust { margin: 0; text-align: center; color: var(--ink-dim); font-size: 16px; }

/* Shared section rhythm: space, no boxes, no divider lines */
.qh-section { max-width: 1180px; margin: 0 auto; padding: 112px 28px 0; }
.qh-narrow { max-width: 860px; }
.qh-h2 { margin: 0 0 40px; text-align: center; font-size: clamp(34px, 5vw, 60px); }
.qh-section p { color: var(--ink-dim); font-size: 18px; line-height: 1.6; }
.qh-section p { margin: 0 0 14px; }
.qh-note { text-align: center; color: var(--ink-dim); font-size: 16px; }
.qh-eyebrow { margin: 0 0 12px; text-align: center; color: var(--quality) !important; font-size: 15px !important; font-weight: 600; letter-spacing: 0.02em; }

/* 3. Feature list: two plain columns */
.qh-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 64px; margin: 0; }
.qh-list dt, .qh-cols dt { font-size: 19px; font-weight: 600; }
.qh-list dd, .qh-cols dd { margin: 6px 0 0; color: var(--ink-dim); font-size: 17px; line-height: 1.55; }

/* 4. Channels: four plain columns */
.qh-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 0; text-align: center; }

/* 5. Steps: plain numbered list */
.qh-steps { margin: 0; padding-left: 1.6em; display: grid; gap: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-dim); }
.qh-steps li::marker { color: var(--quality); font-weight: 700; }
.qh-steps strong { color: var(--ink); font-weight: 600; }

/* 6–7. Tables */
.qh-table { overflow-x: auto; }
.qh-table table { width: 100%; border-collapse: collapse; font-size: 17px; }
.qh-table th { text-align: left; padding: 0 16px 14px; font-weight: 600; color: var(--ink); }
.qh-table td { padding: 10px 16px; color: var(--ink-dim); vertical-align: top; }
.qh-table tbody tr:nth-child(odd) td { background: var(--bg-soft); }
.qh-table tbody tr td:first-child { border-radius: 12px 0 0 12px; color: var(--ink); font-weight: 500; }
.qh-table tbody tr td:last-child { border-radius: 0 12px 12px 0; }

/* 8. Requirements, roadmap */
.qh-bullets { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; color: var(--ink-dim); font-size: 18px; line-height: 1.6; }

/* 9. Statement */
.qh-statement {
  margin: 112px 0 0; padding: 100px 28px; text-align: center;
  background: var(--statement-bg); color: #ffffff;
}
.qh-statement h2 { margin: 0 auto; max-width: 980px; font-size: clamp(36px, 5.6vw, 68px); color: #ffffff; }
.qh-statement h2 span { color: #ffb38f; }
.qh-statement-line { margin: 30px auto 0; max-width: 640px; font-size: 20px; color: rgba(255, 255, 255, 0.86); }
.qh-statement-fine { margin: 12px auto 34px; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.qh-btn-light { background: #ffffff; color: #14162b; border: 0; border-radius: 14px; min-height: 56px; padding: 0 28px; font-size: 17px; font-weight: 500; }
.qh-btn-light:hover { background: rgba(255, 255, 255, 0.86); color: #14162b; }

/* FAQ */
.qh-faq details { padding: 12px 0; }
.qh-faq summary { cursor: pointer; font-size: 20px; font-weight: 600; color: var(--ink); }
.qh-faq details p { margin: 12px 0 0; }

/* Download */
.qh-get { padding-bottom: 100px; text-align: center; }
.qh-get .qh-h2 { margin-bottom: 12px; }
.qh-slogan { margin: 0; font-size: 21px !important; }

/* Footer, as on notedsuite.app */
.qh-footer { border-top: 1px solid var(--line); color: var(--ink); }
.qh-badges { max-width: 1240px; margin: 0 auto; padding: 48px 28px 8px; text-align: center; }
.qh-badges-label { margin: 0 0 14px; color: var(--ink-faint); font-size: 14px; }
.qh-badges-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.qh-badges-row a { display: inline-block; line-height: 0; }
.qh-badges-row img { display: block; height: 44px; width: auto; }
.qh-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; max-width: 1240px; margin: 0 auto; padding: 64px 28px 40px; }
.qh-footer-brand { max-width: 320px; }
.qh-logo { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.qh-logo span { color: #d9542e; }
.qh-footer-brand p { margin: 10px 0 18px; color: var(--ink-dim); font-size: 15px; }
.qh-social { display: flex; gap: 16px; }
.qh-social a { display: inline-flex; color: var(--ink-dim); }
.qh-social a:hover { color: var(--link); }
.qh-social svg { width: 20px; height: 20px; fill: currentColor; }
.qh-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 40px; }
.qh-footer-cols a { display: block; padding: 4px 0; color: var(--ink-dim); font-size: 15px; text-decoration: none; }
.qh-footer-cols a:hover { color: var(--link); }
.qh-footer-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.qh-footer-fine { max-width: 1240px; margin: 0 auto; padding: 0 28px 48px; color: var(--ink-faint); font-size: 14px; }
.qh-footer-fine p { margin: 4px 0; }
@media (prefers-color-scheme: dark) { .qh-logo span { color: #ff8a6b; } }

/* Tablet */
@media (max-width: 960px) {
  .qh-panel { height: 400px; border-radius: 28px; }
  .qh-moment, .qh-moment--flip { grid-template-columns: 1fr; gap: 32px; }
  .qh-moment--flip .qh-copy { order: 0; }
  .qh-cols { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 640px) {
  .qh { padding-top: 40px; }
  .qh-hero { padding: 40px 18px 0; }
  .qh-hero h1 { font-size: 40px; }
  .qh-sub { font-size: 18px; }
  .qh-actions .btn { width: 100%; }
  .qh-panel { height: 240px; border-radius: 20px; margin-top: 36px; }
  .qh-panel img { top: 16px; }
  .qh-moments { padding: 80px 18px 0; gap: 64px; }
  .qh-copy h2 { font-size: 32px; }
  .qh-copy p { font-size: 17px; }
  .qh-shot { padding: 18px; border-radius: 20px; }
  .qh-section { padding: 80px 18px 0; }
  .qh-h2 { font-size: 36px; margin-bottom: 32px; }
  .qh-list, .qh-cols { grid-template-columns: 1fr; gap: 26px; }
  .qh-table table { font-size: 15px; }
  .qh-table th, .qh-table td { padding-left: 10px; padding-right: 10px; }
  .qh-statement { margin-top: 80px; padding: 72px 18px; }
  .qh-statement h2 { font-size: 36px; }
  .qh-get { padding-bottom: 90px; }
  .qh-footer-top { padding: 48px 18px 28px; gap: 36px; }
  .qh-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .qh-badges { padding: 40px 18px 8px; }
  .qh-footer-fine { padding: 0 18px 40px; }
}

/* Reference sections (depth, pricing, requirements, privacy, FAQ, roadmap, download): quieter and tighter */
.qh-narrow { padding-top: 88px; }
.qh-narrow .qh-h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 28px; }
.qh-narrow p, .qh-narrow .qh-bullets, .qh-narrow .qh-steps { font-size: 17px; }
@media (max-width: 640px) {
  .qh-narrow { padding-top: 72px; }
  .qh-narrow .qh-h2 { font-size: 30px; }
}

/* Features in three columns on wide screens; price block */
@media (min-width: 1100px) { .qh-list { grid-template-columns: repeat(3, 1fr); gap: 26px 48px; } }
.qh-price { text-align: center; }
.qh-price-line { max-width: 680px; margin: 0 auto 10px !important; }
.qh-price-line strong { color: var(--ink); font-weight: 600; }
.qh-price .qh-actions { margin-top: 24px; }
.qh-price .qh-note { margin-top: 16px; }
