/* Tuning pages (generated by tools/build_pages.py). */

.site-head.flow { position: relative; pointer-events: auto; }
.wrap.wide { max-width: 820px; }

.tuning-hero { padding: 28px 0 8px; }
.tuning-hero h1 { margin-bottom: 12px; }
.tuning-hero .answer { font-size: 1.2rem; color: #d3d9ea; margin: 0 0 28px; max-width: 36em; }

table.notes { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
table.notes th, table.notes td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--hair); }
table.notes th { font: 600 0.78rem/1 var(--display); color: var(--muted); letter-spacing: 0.02em; }
table.notes td { color: var(--soft); }
table.notes td.note { font: 600 1.15rem/1 var(--display); color: #fff; }
table.notes td:nth-child(3) { white-space: nowrap; }
table.notes td.note sub { font-size: 0.6em; font-weight: 500; opacity: 0.6; margin-left: 1px; }
table.notes .dim { color: var(--muted); font-size: 0.86em; margin-left: 4px; }
.table-note { font-size: 0.86rem; color: var(--muted); margin: 0 0 22px; }
.section h3 { font-size: 1.1rem; margin: 26px 0 4px; }

ol.steps { padding-left: 1.3em; margin: 0; }
ol.steps li { margin: 0 0 10px; color: var(--soft); padding-left: 4px; }
ol.steps li::marker { font-family: var(--display); color: var(--muted); }

.faq details { border-bottom: 1px solid var(--hair); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 12px 28px 12px 0; position: relative;
  font: 600 1.02rem/1.35 var(--display); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.3rem; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 14px; color: var(--soft); }

.tuning-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.tuning-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--hair);
  transition: background 0.2s ease, transform 0.2s ease;
}
.tuning-card:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }
.tuning-card .t { font: 600 1rem/1.2 var(--display); color: var(--text); }
.tuning-card .n { font: 500 0.86rem/1.2 var(--display); color: var(--muted); letter-spacing: 0.04em; }

.cta-icon { border-radius: 22px; display: block; margin: 0 auto 18px; box-shadow: 0 12px 40px rgba(60, 40, 200, 0.35); }

@media (max-width: 520px) {
  .tuning-hero { padding-top: 12px; }
  .tuning-hero .answer { font-size: 1.08rem; }
  table.notes th, table.notes td { padding: 10px 5px; font-size: 0.9rem; }
  table.notes .dim { display: block; margin: 2px 0 0; }
}

.app-line { text-align: center; margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }
.app-line a { color: var(--text); font-weight: 600; }
.diagram { margin: 4px 0 18px; }
.diagram img { width: 100%; height: auto; display: block; border-radius: 22px; }
ul.tuning-list { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 28px; }
ul.tuning-list li { padding: 7px 0; break-inside: avoid; border-bottom: 1px solid var(--hair); }
ul.tuning-list a { color: var(--text); font-family: var(--display); font-weight: 600; }
ul.tuning-list .n { color: var(--muted); font-family: var(--display); font-size: 0.86rem; letter-spacing: 0.04em; margin-left: 6px; }
