:root {
  --cream:       #F6F1E7;
  --cream-soft:  #FBF8F1;
  --ink:         #23201B;
  --muted:       #6E665A;
  --line:        rgba(35, 32, 27, 0.10);
  --line-soft:   rgba(35, 32, 27, 0.06);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --pad:  clamp(1.5rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Language switcher ---------- */
.langsel {
  position: fixed;
  top: 1.35rem;
  right: clamp(1.2rem, 4vw, 3rem);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  background: rgba(246, 241, 231, 0.72);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}
.langsel a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.langsel a:hover { color: var(--ink); }
.langsel a.is-active { color: var(--ink); font-weight: 600; }
.langsel .sep { color: var(--line); }

/* ---------- Hero 1 ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.8rem;
}
.hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(2.35rem, 5.6vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.hero h1 strong { font-weight: 600; }
@media (min-width: 640px) { .hero__last { white-space: nowrap; } }

/* rotating adjective — typewriter */
.rotator {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
  padding-right: 0.12em;
}
.rotator__word {
  color: #4B5AA8;
  font-weight: 400;
}
.rotator__caret {
  display: inline-block;
  width: 0.055em;
  height: 0.92em;
  margin-left: 0.04em;
  background: #4B5AA8;
  vertical-align: -0.08em;
  animation: caretBlink 1.06s infinite;
}
@keyframes caretBlink {
  0%, 50%      { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rotator__caret { animation: none; }
}
.scroll-hint {
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint .arrow {
  display: inline-block;
  animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* ---------- Products section ---------- */
.products { padding-bottom: 4rem; }

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.product__index {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}
.product__name {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.product__desc {
  margin-top: 1.2rem;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--muted);
  max-width: 40ch;
}
.product__lead {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.product__lead .grad {
  background: linear-gradient(120deg, #4F5BE8, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.product__desc code {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82em;
  background: rgba(35, 32, 27, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: #4F5BE8;
}
.product__link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: gap 0.22s ease, border-color 0.22s ease;
}
.product__link:hover { gap: 0.9rem; border-color: var(--ink); }

/* image on the right, alternate order not used — always right per spec */
.product__media { display: flex; justify-content: center; }

/* mono wordmark above / below the art */
.art-stack {
  display: flex;
  flex-direction: column;   /* name below the card */
  align-items: center;
  gap: 1.2rem;
  width: 100%;
}
.art-stack.is-above { flex-direction: column-reverse; }  /* name above the card */
.art-name {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 1.2vw, 1.18rem);
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--ink);
  user-select: none;
}
.art-name .tld { color: var(--muted); font-weight: 400; }

@media (max-width: 820px) {
  .product {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .product__media { order: 2; }
  .product__body  { order: 1; }
}

/* ---------- Browser mockups ---------- */
.mock {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 24px 50px -28px rgba(35, 32, 27, 0.35);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.mock__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(35,32,27,0.14);
}
.mock__url {
  margin-left: 0.6rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-family: var(--sans);
}
.screen {
  padding: 1.5rem 1.5rem 1.8rem;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--wash) 0%, transparent 60%);
  min-height: 232px;
}
.screen__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.glyph {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.glyph svg { width: 18px; height: 18px; display: block; }
.screen__name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.screen__tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}

.rows { display: flex; flex-direction: column; gap: 0.7rem; }
.row {
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
}
.row .avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); opacity: 0.85; flex: none;
}
.row .lines { flex: 1; display: flex; flex-direction: column; gap: 0.32rem; }
.row .ln {
  height: 6px; border-radius: 3px;
  background: rgba(35,32,27,0.13);
}
.row .ln.short { width: 45%; }
.row .ln.mid   { width: 70%; }
.chip {
  font-size: 0.62rem;
  font-family: var(--sans);
  letter-spacing: 0.03em;
  color: var(--accent);
  background: var(--wash-strong);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  flex: none;
}
.dots { letter-spacing: 0.18em; color: rgba(35,32,27,0.45); font-size: 0.9rem; flex: none; }

/* code-ish row for js2mail */
.code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.7rem;
  line-height: 1.7;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  padding: 0.8rem 0.9rem;
  color: var(--muted);
}
.code .k { color: var(--accent); }
.send {
  margin-top: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: #fff;
  font-size: 0.72rem; letter-spacing: 0.03em;
  border-radius: 999px; padding: 0.4rem 0.85rem;
}

/* accent themes */
.t-netclave { --accent: #4B5AA8; --wash: rgba(75,90,168,0.14); --wash-strong: rgba(75,90,168,0.16); }
.t-atlas    { --accent: #C56A4E; --wash: rgba(197,106,78,0.14); --wash-strong: rgba(197,106,78,0.16); }
.t-js2mail  { --accent: #3E8E7E; --wash: rgba(62,142,126,0.15); --wash-strong: rgba(62,142,126,0.16); }
.t-copyit   { --accent: #8A6BB0; --wash: rgba(138,107,176,0.15); --wash-strong: rgba(138,107,176,0.16); }

/* ---------- js2mail hero art (adapted from js2mail.dev) ---------- */
.js2-art {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  --accent: #4F5BE8;
  --accent-2: #7C3AED;
  --success: #22C55E;
  --surface-1: #FFFFFF;
  --border: rgba(15, 23, 42, 0.10);
  --border-soft: rgba(15, 23, 42, 0.06);
  --chip-bg: rgba(15, 23, 42, 0.06);
  --text-2: #475569;
  --text-3: #94A3B8;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-sans: var(--sans);
  --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --elev-1: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px -12px rgba(15,23,42,0.16);
  --elev-2: 0 1px 0 rgba(15,23,42,0.04) inset, 0 24px 50px -20px rgba(15,23,42,0.30);
}

.j-editor {
  background: linear-gradient(180deg, #0E1530, #0B1226);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--elev-2);
}
.j-editor-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.65);
}
.j-editor-dots { display: flex; gap: 6px; }
.j-editor-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.j-editor-body {
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px; line-height: 1.7;
  color: #C7CCDB;
}
.j-editor-body .tk-keyword { color: #C792EA; }
.j-editor-body .tk-string  { color: #95E6A8; }
.j-editor-body .tk-prop    { color: #82AAFF; }
.j-editor-body .tk-fn      { color: #FFCB6B; }
.j-editor-body .tk-comment { color: #5A6585; font-style: italic; }

.j-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; font-size: 11px; font-weight: 500;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-sans);
}
.j-mono { font-family: var(--font-mono); }

.j-status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; position: relative; }
.j-status-dot.is-success { background: var(--success); box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
.j-pulse::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; background: inherit;
  animation: jPulse 1.6s ease-out infinite;
}

.j-flcard { position: absolute; right: -16px; bottom: 20px; width: 244px; }
.j-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--elev-1);
  font-family: var(--font-sans);
  color: #0F172A;
}
.j-prov {
  border-radius: 7px; display: grid; place-items: center;
  font-family: var(--font-sans); font-weight: 600; color: #fff; flex: none;
}
.j-prov.is-gmail { background: linear-gradient(135deg, #E4564B, #C73B33); }
.j-prov.is-ms    { background: linear-gradient(135deg, #2A6FDB, #1E5BC0); }
.j-prov.is-smtp  { background: linear-gradient(135deg, #4A5568, #2D3748); }

.j-sendline { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.j-sendline::before {
  content: ""; position: absolute; top: 50%; left: -10%;
  width: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: blur(0.4px);
  animation: jSend 2.4s cubic-bezier(.5, 0, .5, 1) infinite;
}

@keyframes jPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes jSend  { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(380%); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .j-sendline::before, .j-pulse::after { animation: none; }
}
@media (max-width: 820px) {
  .js2-art { max-width: 380px; }
  .j-flcard { right: 0; width: 220px; }
}

/* ---------- copyIt app art (palette from copyit.me) ---------- */
.cpy-art {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  font-family: var(--sans);
  --cbg: #0F1220; --csurf: #191D33; --csurf2: #222741; --cbord: #2C3252;
  --ctext: #EEF0FB; --cmuted: #9AA0C3;
  --cprimary: #6C7DFF; --csuccess: #4FD6A0;
}
.cpy-win {
  background: var(--cbg);
  border: 1px solid var(--cbord);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 50px -20px rgba(8,10,25,0.55);
}
.cpy-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cpy-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cmuted); }
.cpy-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--csuccess); position: relative;
  box-shadow: 0 0 0 3px rgba(79,214,160,0.15);
}
.cpy-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: inherit; animation: jPulse 1.6s ease-out infinite;
}
.cpy-enc {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #AAB2E6;
  background: rgba(108,125,255,0.12); border: 1px solid rgba(108,125,255,0.28);
  border-radius: 999px; padding: 3px 10px;
}
.cpy-body { padding: 16px; }
.cpy-label { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cmuted); margin-bottom: 8px; }
.cpy-code-row { display: flex; align-items: stretch; gap: 9px; margin-bottom: 15px; }
.cpy-code {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: 0.16em; color: var(--ctext);
  background: var(--csurf); border: 1px solid var(--cbord); border-radius: 10px; padding: 9px 12px;
}
.cpy-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ctext);
  background: var(--csurf2); border: 1px solid var(--cbord); border-radius: 10px; padding: 0 13px;
}
.cpy-meta { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--cmuted); margin-bottom: 14px; }
.cpy-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cpy-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.cpy-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--csurf); border: 1px solid var(--cbord); border-radius: 10px; padding: 9px 11px;
}
.cpy-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--csurf2); display: grid; place-items: center; color: var(--cprimary); flex: none; }
.cpy-item .it-main { flex: 1; min-width: 0; }
.cpy-item .it-t { font-size: 12.5px; color: var(--ctext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpy-item .it-s { font-size: 10.5px; color: var(--cmuted); font-family: var(--mono); margin-top: 1px; }
.cpy-item .it-copy { color: var(--cmuted); flex: none; }
.cpy-foot { display: flex; gap: 10px; }
.cpy-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; border-radius: 10px; font-size: 13px; font-weight: 500; font-family: var(--sans);
}
.cpy-btn-ghost { background: transparent; border: 1px solid var(--cbord); color: var(--ctext); }
.cpy-btn-primary { background: var(--cprimary); color: #fff; border: 1px solid var(--cprimary); box-shadow: 0 8px 20px -8px rgba(108,125,255,0.55); }
@media (prefers-reduced-motion: reduce) { .cpy-dot::after { animation: none; } }
@media (max-width: 820px) { .cpy-art { max-width: 380px; } }

/* ---------- atlas.social hotspot captive portal ---------- */
.asoc-art {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  font-family: var(--sans);
  --abg: #0E1626; --asurf: #18233C; --asurf2: #212E4A; --abord: #2B3A5C;
  --atext: #EAF1F5; --amuted: #93A4B8; --aprimary: #16B8A6; --asuccess: #34D399;
}
.asoc-win {
  background: var(--abg);
  border: 1px solid var(--abord);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 50px -20px rgba(6,12,26,0.6);
}
.asoc-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.asoc-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--atext); font-size: 13px; }
.asoc-brand svg { color: var(--aprimary); }
.asoc-badge {
  font-size: 11px; color: #8FE0D6;
  background: rgba(22,184,166,0.12); border: 1px solid rgba(22,184,166,0.28);
  border-radius: 999px; padding: 3px 10px;
}
.asoc-body { padding: 16px; }
.asoc-title { font-size: 14px; font-weight: 600; color: var(--atext); margin-bottom: 15px; }
.asoc-field { margin-bottom: 13px; }
.asoc-lbl { display: block; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amuted); margin-bottom: 6px; }
.asoc-input {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--atext);
  background: var(--asurf); border: 1px solid var(--abord); border-radius: 10px; padding: 10px 12px; font-family: var(--mono);
}
.asoc-input .pfx { color: var(--amuted); }
.asoc-otp { display: flex; gap: 8px; }
.asoc-otp span {
  width: 40px; height: 46px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--atext);
  background: var(--asurf); border: 1px solid var(--abord); border-radius: 9px;
}
.asoc-otp span.cur { border-color: var(--aprimary); box-shadow: 0 0 0 3px rgba(22,184,166,0.15); }
.asoc-caret { display: inline-block; width: 2px; height: 20px; background: var(--aprimary); animation: caretBlink 1.06s infinite; }
.asoc-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 11.5px; color: var(--amuted); margin: 15px 0; line-height: 1.4; }
.asoc-chk { width: 16px; height: 16px; border-radius: 5px; background: var(--aprimary); color: #04211E; display: grid; place-items: center; flex: none; margin-top: 1px; }
.asoc-btn {
  width: 100%; height: 42px; border-radius: 10px; background: var(--aprimary); color: #04211E; font-weight: 600;
  font-size: 13.5px; font-family: var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--aprimary); box-shadow: 0 8px 20px -8px rgba(22,184,166,0.5);
}
.asoc-legal { text-align: center; font-size: 10.5px; color: var(--amuted); margin-top: 11px; }
.asoc-toast {
  position: absolute; right: -14px; bottom: 24px; max-width: 208px;
  display: flex; align-items: center; gap: 9px; padding: 10px 13px;
  background: var(--asurf2); border: 1px solid rgba(52,211,153,0.38); border-radius: 12px;
  box-shadow: 0 18px 36px -16px rgba(6,12,26,0.75); font-size: 12px; color: var(--atext); line-height: 1.3;
}
.asoc-tdot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--asuccess); position: relative; flex: none;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.15);
}
.asoc-tdot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: jPulse 1.6s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .asoc-caret, .asoc-tdot::after { animation: none; } }
@media (max-width: 820px) { .asoc-art { max-width: 360px; } .asoc-toast { right: 0; } }

