/* ============================================================
   Tylus BI: inner pages (product, modules, studio, security,
   compare, faq, contact, legal). Same tokens as styles.css.
   ============================================================ */

@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes pulse-dot { 50% { opacity: .35; } }

/* stacked screenshots that crossfade (tour, studio switchers) */
.stack { position: relative; aspect-ratio: 16 / 10; background: #111826; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .45s var(--ease); }
.stack img.on { opacity: 1; }
.stack.contain img { object-fit: contain; object-position: center; }

/* segmented control */
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--sunken); }
.seg button { font: 500 13.5px var(--sans); color: var(--text-2); background: transparent; border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: color .15s, background .2s; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--border-2); }

/* autoplay toggle */
.autoplay { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-2); background: transparent; color: var(--text-2); cursor: pointer; transition: color .15s, border-color .15s; }
.autoplay:hover { color: #fff; border-color: rgba(148,163,184,.45); }
.autoplay svg { width: 12px; height: 12px; }
.autoplay .i-play { display: none; }
.autoplay[aria-pressed="false"] .i-play { display: block; }
.autoplay[aria-pressed="false"] .i-pause { display: none; }

/* hairline column list (no cards) */
.cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--border); }
.cols > li { padding: 26px 24px 0 0; }
.cols > li + li { padding-left: 24px; border-left: 1px solid var(--border); }
.cols h3 { font-size: 17px; letter-spacing: -.02em; }
.cols p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.cols .ico-s { width: 20px; height: 20px; color: var(--emerald-2); margin-bottom: 16px; display: block; }

/* ---------- product: tour ---------- */
.tour { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.tour-list { display: grid; gap: 6px; }
.tour-item { position: relative; border: 1px solid transparent; border-radius: var(--r); transition: background .25s, border-color .25s; overflow: hidden; }
.tour-item.on { background: var(--surface); border-color: var(--border); }
.tour-btn { width: 100%; text-align: left; background: transparent; border: 0; padding: 18px 20px; cursor: pointer; color: inherit; font: inherit; display: grid; gap: 4px; }
.tour-btn .tt-name { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.tour-btn .tt-title { font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: var(--text-2); transition: color .2s; }
.tour-item.on .tt-name { color: var(--emerald-2); }
.tour-item.on .tt-title { color: #fff; }
.tour-btn:hover .tt-title { color: #fff; }
.tour-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.tour-body > div { overflow: hidden; min-height: 0; padding: 0 20px; }
.tour-item.on .tour-body { grid-template-rows: 1fr; }
.tour-item.on .tour-body > div { padding-bottom: 20px; }
.tour-body p { color: var(--text-2); font-size: 15px; }
.tour-body ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tour-body li { display: flex; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.tour-body li svg { width: 16px; height: 16px; color: var(--emerald-2); flex: none; margin-top: 3px; }
.tt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--emerald); transform: scaleX(0); transform-origin: left; }
.tour.playing .tour-item.on .tt-bar { animation: progress var(--dur, 7s) linear forwards; }
.tour.paused .tour-item.on .tt-bar, .charts.paused .chart-cap .tt-bar { animation-play-state: paused; }
.tour-stage { position: sticky; top: 96px; }
.tour-stage .mock-bar .autoplay { margin-left: 8px; width: 24px; height: 24px; }

/* ---------- product: four-step flow ---------- */
.flow4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 34px; list-style: none; margin: 0; }
.flow4::before, .flow4::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--border-2); }
.flow4::after { background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.flow4.in::after { transform: scaleX(1); }
.flow4 li { position: relative; }
.flow4 li::before { content: ""; position: absolute; top: -34px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-2); transition: background .3s, border-color .3s; }
.flow4.in li::before { background: var(--emerald); border-color: var(--emerald); }
.flow4.in li:nth-child(1)::before { transition-delay: .25s; }
.flow4.in li:nth-child(2)::before { transition-delay: .65s; }
.flow4.in li:nth-child(3)::before { transition-delay: 1.05s; }
.flow4.in li:nth-child(4)::before { transition-delay: 1.45s; }
.flow4 h3 { font-size: 22px; letter-spacing: -.03em; }
.flow4 p { color: var(--text-2); margin-top: 10px; font-size: 15.5px; }

