/* Usage Terms & Claims page — content cards, code boxes, FAQ */

.wrap { display: grid; gap: 26px; }

/* ── Section header (same pattern as the home page) ── */
.page-title { margin: 4px 2px 6px; }
.section-sub { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 2px 2px 8px; }

/* ── Layout ── */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
#usage, #claims { scroll-margin-top: 80px; }
.card .inner { padding: 18px 18px 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Codebox ── */
.codebox {
  position: relative; padding: 14px; border-radius: var(--radius-md);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere; word-break: break-word;
}
.small { font-size: 12px; }

/* ── Lists ── */
.list { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
.list li { margin: 6px 0; }
.list li::marker { color: var(--muted); }
.list .codebox { margin: 8px 0 2px; }

/* ── FAQ (details/summary) ── */
details { padding: 12px 14px; border-radius: var(--radius-md); }
details[open] > summary { margin-bottom: 10px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); }
summary::marker { color: var(--muted); }
.faq-title { font-size: 18px; }

/* ── Underlined link utility (matches inline links on the home page) ── */
.link-underline {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.link-underline:visited { color: var(--white); }
.link-underline:hover { opacity: .9; }
.link-underline:focus-visible { border-radius: 3px; }

/* ── Embedded explainer video ── */
.video-embed {
  aspect-ratio: 16 / 9;
  margin: 12px 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Responsive ── */
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; gap: 8px; }
}
