/* ---------------------------------------------------------------------------
   Monochrome palette.
   Loaded last so it re-points the shared .kn tokens without touching
   kn.css, which is shared with ~20 other preview pages and must not change.
   Removing the one <link> reverts the page to the green network palette.
   --------------------------------------------------------------------------- */

:root{
  /* darks */
  --ink:#1a1a1a;          /* headings, dark buttons, footer */
  --ink-deep:#000000;     /* hover on dark */
  --text:#222222;

  /* mid greys */
  --muted:#6e6e6e;        /* body copy, secondary text */
  --faint:#9b9b9b;        /* meta, captions */

  /* surfaces */
  --paper:#ffffff;
  --cream:#f5f5f5;
  --cream-deep:#eaeaea;
  --line:#e2e2e2;
  --line-soft:#f0f0f0;

  /* what used to be lime: an accent that only ever sits on dark imagery,
     so it has to read light rather than bright */
  --lime:#ededed;
  --lime-deep:#cfcfcf;

  /* what used to be reef/gold: links and small accents */
  --reef:#2f2f2f;
  --gold:#8c8c8c;

  --kitts:#777777;
  --nevis:#9a9a9a;
}

/* ---- scrims inherited from kn.css: same shape, hue removed -------------- */
.pcard::after{
  background:linear-gradient(to top,#0a0a0af2 0%,#0a0a0ac9 26%,#0a0a0a7a 50%,#0a0a0a26 74%,transparent 92%);
}
.frame-shade::after{
  background:linear-gradient(to top,#0a0a0ae8 0%,#0a0a0aab 30%,#0a0a0a54 54%,#0a0a0a1a 74%,transparent 90%);
}
.frame-shade-soft::after{
  background:linear-gradient(to top,#0d0d0dc4 0%,#0d0d0d5e 38%,transparent 72%);
}
.banner::after{
  background:linear-gradient(90deg,#0a0a0aed 0%,#0a0a0ac4 38%,#0a0a0a7a 66%,#0a0a0a26 88%,transparent 100%);
}

/* Body copy laid over photography: kn.css sets a pale green-grey (#dde7d9).
   These two are the only such rules the page still uses. */
.pcard-copy p{color:#e4e4e4}
.banner-copy p{color:#e4e4e4}

/* ---- green-tinted values hardcoded in a.css ----------------------------- */
.a-head{background:#ffffffeb}
.a-about-box{box-shadow:0 16px 48px rgba(0,0,0,.05)}
.a-switch-set .a-thumb-pill{box-shadow:0 1px 3px rgba(0,0,0,.14)}

/* ---- and in the add-on sheets ------------------------------------------- */
.h3x-field input::placeholder{color:#a0a0a0}
.h3x-field{box-shadow:0 22px 50px -30px rgba(0,0,0,.28)}
.h3x-field:focus-within{box-shadow:0 22px 50px -26px rgba(0,0,0,.34)}
.a-board .pcard:hover{border-color:#c9c9c9}
.a-about-overlay{
  background:linear-gradient(90deg,
    rgba(0,0,0,.34) 0%, rgba(0,0,0,.12) 36%, rgba(0,0,0,0) 68%);
}
@media (max-width:860px){
  .a-about-overlay{
    background:linear-gradient(0deg,
      rgba(0,0,0,.30) 0%, rgba(0,0,0,.08) 42%, rgba(0,0,0,0) 75%);
  }
}

/* The flag video is already greyscale, so it sits correctly in this palette. */