/* ---------- modules: docs layout with scroll-spy ---------- */
.mdoc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.mtoc { position: sticky; top: 96px; }
.mtoc .sp-label { display: block; margin-bottom: 12px; }
.mtoc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.mtoc a { position: relative; display: block; padding: 7px 0 7px 16px; color: var(--muted); font-size: 14.5px; transition: color .15s; }
.mtoc a:hover { color: var(--text); }
.mtoc a.on { color: #fff; }
.mtoc a.on::before { content: ""; position: absolute; left: -1px; top: 7px; bottom: 7px; width: 2px; background: var(--emerald); border-radius: 2px; }
.mblock { scroll-margin-top: 88px; padding-bottom: 96px; }
.mblock + .mblock { padding-top: 96px; border-top: 1px solid var(--border); }
.mblock .h2 { margin: 6px 0 14px; font-size: clamp(26px, 3vw, 38px); }
.mblock .lead { font-size: 17px; }
.mblock .mock { margin-top: 32px; }
.mcaps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.mcaps li { padding: 20px 20px 0 0; }
.mcaps li + li { padding-left: 20px; border-left: 1px solid var(--border); }
.mcaps h3 { font-size: 15.5px; letter-spacing: -.01em; display: flex; gap: 8px; align-items: center; }
.mcaps h3 svg { width: 15px; height: 15px; color: var(--emerald-2); flex: none; }
.mcaps p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; }
.mblock .m-gallery { max-width: none; margin-top: 16px; }
.mblock .more { margin-top: 28px; }

