/* Condei — condei.app/nor
 * The Condei Nor product page. Tokens come from assets/styles.css
 * (docs/site-design-plan.md); this file owns only nor.html, so it never
 * depends on assets/nor.css (pricing.html's) or the home page's files.
 *
 * Down the page: the parchment hero with one note on four live devices,
 * standing on the seam into ink; six chapters on the ink band, each with a
 * scene the visitor can use; the decision; the plans; leaving; questions.
 *
 * Every scene's default is its finished, readable picture. Motion only runs
 * once assets/nor-page.js is there, and Reduce Motion turns it into cuts.
 *
 * Shared with the home page's Condei Nor band (assets/home-nor.css), adapted:
 * the stage panel, the phone frame, the month dots, the vault cards' match
 * badge. Kept separate on purpose until a shared file exists. */

/* --------------------------------------------- the app's own palette
   Replicas use the app's light/dark pairs, not the page's band tokens, so a
   screen inside the ink band still reads like the app. */

.np-hero, .np-adds {
  --a-bg: #FBFAF8;
  --a-side: #F3EDE3;
  --a-ink: #1B2A41;
  --a-mute: #68625B;
  --a-line: rgba(27, 42, 65, 0.11);
  --a-chip: #F1EADF;
  --a-brass: #B8935B;
  --a-frame: #0D1626;
  --a-ana: #587154;
  --a-ioan: #8D5C58;
  --a-me: #4A6A8E;
  --a-shadow: 0 30px 60px -28px rgba(13, 22, 38, 0.55), 0 0 0 1px rgba(27, 42, 65, 0.08);
}
@media (prefers-color-scheme: dark) {
  .np-hero, .np-adds {
    --a-bg: #1D1F24;
    --a-side: #18191D;
    --a-ink: #ECEDEF;
    --a-mute: #9A9DA4;
    --a-line: rgba(236, 237, 239, 0.1);
    --a-chip: #2A2D34;
    --a-brass: #C9A366;
    --a-frame: #050608;
    --a-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.07);
  }
}
/* Native controls inside a replica follow the app's scheme, not the band's
   (the band is color-scheme: dark, which drew a dark box on a light sheet). */
.np-sc input { color-scheme: light; }
@media (prefers-color-scheme: dark) { .np-sc input { color-scheme: dark; } }

/* ===================================================================== hero */

.np-hero { background: var(--parchment); }
.np-hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(40px, 1rem + 5vw, 96px) clamp(36px, 1.5rem + 2.4vw, 64px);
}
.np-hero h1 { margin: 0; line-height: 0; }
.np-lockup { display: block; width: clamp(240px, 8rem + 24vw, 460px); height: auto; }
.np-line {
  margin-top: clamp(28px, 1rem + 2.4vw, 52px);
  max-width: 18ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: var(--t-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 1;
  text-wrap: balance;
}
.np-lede {
  margin-top: clamp(16px, 0.8rem + 1vw, 24px);
  max-width: 44ch;
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: balance;
}
.np-status { margin-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }
.np-status b { color: var(--ink); font-weight: 700; }
.np-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-3) var(--s-5); margin-top: clamp(20px, 1rem + 1vw, 28px); }
.np-actions .link { font-weight: 700; }

/* The fleet stands on the seam: parchment above, ink below. */
.np-plate {
  padding-bottom: clamp(36px, 1rem + 3vw, 72px);
  background: linear-gradient(to bottom, var(--parchment) 0 56%, var(--band) 56% 100%);
}
.np-fleet-fig { margin: 0; }
.np-fleet {
  --W: 1160;
  --u: calc(100cqw / var(--W));
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  aspect-ratio: 1160 / 600;
  container-type: inline-size;
}
.np-fleet-cap {
  max-width: 52ch;
  margin: clamp(20px, 1rem + 1vw, 32px) auto 0;
  text-align: center;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--on-band-muted);
}
.np-only-js { display: none; }
.has-nav-js .np-only-js { display: inline; }

/* A device: placed and sized in design units (1 = 1/1160 of the fleet). */
.np-dev {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  font-size: calc(10 * var(--u));
}
.np-ipad   { --x: 24;  --y: 118; --w: 336; --h: 448; z-index: 1; }
.np-mac    { --x: 214; --y: 18;  --w: 760; --h: 475; z-index: 2; }
.np-iphone { --x: 112; --y: 206; --w: 192; --h: 392; z-index: 3; }
.np-pixel  { --x: 902; --y: 176; --w: 192; --h: 392; z-index: 3; }

@media (max-width: 759.98px) {
  .np-fleet { --W: 600; aspect-ratio: 600 / 520; }
  .np-ipad { display: none; }
  .np-mac    { --x: 40;  --y: 0;   --w: 520; --h: 325; }
  .np-iphone { --x: 0;   --y: 158; --w: 176; --h: 358; }
  .np-pixel  { --x: 424; --y: 146; --w: 176; --h: 358; }
}

.np-dev p, .np-sc p { margin: 0; }
.np-dev ul, .np-sc ul { margin: 0; padding: 0; list-style: none; }

/* --- phone and tablet frames (hero, in design units) */
.np-ipad, .np-iphone, .np-pixel {
  padding: 0.7em;
  border-radius: 3.4em;
  background: var(--a-frame);
  box-shadow: inset 0 0 0 0.2em rgba(246, 239, 228, 0.14), 0 3em 5em -2.4em rgba(13, 22, 38, 0.6);
}
.np-ipad { border-radius: 2.6em; padding: 1em; }
.np-pixel { border-radius: 2.8em; }
.np-dev .np-scr {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.8em;
  background: var(--a-bg);
  color: var(--a-ink);
}
.np-ipad .np-scr { border-radius: 1.7em; }
.np-pixel .np-scr { border-radius: 2.2em; }
.np-iphone .np-scr::before, .np-pixel .np-scr::before {
  content: "";
  position: absolute;
  top: 1em; left: 50%;
  width: 6.4em; height: 1.9em;
  transform: translateX(-50%);
  border-radius: 1em;
  background: var(--a-frame);
}
.np-pixel .np-scr::before { width: 1.6em; height: 1.6em; }

.np-sbar { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 2.2em 0; font-size: 1.1em; }
.np-sbar b { font-weight: 700; }
.np-sbar i { width: 3.6em; height: 0.9em; border-radius: 0.3em; background: linear-gradient(90deg, currentColor 0 62%, transparent 62% 70%, currentColor 70%); opacity: 0.75; }
.np-ipad .np-sbar { padding: 0.8em 1.6em 0; font-size: 0.9em; }

.np-appbar { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.2em 1.4em 0.4em; font-size: 1.2em; color: var(--a-brass); font-weight: 600; }
.np-back::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.3em; border: solid currentColor; border-width: 0 0 0.14em 0.14em; transform: rotate(45deg); }
.np-arrow { width: 1.2em; height: 0.14em; background: var(--a-ink); position: relative; }
.np-arrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 0.6em; height: 0.6em; border: solid var(--a-ink); border-width: 0 0 0.14em 0.14em; transform: translate(0, -50%) rotate(45deg); }
.np-app-r { display: flex; gap: 0.8em; }
.np-app-r i { width: 1.2em; height: 1.2em; border-radius: 50%; border: 0.14em solid var(--a-mute); opacity: 0.7; }
.np-ic-side { width: 1.5em; height: 1.2em; border: 0.14em solid var(--a-brass); border-radius: 0.3em; }

