/* The Why StepManiaY page (/why/): a long-form page with its own layout, every rule under .why so
   the site's header and footer keep their own look. Its colors, type and panels are the site's:
   the theme's variables (site.css), the display face's black italic headings, frame-neon panels. */

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }

.why {
  --ink: var(--color-ink);
  --edge: var(--color-edge);
  --text: var(--color-text);
  --soft: #d4d9f7;
  --dim: #c3c9e9;
  --muted: var(--color-muted);
  --beat: var(--color-beat);
  --beat-soft: #ff8ccc;
  --pulse: var(--color-pulse);
  --violet: var(--color-violet);
  --gold: var(--color-gold);
  --mint: var(--color-mint);
  --display: var(--font-display);
  --body: var(--font-body);
  --mono: var(--font-mono);
  --radius: 16px;
  /* The site's panel (frame-neon): dark glass in a pink, violet and cyan neon frame. */
  --panel-fill: rgb(11 14 42 / 0.82);
  --panel-frame: linear-gradient(135deg, rgb(255 61 158 / 0.8), rgb(154 107 255 / 0.45) 38%, rgb(60 200 255 / 0.3) 70%, rgb(255 61 158 / 0.55));
  --panel-glow: 0 0 32px rgb(154 107 255 / 0.14), inset 0 1px 0 rgb(255 255 255 / 0.05);
  color: var(--text);
  font: 400 17px/1.62 var(--body);
}
.why a { color: var(--pulse); }
.why a:hover { text-decoration: underline; }
.why b, .why strong { font-weight: 650; color: var(--text); }
.why code { font: 500 0.88em/1 var(--mono); background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.06); padding: 2px 6px; border-radius: 6px; color: var(--text); white-space: nowrap; }
.why p { margin: 0 0 14px; }
.why .wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1536px) { .why .wrap { max-width: 88rem; } }

.c-beat { --c: var(--beat); }
.c-violet { --c: var(--violet); }
.c-pulse { --c: var(--pulse); }
.c-gold { --c: var(--gold); }
.c-mint { --c: var(--mint); }