/* ---------- netclave unified security console ---------- */
.ncl-art {
  position: relative; width: 100%; max-width: 430px; margin: 0 auto; font-family: var(--sans);
  --nbg: #0C111C; --nsurf: #141B2B; --nsurf2: #1C2537; --nbord: #2A3350;
  --ntext: #EDF1F8; --nmuted: #8B96AD; --namber: #F5A623; --nok: #34D399; --nrisk: #FB7185;
}
.ncl-win {
  background: var(--nbg); border: 1px solid var(--nbord); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 50px -20px rgba(4,8,18,0.65);
}
.ncl-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ncl-brand { display: inline-flex; align-items: center; gap: 9px; }
.ncl-logo { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--namber), #E8890B); color: #241503; flex: none; }
.ncl-tt { display: flex; flex-direction: column; line-height: 1.2; }
.ncl-tt b { font-size: 12.5px; color: var(--ntext); font-weight: 600; }
.ncl-tt span { font-size: 9.5px; color: var(--nmuted); letter-spacing: 0.02em; }
.ncl-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #A9E9CE; background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.25); border-radius: 999px; padding: 3px 10px; }
.ncl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nok); position: relative; box-shadow: 0 0 0 3px rgba(52,211,153,0.15); }
.ncl-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: jPulse 1.6s ease-out infinite; }
.ncl-body { padding: 15px 16px 16px; }
.ncl-sec { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nmuted); margin-bottom: 11px; }
.ncl-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; border-radius: 10px; overflow: hidden; }
.ncl-mod { position: relative; background: var(--nsurf); border: 1px solid var(--nbord); border-radius: 10px; padding: 11px 4px 9px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.ncl-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(245,166,35,0.10); color: var(--namber); }
.ncl-ic svg { width: 17px; height: 17px; }
.ncl-ml { font-size: 9.5px; color: var(--ntext); letter-spacing: 0.01em; text-align: center; }
.ncl-st { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--nok); }
.ncl-st.warn { background: var(--namber); }
.ncl-scan { position: absolute; left: 0; right: 0; top: 0; height: 44%; pointer-events: none; background: linear-gradient(180deg, rgba(245,166,35,0.13), transparent); animation: nScan 4.8s ease-in-out infinite; }
@keyframes nScan { 0% { transform: translateY(-25%); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(235%); opacity: 0; } }
.ncl-feed { background: var(--nsurf); border: 1px solid var(--nbord); border-radius: 10px; padding: 11px 12px; }
.ncl-feed-h { display: flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nmuted); margin-bottom: 9px; }
.ncl-ev { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--nmuted); padding: 3px 0; }
.ncl-ev b { color: var(--ntext); font-weight: 600; font-family: var(--mono); font-size: 10.5px; }
.ncl-evd { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.ncl-evd.ok { background: var(--nok); }
.ncl-evd.warn { background: var(--namber); }
.ncl-evd.risk { background: var(--nrisk); }
.ncl-badge {
  position: absolute; right: -14px; bottom: 20px; max-width: 138px;
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px;
  background: var(--nsurf2); border: 1px solid rgba(245,166,35,0.38); border-radius: 12px;
  box-shadow: 0 18px 36px -16px rgba(4,8,18,0.8); font-size: 11.5px; color: var(--ntext); font-weight: 500; line-height: 1.3;
}
.ncl-badge svg { color: var(--namber); flex: none; }
@media (prefers-reduced-motion: reduce) { .ncl-scan { animation: none; opacity: 0; } }
@media (max-width: 820px) { .ncl-art { max-width: 380px; } .ncl-badge { right: 0; } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 5rem;
}
.foot {
  display: flex;
  justify-content: center;
}
.foot__mail {
  font-family: var(--mono);
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.foot__mail:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint .arrow { animation: none; }
  html { scroll-behavior: auto; }
}