/* --- the note, the same everywhere */
.np-note { padding: 0.6em 1.6em 1.4em; }
.np-nt { font-size: 2em; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.np-nm { display: flex; align-items: center; flex-wrap: wrap; gap: 0 0.9em; margin-top: 0.3em !important; font-size: 1em; line-height: 1.5; color: var(--a-mute); }
.np-nm svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.np-e2e { display: inline-flex; align-items: center; gap: 0.3em; }
.np-nh { margin-top: 1em !important; font-size: 1.45em; font-weight: 700; }
.np-np { margin-top: 0.5em !important; font-size: 1.2em; line-height: 1.6; }
.np-cl { margin-top: 0.8em !important; }
.np-ck {
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: 100%;
  min-height: 2.2em;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 1.2em;
  text-align: left;
  cursor: pointer;
  border-radius: 0.4em;
}
.np-ck > i {
  flex: none;
  position: relative;
  width: 1.15em; height: 1.15em;
  border-radius: 0.25em;
  box-shadow: inset 0 0 0 0.11em var(--a-mute);
  transition: background-color var(--dur-micro) linear, box-shadow var(--dur-micro) linear;
}
.np-ck > i::after {
  content: "";
  position: absolute;
  inset: 0.18em;
  background: #FBFAF8;
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
  transform: scale(0);
  transition: transform var(--dur-standard) var(--ease-spring);
}
.np-ck.is-done > i { background: var(--a-brass); box-shadow: none; }
.np-ck.is-done > i::after { transform: none; }
.np-ck.is-done > span { color: var(--a-mute); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--a-mute) 70%, transparent); }
.np-ck.is-hit { animation: np-hit 0.9s ease-out; }
button.np-ck:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.np-photo { width: 100%; height: auto; margin-top: 1em; border-radius: 0.8em; }

.np-dev .np-nm span[data-ed] { transition: color 0.4s linear; }
.np-dev .np-nm span[data-ed].is-new { color: var(--a-brass); font-weight: 700; }