/* Sections bar, under the site's header */
.why-nav { position: sticky; top: 4rem; z-index: 20; background: rgb(5 7 26 / 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgb(255 61 158 / 0.18); }
.why-nav .wrap { display: flex; gap: 22px; height: 44px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.why-nav .wrap::-webkit-scrollbar { display: none; }
.why-nav a { color: var(--muted); font: 600 12.5px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.why-nav a:hover { color: var(--text); text-decoration: none; }
.why-nav .label { color: var(--pulse); font: 700 12.5px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }

/* Buttons */
.why .btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 12px; background: linear-gradient(90deg, var(--beat), #c34bff); color: #fff; font: 700 14px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 0 22px rgb(255 61 158 / 0.4); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, filter 0.15s ease; }
.why .btn:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgb(255 61 158 / 0.6); filter: brightness(1.1); text-decoration: none; }
.why .btn-ghost { background: rgb(14 18 54 / 0.7); color: var(--text); border: 1px solid rgb(255 255 255 / 0.12); box-shadow: none; }
.why .btn-ghost:hover { border-color: rgb(255 61 158 / 0.7); box-shadow: none; filter: none; }

/* Type */
.why section { padding: 76px 0; }
.why .eyebrow { margin: 0 0 14px; color: var(--pulse); font: 700 12px/1 var(--display); letter-spacing: 0.34em; text-transform: uppercase; text-shadow: 0 0 12px rgb(60 200 255 / 0.45); }
.why h1 { margin: 0 0 22px; font: italic 900 clamp(34px, 4vw, 54px)/0.98 var(--display); text-transform: uppercase; letter-spacing: -0.01em; filter: drop-shadow(0 0 22px rgb(255 61 158 / 0.28)); }
.why .grad { background: linear-gradient(90deg, var(--beat), var(--violet) 55%, var(--pulse)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why h2 { margin: 0 0 18px; font: italic 800 clamp(28px, 3.2vw, 40px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -0.005em; }
.why h2.sub { margin-top: 84px; }
.why h3 { margin: 0 0 10px; font: 700 20px/1.2 var(--display); letter-spacing: 0.01em; }
.why .lede { font-size: 19px; color: var(--soft); margin: 0 0 30px; max-width: 40em; }
.why .section-lede { font-size: 18.5px; color: var(--soft); max-width: 47em; margin: 0 0 36px; }
.why .small { font-size: 14.5px; color: var(--muted); }
.why .soft { color: var(--soft); font-size: 16px; }

/* Hero */
.why .hero { padding: 56px 0 36px; }
.why .hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.why .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.why .platform-line { color: var(--muted); font: 600 13px/1.7 var(--display); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.why .hero-shot { margin: 0; }
.why .hero-shot img { width: 100%; display: block; border-radius: 18px; border: 1px solid var(--edge); box-shadow: 0 30px 80px -30px rgb(255 61 158 / 0.55), 0 20px 60px -30px rgb(60 200 255 / 0.5); }

/* Stats */
.why .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.why .stat { background: linear-gradient(var(--panel-fill), var(--panel-fill)) padding-box, var(--panel-frame) border-box; border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--panel-glow); padding: 22px 20px 20px; }
.why .num { font: italic 900 42px/1 var(--display); margin-bottom: 12px; white-space: nowrap; padding-right: 0.08em; }
.why .stat p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.why .judgebar { display: flex; height: 4px; border-radius: 4px; overflow: hidden; margin-top: 30px; opacity: 0.9; }
.why .judgebar i { flex: 1; }
.why .judgebar .j0 { background: #21cce8; }
.why .judgebar .j1 { background: #f4fbff; }
.why .judgebar .j2 { background: #e29c18; }
.why .judgebar .j3 { background: #66c955; }
.why .judgebar .j4 { background: #b45cff; }
.why .judgebar .j5 { background: #c9855e; }
.why .judgebar .j6 { background: #ff3030; }

/* Cards and grids */
.why .card { position: relative; background: linear-gradient(var(--panel-fill), var(--panel-fill)) padding-box, var(--panel-frame) border-box; border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--panel-glow); padding: 26px 24px 24px; }
.why .card p:last-child, .why .card ul:last-child { margin-bottom: 0; }
.why .card.accent::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c, var(--beat)); }
.why .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why .idx { display: block; font: 700 15px/1 var(--display); letter-spacing: 0.16em; color: var(--c, var(--beat)); margin-bottom: 14px; }
.why .reason p { color: var(--soft); font-size: 16px; }
.why ul.clean { margin: 0; padding: 0; list-style: none; }
.why ul.clean li { position: relative; padding-left: 22px; margin: 0 0 13px; color: var(--soft); }
.why ul.clean li:last-child { margin-bottom: 0; }
.why ul.clean li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--pulse)); transform: rotate(45deg); }

/* What we fixed */
.why table.fixes { width: 100%; border-collapse: separate; border-spacing: 0; background: linear-gradient(var(--panel-fill), var(--panel-fill)) padding-box, var(--panel-frame) border-box; border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--panel-glow); overflow: hidden; }
.why .fixes th { text-align: left; font: 700 13px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 18px 22px; background: rgb(255 61 158 / 0.06); border-bottom: 1px solid rgb(255 61 158 / 0.2); }
.why .fixes th.was { color: var(--beat-soft); }
.why .fixes th.now { color: var(--mint); }
.why .fixes td { padding: 16px 22px; vertical-align: top; border-bottom: 1px solid rgb(255 255 255 / 0.06); font-size: 15.5px; line-height: 1.5; }
.why .fixes tr:last-child td { border-bottom: 0; }
.why .fixes td.area { font: 700 16.5px/1.3 var(--display); letter-spacing: 0.03em; color: var(--text); width: 17%; }
.why .fixes td.was { color: var(--dim); width: 43%; }
.why .fixes td.now { color: var(--text); width: 40%; background: rgb(62 230 162 / 0.035); }
.why .fixes tbody tr:hover td { background-color: rgb(60 200 255 / 0.04); }

/* Timing */
.why .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.why .chart { margin: 0 0 18px; }
.why .chart svg { width: 100%; height: auto; display: block; }
.why figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.55; }
.why .proof { background: linear-gradient(180deg, rgb(60 200 255 / 0.08), rgb(60 200 255 / 0.03)); border: 1px solid rgb(60 200 255 / 0.35); border-radius: var(--radius); padding: 26px 24px 22px; }
.why .proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.why .proof-list li { color: var(--soft); font-size: 15.5px; line-height: 1.5; }
.why .proof-list .m { display: block; font: 600 18px/1.25 var(--mono); color: var(--pulse); margin-bottom: 4px; }
.why .note { color: var(--muted); font-size: 14.5px; margin: 18px 0 0; }
.why .tag { display: inline-block; font: 700 11.5px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; margin: 4px 0 8px; padding: 5px 8px; border-radius: 6px; }
.why .tag.before { color: var(--beat-soft); background: rgb(255 61 158 / 0.11); }
.why .tag.now { color: var(--mint); background: rgb(62 230 162 / 0.1); }
.why .tag.test { color: var(--pulse); background: rgb(60 200 255 / 0.1); }
.why .jcard p { color: var(--soft); font-size: 15.5px; }
.why .jcard p.test { color: var(--text); }
.why .recorder { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.why .recorder .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgb(60 200 255 / 0.1); border: 1px solid rgb(60 200 255 / 0.35); }
.why .recorder p { color: var(--soft); }

/* Scores */
.why .feat-grid { gap: 26px 30px; margin-bottom: 40px; }
.why .feat-item { border-top: 2px solid var(--edge); padding-top: 16px; color: var(--dim); font-size: 16px; }
.why .feat-item b { display: block; font: 700 19.5px/1.25 var(--display); letter-spacing: 0.02em; margin-bottom: 6px; color: var(--text); }
.why .browser { margin: 0; }
.why .browser .frame { border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; background: var(--color-night); box-shadow: 0 30px 80px -40px rgb(154 107 255 / 0.65); }
.why .browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #121729; border-bottom: 1px solid var(--edge); }
.why .browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2f3658; }
.why .browser-bar .url { margin-left: 12px; font: 500 12.5px/1 var(--mono); color: var(--muted); background: rgb(255 255 255 / 0.04); border: 1px solid var(--edge); padding: 6px 14px; border-radius: 999px; }
.why .browser img { width: 100%; display: block; }

/* Chips */
.why .chip { display: inline-block; font: 700 11px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px 5px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; vertical-align: middle; }
.why .chip.live { color: var(--mint); background: rgb(62 230 162 / 0.08); }
.why .chip.beta { color: var(--gold); background: rgb(255 201 64 / 0.08); }
.why .chip.testers { color: var(--violet); background: rgb(154 107 255 / 0.1); }
.why .chip.next { color: var(--pulse); background: rgb(60 200 255 / 0.08); }

/* Play Together */
.why .together p { color: var(--soft); font-size: 16px; }
.why .callout { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; border: 1px solid rgb(60 200 255 / 0.4); background: rgb(60 200 255 / 0.06); border-radius: var(--radius); padding: 22px 24px; margin-top: 18px; }
.why .callout p { margin: 0; color: var(--soft); }
.why .callout p + p { margin-top: 10px; }

/* Platforms */
.why .plat .card h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.why .plat .card p { color: var(--dim); font-size: 15.5px; }
.why .after-grid { margin-top: 22px; color: var(--soft); max-width: 60em; }

/* Stage */
.why .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 30px; }
.why .gallery figure { margin: 0; }
.why .gallery .wide { grid-column: 1 / -1; }
.why .gallery img { width: 100%; display: block; border-radius: 14px; border: 1px solid var(--edge); }
.why .gallery .wide img { box-shadow: 0 30px 80px -40px rgb(255 61 158 / 0.6); }

/* FAQ, status, closing */
.why .faq .card h3 { font-size: 19.5px; }
.why .faq .card p { color: var(--soft); font-size: 16px; }
.why .status h3 { display: flex; align-items: center; gap: 10px; }
.why .closing { padding-top: 40px; padding-bottom: 24px; }
.why .closing .card { text-align: center; padding: 56px 32px 52px; background: radial-gradient(40rem 18rem at 50% 0%, rgb(255 61 158 / 0.18), transparent 70%) padding-box, linear-gradient(var(--panel-fill), var(--panel-fill)) padding-box, var(--panel-frame) border-box; }
.why .closing .card > p:not(.eyebrow) { max-width: 46em; margin: 0 auto 30px; color: var(--soft); font-size: 18.5px; }
.why .closing .cta { justify-content: center; margin: 0; }
.why .sources { color: var(--muted); font-size: 14px; margin: 26px 0 0; text-align: center; }

/* Responsive */
@media (min-width: 640px) {
  .why .wrap { padding: 0 1.5rem; }
}
@media (max-width: 1040px) {
  .why .grid4, .why .stats { grid-template-columns: repeat(2, 1fr); }
  .why .grid3.plat { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 6.5rem; }
  .why-nav { display: none; }
  .why .hero-grid, .why .two { grid-template-columns: 1fr; }
  .why .grid3 { grid-template-columns: 1fr; }
  .why .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .why .proof-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .why .fixes thead { display: none; }
  .why .fixes, .why .fixes tbody, .why .fixes tr, .why .fixes td { display: block; width: 100% !important; }
  .why .fixes tr { padding: 16px 0 12px; border-bottom: 1px solid var(--edge); }
  .why .fixes tr:last-child { border-bottom: 0; }
  .why .fixes td { border: 0; padding: 4px 18px; background: none !important; }
  .why .fixes td.area { padding-bottom: 8px; }
  .why .fixes td.was::before { content: attr(data-label) ": "; color: var(--beat-soft); font-weight: 700; }
  .why .fixes td.now::before { content: attr(data-label) ": "; color: var(--mint); font-weight: 700; }
}
@media (max-width: 640px) {
  .why { font-size: 16px; }
  .why section { padding: 60px 0; }
  .why .hero { padding-top: 36px; }
  .why .grid4, .why .grid2, .why .stats, .why .grid3.plat, .why .feat-grid, .why .gallery { grid-template-columns: 1fr; }
  .why .num { font-size: 36px; }
  .why .lede { font-size: 17.5px; }
  .why .section-lede { font-size: 17px; }
  .why .recorder, .why .callout { grid-template-columns: 1fr; }
  .why .btn { flex: 1 1 auto; }
  .why .browser-bar .url { font-size: 11px; }
}

/* Print: the page alone, light, in its desktop layout */
@media print {
  @page { margin: 12mm; }
  html { zoom: 0.7; }
  body { background: #fff !important; }
  body > header, body > footer, body > a, .why-nav, .why .cta, .why .btn, .why .judgebar { display: none !important; }
  .why { color: #14161f; }
  .why .wrap { max-width: none; padding: 0; }
  .why section { padding: 26px 0; }
  .why .hero { padding-top: 0; }
  .why .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 32px; }
  .why .stats, .why .grid4 { grid-template-columns: repeat(4, 1fr); }
  .why .grid3, .why .grid3.plat, .why .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .why .grid2, .why .two, .why .gallery, .why .proof-list { grid-template-columns: repeat(2, 1fr); }
  .why .stats { margin-top: 30px; }
  .why h2.sub { margin-top: 40px; }
  .why table.fixes { display: table; }
  .why .fixes thead { display: table-header-group; }
  .why .fixes tbody { display: table-row-group; }
  .why .fixes tr { display: table-row; padding: 0; }
  .why .fixes td { display: table-cell; padding: 10px 16px; border-bottom: 1px solid #dfe2ee !important; }
  .why .fixes td.area { width: 17% !important; }
  .why .fixes td.was { width: 43% !important; }
  .why .fixes td.now { width: 40% !important; }
  .why .fixes td::before { content: none !important; }
  .why .recorder, .why .callout { grid-template-columns: auto 1fr; }
  .why h2, .why h3, .why .eyebrow { break-after: avoid; }
  .why #switch, .why #status, .why .closing { break-inside: avoid; }
  .why .card, .why .stat, .why .proof, .why .callout, .why table.fixes, .why .fixes th, .why .browser-bar { background: #fff !important; border-color: #c9cde0 !important; box-shadow: none !important; }
  .why .card, .why .stat, .why .proof, .why .callout, .why figure, .why .fixes tr { break-inside: avoid; }
  .why .grad { background: none !important; color: #d1144a !important; -webkit-text-fill-color: #d1144a; }
  .why h1, .why h2, .why h3, .why b, .why strong, .why .feat-item b, .why .fixes td.area, .why .fixes td.now, .why .jcard p.test, .why code { color: #14161f !important; }
  .why .lede, .why .section-lede, .why p, .why li, .why .feat-item, .why .plat .card p, .why .fixes td.was, .why .stat p, .why .note, .why .small, .why figcaption, .why .platform-line, .why .sources { color: #3a3f55 !important; }
  .why .eyebrow, .why a { color: #0a63b8 !important; }
  .why img { box-shadow: none !important; }
  .why code { background: #f1f2f7; border-color: #dfe2ee; }
}