/* ---------- studio: chart switcher ---------- */
.charts { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.chart-frame { border: 1px solid var(--border-2); border-radius: 12px; overflow: hidden; background: #111826; }
.chart-frame .stack { aspect-ratio: 1600 / 1028; }
.chart-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--sunken); position: relative; }
.chart-cap b { font-weight: 500; font-size: 15px; }
.chart-cap .tt-bar { top: -1px; bottom: auto; }
.charts.playing .chart-cap .tt-bar { animation: progress var(--dur, 3.4s) linear forwards; }
.chart-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 1px solid var(--border); border-radius: var(--r-sm); background: transparent; color: var(--text-2); font: 500 13.5px var(--sans); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, color .15s; min-width: 0; }
.pick img { width: 44px; height: 28px; object-fit: cover; border-radius: 4px; flex: none; background: #111826; opacity: .75; transition: opacity .15s; }
.pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick:hover { border-color: var(--border-2); color: #fff; }
.pick:hover img { opacity: 1; }
.pick[aria-pressed="true"] { border-color: var(--emerald-line); background: var(--emerald-soft); color: #fff; }
.pick[aria-pressed="true"] img { opacity: 1; }

/* studio: wide switcher (table / pivot) */
.switch-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.switch-head .section-head { margin-bottom: 0; }
.switch-head ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.switch-head li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.switch-head li svg { width: 16px; height: 16px; color: var(--emerald-2); flex: none; margin-top: 4px; }

/* studio: bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 28px; min-width: 0; }
.tile.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.tile h3 { font-size: 22px; letter-spacing: -.03em; margin-top: 10px; }
.tile p { color: var(--text-2); font-size: 15px; margin-top: 10px; }
.tile .seg { margin-top: 20px; }
.tile .stack { aspect-ratio: 1600 / 1028; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--border); }
.tile-list { list-style: none; margin: 20px 0 0; padding: 0; }
.tile-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.tile-list svg { width: 18px; height: 18px; color: var(--emerald-2); margin-top: 2px; }
.tile-list b { display: block; font-weight: 500; font-size: 15px; }
.tile-list span { color: var(--text-2); font-size: 14px; }

/* ---------- security ---------- */
.sec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.sec-group > .sp-label { display: block; margin-bottom: 14px; }
.sec-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.sec-rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.sec-rows svg { width: 22px; height: 22px; color: var(--emerald-2); margin-top: 2px; }
.sec-rows h3 { font-size: 17.5px; letter-spacing: -.02em; }
.sec-rows p { color: var(--text-2); font-size: 15px; margin-top: 6px; }

.console { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.panel { border: 1px solid var(--border-2); border-radius: 12px; background: var(--sunken); overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.panel-head .seg { padding: 2px; }
.panel-head .seg button { padding: 5px 12px; font-size: 13px; }
.panel-body { padding: 16px; display: grid; gap: 14px; flex: 1; align-content: start; }
.mask-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
.mask-table th { text-align: left; font-weight: 400; color: var(--muted); font-size: 11px; padding: 8px 10px; border-bottom: 1px solid var(--border-2); white-space: nowrap; }
.mask-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mask-table td.m { color: var(--text-2); }
.mask-table td.masked { color: var(--muted); letter-spacing: .04em; }
.mask-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mask-note { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.mask-note svg { width: 14px; height: 14px; color: var(--emerald-2); flex: none; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--emerald-2); }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); animation: pulse-dot 1.6s ease-in-out infinite; }
.log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; display: grid; gap: 2px; min-height: 252px; align-content: start; }
.log li { display: grid; grid-template-columns: 62px 82px minmax(0, 1fr); gap: 10px; padding: 6px 8px; border-radius: 6px; color: var(--text-2); animation: rise .45s var(--ease) both; }
.log li .t { color: var(--muted); }
.log li .ev { color: var(--emerald-2); }
.log li .d { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log li.hi { background: var(--emerald-soft); }
.panel-foot { padding: 10px 16px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.comp { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.comp h2 { font-size: 20px; letter-spacing: -.02em; }
.comp p { color: var(--text-2); margin-top: 4px; font-size: 15px; }
.comp .badge-row { margin: 0; }

/* ---------- compare ---------- */
.compare-wrap.in tbody tr { animation: rise .5s var(--ease) both; }
.compare-wrap.in tbody tr:nth-child(2) { animation-delay: .06s; }
.compare-wrap.in tbody tr:nth-child(3) { animation-delay: .12s; }
.compare-wrap.in tbody tr:nth-child(4) { animation-delay: .18s; }
.compare-wrap.in tbody tr:nth-child(5) { animation-delay: .24s; }
.compare-wrap.in tbody tr:nth-child(6) { animation-delay: .3s; }
.compare-wrap.in tbody tr:nth-child(7) { animation-delay: .36s; }
.compare-wrap.in tbody tr:nth-child(8) { animation-delay: .42s; }
.compare-wrap.in .col-us .chk { animation: pop .5s var(--ease) both; animation-delay: inherit; }

.vs { border: 1px solid var(--border-2); border-radius: 12px; overflow: hidden; background: var(--sunken); }
.vs-tabs { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--border); background: var(--bg-2); overflow-x: auto; }
.vs-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--text-2); font: 500 14.5px var(--sans); cursor: pointer; white-space: nowrap; transition: color .15s, background .15s; }
.vs-tab img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.vs-tab:hover { color: #fff; }
.vs-tab[aria-selected="true"] { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--border-2); }
.vs-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vs-panel > div { padding: 32px; }
.vs-panel .them { border-right: 1px solid var(--border); }
.vs-panel h3 { font-size: 22px; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vs-panel h3 img { width: 26px; height: 26px; }
.vs-panel p { color: var(--text-2); margin-top: 12px; font-size: 15.5px; }
.vs-panel .us { background: linear-gradient(180deg, rgba(16,185,129,.06), transparent 70%); }
.vs-panel .us p { color: var(--text); }
.vs-panel .us .win { display: flex; gap: 10px; }
.vs-panel .us .win svg { width: 18px; height: 18px; color: var(--emerald-2); flex: none; margin-top: 4px; }
.vs-panel.swap > div { animation: rise .4s var(--ease) both; }
.vs-panel.swap .us { animation-delay: .08s; }

/* ---------- faq page ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 96px; display: grid; gap: 28px; }
.search { position: relative; }
.search label { display: block; margin-bottom: 8px; }
.search input { width: 100%; background: var(--sunken); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 12px 14px 12px 40px; color: var(--text); font: 15px var(--sans); transition: border-color .15s, box-shadow .15s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
.search svg { position: absolute; left: 13px; bottom: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.faq-count { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; }
.faq-askbox { padding-top: 24px; border-top: 1px solid var(--border); }
.faq-askbox h2 { font-size: 18px; letter-spacing: -.02em; }
.faq-askbox p { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.faq-askbox .btn { margin-top: 16px; }
.faq-empty { color: var(--text-2); padding: 28px 4px; }
.faq-item[hidden] { display: none; }
.faq-layout .faq { max-width: none; }
mark { background: rgba(16,185,129,.22); color: #fff; border-radius: 3px; padding: 0 2px; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.info-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.info-rows li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: center; }
.info-rows svg { width: 20px; height: 20px; color: var(--emerald-2); }
.info-rows small { display: block; color: var(--muted); font-size: 13px; }
.info-rows b, .info-rows a { font-weight: 500; font-size: 16px; color: var(--text); }
.info-rows a:hover { color: var(--emerald-2); }
.info-note { margin-top: 28px; padding: 22px; border: 1px solid var(--emerald-line); border-radius: var(--r); background: rgba(16,185,129,.04); }
.info-note p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.form-panel { border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .err { display: none; color: #FCA5A5; font-size: 13px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #F87171; box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.field.invalid .err { display: block; }

/* ---------- legal ---------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc .sp-label { display: block; margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.legal-toc a { display: block; padding: 6px 0 6px 16px; color: var(--muted); font-size: 14px; transition: color .15s; }
.legal-toc a:hover { color: #fff; }
.legal { font-size: 16px; }
.legal h2 { scroll-margin-top: 88px; padding-top: 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; }
.legal b { color: var(--text); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tour { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; }
  .mdoc, .legal-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 980px) {
  .tour { grid-template-columns: 1fr; }
  .tour-stage { position: static; order: -1; }

  .flow4 { grid-template-columns: 1fr; gap: 28px; padding: 0 0 0 34px; }
  .flow4::before, .flow4::after { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow4::after { transform: scaleY(0); transform-origin: top; }
  .flow4.in::after { transform: scaleY(1); }
  .flow4 li::before { top: 4px; left: -34px; }

  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols > li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cols > li { padding-bottom: 26px; }

  .mdoc, .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .mtoc { top: 64px; z-index: var(--z-stage); margin: 0 -24px 32px; padding: 10px 24px; background: rgba(11,17,32,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
  .mtoc::-webkit-scrollbar { display: none; }
  .mtoc .sp-label { display: none; }
  .mtoc ol { display: flex; gap: 6px; border: 0; width: max-content; }
  .mtoc a { padding: 6px 12px; border: 1px solid var(--border-2); border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
  .mtoc a.on { border-color: var(--emerald-line); background: var(--emerald-soft); color: var(--emerald-2); }
  .mtoc a.on::before { display: none; }
  .mblock { scroll-margin-top: 130px; }
  .legal-toc { position: static; margin-bottom: 32px; }

  .charts { grid-template-columns: 1fr; }
  .chart-picks { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .chart-picks::-webkit-scrollbar { display: none; }
  .pick { flex: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; grid-template-columns: 1fr; }

  .sec-groups { grid-template-columns: 1fr; }
  .console { grid-template-columns: 1fr; }

  .vs-panel { grid-template-columns: 1fr; }
  .vs-panel .them { border-right: 0; border-bottom: 1px solid var(--border); }

  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { position: static; }
  .faq-askbox { display: none; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .tour-btn { padding: 16px; }
  .tour-body > div { padding: 0 16px; }
  .tour-item.on .tour-body > div { padding-bottom: 16px; }
  .cols { grid-template-columns: 1fr; }
  .cols > li, .cols > li + li { padding: 22px 0; border-left: 0; }
  .cols > li + li { border-top: 1px solid var(--border); }
  .mcaps { grid-template-columns: 1fr; }
  .mcaps li, .mcaps li + li { padding: 16px 0; border-left: 0; }
  .mcaps li + li { border-top: 1px solid var(--border); }
  .mblock { padding-bottom: 64px; }
  .mblock + .mblock { padding-top: 64px; }
  .tile { padding: 20px; }
  .vs-panel > div { padding: 22px 18px; }
  .form-panel { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .log li { grid-template-columns: 56px 72px minmax(0, 1fr); gap: 8px; font-size: 11px; }
  .switch-head { margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-bar, .live-badge::before, .log li, .compare-wrap.in tbody tr, .compare-wrap.in .col-us .chk, .vs-panel.swap > div { animation: none !important; }
  .flow4::after { transform: none !important; }
  .flow4 li::before { background: var(--emerald) !important; border-color: var(--emerald) !important; }
}