/* --- the Mac window */
.np-win {
  display: grid;
  grid-template-columns: 15.6em 21.4em minmax(0, 1fr);
  height: 100%;
  overflow: hidden;
  border-radius: 1.1em;
  background: var(--a-bg);
  color: var(--a-ink);
  box-shadow: var(--a-shadow), 0 4em 7em -3em rgba(13, 22, 38, 0.45);
}
.np-tl { display: flex; gap: 0.7em; }
.np-tl i { width: 1.15em; height: 1.15em; border-radius: 50%; background: #E36459; }
.np-tl i:nth-child(2) { background: #E9B23F; }
.np-tl i:nth-child(3) { background: #5DB453; }
.np-win-side { position: relative; padding: 1.4em 1em; background: var(--a-side); font-size: 1em; }
.np-win-side .np-tl { margin-bottom: 2em; padding-left: 0.4em; }
.np-sb { display: flex; align-items: center; gap: 0.6em; padding: 0.5em 0.7em; border-radius: 0.6em; font-size: 1.15em; font-weight: 600; }
.np-sb span { margin-left: auto; font-weight: 500; color: var(--a-mute); }
.np-sb.is-on { background: color-mix(in srgb, var(--a-brass) 22%, transparent); }
/* The count on the selected row: a step deeper than secondary, so it keeps 4.5:1 on the brass tint. */
.np-sb.is-on span { color: color-mix(in srgb, var(--a-mute) 80%, var(--a-ink)); }
.np-sb-h { margin: 1.4em 0 0.3em !important; padding-left: 0.7em; font-size: 0.95em; font-weight: 700; color: var(--a-mute); }
.np-tag { width: 0.8em; height: 0.8em; border-radius: 50%; }
.np-tag--g { background: #8EA584; }
.np-tag--b { background: #8FA3BC; }
.np-win-foot { position: absolute; left: 1.7em; right: 1em; bottom: 1.4em; }
.np-win-foot svg { width: 7.4em; height: auto; color: var(--a-ink); }
.np-win-foot p { margin-top: 0.4em !important; font-size: 0.95em; color: var(--a-mute); }
.np-win-list { padding: 1.4em 0.9em; border-inline: 1px solid var(--a-line); overflow: hidden; }
.np-search { padding: 0.6em 1em; border-radius: 0.7em; box-shadow: inset 0 0 0 1px var(--a-line); font-size: 1.1em; color: var(--a-mute); }
.np-lh { margin: 1.4em 0 0.5em !important; padding-left: 0.6em; font-size: 0.95em; font-weight: 700; color: var(--a-mute); }
.np-li { padding: 0.75em 0.9em; border-radius: 0.8em; font-size: 1em; }
.np-li b, .np-li span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-li b { font-size: 1.2em; }
.np-li span { margin-top: 0.2em; font-size: 1.05em; color: var(--a-mute); }
.np-li.is-on { background: color-mix(in srgb, var(--a-brass) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-brass) 40%, transparent); }
.np-win-doc { min-width: 0; overflow: hidden; }
.np-tools { display: flex; gap: 1.2em; padding: 1.5em 2.4em 0.6em; }
.np-tools i { width: 1.3em; height: 1.3em; border-radius: 0.3em; background: color-mix(in srgb, var(--a-mute) 30%, transparent); }
.np-mac .np-note { padding: 1.6em 3em; }
.np-mac .np-nt { font-size: 2.6em; }
.np-mac .np-photo { width: 62%; }

.np-ipad .np-note { padding: 1em 2.2em; }
.np-ipad .np-photo { width: 70%; }
.np-iphone .np-note, .np-pixel .np-note { font-size: 0.82em; }
.np-appbar--m { color: var(--a-ink); }

/* The travelling sync dots live on this layer. */
.np-wires { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.np-wires path { fill: none; stroke: var(--on-band-brass); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 0 5; opacity: 0.8; }
.np-wires circle { fill: var(--on-band-brass); }
.np-wires .np-ring { fill: none; stroke: var(--on-band-brass); stroke-width: 1.5; }

/* A slow drift as the fleet scrolls away: the phones lift a little more than
   the Mac. Only where scroll timelines exist, and never under Reduce Motion. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .np-iphone, .np-pixel {
      animation: np-drift linear both;
      animation-timeline: view();
      animation-range: cover 40% cover 100%;
    }
    .np-pixel { animation-name: np-drift-b; }
  }
}
@keyframes np-drift { to { translate: 0 calc(-28 * var(--u)); } }
@keyframes np-drift-b { to { translate: 0 calc(-40 * var(--u)); } }

/* ============================================================ the chapters */

.np-adds { padding-block: clamp(56px, 2rem + 4vw, 112px) var(--s-section); }
.np-adds-head { max-width: 40rem; }
.np-adds-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 64, "SOFT" 0, "WONK" 0;
}
.np-adds-head p { margin-top: var(--s-4); max-width: 46ch; font-size: var(--t-lede); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.np-adds-head .np-wire { font-size: var(--t-body); }

.np-ch {
  display: grid;
  gap: var(--s-6);
  margin-top: clamp(72px, 2rem + 7vw, 160px);
  scroll-margin-top: 96px;
}
@media (min-width: 960px) {
  .np-ch { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 1rem + 4vw, 96px); align-items: center; }
  .np-ch--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .np-ch--flip .np-ch-text { order: 2; }
}
.np-ch-text h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.375rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 48, "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}
.np-ch-text > p { margin-top: var(--s-4); max-width: 42ch; font-size: var(--t-lede); line-height: 1.55; text-wrap: pretty; }
.np-ch-text > .np-aside { font-size: var(--t-body); line-height: 1.6; color: var(--muted); }
.np-try {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s-5) !important;
  font-size: var(--t-small) !important;
  font-weight: 700;
  color: var(--on-band-brass);
}
.np-try svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.np-roles { margin: var(--s-5) 0 0; max-width: 42ch; border-top: 1px solid var(--line); }
.np-roles div { display: grid; grid-template-columns: 4.5em 1fr; gap: var(--s-3); padding-block: 12px; border-bottom: 1px solid var(--line); font-size: var(--t-small); line-height: 1.5; }
.np-roles dt { font-weight: 700; }
.np-roles dd { margin: 0; color: var(--muted); }

.np-steps { margin: var(--s-5) 0 0; padding: 0; list-style: none; counter-reset: np-step; max-width: 42ch; }
.np-steps li {
  counter-increment: np-step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding-block: 8px;
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--muted);
  transition: color var(--dur-standard) linear;
}
.np-steps li::before {
  content: counter(np-step);
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--on-band-line);
  font-size: var(--t-micro);
  font-weight: 700;
  color: var(--ink);
  transition: background-color var(--dur-standard) linear, color var(--dur-standard) linear;
}
.np-steps li.is-on { color: var(--ink); }
.np-steps li.is-on::before { background: var(--on-band-brass); color: #1B2A41; box-shadow: none; }

/* The stage: a lit panel on the ink band, as on the home page. */
.np-stage {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  padding: clamp(18px, 0.5rem + 2.4cqw, 40px);
  border-radius: clamp(20px, 1rem + 0.8vw, 30px);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(201, 163, 102, 0.16), transparent 70%),
    linear-gradient(180deg, #24364F, #17233A);
  box-shadow: inset 0 0 0 1px rgba(246, 239, 228, 0.09), 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.np-sc { position: relative; color: var(--a-ink); }
/* Zero specificity, so each control's own class sets its size and weight. */
:where(.np-sc) :is(button, input) { font: inherit; }

/* A phone, in real pixels, for the chapters. */
.np-phone {
  position: relative;
  width: 230px;
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 38px;
  background: var(--a-frame);
  box-shadow: inset 0 0 0 1.5px rgba(246, 239, 228, 0.16), 0 30px 50px -24px rgba(0, 0, 0, 0.7);
  font-size: 10px;
}
.np-phone .np-scr { position: relative; height: 100%; overflow: hidden; border-radius: 31px; background: var(--a-bg); color: var(--a-ink); }
.np-phone .np-scr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 64px; height: 19px; transform: translateX(-50%); border-radius: 10px; background: var(--a-frame); }
.np-phone--m { border-radius: 30px; }
.np-phone--m .np-scr { border-radius: 24px; }
.np-phone--m .np-scr::before { width: 15px; height: 15px; }
.np-whose { margin-top: 12px !important; text-align: center; font-size: var(--t-small); font-weight: 600; color: var(--on-band-muted); }
.np-small { margin-top: 6px !important; font-size: 12px; line-height: 1.45; color: var(--a-mute); }
.np-tick { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #587154; }
.np-tick svg { width: 20px; height: 20px; fill: none; stroke: #FBFAF8; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.np-row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--a-line); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.np-row span { color: var(--a-mute); font-weight: 500; }

/* ---------------------------------------------------- 1 · one vault */

.np-one { display: flex; flex-direction: column; align-items: center; }
.np-pick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 239, 228, 0.08);
  box-shadow: inset 0 0 0 1px rgba(246, 239, 228, 0.12);
}
.np-pk {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--on-band-muted);
  cursor: pointer;
  transition: background-color var(--dur-standard) linear, color var(--dur-standard) linear;
}
.np-pk:hover { color: var(--on-band); }
.np-pk input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.np-pk svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.np-pk:has(input:checked) { background: var(--on-band); color: #1B2A41; }
.np-pk:has(input:focus-visible) { outline: 2px solid var(--on-band-brass); outline-offset: 2px; }
@container (max-width: 520px) {
  .np-pk { padding: 0 11px; }
  .np-pk span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.np-mf-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(380px, 62cqw, 470px);
  margin-top: 18px;
}
/* The frame: one element whose shape springs between devices. Default (and
   without :has()) is the Mac. */
.np-mf {
  --fw: min(560px, 92cqw);
  --fh: min(352px, 58cqw);
  position: relative;
  display: flex;
  flex-direction: column;
  width: var(--fw);
  height: var(--fh);
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--a-bg);
  color: var(--a-ink);
  box-shadow: var(--a-shadow);
  font-size: 10px;
  transition: width 0.45s var(--ease-spring), height 0.45s var(--ease-spring),
              border-radius 0.45s var(--ease-spring), padding 0.45s var(--ease-spring),
              background-color 0.3s linear;
}
.np-mf-chrome { position: relative; flex: none; height: 30px; }
.np-mf-chrome > i { position: absolute; transition: opacity 0.25s linear; opacity: 0; }
.np-mf-chrome .np-tl { left: 14px; top: 11px; display: flex; gap: 7px; }
.np-mf-chrome .np-tl i { position: static; width: 11px; height: 11px; }
.np-mf-chrome .np-island { left: 50%; top: 9px; width: 70px; height: 20px; margin-left: -35px; border-radius: 10px; background: var(--a-frame); }
.np-mf-chrome .np-cam { left: 50%; top: 10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--a-frame); }
.np-mf-body { display: flex; flex: 1; min-height: 0; }
.np-mf-side { flex: none; width: 150px; padding: 6px 10px; background: var(--a-side); transition: width 0.45s var(--ease-spring), padding 0.45s var(--ease-spring), opacity 0.3s linear; overflow: hidden; white-space: nowrap; }
.np-mf-side .np-sb { font-size: 12px; }
.np-mf-main { flex: 1; min-width: 0; overflow: hidden; }
.np-mf .np-appbar { padding: 4px 18px 0; font-size: 13px; }
.np-mf .np-appbar > span { transition: opacity 0.25s linear; }
.np-mf .np-note { padding: 6px 22px 18px; font-size: 10px; }
.np-mf .np-nt { font-size: 22px; }
.np-mf .np-nm, .np-mf .np-np, .np-mf .np-ck { font-size: 12.5px; }
.np-mf .np-nh { font-size: 15px; }
.np-mf .np-photo { max-width: 280px; }

