/* 首页独立版式。不引用 all/style.css，其他页面保持原样。 */

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

:root {
  --bg: #e7e8ec;
  --ink: #14171c;
  --muted: #5c6370;
  --line: #14171c;
  --line-soft: #c8ccd4;
  --paper: #ffffff;
  --blue: #1d4ed8;
  --lime: #dff25a;
  --night: #14171c;
  --font: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --wrap: 1180px;
  --pad: clamp(16px, 3vw, 28px);
}

html { scroll-behavior: smooth; }

body.nx {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul, ol { list-style: none; }

.nx-wrap {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.nx-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 700;
}
.nx-skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.nx-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nx-bar {
  width: min(var(--wrap), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nx-logo { display: flex; align-items: center; flex-shrink: 0; }
.nx-logo img { height: 34px; width: 34px; }

.nx-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nx-nav a {
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.nx-nav a[aria-current="page"],
.nx-nav a:hover { color: var(--ink); }

.nx-nav-cta {
  margin-left: 10px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff !important;
  padding: 8px 14px !important;
}

.nx-nav-cta:hover { background: var(--blue); }

.nx-burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nx-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .18s ease;
}

.nx-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nx-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nx-drawer {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.nx-drawer[hidden] { display: none; }

.nx-drawer a {
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
}

.nx-drawer a:last-child { background: var(--ink); color: var(--lime); }

/* ---------- hero ---------- */

.nx-hero { padding: 18px 0 0; }

.nx-frame {
  border: 1px solid var(--line);
  background: var(--paper);
}

.nx-hero-main {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 48px);
}

.nx-kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nx-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 11em;
}

.nx-lead {
  margin-top: 22px;
  max-width: 38ch;
  font-size: 1.125rem;
  color: var(--muted);
}

.nx-textlink {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}

.nx-textlink:hover { color: var(--blue); border-color: var(--blue); }

.nx-pass {
  border: 1px solid var(--line);
  background: var(--night);
  color: #fff;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.nx-pass-logo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  margin-bottom: 18px;
}

.nx-pass-ver {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
  font-weight: 800;
}

.nx-pass dl { margin-top: 8px; }

.nx-pass dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 0.95rem;
}

.nx-pass dt { color: #b7bdc8; font-weight: 500; }
.nx-pass dd { font-weight: 700; }

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.nx-btn-lime {
  margin-top: 16px;
  background: var(--lime);
  color: var(--ink);
}

.nx-btn-lime:hover { background: #fff; }
.nx-pass .nx-btn { width: 100%; }

.nx-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.nx-metrics li {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nx-metrics li:nth-child(2n) { border-right: 0; }
.nx-metrics li:nth-last-child(-n+2) { border-bottom: 0; }

.nx-metrics strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.nx-metrics li:last-child strong {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

/* ---------- shelf ---------- */

.nx-block { padding: clamp(48px, 7vw, 88px) 0; }

.nx-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 28px;
  margin-bottom: 18px;
}

.nx-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.nx-head h2,
.nx-split h2,
.nx-faq-intro h2,
.nx-close h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin-top: 6px;
}

.nx-head p { max-width: 36ch; color: var(--muted); }

.nx-shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.nx-card {
  min-height: 168px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--paper);
}

.nx-card:hover { background: #f4f6fb; }

.nx-card img { width: 58px; height: 58px; object-fit: cover; }

.nx-card-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nx-card-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.nx-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
}

.nx-more:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- brief ---------- */

.nx-brief {
  background: var(--night);
  color: #fff;
}

.nx-brief-inner {
  display: grid;
  gap: 28px;
}

.nx-brief h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
  max-width: 18em;
}

.nx-points {
  display: grid;
  gap: 18px;
}

.nx-points article {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 14px;
}

.nx-points h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.nx-points p { color: #c5cad3; }

/* ---------- bento ---------- */

.nx-bento {
  display: grid;
  gap: 12px;
}

.nx-tile {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.nx-tile h3 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.nx-tile p { color: var(--muted); }

.nx-tile-mark {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nx-tile-blue { background: var(--blue); color: #fff; }
.nx-tile-blue p { color: rgba(255, 255, 255, .82); }
.nx-tile-night { background: var(--night); color: #fff; }
.nx-tile-night p { color: #c5cad3; }
.nx-tile-lime { background: var(--lime); }

/* ---------- inline photos ---------- */

.nx-inline {
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: #111;
  display: block;
}

.nx-mix {
  display: grid;
  gap: 22px;
  align-items: center;
}

.nx-step--photo {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
}

.nx-step--photo .nx-inline {
  width: 100%;
  max-width: 220px;
}

.nx-voices .nx-inline {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

@media (max-width: 799px) {
  .nx-mix .nx-inline {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 5;
    object-position: center top;
    justify-self: stretch;
  }

  .nx-mix { gap: 16px; }
}

/* ---------- fit ---------- */

.nx-rows { border-top: 1px solid var(--line); }

.nx-row {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.nx-row h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.nx-row p { color: var(--muted); }
.nx-row a { border-bottom: 2px solid var(--ink); font-weight: 800; }
.nx-row a:hover { color: var(--blue); border-color: var(--blue); }

.nx-sheet h3 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.nx-trio {
  display: grid;
  gap: 12px;
}

.nx-places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.nx-places li {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nx-places span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.nx-voices { display: grid; gap: 12px; }

.nx-voice {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
}

.nx-voice blockquote {
  font-size: 1.2rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.nx-voice figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- prep + steps ---------- */

.nx-prep {
  display: grid;
  gap: 12px;
}

.nx-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
}

.nx-sheet a,
.nx-step a,
.nx-faq a {
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
}

.nx-sheet a:hover,
.nx-step a:hover,
.nx-faq a:hover { color: var(--blue); border-color: var(--blue); }

.nx-sheet h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 6px 0 16px;
}

.nx-sheet li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-top: 1px solid var(--line-soft);
}

.nx-sheet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.nx-steps {
  display: grid;
  gap: 12px;
}

.nx-step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
  min-height: 190px;
}

.nx-step b {
  display: block;
  font-size: 2.4rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.nx-step strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.nx-step p { color: var(--muted); }

/* ---------- faq ---------- */

.nx-faq-layout { display: grid; gap: 22px; }

.nx-faq-intro p { margin-top: 10px; color: var(--muted); max-width: 28ch; }

.nx-faq {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nx-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.nx-faq summary::-webkit-details-marker { display: none; }

.nx-faq summary::after {
  content: "+";
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}

.nx-faq[open] summary::after { content: "–"; }

.nx-faq p {
  padding: 0 18px 16px;
  color: var(--muted);
  max-width: 68ch;
}

.nx-faq + .nx-faq { border-top: 0; }
.nx-faq { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ---------- close + footer ---------- */

.nx-close { background: var(--night); color: #fff; }
.nx-close .nx-label { color: var(--lime); }

.nx-close-inner {
  display: grid;
  gap: 22px;
}

.nx-close p { color: #c5cad3; margin-top: 10px; }

.nx-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nx-btn-ghost {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  background: transparent;
}

.nx-btn-ghost:hover { border-color: #fff; }

.nx-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.nx-foot-inner {
  display: grid;
  gap: 18px;
}

.nx-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.nx-foot-brand img { width: 36px; height: 36px; }

.nx-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-weight: 600;
}

.nx-foot nav a:hover { color: var(--blue); }

.nx-foot small { color: var(--muted); }

/* ---------- desktop ---------- */

@media (min-width: 800px) {
  .nx-metrics { grid-template-columns: repeat(4, 1fr); }
  .nx-metrics li { border-bottom: 0; }
  .nx-metrics li:nth-child(2n) { border-right: 1px solid var(--line); }
  .nx-metrics li:last-child { border-right: 0; }

  .nx-shelf { grid-template-columns: repeat(4, 1fr); }

  .nx-points { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .nx-bento { grid-template-columns: repeat(6, 1fr); }
  .nx-tile-blue { grid-column: 1 / span 4; grid-row: 1 / span 2; min-height: 100%; }
  .nx-tile-night { grid-column: 5 / span 2; grid-row: 1; }
  .nx-tile-lime { grid-column: 5 / span 2; grid-row: 2; }
  .nx-tile:nth-child(4) { grid-column: 1 / span 2; }
  .nx-tile:nth-child(5) { grid-column: 3 / span 2; }
  .nx-tile:nth-child(6) { grid-column: 5 / span 2; }

  .nx-prep { grid-template-columns: 1fr 1fr; }
  .nx-trio { grid-template-columns: repeat(3, 1fr); }
  .nx-mix { grid-template-columns: minmax(0, 1fr) 240px; }
  .nx-mix--photo-first { grid-template-columns: 240px minmax(0, 1fr); }
  .nx-places { grid-template-columns: repeat(3, 1fr); }
  .nx-voices { grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); }
  .nx-steps { grid-template-columns: repeat(3, 1fr); }
  .nx-row { grid-template-columns: 240px 1fr; gap: 24px; align-items: baseline; }
}

@media (min-width: 960px) {
  .nx-nav { display: flex; }
  .nx-burger, .nx-drawer { display: none !important; }

  .nx-hero-main {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
    gap: 40px;
  }

  .nx-faq-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .nx-faq-intro { position: sticky; top: 92px; }

  .nx-close-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .nx-foot-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nx-foot small { grid-column: 1 / -1; }
}

.nx-hero--sub h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 16em;
}

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

.nx-mid { margin-top: 18px; }

.nx-prose p + p { margin-top: 12px; }
.nx-prose p { color: var(--muted); }

.nx-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.nx-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.nx-table th,
.nx-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.nx-table thead th {
  background: var(--night);
  color: #fff;
  border-bottom: 0;
  font-size: 0.92rem;
}

.nx-table tbody th { font-weight: 700; }

.nx-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 3px 8px;
}

@media (min-width: 800px) {
  .nx-steps--four { grid-template-columns: 1fr 1fr; }
  .nx-steps--four .nx-step { min-height: 0; }
}

/* Download page: same type and color, different composition. */

.dg-hero { padding: 36px 0 8px; }

.dg-kicker {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dg-hero h1 {
  margin-top: 10px;
  max-width: 14em;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.dg-lead {
  margin: 14px 0 22px;
  max-width: 42em;
  color: var(--muted);
  font-size: 1.05rem;
}

.dg-bar {
  display: grid;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.dg-bar img { width: 52px; height: 52px; }

.dg-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.dg-specs div { min-width: 72px; }
.dg-specs dt { color: var(--muted); font-size: 0.75rem; }
.dg-specs dd { font-weight: 800; letter-spacing: -0.03em; }

.dg-btn {
  margin-top: 0;
  background: var(--lime);
  color: var(--ink);
  justify-self: start;
}

.dg-btn:hover { background: #fff; }

.dg-sec { padding: clamp(36px, 6vw, 72px) 0; }
.dg-sec--paper { background: var(--paper); border-block: 1px solid var(--line); }

.dg-h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.dg-pair { display: grid; gap: 12px; }

.dg-ext { display: grid; gap: 12px; }
.dg-ext article {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
}
.dg-ext h3 {
  margin: 8px 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.dg-ext p { color: var(--muted); max-width: 36em; }

.dg-now,
.dg-old { padding: 26px; }

.dg-now { background: var(--blue); color: #fff; }
.dg-old { background: transparent; border: 1px solid var(--line); }

.dg-flag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dg-now .dg-flag { color: var(--lime); }
.dg-old .dg-flag { color: var(--blue); }

.dg-now h3,
.dg-old h3 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.dg-now p,
.dg-old p { max-width: 36em; }

.dg-now .dg-btn { margin-top: 18px; }

.dg-split { display: grid; gap: 8px 36px; align-items: start; }

.dg-rail { border-top: 1px solid var(--line); }

.dg-rail li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.dg-rail b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.85rem;
}

.dg-prose p + p { margin-top: 12px; }
.dg-prose p { color: var(--muted); }
.dg-prose a,
.dg-flow a,
.dg-plain a {
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  font-weight: 800;
}
.dg-prose a:hover,
.dg-flow a:hover,
.dg-plain a:hover { color: var(--blue); border-color: var(--blue); }

.dg-note {
  margin-top: 16px;
  color: var(--ink) !important;
  font-weight: 700;
}

.dg-flow li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding-bottom: 22px;
  position: relative;
}

.dg-flow li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.dg-flow li:last-child::before { display: none; }

.dg-flow span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.dg-flow strong { display: block; margin-bottom: 4px; }
.dg-flow p { color: var(--muted); }

.dg-rows article + article { margin-top: 28px; }
.dg-rows h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.dg-plain li {
  padding: 8px 0 8px 16px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
}

.dg-plain li + li { margin-top: 8px; }

.dg-tips { display: grid; gap: 18px; }
.dg-tips h3 { font-size: 1.15rem; letter-spacing: -0.03em; margin-bottom: 6px; }
.dg-tips p { color: var(--muted); }
.dg-tips article { padding-top: 12px; border-top: 4px solid var(--lime); }

.dg-faq .nx-faq {
  background: transparent;
  border-left: 0;
  border-right: 0;
}

.dg-end { background: var(--lime); color: var(--ink); }
.dg-end-inner { padding: clamp(36px, 6vw, 64px) 0; display: grid; gap: 18px; }
.dg-end h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.dg-end p { margin-top: 8px; font-weight: 600; }
.dg-end-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.dg-btn-ink {
  margin-top: 0;
  background: var(--ink);
  color: #fff;
}
.dg-btn-ink:hover { background: var(--blue); }
.dg-end-actions a:not(.nx-btn) {
  font-weight: 800;
  border-bottom: 2px solid var(--ink);
}

@media (min-width: 800px) {
  .dg-bar { grid-template-columns: auto 1fr auto; }
  .dg-pair { grid-template-columns: 1.35fr 0.85fr; }
  .dg-pair--even { grid-template-columns: 1fr 1fr; }
  .dg-ext { grid-template-columns: repeat(3, 1fr); }
  .dg-split { grid-template-columns: 240px minmax(0, 1fr); }
  .dg-tips { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .dg-end-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- aplikasi: katalog kelompok, bukan kartu unduh ---------- */

.ag-hero { padding: 28px 0 8px; }

.ag-hero-grid { display: grid; gap: 22px; align-items: start; }

.ag-hero h1 {
  margin-top: 10px;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 16ch;
}

.ag-lead {
  margin-top: 14px;
  max-width: 38em;
  color: var(--muted);
  font-weight: 500;
}

.ag-lead a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--lime);
}

.ag-lead a:hover { color: var(--blue); border-color: var(--blue); }

.ag-index a.ag-go {
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.ag-index a.ag-go:hover { background: var(--blue); color: #fff; }

.ag-index {
  background: var(--paper);
  border: 1px solid var(--line);
}

.ag-index-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.ag-index-mark img { width: 36px; height: 36px; }

.ag-index a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid var(--line-soft);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ag-index a span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.ag-index a:hover { background: var(--lime); }
.ag-index a:hover span { color: var(--ink); }

.ag-read {
  display: grid;
  gap: 22px;
  align-items: start;
}

.ag-read .nx-inline {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.ag-shot-top { object-position: top center; }

.ag-aside {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 4px solid var(--lime);
  font-weight: 700;
  max-width: 42em;
}

.ag-group {
  display: grid;
  gap: 8px 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.ag-group h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.ag-group header p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 22em;
}

.ag-rows li {
  display: grid;
  gap: 2px 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.ag-rows li:first-child { border-top: 0; padding-top: 0; }

.ag-rows strong { letter-spacing: -0.03em; }

.ag-cmp { border-top: 1px solid var(--line); }

.ag-cmp li {
  display: grid;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.ag-cmp a {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  border-bottom: 2px solid var(--lime);
  justify-self: start;
}

.ag-cmp a:hover { color: var(--blue); border-color: var(--blue); }

.ag-cmp p { color: var(--muted); max-width: 46em; }

.ag-lama { display: grid; gap: 12px; }

.ag-lama li {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ag-lama b {
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ag-lama h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.ag-lama p { color: var(--muted); }

.ag-log { display: grid; gap: 12px; }

.ag-log article {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ag-log h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.ag-log p { color: var(--muted); }

.ag-log--in { border-top: 4px solid var(--lime); }
.ag-log--out { border-top: 4px solid var(--ink); }
.ag-log--stay { border-top: 4px solid var(--blue); }

#ap-ubah, #ap-dalam, #ap-beda, #ap-lama { scroll-margin-top: 84px; }

.ag-rows span { color: var(--muted); }

.ag-end { background: var(--ink); color: #fff; }

.ag-end-inner {
  padding: clamp(36px, 6vw, 64px) 0;
  display: grid;
  gap: 18px;
}

.ag-end h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.ag-end p { margin-top: 8px; color: #c5cad3; font-weight: 600; }

.ag-end .dg-end-actions a:not(.nx-btn) {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

@media (min-width: 800px) {
  .ag-hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr); align-items: end; }
  .ag-read { grid-template-columns: 240px minmax(0, 1fr); align-items: center; }
  .ag-group { grid-template-columns: 220px minmax(0, 1fr); }
  .ag-rows li { grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); align-items: baseline; }
  .ag-cmp li { grid-template-columns: 160px minmax(0, 1fr); align-items: baseline; }
  .ag-lama { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-lama li:last-child { grid-column: 1 / -1; }
  .ag-log { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .ag-end-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- masuk: gambaran kolom akun, bukan kartu unduh ---------- */

.lg-hero { padding: 28px 0 8px; }

.lg-hero-grid { display: grid; gap: 22px; align-items: start; }

.lg-hero h1 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.lg-lead {
  margin-top: 14px;
  max-width: 36em;
  color: var(--muted);
  font-weight: 500;
}

.lg-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 18px 16px;
  max-width: 360px;
}

.lg-sheet img { width: 44px; height: 44px; margin-bottom: 16px; }

.lg-sheet-k {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.lg-sheet-v {
  margin: 4px 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lg-sheet-go {
  display: block;
  margin-top: 4px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
}

.lg-sheet-go:hover { background: var(--blue); color: #fff; }

.lg-sheet-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.lg-fields { border-top: 1px solid var(--line); }

.lg-fields div {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.lg-fields dt {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.lg-fields dd { color: var(--muted); max-width: 42em; }

.lg-when { border-top: 1px solid var(--line); }

.lg-when li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.lg-when b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-size: 0.95rem;
}

.lg-split { display: grid; gap: 10px 32px; align-items: start; }

.lg-end { background: var(--blue); color: #fff; }

.lg-end-inner {
  padding: clamp(36px, 6vw, 64px) 0;
  display: grid;
  gap: 18px;
}

.lg-end h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.lg-end p { margin-top: 8px; font-weight: 600; }

.lg-end .dg-end-actions a:not(.nx-btn) {
  color: #fff;
  border-bottom-color: var(--lime);
}

.lg-urut { display: grid; gap: 12px; }

.lg-urut li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.lg-urut b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-size: 1.1rem;
}

.lg-urut strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.lg-urut p { color: var(--muted); }

.lg-pair { display: grid; gap: 12px; }

.lg-pair article {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.lg-pair h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.lg-pair p { color: var(--muted); }

#lg-urut, #lg-sesudah, #lg-tutup, #lg-keluar, #lg-salah, #lg-ponsel, #lg-ingat,
#lg-kolom, #lg-kapan, #lg-lupa, #lg-lewati { scroll-margin-top: 84px; }

@media (min-width: 800px) {
  .lg-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr); align-items: end; }
  .lg-fields div { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: baseline; }
  .lg-split { grid-template-columns: 240px minmax(0, 1fr); }
  .lg-urut { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-urut li { grid-template-columns: 1fr; }
  .lg-pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .lg-end-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- resmi: alamat situs, bukan katalog unduh ---------- */

.rm-hero { padding: 28px 0 8px; }

.rm-hero-grid { display: grid; gap: 18px; }

.rm-hero h1 {
  margin-top: 10px;
  max-width: 12ch;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rm-lead {
  margin-top: 14px;
  max-width: 34em;
  color: var(--muted);
  font-weight: 500;
}

.rm-card {
  order: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 18px;
  background: var(--ink);
  color: #fff;
}

.rm-card img { width: 64px; height: 64px; }

.rm-host {
  font-weight: 800;
  letter-spacing: -0.045em;
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.rm-host b { color: var(--lime); font-weight: 800; }

.rm-note {
  color: #c8ccd4;
  font-weight: 600;
}

.rm-go {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.rm-go:hover { background: var(--blue); color: #fff; }

.dg-prose + .rm-checks { margin-top: 16px; }

.rm-checks { display: grid; gap: 12px; }

.rm-checks article {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.rm-checks b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.85rem;
}

.rm-checks h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.rm-checks p { color: var(--muted); }

.rm-paths { border-top: 1px solid var(--line); }

.rm-paths a {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.rm-paths a span { color: var(--muted); font-weight: 600; letter-spacing: 0; }

.rm-paths a:hover { color: var(--blue); }
.rm-paths a:hover span { color: var(--blue); }

.rm-paths a[aria-current="page"] { background: transparent; }

.rm-end { background: var(--lime); color: var(--ink); }

.rm-end-inner {
  padding: clamp(36px, 6vw, 64px) 0;
  display: grid;
  gap: 18px;
}

.rm-end h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.rm-end p { margin-top: 8px; font-weight: 600; }

.rm-bits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rm-bits span {
  padding: 12px 16px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.rm-after { margin-top: 16px; }

.rm-pair { display: grid; gap: 12px; }

.rm-pair article {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.rm-pair h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.rm-pair p { color: var(--muted); }

.rm-result {
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.rm-result-t {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.rm-result-u {
  margin-top: 4px;
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rm-result-d {
  margin-top: 8px;
  color: var(--muted);
}

.rm-mark {
  display: inline-block;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

#rm-cek, #rm-alt, #rm-jalur, #rm-cari, #rm-tautan, #rm-unduh, #rm-simpan, #rm-versi, #rm-faq { scroll-margin-top: 84px; }

@media (min-width: 800px) {
  .rm-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
    column-gap: 36px;
    row-gap: 22px;
  }
  .rm-copy { align-self: start; }
  .rm-card { grid-column: 2; grid-row: 1 / span 2; }
  .rm-go { align-self: end; }
  .rm-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-paths a { grid-template-columns: minmax(0, 1.3fr) minmax(140px, 0.5fr); align-items: baseline; gap: 18px; }
  .rm-pair { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .rm-end-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- bantuan: papan logo + empat kartu ---------- */

.bn-hero { padding: 28px 0 0; }

.bn-board {
  display: grid;
  border: 1px solid var(--line);
  background: var(--paper);
}

.bn-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--ink);
  color: #fff;
}

.bn-mark img { width: 84px; height: 84px; }

.bn-mark p {
  color: var(--lime);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.bn-copy { padding: clamp(20px, 3vw, 36px); }

.bn-hero h1 {
  margin-top: 10px;
  max-width: 16ch;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.bn-lead {
  margin-top: 14px;
  max-width: 40em;
  color: var(--muted);
  font-weight: 500;
}

.bn-lead a,
.bn-fix a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--lime);
}

.bn-lead a:hover,
.bn-fix a:hover { color: var(--blue); border-color: var(--blue); }

.bn-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.bn-go:hover { background: var(--blue); color: #fff; }

.nx-dock,
.nx-dock[hidden] { display: none; }

@media (max-width: 799px) {
  .nx-dock {
    display: flex;
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 14px;
    background: var(--ink);
    color: var(--lime);
    font-weight: 800;
    letter-spacing: -0.03em;
    transform: translateY(calc(100% + 28px));
    transition: transform .28s ease;
  }

  .nx-dock.is-on { transform: translateY(0); }
  body.nx-dock-pad { padding-bottom: 84px; }
}

.bn-list { padding: clamp(22px, 4vw, 40px) 0 clamp(8px, 2vw, 16px); }

.bn-stack { display: grid; gap: 14px; }

.bn-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(16px, 2.4vw, 26px);
}

.bn-sheet-h {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bn-sheet-h > b {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.95rem;
}

.bn-k {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.bn-sheet h2 {
  margin-top: 4px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.bn-fix { margin-top: 14px; }

.bn-fix p { color: var(--muted); }

.bn-fix p + p,
.bn-fix p + ol { margin-top: 12px; }

.bn-fix ol { margin-top: 14px; }

.bn-fix li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}

.bn-fix li b { letter-spacing: -0.04em; }

.bn-end { background: var(--ink); color: #fff; }

.bn-end-inner {
  padding: clamp(36px, 6vw, 64px) 0;
  display: grid;
  gap: 18px;
}

.bn-end h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.bn-end p { margin-top: 8px; color: #c5cad3; font-weight: 600; }

.bn-end .dg-end-actions a:not(.nx-btn) {
  color: var(--lime);
  border-bottom: 2px solid var(--lime);
  font-weight: 700;
}

#bn-diam, #bn-nol, #bn-hemat, #bn-unduh, #bn-ruang, #bn-tolak, #bn-atas, #bn-tutup, #bn-putih, #bn-kosong, #bn-masuk, #bn-toko, #bn-faq { scroll-margin-top: 84px; }

@media (min-width: 800px) {
  .bn-board { grid-template-columns: 220px minmax(0, 1fr); }
  .bn-mark {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    min-height: 100%;
    padding: 26px 22px;
  }
  .bn-mark img { width: 112px; height: 112px; }
  .bn-end-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nx-burger span, .nx-dock { transition: none; }
}
