/* ==========================================================================
   NoCAP VPN, dashboard UI
   Flat, minimal, Apple-style. Solid colours only: no gradients anywhere.
   Everything is namespaced under .nc / .nc-* so it can't collide with the
   layout or light-theme.css.
   ========================================================================== */

.nc {
  --nc-bg: #F5F5F7;
  --nc-surface: #FFFFFF;
  --nc-fill: #F2F2F4;
  --nc-fill-h: #E8E8EB;
  --nc-text: #1D1D1F;
  --nc-text2: #6E6E73;
  --nc-text3: #86868B;
  --nc-line: rgba(0, 0, 0, 0.08);
  --nc-line2: rgba(0, 0, 0, 0.06);

  --nc-blue: #0071E3;
  --nc-blue-h: #0077ED;
  --nc-blue-a: #0068D0;
  --nc-blue-soft: #E8F1FD;

  --nc-green: #34C759;
  --nc-green-t: #1F7A3A;
  --nc-green-soft: #E8F7EC;

  --nc-amber: #FF9F0A;
  --nc-amber-t: #96590A;
  --nc-amber-soft: #FFF4DC;

  --nc-red: #FF3B30;
  --nc-red-t: #C4160B;
  --nc-red-soft: #FFEDEC;

  --nc-ink: #0A2447;
  --nc-ink-2: #0F2F5C;
  --nc-ink-3: #143869;
  --nc-orange: #F7941D;

  --nc-violet: #AF52DE;
  --nc-teal: #30B0C7;
  --nc-orange-ui: #FF9500;

  --nc-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  --nc-shadow-2: 0 2px 6px rgba(0, 0, 0, 0.05), 0 18px 40px rgba(0, 0, 0, 0.08);

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--nc-text);
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.nc *, .nc *::before, .nc *::after { box-sizing: border-box; }
.nc a { color: var(--nc-blue); text-decoration: none; }
.nc a:hover { text-decoration: underline; }
.nc svg { flex-shrink: 0; }

.nc-page { max-width: 920px; margin: 0; padding: 8px 0 64px; }
.nc-wide { max-width: 1120px; margin: 0 auto; padding: 8px 0 64px; }

/* ---------- Header ------------------------------------------------------- */
.nc-header { margin: 4px 0 32px; }
.nc-header h1 {
  margin: 0; font-size: 2.25rem; line-height: 1.1; font-weight: 700;
  letter-spacing: -0.03em; color: var(--nc-text);
}
.nc-header p { margin: 10px 0 0; font-size: 1.06rem; color: var(--nc-text2); max-width: 560px; }

.nc-section-title {
  margin: 40px 0 14px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.022em;
}
.nc-section-sub { margin: -6px 0 18px; color: var(--nc-text2); font-size: 0.98rem; }

/* ---------- Cards -------------------------------------------------------- */
.nc-card {
  background: var(--nc-surface); border: 1px solid var(--nc-line2);
  border-radius: 24px; padding: 28px; margin-bottom: 18px; box-shadow: var(--nc-shadow-1);
}
.nc-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.nc-card-title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.nc-card-head .nc-pill { margin-left: auto; }

/* ---------- Icon tiles (flat squircles) ---------------------------------- */
.nc-tile-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.nc-tile-ico svg { width: 22px; height: 22px; }
.nc-bg-blue { background: var(--nc-blue); }
.nc-bg-green { background: var(--nc-green); }
.nc-bg-violet { background: var(--nc-violet); }
.nc-bg-orange { background: var(--nc-orange-ui); }
.nc-bg-teal { background: var(--nc-teal); }
.nc-bg-ink { background: var(--nc-ink); }

