:root {
  --nm-ink: #0b0e14;
  --nm-panel: #151922;
  --nm-panel-raised: #1b202b;
  --nm-line: #303642;
  --nm-muted: #aeb6c5;
  --nm-text: #e6eaf2;
  --nm-orange: #f7931a;
  --nm-orange-light: #ffb34d;
  --nm-danger: #ff735d;
  --nm-success: #88d66c;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--nm-ink);
  color: var(--nm-text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  line-height: 1.5;
}

a { color: inherit; }

.nm-shell {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(247, 147, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 147, 26, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.nm-header { border-bottom: 1px solid rgba(247, 147, 26, 0.34); background: rgba(11, 14, 20, 0.94); }
.nm-header__inner, .nm-main, .nm-footer__inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nm-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nm-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; letter-spacing: 0; }
.nm-brand__mark { width: 34px; height: 34px; object-fit: contain; }
.nm-brand strong, .nm-title span { color: var(--nm-orange); }
.nm-nav { display: flex; align-items: center; gap: 20px; color: var(--nm-muted); font-size: 12px; }
.nm-nav a { text-decoration: none; }
.nm-nav a:hover { color: var(--nm-orange-light); }

.nm-main { padding: 56px 0 72px; }
.nm-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--nm-orange); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.nm-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(247, 147, 26, 0.12); content: ""; }
.nm-activation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr); gap: 48px; align-items: center; }
.nm-title { margin: 14px 0 16px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 3.3vw, 46px); font-weight: 700; letter-spacing: 0; line-height: 1.08; white-space: nowrap; }
.nm-lead { max-width: 620px; margin: 0 0 28px; color: var(--nm-muted); font-size: 15px; }

.nm-tool { border: 1px solid var(--nm-line); border-top: 3px solid var(--nm-orange); border-radius: 7px; background: rgba(21, 25, 34, 0.96); padding: 24px; box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.18); }
.nm-tool__header { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 16px; }
.nm-tool__header h2, .nm-network__header h2, .nm-status__title { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 24px; letter-spacing: 0; }
.nm-tool__header span { color: var(--nm-muted); font-size: 11px; }
.nm-input { display: block; width: 100%; min-height: 168px; resize: vertical; border: 1px solid #3a414e; border-radius: 4px; outline: none; background: #0f131a; color: var(--nm-text); padding: 15px; font: inherit; font-size: 13px; line-height: 1.6; }
.nm-input:focus { border-color: var(--nm-orange); box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.14); }
.nm-input::placeholder { color: #7f8999; }
.nm-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.nm-hint { margin: 0; color: var(--nm-muted); font-size: 11px; }

.nm-primary, .nm-secondary { min-height: 42px; border: 0; border-radius: 4px; padding: 0 18px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; }
.nm-primary { background: var(--nm-orange); color: var(--nm-ink); }
.nm-primary:hover { background: var(--nm-orange-light); }
.nm-secondary { display: inline-flex; align-items: center; background: transparent; border: 1px solid #596273; color: var(--nm-text); }
.nm-secondary:hover { border-color: var(--nm-orange); color: var(--nm-orange-light); }

.nm-product-visual { position: relative; min-height: 392px; overflow: hidden; border-bottom: 1px solid rgba(247, 147, 26, 0.5); background: #e6e4df; }
.nm-product-visual::before { position: absolute; z-index: 1; inset: 18px; border: 1px solid rgba(11, 14, 20, 0.16); content: ""; }
.nm-product-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nm-product-caption { position: absolute; z-index: 2; right: 18px; bottom: 18px; margin: 0; border-left: 3px solid var(--nm-orange); background: rgba(11, 14, 20, 0.93); color: var(--nm-text); padding: 10px 12px; font-size: 11px; }

.nm-network { margin-top: 64px; border-top: 2px solid var(--nm-orange); padding-top: 22px; }
.nm-network__header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.nm-network__header p { max-width: 500px; margin: 0; color: var(--nm-muted); font-size: 12px; }
.nm-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nm-resource { min-height: 128px; border: 1px solid var(--nm-line); border-radius: 5px; background: rgba(21, 25, 34, 0.82); padding: 18px; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease, background 160ms ease; }
.nm-resource:hover { border-color: var(--nm-orange); transform: translateY(-3px); background: var(--nm-panel-raised); }
.nm-resource__label { display: block; margin-bottom: 8px; color: var(--nm-orange); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.nm-resource__name { display: block; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; }
.nm-resource__detail { display: block; margin-top: 5px; color: var(--nm-muted); font-size: 11px; }

.nm-footer { border-top: 1px solid var(--nm-line); background: #090c11; }
.nm-footer__inner { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; color: #7f8999; font-size: 11px; }
.nm-footer__inner a { color: var(--nm-muted); text-decoration: none; }
.nm-footer__inner a:hover { color: var(--nm-orange-light); }

.nm-status-wrap { width: min(760px, 100%); margin: 38px auto; }
.nm-status { border: 1px solid var(--nm-line); border-top: 3px solid var(--nm-success); border-radius: 7px; background: rgba(21, 25, 34, 0.96); padding: 30px; }
.nm-status--failed { border-top-color: var(--nm-danger); }
.nm-status__eyebrow { margin: 0 0 11px; color: var(--nm-success); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.nm-status--failed .nm-status__eyebrow { color: var(--nm-danger); }
.nm-status__copy { margin: 12px 0 0; color: var(--nm-muted); font-size: 13px; }
.nm-payment-id { display: inline-block; max-width: 100%; overflow-wrap: anywhere; margin: 18px 0 0; border: 1px solid var(--nm-line); background: #0f131a; color: var(--nm-orange-light); padding: 9px 11px; font-size: 12px; }
.nm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nm-copy-status { align-self: center; color: var(--nm-muted); font-size: 11px; }
.nm-license-table-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid var(--nm-line); }
.nm-license-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.nm-license-table th { background: #0f131a; color: var(--nm-orange-light); font-size: 11px; text-align: left; text-transform: uppercase; }
.nm-license-table th, .nm-license-table td { border-bottom: 1px solid var(--nm-line); padding: 13px 15px; }
.nm-license-table td { color: var(--nm-text); font-size: 12px; overflow-wrap: anywhere; }
.nm-license-table tr:last-child td { border-bottom: 0; }

@media (max-width: 920px) {
  .nm-activation-grid { grid-template-columns: 1fr; gap: 30px; }
  .nm-product-visual { min-height: 300px; grid-row: 1; }
  .nm-title { white-space: normal; }
}

@media (max-width: 760px) {
  .nm-header__inner, .nm-main, .nm-footer__inner { width: min(100% - 28px, 1120px); }
  .nm-header__inner { min-height: 64px; }
  .nm-nav { gap: 12px; font-size: 10px; }
  .nm-product-visual { min-height: 270px; grid-row: 1; }
  .nm-main { padding: 38px 0 48px; }
  .nm-title { font-size: 40px; }
  .nm-tool { padding: 18px; }
  .nm-tool__header, .nm-form__footer, .nm-network__header, .nm-footer__inner { align-items: flex-start; flex-direction: column; }
  .nm-resource-grid { grid-template-columns: 1fr; }
  .nm-network { margin-top: 44px; }
  .nm-status { padding: 22px; }
}