/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.faq-item.open {
  border-color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  color: var(--color-text);
  cursor: pointer;
  line-height: 1.4;
}
.faq-q:hover { background: var(--color-surface); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface-2);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms var(--ease-out), background 140ms var(--ease-out);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-a-content {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--color-text-muted);
}
.faq-a-content p + p { margin-top: var(--sp-3); }
.faq-a-content strong { color: var(--color-text); font-weight: var(--fw-semibold); }
.faq-a-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
}
.faq-a-content th, .faq-a-content td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border);
}
.faq-a-content th {
  font-weight: var(--fw-bold);
  color: var(--color-text);
  background: var(--color-surface);
}

/* Home content sections */
.home-section {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--color-border);
}
.home-section:first-of-type { border-top: 0; }
.home-prose {
  max-width: 920px;
  margin: 0 auto;
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--color-text);
}
.home-prose > * + * { margin-top: var(--sp-5); }

/* Headings */
.home-prose h2 {
  font-size: var(--fs-3xl);
  margin-top: var(--sp-8);
  text-align: center;
}
.home-prose h2:first-child { margin-top: 0; }
.home-prose h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-7);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.home-prose p { color: var(--color-text); text-align: justify; }

/* Lists — accented markers */
.home-prose ul,
.home-prose ol {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-prose li {
  position: relative;
  padding-left: 32px;
  line-height: 1.6;
}
.home-prose ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.home-prose ol {
  counter-reset: prose-counter;
}
.home-prose ol > li {
  counter-increment: prose-counter;
  padding-left: 44px;
}
.home-prose ol > li::before {
  content: counter(prose-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  width: 32px;
  height: 24px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.home-prose li strong {
  color: var(--color-text);
  font-weight: var(--fw-bold);
}

/* Blockquote — standout callout */
.home-prose blockquote {
  position: relative;
  margin: var(--sp-7) 0 var(--sp-6);
  padding: var(--sp-6) var(--sp-7) var(--sp-6) calc(var(--sp-7) + 32px);
  background: var(--color-accent-soft);
  border: 1px solid color-mix(in oklab, var(--color-accent) 18%, transparent);
  border-radius: var(--r-lg);
  font-style: normal;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--color-text);
  box-shadow: 0 1px 0 rgba(14, 17, 22, 0.02);
}
.home-prose blockquote::before {
  content: "\201C";
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-5);
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  font-weight: var(--fw-extrabold);
  color: var(--color-accent);
  opacity: 0.35;
}
.home-prose blockquote strong {
  color: var(--color-text);
  font-weight: var(--fw-bold);
}
.home-prose blockquote p + p { margin-top: var(--sp-3); }

/* Tables */
.home-prose-table-wrap {
  margin-top: var(--sp-5);
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}
.home-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background: var(--color-bg);
}
.home-prose th, .home-prose td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.home-prose th {
  font-weight: var(--fw-bold);
  color: var(--color-text);
  background: var(--color-surface);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border-strong);
}
.home-prose tbody tr:hover { background: var(--color-surface); }
.home-prose tr:last-child td { border-bottom: 0; }

/* Inline strong inside paragraphs gets a subtle accent on hover-able */
.home-prose p strong {
  color: var(--color-text);
  font-weight: var(--fw-bold);
}
