/* NotePlus website. One stylesheet for every page: solid colors and plain type,
   after tinyweb.so. The palette comes from the app icon: a slate square with a
   blue note (Note) and a yellow note (Plus). */

:root {
  --np-paper: #faf9f6;
  --np-card: #ffffff;
  --np-ink: #15222a;
  --np-muted: #5d6970;
  --np-faint: #8a959b;
  --np-line: #e6e3dd;
  --np-line-strong: #d6d2ca;
  --np-blue: #2d7ecf;
  --np-blue-bright: #54a9ec;
  --np-blue-tint: #e7f1fb;
  --np-amber: #b57606;
  --np-amber-bright: #f2aa1d;
  --np-amber-tint: #fcf1da;
  --np-slate: #111b20;
  --np-slate-2: #1a272e;
  --np-green: #2f8a58;
  --np-green-tint: #e6f4ec;
  --np-red: #c2412d;
  --np-red-tint: #fcebe7;
  --np-warn: #9a6400;
  --np-warn-tint: #fdf3dc;
  --np-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --np-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --np-radius: 22px;
  --np-shadow: 0 1px 2px rgba(21, 34, 42, .04), 0 8px 24px rgba(21, 34, 42, .06);
}

/* 1. Base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--np-paper);
  color: var(--np-ink);
  font-family: var(--np-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd, pre { margin: 0; }
h1, h2, h3, h4, h5 { color: var(--np-ink); font-weight: 600; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--np-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, kbd { font-family: var(--np-mono); }

:focus-visible { outline: 3px solid rgba(45, 126, 207, .45); outline-offset: 3px; }

/* The page scripts toggle these. */
.hidden { display: none !important; }
[hidden] { display: none !important; }

.np-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.np-skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--np-ink);
  color: #fff;
  transform: translateY(-200%);
}
.np-skip-link:focus { transform: none; }

.np-container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.np-narrow { width: min(720px, calc(100% - 64px)); margin-inline: auto; }
.np-main { flex: 1; width: 100%; }
.np-page { padding-top: 116px; padding-bottom: 72px; }

/* 2. Type */

.np-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--np-faint);
}
.np-center { text-align: center; }
.np-center .np-eyebrow, .np-eyebrow.np-center { justify-content: center; }

