/* NOVA page, 10 Why NOVA (assets/js/n-why.js). The live comparison as a real table on the band; the NOVA column stands up as a
   white card (.ny-col, measured from the column) with the NOVA logo on top, the other three stay quiet. Ticks, crosses and dashes
   in small circles with the live captions under them. Phones: NOVA against one alternative at a time. */
.ny-box { max-width: 1080px; margin: 0 auto; }
.ny-pick { display: none; }
.ny-wrap { position: relative; padding: 14px 0 16px; }
.ny-col { position: absolute; z-index: 0; border-radius: 22px; background: #fff; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(11,11,12,.05), 0 34px 70px -38px rgba(16,44,40,.42); }
.ny-t { position: relative; z-index: 1; width: 100%; border-collapse: collapse; table-layout: fixed; }
.ny-t th, .ny-t td { padding: 0; }
.ny-t thead th { height: 66px; vertical-align: middle; text-align: center; font: 600 14.5px/1.25 var(--sans); letter-spacing: -.006em; color: rgba(11,11,12,.6); }
.ny-t thead th:first-child { width: 34%; }
.ny-t thead .ny-nova { width: 16%; }
.ny-t thead .ny-q { padding-left: 4px; text-align: left; font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(11,11,12,.5); }
.ny-lg { display: inline-flex; vertical-align: middle; }
/* every row the same height and every mark on one line, captions hanging under them */
.ny-t tbody th { height: 78px; padding: 22px 18px 0 4px; text-align: left; vertical-align: top; font: 500 16px/1.35 var(--sans); letter-spacing: -.008em; color: var(--ink);
  border-top: 1px solid rgba(11,11,12,.08); }
.ny-t tbody td { height: 78px; padding: 21px 8px 0; text-align: center; vertical-align: top; border-top: 1px solid rgba(11,11,12,.08); }
.ny-t tbody td.ny-nova { padding-top: 18px; }
.ny-t tbody td.ny-nova { border-top-color: rgba(11,11,12,.05); }
.ny-t tbody tr:hover th, .ny-t tbody tr:hover td.ny-alt { background: rgba(255,255,255,.42); }

/* the marks */
.ny-mk { display: inline-grid; justify-items: center; gap: 6px; }
.ny-mk i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.ny-mk i svg { width: 12px; height: 12px; }
.ny-mk > span { font: 500 12px/1.25 var(--sans); color: rgba(11,11,12,.52); }
.ny-y i { background: rgba(84,184,106,.15); color: var(--nv-ink-g); }
.ny-n i { box-shadow: inset 0 0 0 1.5px rgba(11,11,12,.14); color: rgba(11,11,12,.36); }
.ny-m i { background: rgba(11,11,12,.06); color: rgba(11,11,12,.44); }
.ny-y.ny-big i { width: 30px; height: 30px; background: linear-gradient(135deg, #54B86A, #4F98A7); color: #fff; box-shadow: 0 8px 16px -8px rgba(46,158,80,.6); }
.ny-big i svg { width: 15px; height: 15px; }

/* coming in, once */
.ny-pre .ny-col { opacity: 0; translate: 0 18px; }
.ny-in .ny-col { opacity: 1; translate: 0 0; transition: opacity .8s ease, translate 1s var(--ease-out); }
.ny-pre .ny-t tbody tr { opacity: 0; translate: 0 10px; }
.ny-in .ny-t tbody tr { opacity: 1; translate: 0 0; transition: opacity .7s ease calc(120ms + var(--r) * 90ms), translate .9s var(--ease-out) calc(120ms + var(--r) * 90ms); }
.ny-pre .ny-big i { opacity: 0; scale: .4; }
.ny-in .ny-big i { opacity: 1; scale: 1; transition: opacity .3s ease calc(420ms + var(--r) * 90ms), scale .6s cubic-bezier(.34,1.56,.64,1) calc(420ms + var(--r) * 90ms); }

html.reduce .ny-box *, html.still .ny-box * { animation: none !important; transition: none !important; }

/* the last line */
.ny-end { display: grid; justify-items: center; gap: 24px; margin-top: 52px; text-align: center; }
.ny-line { margin: 0; max-width: 100%; font: 600 clamp(22px, 2.2vw, 28px)/1.25 var(--sans); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.ny-line span, .ny-line b { display: block; }
.ny-line span { color: rgba(11,11,12,.45); }
.ny-line b { font-weight: 700; }

/* ---------------------------------------------------------------- phones: NOVA against one alternative at a time */
@media (max-width: 760px) {
  .ny-pick { display: flex; justify-content: center; gap: 2px; width: fit-content; max-width: 100%; margin: 0 auto 16px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--nv-card); }
  .ny-pick button { height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; white-space: nowrap; font: 600 13px/1 var(--sans); color: var(--nv-mute);
    transition: background-color .25s ease, color .25s ease; }
  .ny-pick button.on { background: #F1F7F3; color: var(--ink); }
  .ny-pick button:focus-visible { outline: 2px solid var(--nv-teal); outline-offset: 2px; }
  .ny-t .ny-alt { display: none; }
  .ny-t[data-alt="chatgpt"] .ny-alt[data-c="chatgpt"], .ny-t[data-alt="diy"] .ny-alt[data-c="diy"], .ny-t[data-alt="agency"] .ny-alt[data-c="agency"] { display: table-cell; }
  .ny-t thead th:first-child { width: 44%; }
  .ny-t thead .ny-nova { width: 26%; }
  .ny-t thead th { height: 58px; font-size: 13.5px; }
  .ny-t thead .ny-q { font-size: 9px; letter-spacing: .12em; }
  .ny-t tbody th { height: 80px; padding: 17px 10px 0 2px; font-size: 14.5px; }
  .ny-t tbody td { height: 80px; padding: 16px 4px 0; }
  .ny-t tbody td.ny-nova { padding-top: 13px; }
  .ny-mk > span { font-size: 11.5px; }
  .ny-end { margin-top: 40px; }
}
