/* Quot'd website: base styles. A plain reset, the page frame, and the sections below the
   walkthrough that aren't part of it (the FAQ and the closing call). Colors and type come from the
   tokens defined in page.css (--qf-*). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Quotd Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2b2724;
  background: #fbf7f2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #c05621; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px;
  background: #fff; color: #2b2724; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Buttons that open the early-access form. */
.qc-btn, .qf-cta, .qf-nav-cta, .qp-cta { cursor: pointer; }

/* ── FAQ, on the dark ink band. The questions sit in one white card that grows and shrinks as
   answers open and close (page.js animates the height). ── */
.qa { background: var(--qf-ink); color: var(--qf-paper); padding: 110px 24px 120px; }
.qa-wrap { max-width: 960px; margin: 0 auto; display: grid; gap: 44px; }
.qa-head { text-align: center; }
.qa-eyebrow { display: block; margin-bottom: 14px; font: 600 13px/1 var(--qf-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--qf-accent-soft); }
.qa-title { font: 400 clamp(34px, 5vw, 52px)/1.08 var(--qf-serif); letter-spacing: -.02em; color: var(--qf-paper); }
.qa-list { background: #fff; color: var(--qf-ink); border-radius: 24px; padding: 4px 32px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.qa-item { overflow: hidden; border-top: 1px solid #f0ebe3; }
.qa-item:first-child { border-top: 0; }
.qa-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; }
.qa-item summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 2px;
  background: linear-gradient(var(--qf-muted), var(--qf-muted)) center / 100% 1.5px no-repeat,
              linear-gradient(var(--qf-muted), var(--qf-muted)) center / 1.5px 100% no-repeat;
  transition: transform .25s;
}
.qa-item[open] summary::after { transform: rotate(45deg); }
.qa-q { font: 400 18px/1.35 var(--qf-sans); color: #4a443d; }
.qa-item p { padding: 0 40px 24px 0; color: #5a534b; font: 400 16px/1.6 var(--qf-sans); }
@media (max-width: 700px) {
  .qa { padding: 80px 18px 90px; }
  .qa-wrap { gap: 28px; }
  .qa-list { padding: 2px 20px; border-radius: 20px; }
  .qa-q { font-size: 17px; }
  .qa-item summary { padding: 22px 0; }
  .qa-item p { padding-right: 8px; }
}

/* ── Closing call, flat on the paper, meeting the footer square. ── */
.qc { background: linear-gradient(var(--qf-paper) 60%, #f9efe8);  color: var(--qf-ink); padding: 120px 24px; text-align: center; }
.qc-inner { max-width: 720px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.qc-eyebrow { font: 600 13px/1 var(--qf-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--qf-accent); }
.qc-title { font: 400 clamp(40px, 6.5vw, 72px)/1.04 var(--qf-serif); letter-spacing: -.025em; }
.qc-btn {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 17px 34px; border-radius: 999px;
  background: var(--qf-accent); color: #fff; font: 600 17px/1 var(--qf-sans); box-shadow: 0 12px 28px rgba(192, 86, 33, .28); transition: background .2s, transform .2s;
}
.qc-btn:hover { background: #a8481a; }
.qc-btn:active { transform: scale(.98); }
@media (max-width: 700px) { .qc { padding: 84px 20px; } }