.np-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--np-faint); box-shadow: 0 0 0 4px rgba(138, 149, 155, .16); }
.np-dot-blue { background: var(--np-blue-bright); box-shadow: 0 0 0 4px var(--np-blue-tint); }
.np-dot-amber { background: var(--np-amber-bright); box-shadow: 0 0 0 4px var(--np-amber-tint); }
.np-dot-green { background: #57b77f; box-shadow: 0 0 0 4px var(--np-green-tint); }

.np-h1 {
  font-size: clamp(54px, 7.6vw, 94px);
  line-height: 1.02;
  letter-spacing: -.062em;
  font-weight: 600;
}
.np-h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.np-h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.np-page-title { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.045em; }
.np-lede { color: var(--np-muted); font-size: 18px; line-height: 1.65; }
.np-muted { color: var(--np-muted); }
.np-small { font-size: 13px; line-height: 1.55; color: var(--np-faint); }
.np-blue { color: var(--np-blue); }
.np-amber { color: var(--np-amber); }
.np-nowrap { white-space: nowrap; }

.np-section-heading > .np-h2 { margin-top: 18px; }
.np-section-heading > .np-lede { max-width: 560px; margin-top: 16px; }
.np-section-heading.np-center > .np-lede { margin-inline: auto; }

/* 3. Buttons */

.np-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--np-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.np-button:hover { text-decoration: none; transform: translateY(-1px); background: #2a3a43; box-shadow: 0 5px 12px rgba(21, 34, 42, .14); }
.np-button:active { transform: none; }
.np-button:disabled, .np-button[aria-disabled="true"] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.np-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.np-button svg.np-fill { fill: currentColor; stroke: none; }

.np-button-blue { background: var(--np-blue); }
.np-button-blue:hover { background: #2470bb; }
.np-button-amber { background: var(--np-amber-bright); color: var(--np-ink); }
.np-button-amber:hover { background: #f6b93f; }
.np-button-secondary { background: var(--np-card); color: var(--np-ink); border-color: var(--np-line-strong); }
.np-button-secondary:hover { background: #fff; border-color: #c4bfb5; box-shadow: 0 4px 10px rgba(21, 34, 42, .06); }
.np-button-danger { background: var(--np-card); color: var(--np-red); border-color: var(--np-line-strong); }
.np-button-danger:hover { background: var(--np-red-tint); border-color: #eec6be; }
.np-button-light { background: #f4f7f8; color: var(--np-ink); }
.np-button-light:hover { background: #fff; }
.np-button-small { min-height: 34px; padding: 6px 14px; border-radius: 9px; font-size: 13px; }
.np-button-block { width: 100%; }

.np-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.np-buttons-start { justify-content: flex-start; }

.np-link { color: var(--np-blue); font-weight: 500; }
.np-text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--np-blue);
  font-size: 13px;
  font-weight: 500;
}
.np-text-button:hover { text-decoration: underline; }

/* 4. Navigation */

.np-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  background: rgba(250, 249, 246, 0);
  transition: background-color .2s ease, border-color .2s ease;
}
.np-nav.is-scrolled {
  background: rgba(250, 249, 246, .88);
  border-bottom-color: var(--np-line);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.np-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.np-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--np-ink); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.np-brand:hover { text-decoration: none; }
.np-brand img { width: 44px; height: 44px; }
.np-nav-links { display: flex; align-items: center; gap: 34px; }
.np-nav-links a:not(.np-button) { color: var(--np-ink); font-size: 15px; font-weight: 500; }
.np-nav-links a:not(.np-button):hover { color: var(--np-muted); text-decoration: none; }
.np-nav-links .np-button { min-height: 40px; padding: 9px 18px; border-radius: 10px; }
.np-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--np-line-strong);
  border-radius: 10px;
  background: var(--np-card);
}
.np-nav-toggle svg { width: 18px; height: 18px; stroke: var(--np-ink); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.np-nav-menu {
  position: absolute;
  top: 64px;
  right: 16px;
  min-width: 200px;
  padding: 8px;
  border: 1px solid var(--np-line);
  border-radius: 14px;
  background: var(--np-card);
  box-shadow: 0 18px 40px rgba(21, 34, 42, .14);
}
.np-nav-menu a { display: block; padding: 10px 14px; border-radius: 9px; color: var(--np-ink); font-weight: 500; }
.np-nav-menu a:hover { background: var(--np-paper); text-decoration: none; }

/* 5. Footer */

.np-footer { border-top: 1px solid var(--np-line); background: var(--np-paper); }
.np-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) 1.6fr;
  gap: 36px;
  padding: 48px 0 32px;
}
.np-footer-brand p { margin-top: 14px; max-width: 240px; color: var(--np-muted); font-size: 13px; line-height: 1.6; }
.np-footer-brand .np-brand { font-size: 17px; }
.np-footer-brand .np-brand img { width: 34px; height: 34px; }
.np-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--np-faint); }
.np-footer ul { margin-top: 14px; display: grid; gap: 9px; }
.np-footer ul a { color: var(--np-ink); font-size: 14px; }
.np-footer ul a:hover { color: var(--np-blue); text-decoration: none; }
.np-newsletter p { margin-top: 14px; color: var(--np-muted); font-size: 13px; }
.np-newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.np-newsletter-form .np-input { flex: 1; min-width: 0; height: 42px; }
.np-newsletter-form .np-button { min-height: 42px; padding: 9px 16px; }
.np-newsletter-status { min-height: 20px; margin-top: 8px; font-size: 13px; }
.np-newsletter-status.is-success { color: var(--np-green); }
.np-newsletter-status.is-error { color: var(--np-red); }
.np-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--np-line);
  color: var(--np-faint);
  font-size: 12px;
}
.np-footer-bottom a { color: var(--np-muted); }
.np-social { display: flex; gap: 14px; }
.np-social a { display: inline-flex; color: var(--np-muted); }
.np-social a:hover { color: var(--np-ink); }
.np-social svg { width: 18px; height: 18px; fill: currentColor; }

/* 6. Home */