/* ---------- Pills -------------------------------------------------------- */
.nc-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px;
  border-radius: 980px; font-size: 0.8rem; font-weight: 600; letter-spacing: -0.005em;
  background: var(--nc-fill); color: var(--nc-text2); white-space: nowrap;
}
.nc-pill .nc-dot { width: 7px; height: 7px; }
.nc-pill-green { background: var(--nc-green-soft); color: var(--nc-green-t); }
.nc-pill-amber { background: var(--nc-amber-soft); color: var(--nc-amber-t); }
.nc-pill-red { background: var(--nc-red-soft); color: var(--nc-red-t); }
.nc-pill-blue { background: var(--nc-blue-soft); color: var(--nc-blue); }
.nc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--nc-text3); }
.nc-dot-green { background: var(--nc-green); }
.nc-dot-amber { background: var(--nc-amber); }
.nc-dot-red { background: var(--nc-red); }
.nc-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- Buttons (solid colours only) -------------------------------- */
.nc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 980px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none !important; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .12s ease, box-shadow .2s ease;
}
.nc-btn:active { transform: scale(0.98); }
.nc-btn:focus-visible, .nc-opt:focus-within, .nc-faq-q:focus-visible, .nc-tile:focus-visible, .nc-select:focus {
  outline: 3px solid rgba(0, 113, 227, 0.35); outline-offset: 2px;
}
.nc-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.nc-btn-primary { background: var(--nc-blue); color: #fff !important; }
.nc-btn-primary:hover { background: var(--nc-blue-h); }
.nc-btn-primary:active { background: var(--nc-blue-a); }
.nc-btn-secondary { background: var(--nc-fill); color: var(--nc-text) !important; }
.nc-btn-secondary:hover { background: var(--nc-fill-h); }
.nc-btn-danger { background: var(--nc-red-soft); color: var(--nc-red-t) !important; }
.nc-btn-danger:hover { background: #FFE0DE; }
.nc-btn-light { background: #fff; color: var(--nc-ink) !important; }
.nc-btn-light:hover { background: #EEF3FA; }
.nc-btn-stripe { background: #635BFF; color: #fff !important; }
.nc-btn-stripe:hover { background: #7A73FF; }
.nc-btn-paypal { background: #FFC439; color: #0B2A6B !important; }
.nc-btn-paypal:hover { background: #FFCE5C; }
.nc-btn-block { width: 100%; }
.nc-btn-sm { height: 36px; padding: 0 16px; font-size: 0.88rem; }
.nc-btn-lg { height: 52px; padding: 0 30px; font-size: 1.02rem; }
.nc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Alerts / notes ---------------------------------------------- */
.nc-alert {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; margin: 0 0 18px;
  border-radius: 16px; font-size: 0.94rem; line-height: 1.45;
}
.nc-alert svg { margin-top: 2px; }
.nc-alert-success { background: var(--nc-green-soft); color: var(--nc-green-t); }
.nc-alert-error { background: var(--nc-red-soft); color: var(--nc-red-t); }
.nc-alert-info { background: var(--nc-blue-soft); color: #0A57B5; }
.nc-alert-warn { background: var(--nc-amber-soft); color: var(--nc-amber-t); }
.nc-alert strong { font-weight: 600; }
.nc-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; margin-bottom: 18px;
  background: var(--nc-amber-soft); border-radius: 20px; color: var(--nc-amber-t);
}
.nc-banner .nc-banner-body { flex: 1; min-width: 220px; }
.nc-banner p { margin: 0; font-size: 0.92rem; }
.nc-banner p:first-child { font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.nc-note { margin: 14px 0 0; font-size: 0.92rem; color: var(--nc-text2); line-height: 1.55; }
.nc-note.warn { background: var(--nc-amber-soft); color: var(--nc-amber-t); padding: 14px 16px; border-radius: 14px; }
.nc-note.warn a { color: var(--nc-amber-t); font-weight: 600; text-decoration: underline; }
.nc-divider { border: 0; border-top: 1px solid var(--nc-line); margin: 22px 0; }

/* ---------- Hero membership card (flat) ---------------------------------- */
.nc-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--nc-ink);
  border-radius: 32px; padding: 32px; margin-bottom: 18px; box-shadow: 0 16px 32px -18px rgba(10, 36, 71, 0.45);
}
.nc-hero::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%;
  background: var(--nc-ink-2); right: -140px; top: -190px;
}
.nc-hero::after {
  content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; border-radius: 50%;
  background: var(--nc-ink-3); right: 70px; bottom: -150px; opacity: .85;
}
.nc-hero-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nc-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--nc-ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; flex-shrink: 0;
}
.nc-hero-id h2 { margin: 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.025em; color: #fff; }
.nc-hero-id p { margin: 2px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 0.95rem; word-break: break-all; }
.nc-hero .nc-pill { margin-left: auto; background: rgba(255, 255, 255, 0.14); color: #fff; }
.nc-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px;
  background: rgba(255, 255, 255, 0.12); border-radius: 18px; overflow: hidden;
}
.nc-stat { background: rgba(10, 36, 71, 0.78); padding: 16px 18px; min-width: 0; }
.nc-stat .k { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.nc-stat .v { margin-top: 4px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.nc-stat .v.on { color: #5EE08A; }
.nc-hero-free { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nc-hero-free p { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 440px; font-size: 0.98rem; }

/* ---------- Grouped list (iOS-style) ------------------------------------- */
.nc-list { background: var(--nc-bg); border-radius: 16px; padding: 0 18px; }
.nc-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--nc-line); font-size: 0.95rem;
}
.nc-row:last-child { border-bottom: 0; }
.nc-row .k { color: var(--nc-text2); }
.nc-row .v { font-weight: 600; text-align: right; }
.nc-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9rem; letter-spacing: 0; }
.nc-v-green { color: var(--nc-green-t); }
.nc-v-dim { color: var(--nc-text3); }

.nc-group { background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 20px; box-shadow: var(--nc-shadow-1); margin-bottom: 18px; overflow: hidden; }
.nc-group form { margin: 0; border-bottom: 1px solid var(--nc-line2); }
.nc-group form:last-child { border-bottom: 0; }
.nc-group-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 22px;
  background: transparent; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 500;
  color: var(--nc-text); text-align: left; transition: background-color .15s ease;
}
.nc-group-btn:hover { background: var(--nc-bg); }
.nc-group-btn.danger { color: var(--nc-red-t); }
.nc-group-btn svg { color: var(--nc-text3); }

/* ---------- Quick-action tiles ------------------------------------------- */
.nc-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.nc-tile {
  display: flex; flex-direction: column; gap: 18px; padding: 22px; background: var(--nc-surface);
  border: 1px solid var(--nc-line2); border-radius: 24px; box-shadow: var(--nc-shadow-1);
  color: var(--nc-text) !important; text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nc-tile:hover { transform: translateY(-3px); box-shadow: var(--nc-shadow-2); }
.nc-tile h3 { margin: 0; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.nc-tile p { margin: 4px 0 0; font-size: 0.92rem; color: var(--nc-text2); line-height: 1.4; }
.nc-tile .nc-tile-top { display: flex; align-items: center; justify-content: space-between; }
.nc-tile .nc-arrow { color: var(--nc-text3); transition: transform .25s ease, color .25s ease; }
.nc-tile:hover .nc-arrow { transform: translateX(3px); color: var(--nc-blue); }

/* ---------- Promo band (solid) ------------------------------------------- */
.nc-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: var(--nc-blue); color: #fff; border-radius: 28px; padding: 30px 32px; margin-top: 18px;
}
.nc-promo h3 { margin: 0 0 4px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.025em; }
.nc-promo p { margin: 0; opacity: .9; max-width: 460px; }

/* ---------- Plans -------------------------------------------------------- */
.nc-hero-text { text-align: center; max-width: 780px; margin: 0 auto; padding: 28px 8px 40px; }
.nc-hero-text h1 {
  margin: 0 0 16px; font-size: clamp(2.2rem, 5.4vw, 3.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em;
}
.nc-hero-text h1 span { color: var(--nc-blue); }
.nc-hero-text p { margin: 0 auto; color: var(--nc-text2); font-size: 1.15rem; max-width: 600px; }
.nc-block { padding: 0 0 56px; }
.nc-block > h2 { margin: 0 0 6px; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }
.nc-block > .sub { margin: 0 0 26px; color: var(--nc-text2); font-size: 1rem; max-width: 640px; }

.nc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; align-items: stretch; }
.nc-plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: var(--nc-surface);
  border: 1px solid var(--nc-line2); border-radius: 28px; box-shadow: var(--nc-shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nc-plan:hover { transform: translateY(-4px); box-shadow: var(--nc-shadow-2); }
.nc-plan.is-featured { background: var(--nc-ink); border-color: var(--nc-ink); color: #fff; }
.nc-plan .badge {
  position: absolute; top: -13px; right: 18px; height: 26px; padding: 0 12px; display: inline-flex; align-items: center;
  border-radius: 980px; background: var(--nc-orange); color: #2B1700; font-size: 0.74rem; font-weight: 700;
}
.nc-plan-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; }
.nc-plan-price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.nc-plan-price .cur { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; margin-right: 4px; color: var(--nc-text2); }
.nc-plan-price small { font-size: 0.95rem; font-weight: 500; color: var(--nc-text2); letter-spacing: 0; }
.nc-plan.is-featured .cur, .nc-plan.is-featured small, .nc-plan.is-featured .nc-plan-period { color: rgba(255, 255, 255, 0.66); }
.nc-plan-period { font-size: 0.86rem; color: var(--nc-text2); margin: 8px 0 22px; }
.nc-feats { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--nc-line); }
.nc-plan.is-featured .nc-feats { border-top-color: rgba(255, 255, 255, 0.16); }
.nc-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; margin-bottom: 12px; line-height: 1.4; }
.nc-check {
  width: 20px; height: 20px; border-radius: 50%; background: var(--nc-green-soft); color: var(--nc-green-t);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.nc-plan.is-featured .nc-check { background: rgba(94, 224, 138, 0.18); color: #5EE08A; }
.nc-pay { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.nc-pay form { margin: 0; display: flex; }
.nc-pay .nc-btn { flex: 1; }
.nc-trust { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 28px; color: var(--nc-text2); font-size: 0.9rem; }
.nc-trust div { display: inline-flex; align-items: center; gap: 8px; }
.nc-trust svg { color: var(--nc-green-t); }

.nc-panel { background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 28px; padding: 32px; box-shadow: var(--nc-shadow-1); }
.nc-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.nc-panel-head strong { font-size: 1.15rem; letter-spacing: -0.02em; display: block; }
.nc-panel-head span.s { color: var(--nc-text2); font-size: 0.9rem; }
.nc-step { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; font-weight: 600; font-size: 1rem; }
.nc-step:first-of-type { margin-top: 4px; }
.nc-step.plain { margin: 4px 0 14px; }
.nc-step i {
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--nc-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700;
}
.nc-req { background: var(--nc-amber-soft); color: var(--nc-amber-t); border-radius: 18px; padding: 20px 22px; font-size: 0.95rem; line-height: 1.55; }
.nc-req a { color: var(--nc-amber-t); font-weight: 600; text-decoration: underline; }
.nc-optgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 8px; }
.nc-opt {
  display: block; cursor: pointer; text-align: center; padding: 18px 14px; background: var(--nc-surface);
  border: 1.5px solid var(--nc-line); border-radius: 18px; transition: border-color .2s ease, background-color .2s ease;
}
.nc-opt:hover { border-color: rgba(0, 113, 227, 0.5); }
.nc-opt.selected { border-color: var(--nc-blue); background: var(--nc-blue-soft); }
.nc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nc-opt .n { font-weight: 600; font-size: 0.95rem; }
.nc-opt .p { color: var(--nc-blue); font-weight: 700; font-size: 1.15rem; margin-top: 6px; letter-spacing: -0.02em; }
.nc-opt .d { font-size: 0.8rem; color: var(--nc-text2); margin-top: 2px; }
.nc-locgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-bottom: 8px; }
.nc-loc {
  position: relative; cursor: pointer; padding: 18px; background: var(--nc-surface);
  border: 1.5px solid var(--nc-line); border-radius: 18px; transition: border-color .2s ease, background-color .2s ease;
}
.nc-loc:hover { border-color: rgba(0, 113, 227, 0.5); }
.nc-loc.selected { border-color: var(--nc-blue); background: var(--nc-blue-soft); }
.nc-loc.selected::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--nc-blue);
  box-shadow: inset 0 0 0 5px var(--nc-blue), inset 0 0 0 9px #fff;
}
.nc-loc .city { font-weight: 600; font-size: 1rem; letter-spacing: -0.015em; }
.nc-loc .country { color: var(--nc-text2); font-size: 0.86rem; }
.nc-loc .ips { font-size: 0.78rem; color: var(--nc-green-t); margin-top: 8px; font-weight: 600; }
.nc-select {
  width: 100%; max-width: 480px; height: 48px; padding: 0 44px 0 16px; border-radius: 14px; border: 1.5px solid var(--nc-line);
  background-color: #fff; color: var(--nc-text); font: inherit; font-size: 0.96rem; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.nc-select:focus { border-color: var(--nc-blue); }
.nc-payrow { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.nc-payrow .nc-btn { flex: 1; min-width: 180px; }

/* ---------- FAQ ---------------------------------------------------------- */
.nc-faq { display: flex; flex-direction: column; gap: 10px; }
.nc-faq-item { background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 20px; box-shadow: var(--nc-shadow-1); overflow: hidden; }
.nc-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%;
  padding: 20px 24px; background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; color: var(--nc-text);
}
.nc-faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%; background: var(--nc-fill); color: var(--nc-text2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0; line-height: 1;
  transition: transform .3s ease, background-color .2s ease, color .2s ease; flex-shrink: 0; position: relative;
}
/* The plus is drawn with bars, not the '+' glyph: the glyph's visual
   centre sits above the line box in most sans fonts, so it always
   rendered off-centre inside the circle. Bars centre geometrically
   and still rotate into an x in the open state. */
.nc-faq-q .plus::before, .nc-faq-q .plus::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%);
}
.nc-faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.nc-faq-item.open .plus { transform: rotate(45deg); background: var(--nc-blue); color: #fff; }
.nc-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.nc-faq-item.open .nc-faq-a { grid-template-rows: 1fr; }
.nc-faq-a > div { overflow: hidden; }
.nc-faq-a p { margin: 0; padding: 0 24px 22px; color: var(--nc-text2); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Purchases ---------------------------------------------------- */
.nc-purchases { display: flex; flex-direction: column; gap: 12px; }
.nc-purchase {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 24px;
  background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 22px; box-shadow: var(--nc-shadow-1);
}
.nc-purchase .plan { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; }
.nc-purchase .meta { color: var(--nc-text2); font-size: 0.86rem; margin-top: 2px; word-break: break-all; }
.nc-purchase .nc-pill { margin-top: 10px; height: 24px; font-size: 0.74rem; }
.nc-purchase .right { text-align: right; }
.nc-purchase .amount { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; }
.nc-purchase .date { color: var(--nc-text2); font-size: 0.84rem; margin-top: 2px; }
.nc-empty { text-align: center; padding: 72px 24px; background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 28px; box-shadow: var(--nc-shadow-1); }
.nc-empty .ico { width: 72px; height: 72px; border-radius: 50%; background: var(--nc-fill); color: var(--nc-text3); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.nc-empty p { color: var(--nc-text2); margin: 0 0 22px; font-size: 1.02rem; }
.nc-pagination { display: flex; justify-content: center; margin-top: 28px; }
.nc-pagination .pagination { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.nc-pagination .page-link, .nc-pagination .page-item span {
  display: block; min-width: 38px; height: 38px; line-height: 38px; padding: 0 12px; text-align: center; border-radius: 12px;
  background: var(--nc-surface); border: 1px solid var(--nc-line); color: var(--nc-text2); text-decoration: none; font-size: 0.9rem;
}
.nc-pagination .page-item.active .page-link, .nc-pagination .page-item.active span { background: var(--nc-blue); border-color: var(--nc-blue); color: #fff; }
.nc-pagination .page-item.disabled .page-link, .nc-pagination .page-item.disabled span { opacity: .5; }

/* ---------- Centered status pages --------------------------------------- */
.nc-center { min-height: 56vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.nc-center-card {
  width: 100%; max-width: 480px; background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 32px;
  padding: 48px 40px; text-align: center; box-shadow: var(--nc-shadow-2);
}
.nc-big-ico { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.nc-big-ico.ok { background: var(--nc-green-soft); color: var(--nc-green); }
.nc-big-ico.no { background: var(--nc-red-soft); color: var(--nc-red); }
.nc-big-ico.plan { background: var(--nc-blue-soft); color: var(--nc-blue); }
.nc-big-ico svg { width: 40px; height: 40px; }
.nc-draw { stroke-dasharray: 40; stroke-dashoffset: 40; animation: nc-draw .6s .25s ease forwards; }
@keyframes nc-draw { to { stroke-dashoffset: 0; } }
.nc-center-card h1 { margin: 0 0 10px; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.nc-center-card .lead { color: var(--nc-text2); font-size: 1rem; line-height: 1.6; margin: 0 0 28px; }
.nc-center-card .nc-actions { justify-content: center; margin-top: 0; }
.nc-price { font-size: 3.4rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.nc-price-sub { color: var(--nc-text2); font-size: 0.95rem; margin: 8px 0 26px; }
.nc-center-card .nc-list { text-align: left; margin-bottom: 24px; }
.nc-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; color: var(--nc-text3); font-size: 0.82rem; }
.nc-back { display: inline-block; margin-top: 16px; color: var(--nc-text2) !important; font-size: 0.9rem; }
.nc-spin { animation: nc-spin 1s linear infinite; }
@keyframes nc-spin { to { transform: rotate(360deg); } }

/* ---------- Modal -------------------------------------------------------- */
.nc-modal {
  display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nc-modal-card { width: 100%; max-width: 440px; background: #fff; border-radius: 28px; padding: 36px 32px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); }
.nc-modal-card .nc-big-ico { width: 64px; height: 64px; margin-bottom: 18px; }
.nc-modal-card .nc-big-ico svg { width: 28px; height: 28px; }
.nc-modal-card .nc-big-ico.warn { background: var(--nc-amber-soft); color: var(--nc-amber); }
.nc-modal-card h3 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.025em; }
.nc-modal-card p { margin: 0 0 6px; color: var(--nc-text2); font-size: 0.96rem; }
.nc-modal-card p strong { color: var(--nc-text); }
.nc-modal-card .nc-actions { justify-content: center; margin-top: 22px; }
.nc-modal-card .wait { color: var(--nc-text3); font-size: 0.82rem; margin: 18px 0 0; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 760px) {
  .nc-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nc-header h1 { font-size: 1.8rem; }
  .nc-card, .nc-panel { padding: 22px; border-radius: 22px; }
  .nc-hero { padding: 24px; border-radius: 26px; }
  .nc-hero .nc-pill { margin-left: 0; }
  .nc-grid-2 { grid-template-columns: 1fr; }
  .nc-promo { padding: 24px; }
  .nc-purchase { grid-template-columns: auto 1fr; }
  .nc-purchase .right { grid-column: 1 / -1; text-align: left; }
  .nc-center-card { padding: 36px 24px; }
  .nc-actions .nc-btn { flex: 1 1 auto; }
  .nc-row { flex-wrap: wrap; gap: 2px 12px; }
  .nc-row .v { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .nc *, .nc *::before, .nc *::after { animation: none !important; transition: none !important; }
  .nc-draw { stroke-dashoffset: 0; }
}


/* ==========================================================================
   Additions: headings, alerts, downloads art panel, link rows, details FAQ
   ========================================================================== */
.nc h1, .nc h2, .nc h3, .nc h4, .nc h5 { font-family: inherit; }
.nc-alert { border: 0; }

.nc-art {
  position: relative; overflow: hidden; isolation: isolate; height: 200px; color: #fff;
  background: var(--nc-blue); border-radius: 28px 28px 0 0; transition: background-color .35s ease;
}
.nc-art::before {
  content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.10); right: -110px; top: -170px;
}
.nc-art::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); right: 90px; bottom: -140px;
}
.nc-art .glyph { position: absolute; right: 28px; bottom: -26px; width: 160px; height: 160px; color: rgba(255, 255, 255, 0.22); transform: rotate(-8deg); }
.nc-art .brand { position: absolute; left: 28px; bottom: 24px; display: flex; align-items: center; gap: 12px; }
.nc-art .brand img { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.18); }
.nc-art .brand .nm { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em; }
.nc-art .brand .sb { font-size: .82rem; opacity: .85; }
.nc-rec { background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 28px; box-shadow: var(--nc-shadow-2); overflow: hidden; }
.nc-rec-body { padding: 26px 28px 8px; }
.nc-rec-body h2 { margin: 0 0 4px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.nc-rec-body .note { color: var(--nc-text2); font-size: .95rem; margin: 0 0 22px; }
.nc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.nc-rec-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px 22px; color: var(--nc-text2); font-size: .9rem; }
.nc-rec-foot a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.nc-btn.is-soon { background: var(--nc-fill); color: var(--nc-text3) !important; pointer-events: none; }

.nc-links { background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 24px; box-shadow: var(--nc-shadow-1); padding: 6px 22px; }
.nc-link-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--nc-line2); color: var(--nc-text) !important; text-decoration: none !important; }
.nc-link-row:last-child { border-bottom: 0; }
.nc-link-row .m { flex: 1; min-width: 0; }
.nc-link-row .t { font-weight: 600; font-size: 1rem; letter-spacing: -0.015em; display: flex; align-items: center; gap: 8px; }
.nc-link-row .s { color: var(--nc-text2); font-size: .86rem; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-link-row .go { color: var(--nc-text3); transition: transform .2s ease, color .2s ease; flex-shrink: 0; }
a.nc-link-row:hover .go { transform: translateX(3px); color: var(--nc-blue); }
.nc-here { display: none; height: 22px; padding: 0 9px; border-radius: 980px; background: var(--nc-green-soft); color: var(--nc-green-t); font-size: .68rem; font-weight: 700; align-items: center; }
.nc-link-row.is-here .nc-here { display: inline-flex; }

.nc-details { background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 24px; box-shadow: var(--nc-shadow-1); overflow: hidden; }
.nc-details details { border-bottom: 1px solid var(--nc-line2); }
.nc-details details:last-child { border-bottom: 0; }
.nc-details summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nc-details summary::-webkit-details-marker { display: none; }
.nc-details summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--nc-fill); color: var(--nc-text2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; line-height: 1; flex-shrink: 0; transition: transform .3s ease, background-color .2s ease, color .2s ease; }
.nc-details details[open] summary::after { transform: rotate(45deg); background: var(--nc-blue); color: #fff; }
.nc-details .body { padding: 0 24px 22px; color: var(--nc-text2); font-size: .98rem; line-height: 1.6; }

.nc-hero h1 { margin: 0 0 8px; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.nc-hero p.lead { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 560px; font-size: 1.02rem; }
.nc-chip-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.nc-chip-links a { background: rgba(255, 255, 255, 0.14); color: #fff !important; font-size: .85rem; font-weight: 600; padding: 8px 16px; border-radius: 980px; text-decoration: none !important; transition: background-color .2s ease; }
.nc-chip-links a:hover { background: rgba(255, 255, 255, 0.24); }
.nc-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px; margin-top: 18px; background: var(--nc-surface); border: 1px solid var(--nc-line2); border-radius: 24px; box-shadow: var(--nc-shadow-1); }
.nc-band h3 { margin: 0 0 3px; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.nc-band p { margin: 0; color: var(--nc-text2); font-size: .94rem; }
.nc-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; max-width: 880px; margin: 0 auto; }
.nc-fine { text-align: center; color: var(--nc-text3); font-size: .86rem; max-width: 640px; margin: 32px auto 8px; line-height: 1.7; }
.nc-price-line { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 2px; }
.nc-price-line small { font-size: .9rem; font-weight: 500; color: var(--nc-text2); letter-spacing: 0; }
.nc-from { font-size: .8rem; color: var(--nc-text3); margin-bottom: 20px; }
@media (max-width: 640px) {
  .nc-rec-body { padding: 22px 20px 4px; }
  .nc-rec-foot { padding: 14px 20px 20px; }
  .nc-art { height: 168px; }
  .nc-links { padding: 4px 16px; }
  .nc-band { padding: 22px 20px; }
}

/* ---------- Legacy form control ------------------------------------------
   Kept so any page still using the old .form-control class renders in the
   new design language (mirrors .nc-select). Added 26 Oct 2026. */
.form-control {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.08); background-color: #fff;
  color: #1D1D1F; font: inherit; font-size: 0.96rem;
}
textarea.form-control { height: auto; padding: 12px 16px; }
.form-control:focus { border-color: #0071E3; outline: none; }
