/* NS Creator — public site. Dark, built on the logo: deep navy, cyan-to-blue light, slanted display type, rails in perspective. */
@font-face { font-family: "Exo2A"; src: url("../fonts/exo2-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Exo2B"; src: url("../fonts/exo2-italic-latin-ext.woff2") format("woff2"); font-style: italic; font-weight: 600 900; font-display: swap; }

body.site {
  --bg: #080d14; --surface: #101924; --surface-2: #162231; --line: #22344a; --text: #eaf3fc; --muted: #8ea4bb;
  --accent: #1fd8ff; --accent-2: #1e7bff; --accent-ink: #03111c; --accent-soft: rgba(31, 216, 255, .12);
  --green: #7ddc1f; --danger: #ff8a80; --danger-soft: #3a1c1a; --warn: #f0c060; --warn-soft: #3a2e12;
  --info-soft: #14263c; --info: #8fc6ff; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --display: "Exo2A", "Exo2B", "Segoe UI", system-ui, sans-serif;
  background: var(--bg); color: var(--text); font-size: 16px; overflow-x: hidden;
}
body.site a { color: var(--accent); }
.display { font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.02; }
.grad { background: linear-gradient(100deg, #5ff0ff 0%, var(--accent) 35%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(8, 13, 20, .72); border-bottom: 1px solid rgba(34, 52, 74, .6); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text) !important; text-decoration: none !important; }
.logo img { height: 46px; width: auto; display: block; }
.logo-mark { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; }
.logo-mark b { font-weight: 900; }
.logo-word { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a.plain { color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; transition: color .15s; }
.top nav a.plain:hover { color: var(--text); }
@media (max-width: 720px) { .top nav a.plain { display: none; } .logo-word { display: none; } }

/* buttons */
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; cursor: pointer; text-decoration: none !important;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-ink) !important; background: linear-gradient(100deg, #5ff0ff, var(--accent) 40%, var(--accent-2));
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: transform .15s, filter .15s; }
.cta:hover { transform: translateY(-2px); filter: brightness(1.1) drop-shadow(0 8px 22px rgba(31, 216, 255, .35)); }
.cta.small { padding: 10px 20px; font-size: .85rem; }
.cta.line { background: transparent; color: var(--text) !important; box-shadow: inset 0 0 0 2px var(--line); clip-path: none; transform: skewX(-12deg); }
.cta.line > span { display: inline-block; transform: skewX(12deg); }
.cta.line:hover { box-shadow: inset 0 0 0 2px var(--accent); transform: skewX(-12deg) translateY(-2px); filter: none; }

/* hero */
.hero2 { position: relative; padding: 72px 0 0; isolation: isolate; }
.hero2::before { content: ""; position: absolute; inset: -120px 0 0; z-index: -2;
  background: radial-gradient(60% 55% at 70% 30%, rgba(30, 123, 255, .22), transparent 70%), radial-gradient(40% 40% at 18% 12%, rgba(31, 216, 255, .13), transparent 70%); }
.hero2::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(34, 52, 74, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 52, 74, .5) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(#000, transparent 75%); -webkit-mask-image: linear-gradient(#000, transparent 75%); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.hero2 h1 { font-size: clamp(2.6rem, 7.6vw, 6rem); margin: 0 0 22px; max-width: 12ch; }
.hero2 .lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 54ch; margin: 0 0 32px; line-height: 1.6; }
.hero2 .actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-bottom: 40px; }
.emblem { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(30, 123, 255, .28)); animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .emblem { max-width: 460px; margin: 0 auto; order: -1; } .hero2 { padding-top: 36px; } }
@media (prefers-reduced-motion: reduce) { .emblem { animation: none; } }
.orbit { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s .2s cubic-bezier(.2, .7, .2, 1) forwards; }
.lamp { animation: lamp 3.2s ease-in-out infinite; transform-origin: 600px 318px; }
.beam { animation: beam 3.2s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lamp { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes beam { 0%, 100% { opacity: .05; } 50% { opacity: .16; } }
@media (prefers-reduced-motion: reduce) { .orbit { animation: none; stroke-dashoffset: 0; } .lamp, .beam { animation: none; } .cta, .tile { transition: none; } }

/* sections */
.sec { padding: 84px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); margin: 0 0 14px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; line-height: 1.6; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tile { position: relative; padding: 26px 24px 24px; background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); transition: transform .2s, border-color .2s; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tile:hover { transform: translateY(-4px); }
.tile svg { width: 38px; height: 38px; margin-bottom: 16px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .02em; margin: 0 0 10px; }
.tile p { color: var(--muted); margin: 0; line-height: 1.6; font-size: .97rem; }
.tile.green::before { background: linear-gradient(90deg, var(--green), #2fb36b); }
.tile.green svg { stroke: var(--green); }

/* how it works: a track with stations */
.line-sec { background: linear-gradient(180deg, transparent, rgba(16, 25, 36, .9) 18%, rgba(16, 25, 36, .9) 82%, transparent); }
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: st; }
.stations::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 10px;
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--line), var(--line)) 0 100% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(34, 52, 74, .9) 0 4px, transparent 4px 18px); }
.stations li { position: relative; padding-top: 68px; counter-increment: st; }
.stations li::before { content: "0" counter(st); position: absolute; top: 0; left: 0; width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 1.15rem; color: var(--accent-ink);
  background: linear-gradient(120deg, #5ff0ff, var(--accent-2)); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); box-shadow: 0 0 0 6px var(--bg); }
.stations h3 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin: 0 0 8px; }
.stations p { color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 760px) {
  .stations { grid-template-columns: 1fr; gap: 30px; }
  .stations::before { left: 21px; right: auto; top: 0; bottom: 0; width: 10px; height: auto;
    background: linear-gradient(var(--line), var(--line)) 0 0 / 2px 100% no-repeat, linear-gradient(var(--line), var(--line)) 100% 0 / 2px 100% no-repeat,
      repeating-linear-gradient(180deg, rgba(34, 52, 74, .9) 0 4px, transparent 4px 18px); }
  .stations li { padding: 0 0 0 76px; min-height: 52px; }
}

/* creators split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 34px; position: relative; color: var(--muted); line-height: 1.55; }
.ticks li b { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 14px; background: linear-gradient(100deg, var(--green), #2fb36b); clip-path: polygon(0 55%, 14% 38%, 40% 64%, 86% 0, 100% 16%, 40% 100%); }
.badge-card { position: relative; padding: 30px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 100% 0, rgba(30, 123, 255, .2), transparent 60%), var(--surface);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.badge-card .file { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; color: var(--muted); }
.badge-card .name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; margin: 6px 0 18px; }
.verified { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; font-weight: 700; color: var(--accent-ink); background: linear-gradient(100deg, var(--green), #35c47a); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.verified svg { width: 18px; height: 18px; stroke: var(--accent-ink); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.badge-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 22px 0 0; font-size: .9rem; }
.badge-card dt { color: var(--muted); }
.badge-card dd { margin: 0; font-family: ui-monospace, Consolas, monospace; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* closing call */
.closing { position: relative; margin: 0 20px 84px; }
.closing-in { max-width: 1120px; margin: 0 auto; padding: 54px 44px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(110deg, #0e3a52, #0f2a55 55%, #101c3a); border: 1px solid rgba(31, 216, 255, .28);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px)); }
.closing h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin: 0 0 8px; }
.closing p { margin: 0; color: #b7cbe0; }
@media (max-width: 600px) { .closing-in { padding: 36px 26px; } }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* inner pages (registration) */
body.site .narrow { max-width: 680px; padding: 56px 20px 84px; }
body.site .narrow h1 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 10px; line-height: 1.05; }
body.site .card { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); border-radius: 4px; padding: 26px; }
body.site input, body.site textarea, body.site select { background: #0b121b; border-color: var(--line); color: var(--text); border-radius: 3px; padding: 11px 12px; }
body.site .steps li::before { background: var(--accent-soft); color: var(--accent); border-radius: 0; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); font-family: var(--display); font-style: italic; }
body.site .steps li { padding-left: 42px; color: var(--muted); }
body.site .steps li b { color: var(--text); }
body.site .licence-number { font-size: clamp(1.3rem, 5vw, 2rem); background: linear-gradient(100deg, #5ff0ff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.site .alert.bad { background: var(--danger-soft); color: var(--danger); }