.np-hero { padding-top: 124px; }
.np-hero-copy { text-align: center; }
.np-hero-copy .np-eyebrow { justify-content: center; }
.np-hero .np-h1 { margin-top: 26px; }
.np-hero .np-h1 span { color: var(--np-blue); }
.np-hero .np-lede { max-width: 560px; margin: 22px auto 0; }
.np-hero .np-buttons { margin-top: 28px; }
.np-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 16px;
  color: var(--np-faint);
  font-size: 12px;
  letter-spacing: .01em;
}
.np-platforms span + span::before { content: "·"; margin-right: 10px; }

.np-stage { position: relative; overflow: hidden; border: 1px solid transparent; border-radius: 28px; }
.np-stage-blue { background: #dfeefa; border-color: #d3e5f5; }
.np-stage-amber { background: #fbefd4; border-color: #f4e2bc; }
.np-stage-paper { background: #f1efe9; border-color: #e7e3da; }
.np-hero-figure { margin-top: 44px; }
.np-hero-figure .np-stage { padding: 28px 36px 16px; }

/* Mac screenshots include the window's own shadow, flattened onto the color
   of the stage they sit on, so they need no frame of their own. */
.np-mac { display: block; width: 100%; }
/* A close-up crop of a window, framed like one. */
.np-crop {
  display: block;
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(21, 50, 80, .08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(21, 50, 80, .16), 0 2px 6px rgba(21, 50, 80, .06);
}

.np-section { padding-top: 80px; padding-bottom: 80px; }
.np-section + .np-section { padding-top: 0; }

.np-part-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.np-part-label i { width: 13px; height: 15px; border-radius: 4px; }
.np-part-note { background: var(--np-blue-tint); color: #1f5f9e; }
.np-part-note i { background: var(--np-blue-bright); }
.np-part-plus { background: var(--np-amber-tint); color: #8a5a05; }
.np-part-plus i { background: var(--np-amber-bright); }

.np-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
}
.np-feature { padding: 0 6px; }
.np-feature-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.np-note .np-feature-icon { color: var(--np-blue); }
.np-plus .np-feature-icon { color: var(--np-amber); }
.np-feature h3 { margin-top: 20px; }
.np-feature p { margin-top: 10px; color: var(--np-muted); font-size: 14px; line-height: 1.75; }

.np-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  margin-top: 56px;
}
.np-split-copy .np-h2 { margin-top: 16px; font-size: clamp(30px, 3.2vw, 42px); }
.np-split-copy > p:not(.np-eyebrow) { margin-top: 18px; color: var(--np-muted); font-size: 16px; line-height: 1.7; }
.np-split-copy .np-small { margin-top: 16px; }
.np-split-media { display: flex; justify-content: center; padding: 32px 0; }
.np-split-media:has(> .np-crop) { padding: 32px; }
.np-split-reverse .np-split-copy { order: 2; }

.np-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.np-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--np-line);
  border-radius: 999px;
  background: var(--np-card);
  color: var(--np-ink);
  font-size: 13px;
  font-weight: 500;
}
.np-chip code { font-size: 12px; color: var(--np-blue); }

/* Themes: pick a swatch to swap the screenshot. Without :has() the first
   screenshot stays. */
.np-theme-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; border: 0; }
.np-theme-picker label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--np-line);
  border-radius: 999px;
  background: var(--np-card);
  color: var(--np-ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.np-theme-picker label:hover { border-color: var(--np-line-strong); }
.np-theme-picker input { position: absolute; opacity: 0; pointer-events: none; }
.np-theme-picker i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(21, 34, 42, .16); }
.np-theme-picker label:has(input:checked) { border-color: var(--np-ink); box-shadow: inset 0 0 0 1px var(--np-ink); }
.np-theme-picker label:has(input:focus-visible) { outline: 3px solid rgba(45, 126, 207, .45); outline-offset: 2px; }
.np-theme-stage { display: grid; padding: 28px 24px; }
.np-theme-stage > img { grid-area: 1 / 1; }
.np-theme-stage > img + img { display: none; }
.np-themes:has(input:checked) .np-theme-stage > img { display: none; }
.np-themes:has(input[value="jade-dark"]:checked) img[data-theme="jade-dark"],
.np-themes:has(input[value="light"]:checked) img[data-theme="light"],
.np-themes:has(input[value="dark"]:checked) img[data-theme="dark"],
.np-themes:has(input[value="silver-dark"]:checked) img[data-theme="silver-dark"],
.np-themes:has(input[value="polaris-dark"]:checked) img[data-theme="polaris-dark"],
.np-themes:has(input[value="sunset-dark"]:checked) img[data-theme="sunset-dark"],
.np-themes:has(input[value="sunset-light"]:checked) img[data-theme="sunset-light"] { display: block; }

