/* Voxy · integration page — layout on top of the shared styles.css tokens */

.ipage {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.ipage > * { min-width: 0; }
.ipage__head .lede { margin: 1.2rem 0 1.4rem; }
.ipage__stat { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin: 0 0 1.6rem; }
.ipage__stat strong { color: var(--amber); font-weight: 700; }
@media (max-width: 940px) { .ipage { grid-template-columns: 1fr; } }

/* example-commands list */
.u-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.u-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.1rem; border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--bg-elev);
}
.u-item code { font-family: var(--mono); font-size: 0.92rem; color: var(--ink); }
.u-tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0.15rem 0.45rem; white-space: nowrap; }
.u-tag--d { color: var(--red); border-color: rgba(255,107,94,0.35); }

/* per-action safety table */
.sf-wrap { border: 1px solid var(--line-soft); border-radius: 12px; overflow-x: auto; }
.sf-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 680px; }
.sf-table th, .sf-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.sf-table th { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.sf-table tr:last-child td { border-bottom: none; }
.sf-table code { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-soft); }
.sf-ep { white-space: nowrap; }
.sf-blast { color: var(--muted); }
.sf-badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0.15rem 0.45rem; white-space: nowrap; }
.sf-badge--d { color: var(--red); border-color: rgba(255,107,94,0.35); }

/* interactive "try it" input under the console */
.itry { display: flex; gap: 0.5rem; padding: 0.7rem 1.1rem; border-top: 1px solid var(--line-soft); }
.itry__in { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.6rem 0.8rem; color: var(--ink); font-family: var(--mono); font-size: 0.82rem; }
.itry__in::placeholder { color: var(--faint); }
.itry__in:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-color: var(--amber); }
.itry__go { font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  color: #1a1304; background: var(--amber); border: none; border-radius: 8px; padding: 0 0.9rem; cursor: pointer; white-space: nowrap; }
.itry__go:hover { background: #ffc777; }
.itry__go:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* integrations index */
.idx { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,7vw,5rem) clamp(1.25rem,5vw,4rem); }
.idx__grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.idx__card { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-elev); text-decoration: none; color: var(--ink); transition: border-color 0.2s, transform 0.2s var(--ease); }
.idx__card:hover { border-color: var(--amber-d); transform: translateY(-3px); }
.idx__name { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.idx__meta { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 0.4rem; }
@media (max-width: 820px) { .idx__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .idx__grid { grid-template-columns: 1fr; } }

/* breadcrumb */
.bc { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem clamp(1.25rem,5vw,4rem) 0;
  font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.bc a { color: var(--muted); text-decoration: none; }
.bc a:hover { color: var(--amber); }
.bc [aria-current="page"] { color: var(--ink-soft); }
.bc__sep { color: var(--faint); }

/* FAQ */
.faq { display: grid; gap: 0.7rem; max-width: 760px; }
.faq__item { border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-elev);
  padding: 0.2rem 1.1rem; }
.faq__item summary { cursor: pointer; padding: 0.9rem 0; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::after { content: "+"; color: var(--amber); font-family: var(--mono); font-size: 1.1rem; }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { color: var(--ink-soft); margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.6; }

/* internal cross-link line */
.ilink { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem,5vw,4rem);
  font-family: var(--mono); font-size: 0.8rem; }
.ilink a { color: var(--muted); text-decoration: none; }
.ilink a:hover { color: var(--amber); }

/* category hub */
.hub { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem,6vw,4.5rem) clamp(1.25rem,5vw,4rem); }
.hub__lede { max-width: 54ch; }
.hub__grid { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hub__card { display: block; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-elev); text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, transform 0.2s var(--ease); }
.hub__card--live:hover { border-color: var(--amber-d); transform: translateY(-3px); }
.hub__card--soon { opacity: 0.6; }
.hub__name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; display: flex;
  align-items: center; gap: 0.6rem; }
.hub__pill { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 4px; padding: 0.12rem 0.4rem; color: var(--muted); }
.hub__pill--live { color: var(--green); border-color: rgba(94,230,138,0.35); }
.hub__meta { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); margin-top: 0.45rem; }
@media (max-width: 640px) { .hub__grid { grid-template-columns: 1fr; } }

/* category hub directory on the index */
.idx__hubs { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.idx__hub { font-family: var(--mono); font-size: 0.8rem; text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; }
.idx__hub:hover { border-color: var(--amber); color: var(--amber); }
.idx__sub { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin: 3rem 0 0; }
.idx__card--soon { opacity: 0.5; cursor: default; }