/* Mac by default: traffic lights, a sidebar, no back button. */
.np-mf .np-tl { opacity: 1; }
.np-mf .np-back, .np-mf .np-arrow { display: none; }
@supports selector(:has(*)) {
  .np-one:has(#np-d-iphone:checked) .np-mf,
  .np-one:has(#np-d-pixel:checked) .np-mf {
    --fw: 214px; --fh: min(440px, 100%);
    padding: 7px; border-radius: 36px; background: var(--a-frame);
  }
  .np-one:has(#np-d-pixel:checked) .np-mf { border-radius: 30px; }
  .np-one:has(#np-d-ipad:checked) .np-mf { --fw: min(470px, 90cqw); --fh: min(350px, 64cqw); padding: 12px; border-radius: 26px; background: var(--a-frame); }
  .np-one:has(#np-d-tab:checked) .np-mf { --fw: min(520px, 92cqw); --fh: min(330px, 60cqw); padding: 12px; border-radius: 20px; background: var(--a-frame); }

  .np-one:has(:is(#np-d-iphone, #np-d-pixel, #np-d-ipad, #np-d-tab):checked) .np-mf-chrome { position: absolute; inset: 7px 7px auto; z-index: 2; }
  .np-one:has(:is(#np-d-iphone, #np-d-pixel, #np-d-ipad, #np-d-tab):checked) .np-mf-body { border-radius: 30px; background: var(--a-bg); padding-top: 26px; overflow: hidden; }
  .np-one:has(#np-d-pixel:checked) .np-mf-body { border-radius: 24px; }
  .np-one:has(:is(#np-d-ipad, #np-d-tab):checked) .np-mf-body { border-radius: 14px; padding-top: 12px; }

  .np-one:has(:is(#np-d-iphone, #np-d-pixel, #np-d-ipad, #np-d-tab):checked) .np-tl { opacity: 0; }
  .np-one:has(#np-d-iphone:checked) .np-island { opacity: 1; }
  .np-one:has(#np-d-pixel:checked) .np-cam { opacity: 1; }
  .np-one:has(:is(#np-d-iphone, #np-d-pixel):checked) .np-mf-side { width: 0; padding-inline: 0; opacity: 0; }
  .np-one:has(:is(#np-d-ipad, #np-d-tab):checked) .np-mf-side { width: 128px; }
  .np-one:has(#np-d-iphone:checked) .np-back { display: inline; }
  .np-one:has(#np-d-pixel:checked) .np-arrow { display: block; }
  .np-one:has(:is(#np-d-iphone, #np-d-pixel):checked) .np-mf .np-note { padding: 4px 16px 14px; }
  .np-one:has(:is(#np-d-iphone, #np-d-pixel):checked) .np-mf .np-nt { font-size: 19px; }
  .np-one:has(:is(#np-d-iphone, #np-d-pixel):checked) .np-mf :is(.np-nm, .np-np, .np-ck) { font-size: 11.5px; }
  .np-one:has(#np-d-pixel:checked) .np-appbar { color: var(--a-ink); }
}
.np-count { margin-top: 14px !important; font-size: var(--t-small); font-weight: 600; color: var(--on-band-muted); text-align: center; }

/* -------------------------------------------- 2 · write together */

.np-share { display: flex; align-items: center; gap: 22px; min-height: 440px; }
.np-ed {
  flex: 1;
  min-width: 0;
  padding: 16px 24px 18px;
  border-radius: 16px;
  background: var(--a-bg);
  box-shadow: var(--a-shadow);
  font-size: 10px;
}
.np-ed-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px !important; }
.np-ed-top .np-tl i { width: 11px; height: 11px; }
.np-faces { display: flex; }
.np-face {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
  color: #FBFAF8;
  box-shadow: 0 0 0 2px var(--a-bg);
}
.np-face + .np-face { margin-left: -5px; }
.np-face--ana { background: var(--a-ana); }
.np-face--ioan { background: var(--a-ioan); }
.np-face--me { background: var(--a-me); }
.np-ed .np-nt { font-size: 24px; }
.np-ed .np-nm { font-size: 12.5px; }
.np-ed .np-np { font-size: 15px; line-height: 1.6; }
.np-ln { position: relative; }
.np-rc {
  position: relative;
  display: inline-block;
  width: 2px; height: 1.25em;
  margin-left: 1px;
  vertical-align: -0.22em;
  font-style: normal;
  background: var(--c);
  transition: opacity 0.25s linear;
}
.np-rc b {
  position: absolute;
  left: 0; bottom: 100%;
  padding: 1px 6px;
  border-radius: 4px 4px 4px 0;
  background: var(--c);
  color: #ECEDEF;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.np-rc--ana { --c: var(--a-ana); }
.np-rc--ioan { --c: var(--a-ioan); }
.np-rc--me { --c: var(--a-me); }
.np-rc.is-idle { opacity: 0; }
.np-mine { display: block; margin-top: 8px; }
.np-mine input {
  display: block;
  width: 100%;
  padding: 8px 10px;
  margin-inline: -10px;
  width: calc(100% + 20px);
  border: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--a-brass) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-brass) 45%, transparent);
  color: var(--a-ink);
  caret-color: var(--a-brass);
  font-size: 15px;
  line-height: 1.5;
}
.np-mine input::placeholder { color: var(--a-mute); }
.np-mine input:focus { outline: 2px solid var(--a-brass); outline-offset: 2px; }
.np-foot { display: flex; align-items: center; gap: 7px; margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--a-line); font-size: 12.5px; font-weight: 600; color: var(--a-mute); }
.np-foot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.np-ana { flex: none; }
.np-ana .np-phone { width: 196px; }
/* A narrower phone: a smaller island and battery, so the status icons clear it. */
.np-ana .np-scr::before { width: 50px; }
.np-ana .np-sbar i { width: 3.2em; }
.np-ana .np-appbar { padding: 34px 14px 4px; font-size: 12px; }
.np-ana .np-face { width: 20px; height: 20px; font-size: 10px; }
.np-ana .np-note { padding: 4px 14px; }
.np-ana .np-nt { font-size: 17px; }
.np-ana .np-np { font-size: 11.5px; line-height: 1.55; }
.np-ana .np-rc b { font-size: 9px; padding: 0 4px; }
.np-ln--me:empty, .np-ln--me.is-empty { display: none; }
.np-ln.is-fresh > span { animation: np-wash 1.4s ease-out; }

@container (max-width: 600px) {
  .np-share { flex-direction: column; align-items: stretch; min-height: 0; gap: 18px; }
  .np-ana { align-self: center; }
  .np-ana .np-phone { width: 190px; aspect-ratio: 9 / 13; }
  .np-ed { padding: 14px 16px 16px; }
}

/* ----------------------------------------- 3 · encrypted before upload */

.np-xray { --x: 50%; padding-top: 34px; }
.np-x-cap { position: absolute; top: 0; font-size: var(--t-small); font-weight: 700; color: var(--on-band); }
.np-x-cap--l { left: 0; }
.np-x-cap--r { right: 0; color: var(--on-band-brass); }
.np-x-card { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--a-shadow); }
.np-x-layer { padding: 22px 26px 24px; font-size: 10px; }
.np-x-plain { background: var(--a-bg); color: var(--a-ink); }
.np-x-cipher {
  position: absolute;
  inset: 0;
  background: #101A2B;
  color: #C2BAAD;
  clip-path: inset(0 0 0 var(--x));
}
.np-x-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.np-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--a-chip); font-size: 12px; font-weight: 600; }
.np-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.np-x-layer .np-nt { margin-top: 12px !important; font-size: 24px; }
.np-x-layer .np-np, .np-x-layer .np-ck { font-size: 14px; }
.np-x-layer .np-ck { min-height: 28px; cursor: default; }
.np-x-att { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.np-x-att img, .np-noise { flex: none; width: 112px; height: 63px; border-radius: 8px; object-fit: cover; }
.np-x-att p { display: grid; font-size: 12.5px; }
.np-x-att span { color: var(--a-mute); }
.np-c { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0; word-break: break-all; }
.np-x-cipher .np-chip { background: rgba(246, 239, 228, 0.08); color: #C2BAAD; font-weight: 500; }
.np-x-cipher .np-nt { font-size: 20px; line-height: 28.8px; font-weight: 500; color: #F6EFE4; }
.np-x-cipher .np-np { font-size: 12.5px; line-height: 22.4px; }
.np-x-cipher .np-cl li { display: flex; align-items: center; min-height: 28px; font-size: 12.5px; }
.np-x-cipher .np-chip { line-height: 1.6; }
.np-x-plain .np-chip { line-height: 1.6; }
.np-x-cipher .np-x-att span, .np-x-meta { color: #C9A366; font-weight: 700; }
.np-x-meta { position: absolute; right: 26px; top: 24px; font-size: 12px; }
.np-noise {
  display: block;
  background-color: #24364F;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='63'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1' seed='7'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='discrete' tableValues='.1 .3 .5 .8'/%3E%3CfeFuncG type='discrete' tableValues='.15 .3 .45 .7'/%3E%3CfeFuncB type='discrete' tableValues='.25 .4 .55 .7'/%3E%3CfeFuncA type='discrete' tableValues='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 112px 63px;
  image-rendering: pixelated;
}
.np-x-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; pointer-events: none; }
.np-x-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #C9A366; }
.np-x-handle i {
  position: absolute; top: 50%; left: calc(var(--kx, 0px) - 17px);
  width: 34px; height: 34px; margin-top: -17px;
  border-radius: 50%;
  background: #C9A366;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
.np-x-handle i::before, .np-x-handle i::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border: solid #1B2A41; border-width: 0 0 2px 2px;
}
.np-x-handle i::before { left: 8px; transform: rotate(45deg); }
.np-x-handle i::after { right: 8px; transform: rotate(-135deg); }
/* The range is the whole card: drag anywhere on it. Without a script it
   does nothing, so it only appears once the script is there. */
.np-x-range {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 34px;
  width: 100%;
  height: calc(100% - 34px);
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  display: none;
  touch-action: pan-y;
}
.np-xray.is-live .np-x-range { display: block; }
.np-xray.is-live:has(.np-x-range:focus-visible) .np-x-handle i { outline: 2px solid var(--on-band); outline-offset: 3px; }

/* ----------------------------------------------- 4 · a new device */

.np-pair { display: flex; align-items: center; gap: 28px; min-height: 440px; }
.np-dlg {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 400px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--a-bg);
  color: var(--a-ink);
  box-shadow: var(--a-shadow);
}
.np-dlg-h { display: flex; gap: 12px; align-items: flex-start; }
.np-dlg-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--a-chip); }
.np-dlg-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--a-brass); stroke-width: 1.7; stroke-linejoin: round; }
.np-dlg-t { font-size: 17px; font-weight: 700; }
.np-dlg-s { margin-top: 2px !important; font-size: 12.5px; line-height: 1.45; color: var(--a-mute); }
.np-dlg-dev { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px !important; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--a-line); font-size: 13px; }
.np-dlg-dev b { flex: none; }
.np-dlg-dev span { color: var(--a-mute); font-size: 12px; text-align: right; }
.np-dlg-c { margin-top: 14px !important; text-align: center; font-size: 12px; font-weight: 600; color: var(--a-mute); }
.np-code { display: flex; justify-content: center; gap: 6px; margin-top: 6px !important; }
.np-code b {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 44px;
  border-radius: 8px;
  background: var(--a-chip);
  box-shadow: inset 0 0 0 1px var(--a-line);
  font-size: 22px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.np-code b:nth-child(3) { margin-right: 8px; }
.np-dlg-ck {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--a-chip);
  font-size: 13.5px;
  cursor: pointer;
}
.np-dlg-ck input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--a-brass); cursor: pointer; }
.np-dlg-ck b { font-variant-numeric: tabular-nums; }
.np-dlg-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
/* Deny and approve side by side, equal widths, as the app's approval sheet has them. */
.np-dlg-b > button { white-space: nowrap; padding-inline: 12px; }
/* Where the two no longer fit on one line (phones), each takes a full row
   rather than running past the sheet's edge. */
.np-dlg-b > .np-deny { flex: 1 0 auto; }
.np-dlg-b > .np-approve { flex: 1 1 auto; }
.np-deny, .np-approve, .np-lv-go, .np-reset {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-spring), opacity var(--dur-standard) linear, background-color var(--dur-standard) linear;
}
.np-deny { background: transparent; color: #A1453C; box-shadow: inset 0 0 0 1px currentColor; }
@media (prefers-color-scheme: dark) { .np-deny { color: #E08B80; } }
.np-approve { background: var(--a-brass); color: #1B2A41; }
.np-approve svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.np-approve:disabled { opacity: 0.45; cursor: not-allowed; }
.np-deny:active, .np-approve:not(:disabled):active, .np-lv-go:active, .np-reset:active { transform: scale(0.97); }
.np-sc :is(.np-deny, .np-approve, .np-lv-go, .np-reset):focus-visible { outline: 2px solid var(--a-brass); outline-offset: 2px; }
.np-approve.is-scanning svg { animation: np-scan 0.7s ease-in-out; }
.np-dlg-ok { display: none; margin-top: 14px; }
.np-dlg-yes { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.np-again.btn-quiet { margin-top: 12px; min-height: 40px; padding: 8px 18px; font-size: 13px; color: var(--a-ink); border-color: color-mix(in srgb, var(--a-ink) 40%, transparent); }
.np-pair[data-state="yes"] .np-dlg-ask, .np-pair[data-state="no"] .np-dlg-ask { display: none; }
.np-pair[data-state="yes"] .np-dlg-ok, .np-pair[data-state="no"] .np-dlg-ok { display: block; }
.np-tick .np-n { display: none; }
.np-tick.is-no { background: #8D5C58; }
.np-tick.is-no .np-y { display: none; }
.np-tick.is-no .np-n { display: inline; }

.np-pixel-new { flex: none; }
.np-pixel-new .np-phone { width: 196px; }
.np-pw { position: absolute; inset: 40px 14px 14px; transition: opacity 0.35s linear; }
.np-pw .np-nt { font-size: 16px; }
.np-pw .np-code { gap: 3px; }
.np-pw .np-code b { width: 22px; height: 32px; font-size: 15px; border-radius: 6px; }
.np-pw .np-code b:nth-child(3) { margin-right: 5px; }
.np-waiting { margin-top: 18px !important; text-align: center; }
.np-waiting::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--a-brass); vertical-align: 1px; animation: np-blink 1.4s ease-in-out infinite; }
.np-pw--list .np-nt { margin-bottom: 6px !important; }
.np-pw--list .np-row { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; }
.np-pw--list, .np-pw--no { opacity: 0; visibility: hidden; }
.np-pair[data-state="yes"] .np-pw--wait, .np-pair[data-state="no"] .np-pw--wait { opacity: 0; visibility: hidden; }
.np-pair[data-state="yes"] .np-pw--list, .np-pair[data-state="no"] .np-pw--no { opacity: 1; visibility: visible; }
.np-pair[data-state="yes"] .np-pw--list .np-row { animation: np-rise 0.45s var(--ease-spring) both; }
.np-pair[data-state="yes"] .np-pw--list .np-row:nth-child(3) { animation-delay: 60ms; }
.np-pair[data-state="yes"] .np-pw--list .np-row:nth-child(4) { animation-delay: 120ms; }
.np-pair[data-state="yes"] .np-pw--list .np-row:nth-child(5) { animation-delay: 180ms; }
.np-pair[data-state="yes"] .np-pw--list .np-row:nth-child(6) { animation-delay: 240ms; }
.np-pair[data-state="yes"] .np-pw--list .np-row:nth-child(7) { animation-delay: 300ms; }
.np-pair-wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.np-pair-wire path { fill: none; stroke: #C9A366; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 7; vector-effect: non-scaling-stroke; }
.np-pair.is-sending .np-pair-wire { opacity: 1; animation: np-flow 0.9s linear both; }
@container (max-width: 600px) {
  .np-pair { flex-direction: column; align-items: stretch; min-height: 0; }
  .np-dlg { max-width: none; }
  .np-pixel-new { align-self: center; }
  .np-pair-wire { display: none; }
}

/* ------------------------------------------------------- 5 · 5 GB */

.np-store { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; min-height: 440px; padding-bottom: 40px; }
.np-files { display: grid; gap: 10px; }
.np-file {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: var(--a-bg);
  color: var(--a-ink);
  text-align: left;
  box-shadow: 0 14px 24px -16px rgba(0, 0, 0, 0.7);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.3s linear, transform 0.35s var(--ease-spring), box-shadow 0.2s linear;
}
.np-file:focus-visible { outline: 2px solid var(--on-band-brass); outline-offset: 3px; }
.np-file.is-drag { cursor: grabbing; transition: none; z-index: 5; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.8); position: relative; }
.np-file.is-in { opacity: 0.35; pointer-events: none; }
.np-file.is-wait { box-shadow: inset 0 0 0 2px #C9A366; }
.np-fthumb {
  grid-row: 1 / 3;
  display: flex; align-items: flex-end; justify-content: center;
  width: 44px; height: 44px;
  padding-bottom: 5px;
  border-radius: 9px;
  background: var(--a-chip);
  font-size: 9.5px; font-weight: 800;
  color: var(--a-ink);
}
.np-fthumb--photo { background: url("img/nor-page/trip-photo-360.webp") center / cover; }
.np-fthumb--pdf { background: #E9D9D2; color: #8D3F34; }
.np-fthumb--key { background: #DCE3EC; color: #2E4A6B; }
.np-fthumb--mov { background: linear-gradient(135deg, #587154, #8EA584); position: relative; }
.np-fthumb--mov::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px; border: 7px solid transparent; border-left: 11px solid #FBFAF8; border-right: 0; }
.np-fname { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-fsize { font-size: 12px; color: var(--a-mute); }

.np-meter {
  position: relative;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--a-bg);
  box-shadow: var(--a-shadow);
  transition: box-shadow 0.2s linear, transform 0.35s var(--ease-spring);
}
.np-meter.is-over { box-shadow: 0 0 0 3px #C9A366, var(--a-shadow); transform: scale(1.015); }
.np-meter-h { font-size: 12.5px; font-weight: 700; color: var(--a-mute); }
.np-meter-v { margin-top: 2px !important; font-family: "Fraunces", Georgia, serif; font-size: 26px; font-weight: 600; line-height: 1.2; font-variation-settings: "opsz" 30; }
.np-meter-bar { display: flex; height: 10px; margin-top: 12px !important; overflow: hidden; border-radius: 6px; background: color-mix(in srgb, var(--a-ink) 10%, transparent); }
.np-seg { display: block; height: 100%; transition: width 0.6s var(--ease-spring); }
.np-seg--a, .np-key--a { background: var(--a-ink); }
.np-seg--b, .np-key--b { background: #8A8278; }
.np-seg--c, .np-key--c { background: var(--a-brass); }
.np-seg--a { width: 0.84%; }
.np-seg--b { width: 4.24%; }
.np-seg--c { width: 30.92%; }
.np-meter-pc { margin-top: 6px !important; text-align: right; font-size: 12px; font-weight: 600; color: var(--a-mute); }
.np-meter-rows li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--a-line); font-size: 13px; font-weight: 600; }
.np-meter-rows span { margin-left: auto; color: var(--a-mute); }
.np-key { width: 9px; height: 9px; border-radius: 50%; }
.np-full { display: none; margin-top: 10px !important; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, #8D5C58 14%, transparent); font-size: 12.5px; line-height: 1.45; }
.np-store.is-full .np-full { display: block; }
.np-sealed {
  position: absolute; left: 50%; top: -14px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  background: #1B2A41;
  color: #F6EFE4;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, 6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s linear, transform 0.35s var(--ease-spring);
}
.np-sealed svg { width: 14px; height: 14px; fill: none; stroke: #C9A366; stroke-width: 2; stroke-linecap: round; }
.np-sealed.is-on { opacity: 1; transform: translate(-50%, 0); }
.np-reset {
  position: absolute; right: 0; bottom: 0;
  min-height: 36px;
  background: transparent;
  color: var(--on-band-muted);
  box-shadow: inset 0 0 0 1px var(--on-band-line);
  font-size: 12.5px;
}
.np-reset:hover { color: var(--on-band); }
.np-reset:focus-visible { outline-color: var(--on-band-brass) !important; }
.np-store:not(.is-live) .np-reset { display: none; }
@container (max-width: 600px) {
  .np-store { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .np-files { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .np-file { grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; padding: 8px; }
  .np-fthumb { width: 34px; height: 34px; }
  .np-fname { font-size: 12.5px; }
}

/* ------------------------------------------------------ 6 · leaving */

.np-leave { display: flex; align-items: center; justify-content: center; gap: 0; min-height: 520px; }
.np-lv-phone .np-phone { width: 248px; }
.np-lv { position: absolute; inset: 38px 16px 16px; display: flex; flex-direction: column; transition: opacity 0.35s linear, visibility 0s linear; }
.np-lv .np-appbar { justify-content: flex-start; gap: 18px; padding: 0 0 12px; font-size: 12.5px; }
.np-app-t { color: var(--a-ink); font-weight: 700; }
.np-lv-t { margin-top: 4px !important; font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.np-lv-opts { margin: 12px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.np-lv-opt { position: relative; display: flex; gap: 10px; padding: 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--a-line); font-size: 11.5px; line-height: 1.4; color: var(--a-mute); cursor: pointer; transition: box-shadow var(--dur-micro) linear, background-color var(--dur-micro) linear; }
.np-lv-opt b { display: block; font-size: 13px; color: var(--a-ink); }
.np-lv-opt input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--a-brass); cursor: pointer; }
.np-lv-opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--a-brass); background: color-mix(in srgb, var(--a-brass) 8%, transparent); }
.np-lv-opt:has(input:focus-visible) { outline: 2px solid var(--a-brass); outline-offset: 2px; }
.np-lv-n { margin-top: 10px !important; }
.np-lv-go { margin-top: auto; width: 100%; background: var(--a-brass); color: #1B2A41; }
.np-prog { height: 8px; margin-top: 18px !important; overflow: hidden; border-radius: 5px; background: color-mix(in srgb, var(--a-ink) 10%, transparent); }
.np-prog i { display: block; height: 100%; width: 100%; background: var(--a-brass); transform-origin: left; transform: scaleX(0); }
.np-lv-count { font-variant-numeric: tabular-nums; }
.np-lv-steps { margin-top: 14px !important; }
.np-lv-steps li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--a-line); font-size: 12px; font-weight: 600; color: var(--a-mute); }
.np-lv-steps li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.np-lv-steps li.is-on { color: var(--a-ink); }
.np-lv-steps li.is-on::before { box-shadow: inset 0 0 0 4px var(--a-brass); }
.np-lv-steps li.is-done { color: var(--a-ink); }
.np-lv-steps li.is-done::before { background: #587154; box-shadow: none; }
.np-lv--done { align-items: stretch; text-align: center; padding-top: 30px; }
.np-lv--done .np-tick { align-self: center; width: 48px; height: 48px; margin-bottom: 12px; }
.np-lv--done .np-tick svg { width: 26px; height: 26px; }
.np-lv--done .np-row { text-align: left; }
.np-lv--done .np-small { margin-bottom: 10px !important; }
.np-lv--run, .np-lv--done { opacity: 0; visibility: hidden; }
.np-leave[data-state="run"] .np-lv--ask, .np-leave[data-state="done"] .np-lv--ask,
.np-leave[data-state="done"] .np-lv--run { opacity: 0; visibility: hidden; }
.np-leave[data-state="run"] .np-lv--run, .np-leave[data-state="done"] .np-lv--done { opacity: 1; visibility: visible; }
.np-leave[data-state="done"] .np-lv--done .np-tick { animation: np-pop 0.45s var(--ease-spring) both; }

.np-lv-map { position: relative; flex: none; width: 200px; height: 400px; margin-left: 14px; }
.np-lv-node { position: absolute; right: 0; display: grid; justify-items: center; gap: 6px; width: 96px; font-size: 12.5px; font-weight: 700; color: var(--on-band-muted); }
.np-lv-node--srv { top: 24px; }
.np-lv-node--cloud { bottom: 40px; }
.np-srv { display: grid; gap: 4px; width: 70px; }
.np-srv i { position: relative; height: 15px; border-radius: 4px; background: rgba(246, 239, 228, 0.08); box-shadow: inset 0 0 0 1px rgba(246, 239, 228, 0.2); }
.np-srv i::after { content: ""; position: absolute; right: 6px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: #C9A366; }
.np-lv-node svg { width: 74px; height: auto; fill: rgba(246, 239, 228, 0.06); stroke: #C9A366; stroke-width: 1.6; stroke-linejoin: round; transition: fill 0.6s linear; }
.np-leave[data-state="done"].is-icloud .np-lv-node--cloud svg { fill: rgba(201, 163, 102, 0.3); }
.np-leave.is-phone .np-lv-node--cloud { opacity: 0.35; }
.np-lv-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.np-lv-wire path { fill: none; stroke: #C9A366; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0 6; opacity: 0.35; vector-effect: non-scaling-stroke; }
.np-leave[data-state="run"] .np-lv-down { opacity: 1; animation: np-flow-back 0.7s linear infinite; }
.np-leave[data-state="done"].is-icloud .np-lv-up { opacity: 1; animation: np-flow-back 0.7s linear 3; }
@container (max-width: 560px) {
  .np-lv-map { display: none; }
  .np-leave { min-height: 0; }
}

/* ================================================== do you need Condei Nor? */

.np-need-grid { display: grid; gap: clamp(24px, 1rem + 2vw, 48px); margin-top: clamp(32px, 1.5rem + 2vw, 56px); align-items: center; }
@media (min-width: 900px) { .np-need-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.np-qs { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .np-qs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.np-q { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.np-q legend { padding: 0; margin-bottom: var(--s-3); font-size: var(--t-small); font-weight: 700; }
.np-qo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 44px 10px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--raised) 55%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
  font-size: var(--t-small);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color var(--dur-standard) linear, box-shadow var(--dur-standard) linear;
}
.np-qo:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 40%, transparent); }
.np-qo input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.np-qo::after {
  content: "";
  position: absolute; right: 16px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 45%, transparent);
}
.np-qo:has(input:checked) { background: var(--raised); box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.np-qo:has(input:checked)::after { background: var(--brass); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 0 0 4px var(--raised); }
.np-qo:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

.np-verdict { padding-top: 1.6em; }
.np-v {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 48, "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}
.np-v + .np-v { margin-top: var(--s-4); }
.np-v b { display: block; font-weight: 600; }

.np-vaults { display: grid; gap: 16px; margin: clamp(40px, 2rem + 2.4vw, 64px) 0 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .np-vaults { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 0.5rem + 1vw, 24px); } }
.np-vault {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(22px, 1rem + 0.6vw, 30px) 30px;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
  transition: box-shadow var(--dur-standard) linear, background-color var(--dur-standard) linear, opacity var(--dur-standard) linear;
}
.np-vault h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: var(--t-numeral);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0;
}
.np-for { margin-top: var(--s-1); font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.np-vault p:not(.np-for):not(.np-match) { margin-top: var(--s-4); font-size: var(--t-body); line-height: 1.6; color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.np-vault b { color: var(--ink); font-weight: 700; }
.np-vault--nor {
  --ink: var(--on-band);
  --muted: var(--on-band-muted);
  background: var(--band);
  color: var(--ink);
  box-shadow: 0 30px 60px -32px rgba(27, 42, 65, 0.7);
}
.np-vault--nor h3 { padding-block: 6px 4px; line-height: 0; }
.np-vault-lockup { width: clamp(150px, 8rem + 3vw, 196px); height: auto; }
.np-match { display: none; }

@supports selector(:has(*)) {
  .np-v { display: none; }
  .np-need:has(#nq-apple:checked):has(:is(#nq-solo, #nq-read):checked) [data-v="icloud"],
  .np-need:has(#nq-android:checked):has(:is(#nq-solo, #nq-read):checked) [data-v="local"],
  .np-need:has(#nq-both:checked):not(:has(#nq-edit:checked)) [data-v="nor-sync"],
  .np-need:has(#nq-edit:checked) [data-v="nor-edit"] { display: block; }

  .np-match {
    position: absolute;
    top: -13px; left: clamp(22px, 1rem + 0.6vw, 30px);
    display: flex; align-items: center; gap: 6px;
    height: 26px;
    padding: 0 12px 0 9px;
    border-radius: 13px;
    background: var(--brass);
    color: #1B2A41;
    font-size: var(--t-micro);
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px) scale(0.92);
    transition: opacity var(--dur-standard) linear, transform var(--dur-standard) var(--ease-spring);
  }
  .np-match::before { content: ""; width: 12px; height: 12px; background: currentColor; clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
  .np-need:has(#nq-apple:checked):has(:is(#nq-solo, #nq-read):checked) .np-vault--icloud,
  .np-need:has(#nq-android:checked):has(:is(#nq-solo, #nq-read):checked) .np-vault--local {
    opacity: 1;
    background: var(--raised);
    box-shadow: inset 0 0 0 2px var(--ink), var(--shadow);
  }
  .np-need:has(:is(#nq-both, #nq-edit):checked) .np-vault--nor {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--parchment), 0 0 0 4px var(--brass), 0 30px 60px -32px rgba(27, 42, 65, 0.7);
  }
  .np-need:has(#nq-apple:checked):has(:is(#nq-solo, #nq-read):checked) .np-vault--icloud .np-match,
  .np-need:has(#nq-android:checked):has(:is(#nq-solo, #nq-read):checked) .np-vault--local .np-match,
  .np-need:has(:is(#nq-both, #nq-edit):checked) .np-vault--nor .np-match { opacity: 1; transform: none; }
}

/* ================================================================ prices */

.np-tiers { display: grid; gap: var(--s-5); margin-top: clamp(32px, 1.5rem + 2vw, 56px); max-width: 980px; }
@media (min-width: 760px) { .np-tiers { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; } }
.np-tier {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 1rem + 1.4vw, 40px);
  border-radius: 24px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.np-tier--annual {
  --ink: var(--on-band);
  --muted: var(--on-band-muted);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(201, 163, 102, 0.18), transparent 70%),
    var(--band);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(27, 42, 65, 0.7);
}
.np-tier-lockup { width: 150px; height: auto; margin-bottom: var(--s-5); }
.np-tier h3 { font-size: var(--t-h3); font-weight: 700; }
.np-flag { margin-top: 2px; font-size: var(--t-small); font-weight: 700; color: var(--on-band-brass); }
.np-months { display: flex; align-items: center; gap: 5px; margin-top: var(--s-5); }
.np-months i { width: 10px; height: 10px; border-radius: 50%; background: var(--brass); transition: background-color 0.3s linear, transform 0.3s var(--ease-spring); }
.np-tier--annual .np-months i { background: #C9A366; }
.np-months .np-m-free { background: transparent !important; box-shadow: inset 0 0 0 1.5px #C9A366; }
.np-amount-row { display: flex; align-items: baseline; gap: 4px; margin-top: var(--s-4); }
.np-amount {
  font-family: "Fraunces", Georgia, serif;
  font-size: var(--t-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 1;
}
.np-per { font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.np-terms { margin-top: var(--s-4); max-width: 40ch; font-size: var(--t-body); line-height: 1.6; color: var(--muted); }
.np-soon { margin-top: auto; padding-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }
.np-soon b { color: var(--ink); }
/* When the plans arrive, the months fill in, one by one. */
.np-tiers.is-armed:not(.is-seen) .np-months i:not(.np-m-free) { background: color-mix(in srgb, var(--muted) 30%, transparent); transform: scale(0.8); }
.np-price-foot { display: grid; gap: var(--s-5); margin-top: clamp(28px, 1rem + 2vw, 48px); max-width: 980px; }
@media (min-width: 760px) { .np-price-foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.np-small-print { max-width: 62ch; font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
.np-trust { font-family: "Fraunces", Georgia, serif; font-size: 1.375rem; line-height: 1.3; font-variation-settings: "opsz" 30, "SOFT" 0, "WONK" 0; text-wrap: balance; }

/* ===================================================== leaving, questions */

.np-split { display: grid; gap: clamp(24px, 1rem + 3vw, 64px); }
@media (min-width: 900px) { .np-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.np-split .faq { margin-top: 0; }
.np-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.np-list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-4); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.np-list svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.np-list p { max-width: 58ch; color: var(--muted); line-height: 1.6; }
.np-list b { color: var(--ink); }
.np-note-line { margin-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }

/* ================================================================= close */

.np-close .np-lockup--band { width: clamp(180px, 10rem + 6vw, 260px); }
.np-close h2 {
  margin-top: var(--s-5);
  max-width: 16ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: var(--t-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 64, "SOFT" 0, "WONK" 0;
}
.np-close-copy { align-self: end; }
.np-close-copy p { max-width: 46ch; color: var(--muted); }
.np-close .np-actions { justify-content: flex-start; }
.np-legal { margin-top: var(--s-5); font-size: var(--t-small); }

/* ============================================================= keyframes */

@keyframes np-hit { 0% { background: color-mix(in srgb, var(--a-brass) 30%, transparent); } 100% { background: transparent; } }
@keyframes np-wash { 0% { background: color-mix(in srgb, var(--a-brass) 28%, transparent); } 100% { background: transparent; } }
@keyframes np-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes np-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes np-blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes np-scan { 0%, 100% { transform: none; } 50% { transform: scale(1.25); } }
@keyframes np-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -21; } }
@keyframes np-flow-back { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -12; } }

/* Reduce Motion: every change is a cut, and nothing plays by itself. */
@media (prefers-reduced-motion: reduce) {
  .np-hero *, .np-adds *, .np-price * { animation: none !important; transition: none !important; }
}
@container (max-width: 560px) { .np-x-meta { display: none; } }

/* Hover, for the replica controls that had none. */
@media (hover: hover) {
  button.np-ck:not(.is-done):hover > i { box-shadow: inset 0 0 0 0.11em var(--a-ink); }
  .np-deny:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
  .np-approve:not(:disabled):hover, .np-lv-go:hover { background: color-mix(in srgb, var(--a-brass) 86%, #fff); }
  .np-lv-opt:not(:has(input:checked)):hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a-ink) 35%, transparent); }
  .np-file:not(.is-in, .is-drag):hover { box-shadow: 0 14px 24px -16px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(201, 163, 102, 0.7); }
}