.np-phone {
  width: 290px;
  padding: 9px;
  border-radius: 48px;
  background: #0f171b;
  box-shadow: 0 24px 60px rgba(21, 34, 42, .24), inset 0 0 0 1.5px #2c3a41;
}
.np-phone img { width: 100%; border-radius: 40px; }
/* A phone cut off by the bottom edge of its stage. */
.np-stage-rise { padding-bottom: 0; align-items: flex-end; }
.np-phone-rise { padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.np-phone-rise img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.np-phone-small { width: 250px; border-radius: 42px; }
.np-phone-small img { border-radius: 34px; }

.np-plus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.np-card {
  border: 1px solid var(--np-line);
  border-radius: var(--np-radius);
  background: var(--np-card);
}
.np-plus-card { display: flex; flex-direction: column; overflow: hidden; }
.np-plus-card .np-plus-art { padding: 24px 22px 14px; }
.np-plus-card .np-plus-copy { padding: 26px 34px 32px; }
.np-plus-card .np-plus-copy p { margin-top: 10px; color: var(--np-muted); font-size: 14px; line-height: 1.75; }
.np-plus-wide { margin-top: 44px; }
.np-plus-wide .np-plus-art { padding: 32px 36px 18px; }
.np-plus-wide .np-plus-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: baseline; }
.np-plus-wide .np-plus-copy p { margin-top: 0; }
.np-plus-wide + .np-plus-grid { margin-top: 24px; }

/* iPhone and iPad: the iPad screen with the iPhone in front of it. */
.np-devices { position: relative; display: block; padding: 28px 28px 56px; }
.np-ipad {
  width: 88%;
  border: 8px solid #0f171b;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(21, 34, 42, .2);
}
.np-devices .np-phone { position: absolute; right: 24px; bottom: 24px; width: 23%; padding: 5px; border-radius: 28px; }
.np-devices .np-phone img { border-radius: 23px; }
.np-ios .np-split-copy .np-buttons { margin-top: 28px; }

.np-more {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 26px 32px;
  border: 1px dashed #e2cf9f;
  border-radius: var(--np-radius);
  background: #fdf8ec;
}
.np-more svg { flex: none; width: 30px; height: 30px; color: var(--np-amber); }
.np-more h3 { font-size: 17px; }
.np-more p { margin-top: 4px; color: var(--np-muted); font-size: 14px; }

