/* NOVA page, 04: NOVA gets smarter every single day (assets/js/n-smart.js). The dot brain with the loop on a quiet orbit, threads
   to one page in Google and in an AI answer, signals riding back. The cards reuse the hero's replica type (nova.css: .nh-g,
   .nh-o, .g-*, .c-me). Prefix ns-. */

.ns-scene { position: relative; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; max-width: 1180px; margin: 0 auto; }
.ns-cv { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.ns-viz { position: relative; z-index: 1; height: 560px; }
.ns-pills { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

/* the loop's four words on the orbit, and the day */
.ns-st, .ns-day { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px rgba(11,11,12,.07), 0 10px 22px -14px rgba(16,44,40,.42);
  font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: rgba(11,11,12,.5);
  transition: color .5s ease, box-shadow .6s var(--ease-out), scale .6s var(--ease-out); }
.ns-st.on { color: var(--ink); scale: 1.06; box-shadow: 0 0 0 1.5px rgba(84,184,106,.55), 0 0 0 6px rgba(84,184,106,.10), 0 14px 26px -14px rgba(46,158,80,.55); }
.ns-day { height: 26px; padding: 0 11px; color: var(--nv-mute); }
.ns-day i { font-style: normal; }
.ns-day b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ns-day.tick { animation: nsday .7s var(--ease-out); }
@keyframes nsday { 30% { scale: 1.1; box-shadow: 0 0 0 1.5px rgba(84,184,106,.5), 0 0 0 6px rgba(84,184,106,.1), 0 10px 22px -14px rgba(16,44,40,.42); } }

/* the one page, in both places */
.ns-cards { position: relative; z-index: 2; display: grid; gap: 34px; padding: 34px 0 34px 64px; justify-items: start; }
.ns-card { position: relative; width: min(100%, 500px); margin: 0; padding: 15px 18px 18px; border-radius: 18px; background: #fff; box-shadow: var(--nv-card-lg);
  transition: box-shadow .9s var(--ease-out); }
.ns-card.hit { animation: nshit 1.8s var(--ease-out); }
@keyframes nshit { 18% { box-shadow: 0 0 0 1px rgba(46,158,80,.22), 0 0 0 6px rgba(84,184,106,.08), 0 30px 64px -30px rgba(46,158,80,.45); } }
.ns-lbl { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(11,11,12,.46); }
.ns-eng { display: inline-flex; gap: 5px; margin-left: 2px; }   /* beside the label, clear of NOVA's note on the corner */
.ns-mk { width: 15px; height: 15px; display: block; }

/* NOVA's note on the card's corner, as in the hero */
.ns-note { position: absolute; right: 16px; top: 0; z-index: 2; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px;
  border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(11,11,12,.07), 0 10px 22px -12px rgba(16,44,40,.45);
  font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--ink);
  transition: opacity .45s ease, scale .55s var(--ease-out); }
.ns-note::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--nv-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.ns-note b { font-weight: 600; }
.ns-card.h-note .ns-note { opacity: 0; scale: .86; }

/* Google search */
.ns-aio { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; padding: 0 2px 11px; border-bottom: 1px solid #E8EAED; font-size: 12.5px; line-height: 16px; font-weight: 500; color: #474747; }
.ns-aio i { width: 14px; height: 14px; flex: none; color: #0B57D0; }
.ns-aio i svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.ns-aio em { font-style: normal; font-weight: 400; color: #70757A; }
.ns-res { position: relative; margin-top: 13px; }
.ns-res .g-site { position: relative; }
.ns-rk { margin-left: auto; align-self: center; display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--green);
  font: 600 11px/1 var(--mono); letter-spacing: .04em; color: #000; }
.ns-res .g-site > span:not(.ns-rk) { flex: 1; }
.ns-res .g-s b { font-weight: 600; color: #474747; }
.ns-upd { display: inline-flex; align-items: center; height: 22px; margin-left: auto; padding: 0 9px; border-radius: 999px; background: #EEF7F1;
  font: 500 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nv-ink-g); opacity: 0; translate: 0 4px; transition: opacity .5s ease, translate .6s var(--ease-out); }
.ns-card.upd .ns-upd { opacity: 1; translate: 0 0; }

/* the AI answer */
.ns-a .c-me { margin-bottom: 12px; }
.ns-ans p { margin: 0; font-size: 14px; line-height: 22px; color: #0D0D0D; }
.ns-ans .ns-l2 { margin-top: 6px; }
.ns-ans b { font-weight: 600; }
.ns-l1, .ns-l2 { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 240% 100%; mask-size: 240% 100%; -webkit-mask-position: 0 0; mask-position: 0 0;
  transition: -webkit-mask-position 1.2s cubic-bezier(.4,.1,.2,1), mask-position 1.2s cubic-bezier(.4,.1,.2,1); }
.ns-a.h-ans .ns-l1, .ns-a.h-l2 .ns-l2 { -webkit-mask-position: 100% 0; mask-position: 100% 0; transition: none; }
.ns-cite { display: inline-grid; place-items: center; max-width: 24px; min-width: 16px; height: 16px; margin-left: 2px; padding: 0 4px; overflow: hidden; border-radius: 5px; background: #E9EEEC;
  font: 600 9.5px/1 var(--sans); color: #45605A; vertical-align: 2px; transition: opacity .35s ease .15s, scale .45s var(--ease-out) .15s, max-width .4s var(--ease-out), min-width .4s var(--ease-out), padding .4s var(--ease-out), margin .4s var(--ease-out); }
.ns-srcs { display: flex; align-items: center; gap: 9px; margin: 13px 0 0; transition: opacity .45s ease, translate .55s var(--ease-out); }
.ns-sl { font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(11,11,12,.42); }
.ns-src { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 4px; border-radius: 12px; background: #F4F4F4; font-size: 11.5px; font-weight: 500; color: #4D4D4D; }
.ns-a.h-src .ns-srcs { opacity: 0; translate: 0 6px; }
.ns-a.h-src .ns-cite { opacity: 0; scale: .6; max-width: 0; min-width: 0; padding: 0; margin-left: 0; }   /* folded away, no gap before the full stop */

/* signals riding back into the brain */
.ns-pill { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 5px; border-radius: 999px; opacity: 0;
  background: #fff; box-shadow: 0 0 0 1px rgba(11,11,12,.07), 0 10px 22px -14px rgba(16,44,40,.5); font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(11,11,12,.72); white-space: nowrap; will-change: translate, opacity; }
.ns-pill > i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(84,184,106,.13); color: var(--nv-ink-g); }
.ns-pill > i svg { width: 11px; height: 11px; }

/* the brain's caption and the three points */
.ns-cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; font: 400 14px/1.4 var(--sans); color: var(--nv-mute); }
.ns-cap-lg { display: inline-flex; }
.ns-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin: 64px auto 0; padding: 0; list-style: none; }
.ns-feats li { display: grid; align-content: start; gap: 8px; padding: 4px 34px 0; border-left: 1px solid var(--nv-line); }
.ns-feats li:first-child { border-left: 0; padding-left: 0; }
.ns-feats li:last-child { padding-right: 0; }
.ns-feats b { margin-top: 10px; font: 600 17px/1.3 var(--sans); letter-spacing: -.012em; color: var(--ink); }
.ns-feats li > span:last-child { font: 400 15px/1.55 var(--sans); color: var(--nv-mute); text-wrap: pretty; }
.ns-fi { display: flex; align-items: center; height: 34px; }
.ns-fi .ns-mk { width: 26px; height: 26px; }
.ns-fi3 .ns-mk { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(11,11,12,.07), 0 6px 14px -8px rgba(16,44,40,.45); }
.ns-fi3 .ns-mk + .ns-mk { margin-left: -7px; }
.ns-fn svg { width: 30px; height: 30px; display: block; }
.ns-in { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; }

/* phones and narrow tablets: the brain on top, the page under it, one thread between */
@media (max-width: 900px) {
  .ns-scene { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .ns-viz { height: 330px; }
  .ns-cards { padding: 30px 0 0; gap: 30px; justify-items: stretch; }
  .ns-card { width: 100%; }
  .ns-feats { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 560px; margin-top: 52px; }
  .ns-feats li { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--nv-line); }
  .ns-feats li:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 480px) {
  .ns-viz { height: 300px; }
  .ns-card { padding: 14px 14px 16px; }
  .ns-st { height: 26px; padding: 0 10px; font-size: 9.5px; }
}
