/* Maps legacy page tokens onto the Nusantara Editorial palette (nadi-site.css).
   Load AFTER the page's own <style>. Legacy pages keep their layout; colour, type and chrome come from the site system. */
:root {
  --bg: #0A1424; --surface-1: #0F1D31; --surface-2: #0F1D31; --surface-3: #15283F; --surface-4: #1B3250;
  --indigo: #0F8F86; --violet: #0F8F86; --cyan: #35D3BE;
  --border: rgba(243,240,232,.12); --border-strong: rgba(243,240,232,.22);
  --text: #F3F0E8; --text-dim: #BAC3D0;
}
body.ns { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); }
body.ns::before, body.ns::after { display: none; }                 /* ambient orbs */
body.ns h1, body.ns h2 { font-family: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif; font-weight: 600; letter-spacing: 0; }
.ns .picker-title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; }
.ns .picker-eyebrow { border: 0; background: none; padding: 0; color: var(--cyan); letter-spacing: .18em; }
.ns .wrap { padding-top: 40px; }
.ns .demo-lang { display: flex; justify-content: flex-end; max-width: 880px; margin: 16px auto 0; padding: 0 18px; position: relative; z-index: 1; }
.ns .picker-sub { margin-left: auto; margin-right: auto; }
.ns .lang-toggle button { min-height: 44px; min-width: 44px; }

/* Phone-frame demos (/demo/*): the .stage keeps its vertical colours, the site shell wraps it. */
body.ns.ns-demo { display: block; overflow: visible; padding: 0; min-height: 100vh; background: var(--bg); }
.ns-demo::before, .ns-demo::after { display: none; }
.ns-demo .stage { width: min(440px, calc(100% - 32px)); margin: 64px auto 56px; max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); }
.ns-demo > .ns-header, .ns-demo > .ns-footer { width: 100%; align-self: stretch; }

/* Marketing pages that keep their own body: only header/footer come from the site shell. */
div.ns { font: 400 16px/1.7 var(--font-body); text-align: left; }
div.ns a, div.ns a:hover { text-decoration: none; }
div.ns ul, div.ns ol { list-style: none; margin: 0; padding: 0; }
.ns-footer h2 { margin-top: 0; }

/* Programmatic city pages (/untuk/{vertical}-{city}). */
body.ns-city { background: var(--ink); color: var(--on-dark); }
body.ns-city .wrap { padding-top: 48px; }
body.ns-city .cta { background: var(--amber); color: #1A1204; box-shadow: none; }
body.ns-city h1, body.ns-city h2 { font-family: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif; font-weight: 600; }
body.ns-city .card, body.ns-city .cluster { border-color: var(--line-dark); }
body.ns-city .wrap a { color: var(--teal); }
body.ns-city .wrap a.cta { color: #1A1204; }
body.ns-city p, body.ns-city .sub, body.ns-city .feat { color: var(--on-dark-2); }
body.ns-city .roi-item .label, body.ns-city .footer { color: var(--on-dark-mute); }
body.ns-city .feat::before { color: var(--teal); }
div.ns .ns-header, div.ns .ns-header.ns-scrolled { background: var(--ink); }

/* Standalone pages whose <body> is a centred flex column: shell blocks must span the full width. */
body > div.ns { width: 100%; align-self: stretch; flex: 0 0 auto; }
body.ns-embedhdr .brand-mark, body.ns-embedhdr .brand-name { display: none; }
body > div.ns.ns-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
body.ns-embedhdr > div.ns { width: 100vw; margin-left: calc(50% - 50vw); }
body.ns-embedhdr > div.ns:first-child { margin-top: -20px; }