.np-dark { background: var(--np-slate); color: #dfe8ec; }
.np-dark .np-h2, .np-dark h3 { color: #f3f7f8; }
.np-dark .np-eyebrow { color: #8fa3ac; }
.np-dark .np-lede, .np-dark p { color: #a4b5bc; }
.np-dark a { color: #8cc8f5; }
.np-dark .np-small { color: #7f939b; }
.np-dark .np-dot-green { box-shadow: 0 0 0 4px rgba(87, 183, 127, .18); }
.np-hub { padding: 80px 0 84px; }
.np-hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.np-hub-copy .np-h2 { margin-top: 16px; }
.np-hub-copy > p:not(.np-eyebrow) { margin-top: 20px; font-size: 16px; line-height: 1.75; }
.np-hub-steps { display: grid; gap: 14px; margin-top: 28px; }
.np-hub-steps li { display: flex; gap: 14px; font-size: 15px; color: #c8d5da; }
.np-hub-steps b {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--np-slate-2);
  box-shadow: inset 0 0 0 1px #2d3d45;
  color: #f3f7f8;
  font-size: 12px;
}
.np-code {
  overflow-x: auto;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px solid #25343b;
  border-radius: 16px;
  background: #0b1316;
  color: #d6e2e7;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
}
.np-code .c-cmd { color: #f3f7f8; }
.np-code .c-flag { color: #8cc8f5; }
.np-code .c-str { color: #f6c667; }
.np-code .c-url { color: #9fd9b1; }

.np-notifications { display: grid; gap: 16px; }
.np-notice {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  color: var(--np-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.np-notice img { flex: none; width: 40px; height: 40px; }
.np-notice-body { flex: 1; min-width: 0; }
.np-notice-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.np-dark .np-notice p { color: var(--np-muted); }
.np-notice .np-notice-app { color: var(--np-faint); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.np-notice .np-notice-time { color: var(--np-faint); font-size: 12px; }
.np-dark .np-notice h3 { margin-top: 2px; color: var(--np-ink); font-size: 15px; }
.np-notice p { margin-top: 2px; font-size: 14px; line-height: 1.5; }
.np-notice-mac { margin-right: 48px; }
.np-notice-phone { margin-left: 48px; }
.np-notice-device { display: flex; align-items: center; gap: 8px; margin: 6px 4px 0; color: #7f939b; font-size: 12px; }
.np-notice-device svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Hub screenshots: a few messages on the Mac, and the top of the iPhone feed. */
.np-hub-shots { margin-top: 48px; }
.np-hub-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  padding: 40px 48px 0;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 28px;
  background: var(--np-slate-2);
  overflow: hidden;
}
.np-hub-mac {
  align-self: center;
  width: 100%;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.np-hub-phone { justify-self: center; width: 100%; max-width: 300px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 1.5px #3a4a52; }
.np-hub-shots figcaption { margin-top: 18px; color: #7f939b; font-size: 14px; text-align: center; }

.np-final { padding: 80px 0 76px; text-align: center; }
.np-final .np-eyebrow { justify-content: center; }
.np-final img.np-final-icon { width: 104px; height: 104px; margin: 0 auto 22px; }
.np-final .np-h2 { margin-top: 18px; font-size: clamp(40px, 5vw, 62px); }
.np-final .np-lede { margin-top: 18px; }
.np-final .np-buttons { margin-top: 30px; }

/* 7. Inner pages */

.np-page-header { text-align: center; }
.np-page-header .np-eyebrow { justify-content: center; }
.np-page-header .np-page-title { margin-top: 16px; }
.np-page-header .np-lede { max-width: 620px; margin: 18px auto 0; font-size: 17px; }

.np-panel { padding: 36px; border: 1px solid var(--np-line); border-radius: var(--np-radius); background: var(--np-card); box-shadow: var(--np-shadow); }
.np-panel + .np-panel { margin-top: 24px; }
.np-panel-title { font-size: 20px; letter-spacing: -.02em; }
.np-panel-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.np-divider { height: 1px; margin: 24px 0; background: var(--np-line); border: 0; }

/* 8. Forms and messages */

.np-field { display: grid; gap: 7px; }
.np-field + .np-field { margin-top: 18px; }
.np-label { font-size: 14px; font-weight: 600; color: var(--np-ink); }
.np-hint { font-size: 13px; color: var(--np-faint); }
.np-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--np-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--np-ink);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.np-input::placeholder { color: #a3aaae; }
.np-input:focus { outline: none; border-color: var(--np-blue); box-shadow: 0 0 0 4px rgba(45, 126, 207, .14); }
.np-input:disabled { background: #f4f2ee; }
.form-group.has-error .np-input { border-color: var(--np-red); box-shadow: 0 0 0 4px rgba(194, 65, 45, .1); }
.inline-error-message { display: block; color: var(--np-red); font-size: 13px; font-weight: 500; }

.alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.alert-info { background: var(--np-blue-tint); color: #1f5f9e; }
.alert-success { background: var(--np-green-tint); color: #226b44; }
.alert-danger { background: var(--np-red-tint); color: #9d3222; }
.alert-warning { background: var(--np-warn-tint); color: var(--np-warn); }

.np-summary { display: grid; gap: 12px; }
.np-summary-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 15px; }
.np-summary-row dt { color: var(--np-muted); }
.np-summary-row dd { font-weight: 600; overflow-wrap: anywhere; }
.np-summary-total { padding-top: 14px; border-top: 1px solid var(--np-line); }

.np-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.np-form-actions .np-button { flex: 1 1 200px; }

/* 9. Questions */

.np-faq { margin-top: 36px; border: 1px solid var(--np-line); border-radius: var(--np-radius); background: var(--np-card); overflow: hidden; }
.np-faq .accordion {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 26px;
  border: 0;
  border-top: 1px solid var(--np-line);
  background: none;
  color: var(--np-ink);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}
.np-faq .accordion:first-child { border-top: 0; }
.np-faq .accordion span { flex: 1; }
.np-faq .accordion:hover { background: #fcfbf9; }
.np-chevron { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--np-faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.accordion.active .np-chevron { transform: rotate(180deg); }
.panel { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.np-faq .panel p { padding: 0 26px 22px; color: var(--np-muted); font-size: 15px; line-height: 1.75; }

/* 10. Pricing */

.np-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.np-plan { display: flex; flex-direction: column; padding: 32px; }
.np-plan-featured { border-color: #b9d6f1; box-shadow: 0 0 0 4px var(--np-blue-tint), var(--np-shadow); }
.np-plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; }
.np-plan-badge { padding: 3px 10px; border-radius: 999px; background: var(--np-blue-tint); color: #1f5f9e; font-size: 12px; font-weight: 600; }
.np-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; font-size: 52px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.np-plan-price small { color: var(--np-faint); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.np-plan-for { margin-top: 12px; color: var(--np-muted); font-size: 14px; }
.np-plan ul { display: grid; gap: 12px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--np-line); }
.np-plan li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.np-plan li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--np-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.np-plan li strong { font-weight: 600; }
.np-plan .np-button { margin-top: auto; }
.np-tip { border-bottom: 1px dotted var(--np-faint); cursor: help; }

.np-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.np-offer { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; color: var(--np-ink); }
.np-offer:hover { text-decoration: none; border-color: var(--np-line-strong); box-shadow: var(--np-shadow); }
.np-offer strong { font-size: 16px; }
.np-offer span { color: var(--np-muted); font-size: 14px; }
.np-offer em { margin-top: 8px; color: var(--np-blue); font-size: 14px; font-style: normal; font-weight: 600; }

.np-seats { text-align: center; }
.np-seats-math { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 8px; color: var(--np-muted); font-size: 15px; }
.np-seats-math b { color: var(--np-ink); font-size: 28px; letter-spacing: -.03em; }
.np-range { width: 100%; margin: 22px 0 12px; accent-color: var(--np-blue); }
.np-seats .total-cost { font-size: 15px; color: var(--np-muted); }
.np-seats .total-cost b, .np-seats .total-cost span { color: var(--np-ink); font-size: 22px; font-weight: 700; }

/* 11. Dialogs (MicroModal) */

.modal { display: none; }
.modal.is-open { display: block; }
.modal__overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 27, 32, .5);
}
.modal__container {
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 22px;
  background: var(--np-card);
  box-shadow: 0 30px 80px rgba(17, 27, 32, .3);
}
.modal__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 26px 0; }
.modal__title { font-size: 20px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.modal__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f1efea;
  color: var(--np-muted);
  font-size: 0;
}
.modal__close::before { content: "\2715"; font-size: 13px; }
.modal__close:hover { background: #e7e3dc; color: var(--np-ink); }
.modal__content { padding: 20px 26px; color: var(--np-muted); font-size: 15px; line-height: 1.7; }
.modal__content h3 { color: var(--np-ink); font-size: 16px; }
.modal__content ol { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; }
.modal__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0 26px 24px; }
.modal__footer .np-button { min-height: 42px; padding: 9px 18px; }

@keyframes np-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes np-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes np-slide-in { from { transform: translateY(12px) scale(.98); } to { transform: none; } }
@keyframes np-slide-out { from { transform: none; } to { transform: translateY(-8px); } }
.micromodal-slide[aria-hidden="false"] .modal__overlay { animation: np-fade-in .18s ease; }
.micromodal-slide[aria-hidden="false"] .modal__container { animation: np-slide-in .22s ease; }
.micromodal-slide[aria-hidden="true"] .modal__overlay { animation: np-fade-out .16s ease; }
.micromodal-slide[aria-hidden="true"] .modal__container { animation: np-slide-out .16s ease; }

/* 12. License manager */

.np-lm-account { display: grid; gap: 14px; }
.np-lm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.np-lm-email { font-weight: 600; overflow-wrap: anywhere; }
.np-lm-email small { display: block; color: var(--np-faint); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.np-lm-note { display: grid; gap: 2px; color: var(--np-muted); font-size: 13px; line-height: 1.6; }
.np-licenses { display: grid; gap: 18px; margin-top: 24px; }
.np-license { overflow: hidden; }
.np-license .accordion {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
}
.np-license .accordion:hover { background: #fcfbf9; }
.np-license-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--np-mono); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.np-license-state { margin-top: 4px; font-size: 13px; }
.np-license-state.is-ok { color: var(--np-green); }
.np-license-state.is-warn { color: var(--np-warn); }
.np-license-state.is-expired { color: var(--np-red); }
.np-license-main { flex: 1; min-width: 0; }
.np-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--np-warn-tint); color: var(--np-warn); font-size: 12px; font-weight: 600; }
.np-license-body { padding: 0 28px 28px; border-top: 1px solid var(--np-line); }
.np-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 0; }
.np-stats dt { color: var(--np-faint); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.np-stats dd { margin-top: 6px; font-size: 15px; }
.np-license-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.np-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--np-faint);
}
.np-copy:hover { background: #efece6; color: var(--np-ink); }
.np-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-copied { color: var(--np-green); font-family: var(--np-font); font-size: 12px; font-weight: 500; opacity: 0; transition: opacity .2s ease; }
.text-copied.copied { opacity: 1; }
.np-devices { margin-top: 28px; }
.np-search { position: relative; max-width: 360px; }
.np-search svg { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; fill: none; stroke: var(--np-faint); stroke-width: 1.8; transform: translateY(-50%); pointer-events: none; }
.np-search .np-input { height: 40px; padding-left: 38px; font-size: 14px; }
.np-table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--np-line); border-radius: 14px; }
.np-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.np-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--np-line);
  background: #fbfaf8;
  color: var(--np-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.np-table td { padding: 12px 16px; border-bottom: 1px solid #efece7; white-space: nowrap; vertical-align: middle; }
.np-table tbody tr:last-child td { border-bottom: 0; }
.np-table .device-name { font-weight: 500; }
.np-table .alias-input {
  width: 100%;
  max-width: 240px;
  height: 30px;
  margin-top: 4px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--np-muted);
  font-size: 13px;
}
.np-table .alias-input:hover { border-color: var(--np-line); }
.np-table .alias-input:focus { outline: none; border-color: var(--np-blue); background: #fff; }
.np-table .device-alias-add-btn { margin-top: 4px; }
.np-empty-row { padding: 18px; color: var(--np-muted); text-align: center; font-size: 14px; }
.np-steps-code { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #f4f2ee; color: var(--np-ink); font-size: 12px; overflow-x: auto; }
.np-steps-code code { white-space: nowrap; }

/* 13. Legal text */

.np-prose { color: #36434a; font-size: 16px; line-height: 1.8; }
/* The headings keep the policies' own capitals, set small and tracked. */
.np-prose h2 { margin-top: 44px; font-size: 13px; letter-spacing: .08em; line-height: 1.5; }
.np-prose h2:first-child { margin-top: 0; }
.np-prose h3 { margin-top: 26px; font-size: 16px; letter-spacing: -.01em; }
.np-prose p { margin-top: 14px; }
.np-prose .np-updated { margin-top: 36px; color: var(--np-faint); font-size: 14px; }

/* 14. Download */

.np-downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.np-download { display: flex; flex-direction: column; align-items: flex-start; padding: 30px; }
.np-download svg.np-platform { width: 34px; height: 34px; fill: none; stroke: var(--np-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.np-download h2 { margin-top: 20px; font-size: 22px; letter-spacing: -.03em; }
.np-download p { margin-top: 6px; color: var(--np-muted); font-size: 14px; }
.np-download .np-button { margin-top: 24px; }
.np-download-soon { background: #f6f4ef; box-shadow: none; }
.np-soon { margin-top: 24px; padding: 7px 12px; border-radius: 999px; background: #ebe7df; color: var(--np-muted); font-size: 13px; font-weight: 600; }
.np-apps { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 24px 28px; }
.np-apps-icons { display: flex; gap: 10px; }
.np-apps-icons img { width: 44px; height: 44px; }

/* 15. Contact */

.np-contact-list { display: grid; gap: 0; }
.np-contact-list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 16px 0; border-top: 1px solid var(--np-line); }
.np-contact-list div:first-child { border-top: 0; padding-top: 0; }
.np-contact-list dt { color: var(--np-muted); }
.np-contact-list dd { font-weight: 500; }

/* 16. Smaller screens */

@media (max-width: 1023px) {
  .np-container { width: calc(100% - 48px); }
  .np-narrow { width: calc(100% - 48px); }
  .np-hero { padding-top: 112px; }
  .np-hero-figure .np-stage { padding: 28px 28px 16px; }
  .np-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 30px; }
  .np-split, .np-hub-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .np-split-reverse .np-split-copy { order: 0; }
  .np-split-copy { max-width: 580px; }
  .np-plans, .np-downloads { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .np-offers { grid-template-columns: minmax(0, 1fr); }
  .np-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .np-footer-brand, .np-newsletter { grid-column: span 3; }
  .np-notice-mac, .np-notice-phone { margin: 0; }
}

@media (max-width: 767px) {
  .np-nav-links { display: none; }
  .np-nav-toggle { display: inline-flex; }
  .np-section { padding-top: 56px; padding-bottom: 56px; }
  .np-page { padding-top: 100px; padding-bottom: 56px; }
  .np-hero .np-lede { font-size: 16px; }
  .np-hero-figure { margin-top: 32px; }
  .np-hero-figure .np-stage { padding: 14px 10px 8px; border-radius: 20px; }
  .np-split-media:has(> .np-crop) { padding: 28px 20px; }
  .np-theme-stage { padding: 16px 12px; }
  .np-plus-wide .np-plus-art, .np-plus-card .np-plus-art { padding: 16px 12px 8px; }
  .np-plus-wide .np-plus-copy { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .np-hub-shots { margin-top: 36px; }
  /* Both crops show the same messages; phones get the iPhone one. */
  .np-hub-stage { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 0; border-radius: 20px; }
  .np-hub-mac { display: none; }
  .np-hub-phone { max-width: 260px; }
  .np-devices { padding: 24px 20px 48px; }
  .np-ipad { border-width: 5px; border-radius: 16px; }
  .np-devices .np-phone { right: 12px; bottom: 12px; padding: 3px; border-radius: 16px; }
  .np-devices .np-phone img { border-radius: 13px; }
  .np-feature-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; margin-top: 32px; }
  .np-feature { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 18px; padding: 0; }
  .np-feature .np-feature-icon { grid-row: span 2; }
  .np-feature h3 { margin-top: 0; }
  .np-feature p { margin-top: 6px; }
  .np-split { margin-top: 44px; }
  .np-plus-grid { grid-template-columns: minmax(0, 1fr); }
  .np-more { align-items: flex-start; padding: 22px; }
  .np-hub { padding: 56px 0; }
  .np-panel { padding: 24px; }
  .np-license .accordion { padding: 18px 20px; }
  .np-license-body { padding: 0 20px 22px; }
  .np-stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .np-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .np-footer-brand, .np-newsletter { grid-column: span 2; }
  .np-final { padding: 60px 0; }
}

@media (max-width: 479px) {
  .np-container, .np-narrow { width: calc(100% - 36px); }
  .np-eyebrow { font-size: 11px; letter-spacing: .075em; }
  .np-h1 { font-size: clamp(44px, 12vw, 56px); }
  .np-buttons { flex-direction: column; width: min(100%, 280px); margin-inline: auto; }
  .np-phone { width: 250px; }
  .np-newsletter-form { flex-direction: column; }
  .np-platforms { gap: 4px 14px; }
  .np-platforms span + span::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .np-button:hover { transform: none; }
}
