/* ============================================================================
   v2-hubs.css: hub pages (/compare/, /guides/, /tools/) for the design-v2 mocks.
   Load AFTER content-v2.css. A hub is a catalogue: compact hero, big visual cards.
   ========================================================================== */

/* ------------------------------------------------------------ hero ---- */
.hhero { padding-block: clamp(5.5rem, 7vw, 6.5rem) clamp(1.75rem, 3vw, 2.5rem); --bg-a: 0.32; overflow: clip; }
.hhero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to bottom, transparent, var(--sc-canvas)); z-index: 0; pointer-events: none; }
.hhero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sc-5) var(--sc-7); }
.hhero__copy { min-width: 0; }
.hhero .h1 { margin-top: var(--sc-3); font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4rem); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.hhero .lede { margin-top: var(--sc-4); max-width: none; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); }
.hhero__aside { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 0.35rem; }
.stat { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 999px; background: color-mix(in oklab, var(--v2-card) 80%, transparent); box-shadow: inset 0 0 0 1px var(--v2-line); font-size: var(--t-small); color: #C3C8D3; white-space: nowrap; }
.stat b { color: var(--sc-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat i { width: 7px; height: 7px; border-radius: 50%; background: var(--v2-good); box-shadow: 0 0 0 3px color-mix(in oklab, var(--v2-good) 20%, transparent); }

/* job / filter chips (anchor links, no JS) */
.jumps { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.jumps a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; background: var(--v2-card); box-shadow: inset 0 0 0 1px var(--v2-line); color: #DCE0E8; font-size: var(--t-small); text-decoration: none; transition: box-shadow var(--sc-d-fast), color var(--sc-d-fast); }
.jumps a:hover { color: var(--sc-ink); box-shadow: inset 0 0 0 1px color-mix(in oklab, #28A4F2 55%, transparent); }
.jumps a:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 3px; }
.jumps .tc { color: #7CC4F7; font-size: 0.875rem; }
.jumps small { color: var(--v2-muted); font-size: 0.875rem; }

/* ----------------------------------------------------- catalogue ---- */
.cat { padding-block: 0 clamp(2rem, 3vw, 3rem); } /* fold system: the next row head peeks under the first row */
.cat + .cat { padding-top: 0; }
.rowhead { display: flex; align-items: baseline; gap: 0.9rem; margin: 0 0 var(--sc-5); scroll-margin-top: 1.5rem; }
.rowhead .tc { font-size: 0.9375rem; color: #7CC4F7; }
.rowhead h2 { margin: 0; font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; }
.rowhead small { font-size: var(--t-small); color: var(--v2-muted); }
.rowhead::after { content: ""; flex: 1; height: 1px; background: var(--v2-line); align-self: center; }

/* base card: the whole card is one link */
.hc { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 26px; overflow: hidden; background: var(--v2-card); box-shadow: inset 0 0 0 1px var(--v2-line); color: var(--sc-ink); text-decoration: none; transition: transform 220ms var(--sc-ease-out), box-shadow 220ms var(--sc-ease-out); }
.hc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in oklab, #28A4F2 55%, transparent), 0 34px 70px -34px rgba(0, 0, 0, 0.95), 0 18px 50px -30px rgba(40, 140, 240, 0.45); }
.hc:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 4px; }
.hc__body { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.25rem, 2vw, 1.6rem) clamp(1.25rem, 2vw, 1.75rem) clamp(1.35rem, 2vw, 1.7rem); flex: 1; }
.hc__type { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-family: var(--sc-font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: #7CC4F7; }
.hc__title { margin: 0; font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.hc__line { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: var(--v2-body); text-wrap: pretty; }
.hc__foot { margin-top: auto; padding-top: 0.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.hc__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: var(--t-small); color: var(--v2-muted); font-variant-numeric: tabular-nums; }
.hc__meta span + span::before { content: "·"; margin-right: 0.75rem; color: #4B5163; }
.go { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--t-small); font-weight: 600; color: #DCE0E8; white-space: nowrap; }
.go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate 220ms var(--sc-ease-out); }
.hc:hover .go { color: #fff; }
.hc:hover .go svg { translate: 4px 0; }
.go--pill { padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px rgba(64, 132, 230, 0.7); }

/* platform chip with glyph */
.pchip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.65rem 0.28rem 0.5rem; border-radius: 999px; background: #1C1F29; font-family: var(--sc-font-text); font-size: 0.8125rem; letter-spacing: 0; text-transform: none; color: #DCE0E8; }
.pchip svg { width: 15px; height: 15px; }
.pchip--files svg { fill: #8E95A5; }

/* ================================================== /compare/ ===== */
.feat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border-radius: 30px; background: linear-gradient(#11141E, #0F121A) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 50px 110px -60px rgba(40, 120, 230, 0.75); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url(/assets/img/v2/s-B_lecture.webp) 50% 30% / cover no-repeat; opacity: 0.16; -webkit-mask-image: linear-gradient(to right, transparent 35%, #000 85%); mask-image: linear-gradient(to right, transparent 35%, #000 85%); }
.feat > * { position: relative; z-index: 1; }
.feat:hover { box-shadow: 0 60px 120px -60px rgba(40, 140, 240, 0.9); }
.feat .hc__body { padding: clamp(1.5rem, 3vw, 2.75rem); gap: 0.9rem; justify-content: center; }
.feat .hc__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 16ch; }
.feat .hc__line { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); max-width: 44ch; }
.feat .hc__foot { margin-top: var(--sc-4); justify-content: flex-start; gap: 1rem 1.5rem; }
.hc__type svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.podium { padding: clamp(1.25rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; }
.podium ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.podium li { display: grid; grid-template-columns: 3rem 60px minmax(0, 1fr); align-items: center; gap: 1rem; padding: 0.95rem 1.1rem; border-radius: 20px; background: color-mix(in oklab, #1A1D28 88%, transparent); box-shadow: inset 0 0 0 1px var(--v2-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.podium li:first-child { background: linear-gradient(#172036, #141A2A) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 20px 50px -26px rgba(40, 140, 240, 0.8); }
.podium .app-ico, .podium .mono-ico { width: 60px; height: 60px; }
.podium__rank { font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: #4B5163; text-align: center; font-variant-numeric: tabular-nums; }
.podium li:first-child .podium__rank { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.podium b { display: block; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.podium small { display: block; margin-top: 3px; font-size: var(--t-small); line-height: 1.4; color: var(--v2-muted); }
.podium .us-badge { margin-left: 0.4rem; vertical-align: 0.15em; }
.more5 { display: flex; align-items: center; gap: 0.9rem; padding: 0.4rem 1.1rem 0; font-size: var(--t-small); color: var(--v2-muted); }
.stack { display: flex; flex: none; }
.stack img, .stack i { width: 34px; height: 34px; border-radius: 22.5%; object-fit: cover; box-shadow: 0 0 0 2px #10131B; display: block; }
.stack > * + * { margin-left: -9px; }
.stack i { display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.8rem; color: #D5D9E3; background: linear-gradient(145deg, #2B2F3D, #1C1F29); }

/* face-off cards */
.duels { margin-top: var(--sc-5); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-5); }
.duel__vis { --c: 140, 120, 255; position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: clamp(0.9rem, 2vw, 1.5rem); overflow: hidden;
  background:
    radial-gradient(60% 85% at 78% 55%, rgba(var(--c), 0.42), transparent 70%),
    radial-gradient(55% 80% at 22% 45%, rgba(46, 143, 232, 0.30), transparent 70%),
    #141720; }
.duel__vis::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--v2-line); }
.duel__vis .app-ico, .duel__vis .mono-ico { width: clamp(72px, 7vw, 92px); height: clamp(72px, 7vw, 92px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 300ms var(--sc-ease-out); }
.duel__vis .mono-ico { font-size: 2rem; }
.duel__vis .app-ico:first-child { rotate: -6deg; }
.duel__vis > :last-child { rotate: 6deg; }
.hc:hover .duel__vis .app-ico:first-child { transform: translateX(-4px); }
.hc:hover .duel__vis > :last-child { transform: translateX(4px); }
.vsmark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 12, 16, 0.75); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font-family: var(--sc-font-mono); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; color: #DCE0E8; }
.duel--notegpt .duel__vis { --c: 139, 92, 246; }
.duel--glasp .duel__vis { --c: 120, 200, 90; background: radial-gradient(40% 60% at 70% 35%, rgba(250, 205, 60, 0.30), transparent 70%), radial-gradient(40% 60% at 88% 70%, rgba(110, 200, 90, 0.34), transparent 70%), radial-gradient(35% 55% at 66% 80%, rgba(240, 90, 110, 0.26), transparent 70%), radial-gradient(55% 80% at 22% 45%, rgba(46, 143, 232, 0.30), transparent 70%), #141720; }
.duel--recall .duel__vis { --c: 223, 69, 21; }
.pickif { list-style: none; margin: 0.2rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.pickif li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0.65rem; align-items: start; font-size: 1rem; line-height: 1.45; color: var(--v2-body); }
.pickif img, .pickif i { width: 26px; height: 26px; border-radius: 22.5%; object-fit: cover; display: block; margin-top: 1px; }
.pickif i { display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.7rem; color: #D5D9E3; background: linear-gradient(145deg, #2B2F3D, #1C1F29); }
.pickif b { color: var(--sc-ink); font-weight: 600; }

/* "How we compare" small print, under the grid */
.method { margin-top: var(--sc-6); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4rem 1rem; align-items: start; padding: 1rem 1.25rem; border-radius: 18px; background: color-mix(in oklab, var(--v2-card) 70%, transparent); box-shadow: inset 0 0 0 1px var(--v2-line); font-size: var(--t-small); line-height: 1.55; color: var(--v2-muted); }
.method svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: #7CC4F7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.method p { margin: 0; max-width: 110ch; }
.method b { color: #C3C8D3; font-weight: 600; }
.method a { color: #C3C8D3; text-decoration: underline; text-decoration-color: var(--sc-accent); text-underline-offset: 0.2em; }

/* =================================================== /guides/ ===== */
.thumb { position: relative; margin: 0; overflow: hidden; background: #242630; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--sc-ease-out); }
.hc:hover .thumb img { transform: scale(1.025); }
.thumb::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--v2-line); }

.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: var(--sc-5); }
.bento > .hc--big { grid-row: 1 / span 2; }
.hc--big .thumb { flex: 1; min-height: 340px; }
.hc--big .thumb img { object-position: 50% 50%; }
.hc--big .hc__title { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -0.025em; }
.hc--big .hc__body { flex: none; }
.hc--side .thumb { aspect-ratio: 2 / 1; }
.hc--side .thumb img { object-position: 50% 52%; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-5); }
.trio .thumb { aspect-ratio: 4 / 3; }

.hc--wide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hc--wide .thumb { aspect-ratio: 4 / 3; }
.hc--wide .thumb::after { inset: 0 0 0 auto; width: 1px; height: auto; }
.hc--wide .hc__body { justify-content: center; padding: clamp(1.5rem, 3vw, 2.5rem); gap: 0.8rem; }
.hc--wide .hc__title { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -0.025em; }
.langflip { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem; border-radius: 999px; background: #1C1F29; font-size: var(--t-small); width: fit-content; }
.langflip span { padding: 0.35rem 0.8rem; border-radius: 999px; color: var(--v2-muted); }
.langflip span:last-child { background: color-mix(in oklab, #28A4F2 22%, transparent); color: #CFE8FC; }

/* ==================================================== /tools/ ===== */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sc-5); }
.tool__vis { position: relative; display: grid; place-items: center; padding: clamp(1.25rem, 3vw, 2.5rem); min-height: 330px; overflow: hidden; background: radial-gradient(70% 90% at 20% 10%, rgba(88, 113, 212, 0.30), transparent 70%), radial-gradient(60% 80% at 90% 100%, rgba(40, 164, 242, 0.22), transparent 70%), #141720; }
.tool__vis::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--v2-line); }
.tool .hc__title { font-size: clamp(1.625rem, 1.2rem + 1.1vw, 2rem); letter-spacing: -0.025em; }
.free { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: color-mix(in oklab, var(--v2-good) 14%, transparent); color: #9BE8B5; font-family: var(--sc-font-text); font-size: 0.8125rem; letter-spacing: 0; text-transform: none; }

/* mini UI: shared "window" */
.mini { width: min(100%, 470px); border-radius: 18px; background: #0F1117; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.08); padding: 1rem; font-size: 0.875rem; color: #C3C8D3; transition: transform 300ms var(--sc-ease-out); }
.hc:hover .mini { transform: translateY(-3px) rotate(-0.4deg); }
.mini__label { display: block; margin: 0 0 0.35rem 0.15rem; font-size: 0.75rem; color: var(--v2-muted); }
.mini__field { display: flex; align-items: center; gap: 0.5rem; height: 2.6rem; padding: 0 0.85rem; border-radius: 10px; background: #191C25; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); color: #E6E9F0; font-family: var(--sc-font-mono); font-size: 0.8125rem; white-space: nowrap; overflow: hidden; }
.mini__field svg { flex: none; width: 16px; height: 16px; fill: #FF0033; }
.mini__field--focus { box-shadow: inset 0 0 0 1.5px #28A4F2, 0 0 0 4px rgba(40, 164, 242, 0.18); }
.mini__row { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; gap: 0.6rem; }
.mini__row + .mini__row, .mini__out { margin-top: 0.75rem; }
.mini__arrow { display: grid; place-items: center; margin: 0.6rem 0 0.1rem; color: #7CC4F7; }
.mini__arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; rotate: 90deg; }
.mini__out { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.55rem 0.55rem 0.9rem; border-radius: 12px; background: linear-gradient(#141B2C, #141B2C) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.mini__out code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sc-font-mono); font-size: 0.8125rem; color: #fff; }
.mini__out code b { color: #7CC4F7; font-weight: 600; }
.mini__copy { flex: none; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.8rem; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 600; font-size: 0.8125rem; }
.mini__copy svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* looper mini player */
.mini--player { padding: 0; overflow: hidden; }
.mp__frame { position: relative; aspect-ratio: 16 / 9; background: url(/assets/img/v2/s-C_guitar.webp) 50% 38% / cover no-repeat, #1A1C25; }
.mp__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(8, 9, 13, 0.85)); }
.mp__badge { position: absolute; z-index: 1; top: 0.75rem; left: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(11, 12, 16, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-family: var(--sc-font-mono); font-size: 0.75rem; }
.mp__badge svg { width: 14px; height: 14px; stroke: #7CC4F7; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mp__badge--r { left: auto; right: 0.75rem; }
.mp__bar { padding: 1.1rem 1rem 0.95rem; }
.mp__track { position: relative; height: 6px; border-radius: 3px; background: #262A36; }
.mp__loop { position: absolute; top: -5px; bottom: -5px; left: 38%; width: 22%; border-radius: 6px; background: color-mix(in oklab, #28A4F2 28%, transparent); box-shadow: inset 0 0 0 1.5px #28A4F2; }
.mp__played { position: absolute; left: 0; top: 0; bottom: 0; width: 49%; border-radius: 3px; background: linear-gradient(90deg, #5871D4, #28A4F2); }
.mp__head { position: absolute; top: 50%; left: 49%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #0F1117; }
.mp__h { position: absolute; top: -26px; translate: -50% 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--v2-ember); color: #1A0B02; font: 700 0.75rem/1 var(--sc-font-mono); }
.mp__h::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 9px; margin-left: -1px; background: var(--v2-ember); }
.mp__h--a { left: 38%; }
.mp__h--b { left: 60%; }
.mp__row { margin-top: 0.85rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-family: var(--sc-font-mono); font-size: 0.8125rem; color: var(--v2-muted); }
.mp__row b { color: #fff; font-weight: 500; }

/* ------------------------------------------------ motion ---- */
@media (prefers-reduced-motion: no-preference) {
  .sc-js .hhero__copy > *, .sc-js .hhero__aside { animation: v2-rise 560ms var(--sc-ease-out) both; }
  .sc-js .hhero__copy > :nth-child(2) { animation-delay: 50ms; }
  .sc-js .hhero__copy > :nth-child(3), .sc-js .hhero__aside { animation-delay: 100ms; }
  .sc-js .cat--first .hc { animation: v2-rise 620ms var(--sc-ease-out) both; animation-delay: 140ms; }
}
@media (prefers-reduced-motion: reduce) {
  .hc, .go svg, .thumb img, .mini, .duel__vis .app-ico, .duel__vis > :last-child, .jumps a { transition: none; }
  .hc:hover, .hc:hover .mini, .hc:hover .duel__vis .app-ico:first-child, .hc:hover .duel__vis > :last-child { transform: none; }
  .hc:hover .thumb img { transform: none; }
}

/* ------------------------------------------------ responsive ---- */
@media (max-width: 1100px) {
  .duels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duels > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat::before { -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 90%); mask-image: linear-gradient(to bottom, transparent 30%, #000 90%); }
  .podium { padding-top: 0; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento > .hc--big { grid-column: 1 / -1; grid-row: auto; }
  .hc--big .thumb { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio > :last-child { grid-column: 1 / -1; }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .hc--wide { grid-template-columns: minmax(0, 1fr); }
  .hc--wide .thumb::after { inset: auto 0 0 0; width: auto; height: 1px; }
}
@media (max-width: 640px) {
  .hhero { padding-top: 5.75rem; padding-bottom: 1.5rem; }
  .hhero .lede { font-size: 1.0625rem; }
  .hhero__aside { padding-bottom: 0; }
  .hc { border-radius: 22px; }
  .feat { border-radius: 24px; }
  .feat .hc__body { padding: 1.35rem 1.25rem 0.75rem; }
  .podium { padding: 0.75rem 1rem 1.25rem; }
  .podium li { grid-template-columns: 2rem 46px minmax(0, 1fr); gap: 0.75rem; padding: 0.7rem 0.8rem; border-radius: 16px; }
  .podium .app-ico, .podium .mono-ico { width: 46px; height: 46px; }
  .podium__rank { font-size: 1.8rem; }
  .podium small { display: none; }
  .more5 { padding: 0.35rem 0.8rem 0; }
  .duels, .bento, .trio { grid-template-columns: minmax(0, 1fr); }
  .duels > :last-child, .trio > :last-child { grid-column: auto; }
  .hc--side .thumb { aspect-ratio: 4 / 3; }
  .tool__vis { min-height: 0; padding: 1.25rem 1rem; }
  .mini__row { grid-template-columns: minmax(0, 1fr) 5.5rem; }
  .method { grid-template-columns: minmax(0, 1fr); }
  .method svg { display: none; }
  .rowhead { flex-wrap: wrap; gap: 0.25rem 0.75rem; }
  .rowhead::after { display: none; }
}

/* ------------------------------------------------ iteration 2 ---- */
/* featured guide: the thumb stretches with the bento row; contain on the thumb's own #242630 so nothing is cropped */
.hc--big .thumb img { object-fit: contain; }
/* tools: equal visual zones so both titles line up */
.tools .hc { display: grid; grid-template-rows: auto 1fr; }
.tool__vis { height: clamp(360px, 31vw, 430px); min-height: 0; }
.mini { width: min(100%, 500px); }
.mini__label { font-size: 0.8125rem; }
.mini__field, .mini__out code { font-size: 0.875rem; }
.mini__out--plain { background: #191C25; border: 1.5px solid transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.mini__out--plain code { color: #C3C8D3; }
.mini__copy--ghost { background: #232733; color: #DCE0E8; }
@media (max-width: 900px) {
  .feat .podium { order: -1; padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem) 0; }
  .tool__vis { height: auto; }
}
@media (max-width: 640px) {
  .hhero__aside .stat { display: none; }
  .hhero__aside { width: 100%; }
  .jumps { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--v2-gutter)); padding: 0.25rem var(--v2-gutter); scrollbar-width: none; }
  .jumps::-webkit-scrollbar { display: none; }
  .jumps li { flex: none; }
  .feat .podium { padding: 0.9rem 0.9rem 0; }
  .mini { font-size: 0.8125rem; }
  .mini__field, .mini__out code { font-size: 0.8125rem; }
}
/* featured guide: the three ways, so the big card carries content, not just a taller picture */
.ways { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.ways li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem 0.8rem; border-radius: 14px; background: #181B24; }
.ways .tc { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 7px; background: #262A36; color: #C3C8D3; font-size: 0.8125rem; }
.ways b { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.ways small { display: block; margin-top: 2px; font-size: 0.8125rem; line-height: 1.35; color: var(--v2-muted); }
.ways__us { background: linear-gradient(#152035, #152035) padding-box, var(--grad) border-box !important; border: 1.5px solid transparent; }
.ways__us .tc { background: var(--grad); color: #fff; }
/* side cards: shorter, so the featured card's picture is not padded with empty space */
.hc--side .thumb { aspect-ratio: 2.3 / 1; }
.hc--side .hc__body { gap: 0.45rem; padding-block: 1.1rem 1.2rem; }
.hc--side .hc__title { font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.4375rem); }
.hc--side .hc__line { font-size: 1rem; }
@media (max-width: 640px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .hc--side .thumb { aspect-ratio: 4 / 3; }
}

/* ------------------------------------------------ iteration 3 ---- */
.tool__vis { grid-template-columns: minmax(0, 1fr); justify-items: center; height: clamp(320px, 25.5vw, 368px); padding: 1.25rem 2rem; }
.mini--player { width: min(100%, 430px); }
.mp__loop { left: 38%; width: 11.5%; }
.mp__h--a { left: 38%; }
.mp__h--b { left: 49.5%; }
.mp__played { width: 44%; }
.mp__head { left: 44%; }
.hc--wide .hc__foot { margin-top: var(--sc-5); }
.hhero--tight { padding-bottom: 1.5rem; }
@media (max-width: 900px) { .tool__vis { height: auto; padding: 1.25rem; } }
@media (max-width: 640px) {
  .more5__names { display: none; }
  .mini__row { grid-template-columns: minmax(0, 1fr) 4.75rem; gap: 0.5rem; }
  .mini__field { padding: 0 0.6rem; }
}
.mp__loop { width: 22%; }
.mp__h--b { left: 60%; }

/* ------------------------------------------------ production port (2026-10-20) ---- */
/* inline styles of the mock moved here */
.mini__out--tight { margin-top: 0; }
.mini__label--gap { margin-top: 0.75rem; }
/* looper: A and B times on the right of the player bar (the speed chips are gone: the web looper has no speed control) */
.mp__ab { display: flex; align-items: center; gap: 0.4rem; }
.mp__ab span { padding: 0.3rem 0.6rem; border-radius: 7px; background: color-mix(in oklab, var(--v2-ember) 16%, transparent); color: #FFD9C2; }
/* a card whose foot has no meta keeps its CTA on the right */
.hc__foot > .go:only-child { margin-left: auto; }
