/* NADI public website: "Nusantara Editorial" master design system.
   Direction (2026-09-30): human-made, not template glass. Navy ink + warm paper, teal from the Borobudur art, amber for action.
   Purple survives only in the logo pulse. Every value below is a token. Mobile-first: base ≤639, 640, 768, 1024, 1280. */
:root {
  /* palette */
  --ink: #0A1424; --ink-2: #0F1D31; --ink-3: #15283F;
  --paper: #F3EEE4; --paper-2: #E9E1D2; --paper-3: #FBF8F2;
  --teal: #35D3BE; --teal-deep: #0F8F86; --amber: #F2A24B; --amber-deep: #B8641C; --terra: #D9663A;
  --ok: #3FCF8E; --warn: #F2A24B; --danger: #E5604F;
  --on-dark: #F3F0E8; --on-dark-2: #BAC3D0; --on-dark-mute: #8794A8;
  --on-paper: #1B2230; --on-paper-2: #454F60; --on-paper-mute: #5F6878;
  --line-dark: rgba(243,240,232,.14); --line-paper: rgba(27,34,48,.16);
  /* theme vars, switched by .ns-dark / .ns-paper */
  --bg: var(--ink); --fg: var(--on-dark); --fg2: var(--on-dark-2); --mute: var(--on-dark-mute); --line: var(--line-dark);
  --surface: var(--ink-2); --accent: var(--teal); --link: var(--teal);
  /* type */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif; --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-hero: 46px; --lh-hero: 48px; --text-section: 36px; --lh-section: 40px; --text-card-title: 24px; --text-body-lg: 18px; --text-body: 16px; --text-small: 14px; --text-label: 12px;
  /* spacing */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-30: 120px;
  /* radius: restrained, not pill-and-bubble */
  --r-control: 10px; --r-card: 14px; --r-panel: 18px; --r-pill: 9999px;
  /* shadow */
  --shadow-sm: 0 4px 14px rgba(0,0,0,.14); --shadow-md: 0 14px 34px rgba(0,0,0,.2); --shadow-paper: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 28px rgba(60,40,10,.10);
  /* motion */
  --dur-fast: 120ms; --dur: 200ms; --dur-slow: 320ms; --ease: cubic-bezier(.22,1,.36,1);
  --container: 1200px; --gutter: 20px; --z-header: 100; --z-menu: 110;
}
@media (min-width: 768px) { :root { --text-hero: 68px; --lh-hero: 68px; --text-section: 44px; --lh-section: 48px; --gutter: 32px; } }
@media (min-width: 1024px) { :root { --text-hero: 80px; --lh-hero: 78px; --text-section: 52px; --lh-section: 54px; } }

.ns-dark { --bg: var(--ink); --fg: var(--on-dark); --fg2: var(--on-dark-2); --mute: var(--on-dark-mute); --line: var(--line-dark); --surface: var(--ink-2); --accent: var(--teal); --link: var(--teal); }
.ns-paper { --bg: var(--paper); --fg: var(--on-paper); --fg2: var(--on-paper-2); --mute: var(--on-paper-mute); --line: var(--line-paper); --surface: var(--paper-3); --accent: var(--teal-deep); --link: var(--amber-deep); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ns { font-variant-numeric: lining-nums; margin: 0; background: var(--ink); color: var(--on-dark); font: 400 var(--text-body)/1.7 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.ns.ns-lock { overflow: hidden; }
.ns a { color: inherit; text-decoration: none; }
.ns h1, .ns h2, .ns h3, .ns p, .ns ul, .ns ol, .ns figure { margin: 0; padding: 0; }
.ns ul, .ns ol { list-style: none; }
.ns :focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.ns-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 16px; background: var(--ink-2); color: var(--on-dark); border-radius: var(--r-control); }
.ns-skip:focus { left: 8px; }
.ns-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ns-narrow { max-width: 760px; }
.ns-muted { color: var(--mute); }
.ns-i { flex-shrink: 0; }
.ns-bg { display: none; }

/* sections: dark and paper bands alternate; paper gets a faint grain so it reads as material, not a flat fill */
.ns-section { position: relative; padding: var(--space-16) 0; background: var(--bg); color: var(--fg); }
.ns-paper { background-color: var(--paper); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .22  0 0 0 0 .1  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@media (min-width: 1024px) { .ns-section { padding: var(--space-24) 0; } }

/* type */
.ns-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--text-label)/18px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ns-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ns-h1 { font: 600 var(--text-hero)/var(--lh-hero) var(--font-display); letter-spacing: -.02em; color: var(--fg); }
.ns-h2 { font: 600 var(--text-section)/var(--lh-section) var(--font-display); letter-spacing: -.015em; color: var(--fg); }
.ns-h3 { font: 600 28px/34px var(--font-display); color: var(--fg); }
.ns-lead { font-size: var(--text-body-lg); line-height: 1.7; color: var(--fg2); max-width: 600px; }
.ns-accent { color: var(--amber); font-style: italic; position: relative; white-space: nowrap; }
.ns-accent svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; }
.ns-accent svg path { stroke: var(--amber); stroke-width: 3; fill: none; stroke-linecap: round; }
.ns-sh { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); max-width: 660px; }
.ns-sh.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.ns-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .ns-grid-2, .ns-grid-3, .ns-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .ns-grid { gap: var(--space-6); } .ns-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .ns-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* cards: one calm family (hairline, no glass, no glow) */
.ns-card { position: relative; display: block; padding: var(--space-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--fg); }
.ns-paper .ns-card { box-shadow: var(--shadow-paper); }
.ns-card h3 { font: 600 var(--text-card-title)/1.2 var(--font-display); margin-bottom: var(--space-2); }
.ns-card p { font-size: var(--text-small); line-height: 1.65; color: var(--fg2); }
.ns-card-i { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.ns-card-i:hover { transform: translateY(-2px); border-color: var(--accent); }
.ns-metric b { display: block; font-size: 44px; line-height: 1.1; }
.ns-text-cta { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-size: var(--text-small); font-weight: 600; color: var(--link); transition: gap var(--dur) var(--ease); }
.ns-card-i:hover .ns-text-cta, .ns-text-cta:hover { gap: 12px; }

/* buttons */
.ns-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 44px; padding: 0 var(--space-5); border-radius: var(--r-control); border: 1px solid transparent; font: 600 15px/20px var(--font-body); cursor: pointer; white-space: nowrap; transition: filter var(--dur) var(--ease), transform var(--dur-fast), background var(--dur), border-color var(--dur), color var(--dur); }
.ns-btn:active { transform: translateY(1px); }
.ns-btn-primary { background: var(--amber); color: #1A1204; box-shadow: 0 8px 22px rgba(242,162,75,.24); }
.ns-btn-primary:hover { filter: brightness(1.06); }
.ns-paper .ns-btn-primary { background: var(--ink); color: var(--on-dark); box-shadow: 0 8px 20px rgba(10,20,36,.22); }
.ns-btn-secondary { background: transparent; border-color: var(--line); color: var(--fg); }
.ns-btn-secondary:hover { border-color: var(--fg2); background: rgba(127,140,160,.08); }
.ns-btn-ghost { background: transparent; color: var(--fg2); } .ns-btn-ghost:hover { color: var(--fg); background: rgba(127,140,160,.10); }
.ns-btn-sm { height: 40px; padding: 0 var(--space-4); } .ns-btn-lg { height: 52px; } .ns-btn-hero { height: 56px; padding: 0 var(--space-6); font-size: 16px; }
.ns-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ns-soon { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border-radius: var(--r-pill); background: rgba(242,162,75,.14); color: var(--amber); border: 1px solid rgba(242,162,75,.3); white-space: nowrap; }
.ns-badge { position: absolute; top: -12px; left: 20px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); background: var(--amber); color: #1A1204; }

/* header: solid ink, hairline; no blur soup */
.ns-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(10,20,36,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--dur), background var(--dur); color: var(--on-dark); }
.ns-header.ns-scrolled { border-bottom-color: var(--line-dark); background: rgba(10,20,36,.94); }
.ns-header-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: var(--space-4); }
.ns-logo { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--font-display); letter-spacing: .36em; color: var(--on-dark); }
.ns-nav { display: none; align-items: center; gap: var(--space-1); }
.ns-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--space-3); border-radius: var(--r-control); background: none; border: 0; color: var(--on-dark-2); font: 500 14px/20px var(--font-body); cursor: pointer; transition: color var(--dur), background var(--dur); }
.ns-link:hover, .ns-dd.open > .ns-link { color: var(--on-dark); background: rgba(243,240,232,.07); }
.ns-dd { position: relative; } .ns-dd .ns-i { transition: transform var(--dur) var(--ease); } .ns-dd.open .ns-i { transform: rotate(180deg); }
.ns-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: var(--space-2); border-radius: var(--r-panel); z-index: var(--z-menu); background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.ns-dd.open .ns-menu { opacity: 1; visibility: visible; transform: none; }
.ns-menu-2 { display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); min-width: 520px; }
.ns-mi { display: flex; gap: var(--space-3); align-items: flex-start; padding: 10px var(--space-3); border-radius: var(--r-control); color: var(--on-dark-2); transition: background var(--dur), color var(--dur); }
.ns-mi:hover { background: rgba(53,211,190,.09); color: var(--on-dark); } .ns-mi .ns-i { margin-top: 2px; color: var(--teal); }
.ns-mi b { display: block; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--on-dark); } .ns-mi small { display: block; font-size: 12px; line-height: 18px; color: var(--on-dark-mute); }
.ns-header-cta { display: flex; align-items: center; gap: var(--space-2); }
.ns-hide-sm { display: none; }
.ns-header .ns-btn-primary { background: var(--amber); color: #1A1204; }
.ns-header .ns-btn-ghost { color: var(--on-dark-2); }
.ns-burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-control); border: 1px solid var(--line-dark); background: transparent; color: var(--on-dark); cursor: pointer; }
.ns-drawer { border-top: 1px solid var(--line-dark); background: var(--ink); max-height: calc(100vh - 64px); overflow-y: auto; padding: var(--space-3) 0 var(--space-6); }
.ns-drawer[hidden] { display: none; }
.ns-drawer details { border-bottom: 1px solid var(--line-dark); }
.ns-drawer summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 600; cursor: pointer; list-style: none; }
.ns-drawer summary::-webkit-details-marker { display: none; }
.ns-drawer details a, .ns-drawer-link { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; color: var(--on-dark-2); padding-left: var(--space-3); }
.ns-drawer-link { padding-left: 0; min-height: 52px; font-weight: 600; color: var(--on-dark); }
.ns-drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.ns-drawer .ns-btn-secondary { color: var(--on-dark); border-color: var(--line-dark); }
@media (min-width: 640px) { .ns-hide-sm { display: inline-flex; } }
@media (min-width: 1024px) { .ns-nav { display: flex; } .ns-burger, .ns-drawer { display: none !important; } .ns-header-in { height: 68px; } }

/* footer */
.ns-footer { border-top: 1px solid var(--line-dark); background: #070F1C; color: var(--on-dark); padding: var(--space-16) 0 var(--space-8); }
.ns-footer-grid { display: grid; gap: var(--space-8); grid-template-columns: repeat(2, minmax(0,1fr)); }
.ns-footer-brand { grid-column: 1 / -1; } .ns-footer-brand p { margin-top: var(--space-4); max-width: 360px; font-size: var(--text-small); line-height: 1.65; color: var(--on-dark-mute); }
.ns-footer h2 { font: 600 var(--text-label)/18px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: var(--space-4); }
.ns-footer li a { display: inline-block; padding: 6px 0; font-size: var(--text-small); color: var(--on-dark-2); transition: color var(--dur); } .ns-footer li a:hover { color: var(--amber); }
.ns-footer-bar { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--on-dark-mute); }
@media (min-width: 768px) { .ns-footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .ns-footer-grid { grid-template-columns: 2fr repeat(5, 1fr); } .ns-footer-brand { grid-column: auto; } }

/* HERO: real Borobudur video, ink overlay for legibility */
.ns-hero { position: relative; isolation: isolate; color: var(--on-dark); margin-top: -64px; padding-top: calc(64px + var(--space-12)); background: var(--ink); overflow: hidden; }
.ns-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink) center / cover no-repeat; }
.ns-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ns-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,20,36,.9) 0%, rgba(10,20,36,.72) 46%, rgba(10,20,36,.35) 100%), linear-gradient(180deg, rgba(10,20,36,.5) 0%, rgba(10,20,36,0) 30%, rgba(10,20,36,.92) 100%); }
.ns-hero-grid { display: grid; gap: var(--space-12); align-items: center; padding-bottom: var(--space-12); }
.ns-hero-copy { display: grid; gap: var(--space-6); justify-items: start; }
.ns-pill { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-dark); background: rgba(10,20,36,.5); font: 600 12px/18px var(--font-body); letter-spacing: .12em; }
.ns-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ns-hero .ns-lead { color: #D3D9E3; }
.ns-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: var(--text-small); color: var(--on-dark-2); }
.ns-trust li { display: inline-flex; align-items: center; gap: var(--space-2); } .ns-trust .ns-i { color: var(--teal); }
@media (min-width: 1024px) { .ns-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--space-12); padding-bottom: var(--space-16); } .ns-hero .ns-h1 { font-size: 68px; line-height: 68px; } }
@media (min-width: 1200px) { .ns-hero .ns-h1 { font-size: 76px; line-height: 74px; white-space: nowrap; } }

/* phone with a real scripted conversation */
.ns-demo { display: grid; gap: var(--space-4); justify-items: center; }
.ns-tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); border: 1px solid var(--line-dark); background: rgba(10,20,36,.6); }
.ns-tab { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--on-dark-2); font: 600 13px/1 var(--font-body); cursor: pointer; transition: background var(--dur), color var(--dur); }
.ns-tab[aria-selected="true"] { background: var(--on-dark); color: var(--ink); }
.ns-phone { position: relative; width: 100%; max-width: 340px; height: 560px; border-radius: 38px; padding: 10px; background: #05090F; border: 1px solid #2A3646; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset; transform: rotate(1.2deg); }
.ns-screen { height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: #0B141A; }
.ns-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; color: #fff; flex-shrink: 0; }
.ns-chat-head .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255,255,255,.18); }
.ns-chat-head b { display: block; font-size: 14px; line-height: 18px; } .ns-chat-head small { display: block; font-size: 11px; opacity: .85; }
.ns-chat[data-ch="whatsapp"] .ns-chat-head { background: #075E54; } .ns-chat[data-ch="instagram"] .ns-chat-head { background: linear-gradient(90deg, #8a3ab9, #d62976 60%, #fa7e1e); } .ns-chat[data-ch="webchat"] .ns-chat-head { background: #0F8F86; }
.ns-chat { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ns-msgs { flex: 1; min-height: 0; overflow: hidden; padding: 12px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; background: #0B141A; }
.ns-chat[data-ch="instagram"] .ns-msgs { background: #0F1218; } .ns-chat[data-ch="webchat"] .ns-msgs { background: #0D1519; }
.ns-b { max-width: 84%; padding: 8px 12px 6px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: #E9EDEF; white-space: pre-line; animation: ns-pop 320ms var(--ease) both; }
.ns-b.in { align-self: flex-start; background: #202C33; border-top-left-radius: 4px; }
.ns-b.out { align-self: flex-end; background: #005C4B; border-top-right-radius: 4px; }
.ns-chat[data-ch="instagram"] .ns-b.out { background: linear-gradient(135deg, #7c3aed, #d62976); } .ns-chat[data-ch="webchat"] .ns-b.out { background: #0F8F86; }
.ns-b time { display: block; text-align: right; font-size: 10px; opacity: .6; margin-top: 2px; }
.ns-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 12px; border-top-left-radius: 4px; background: #202C33; }
.ns-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: ns-dot 1.1s ease-in-out infinite; } .ns-typing i:nth-child(2) { animation-delay: .15s; } .ns-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ns-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes ns-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.ns-foot { display: flex; align-items: center; gap: 8px; padding: 10px; background: #111B21; flex-shrink: 0; } .ns-foot span { flex: 1; padding: 9px 14px; border-radius: 20px; background: #202C33; color: #8696A0; font-size: 12px; }
.ns-speed { position: absolute; top: 62px; right: 20px; z-index: 3; padding: 5px 10px; border-radius: var(--r-pill); background: var(--amber); color: #1A1204; font: 700 11px/1 var(--font-body); opacity: 0; transform: translateY(-6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ns-speed.show { opacity: 1; transform: none; }
.ns-stamp { justify-self: center; font: italic 500 15px/1.4 var(--font-display); color: var(--on-dark-2); text-align: center; max-width: 320px; }

/* channel strip: an ink bar with hairlines */
.ns-strip { display: grid; gap: var(--space-4); padding: var(--space-5) var(--space-6); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(10,20,36,.72); backdrop-filter: blur(10px); }
.ns-strip-label { font: 600 var(--text-label)/18px var(--font-body); letter-spacing: .14em; color: var(--amber); }
.ns-strip-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-3); }
.ns-strip-item { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: 6px; border-radius: var(--r-control); transition: background var(--dur); }
.ns-strip-item:hover { background: rgba(243,240,232,.06); }
.ns-ch-ico { width: 40px; height: 40px; border-radius: var(--r-control); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.ns-strip-item b { display: block; font-size: 15px; line-height: 20px; color: var(--on-dark); } .ns-strip-item small { display: block; font-size: 12px; line-height: 18px; color: var(--on-dark-mute); }
.ns-ch-whatsapp .ns-ch-ico { background: linear-gradient(145deg, #2fe57f, #0f9d58); }
.ns-ch-instagram .ns-ch-ico { background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.ns-ch-webchat .ns-ch-ico { background: linear-gradient(145deg, #2BC7B3, #0F8F86); }
.ns-ch-email .ns-ch-ico { background: linear-gradient(145deg, #F2A24B, #D9663A); }
.ns-ch-threads .ns-ch-ico { background: #10141c; border: 1px solid var(--line-dark); }
@media (min-width: 1024px) { .ns-strip { grid-template-columns: 200px 1fr; align-items: center; border-radius: var(--r-panel); border: 1px solid var(--line-dark); margin-bottom: var(--space-8); } .ns-strip-list { grid-template-columns: repeat(5, minmax(0,1fr)); } }

/* capabilities: numbered editorial rows, not four boxes */
.ns-split { display: grid; gap: var(--space-10); align-items: start; }
@media (min-width: 1024px) { .ns-split { grid-template-columns: 5fr 7fr; gap: var(--space-16); } .ns-split.rev { grid-template-columns: 7fr 5fr; } .ns-split .ns-sh { position: sticky; top: 108px; margin-bottom: 0; } }
.ns-rows { border-top: 1px solid var(--line); }
.ns-row { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: var(--space-4); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); color: var(--fg); transition: padding-left var(--dur) var(--ease); }
a.ns-row:hover { padding-left: 8px; }
.ns-row-n { font: italic 500 28px/1 var(--font-display); color: var(--accent); }
.ns-row h3 { font: 600 30px/1.1 var(--font-display); margin-bottom: 6px; } .ns-row p { color: var(--fg2); font-size: var(--text-body); max-width: 520px; }
.ns-row .ns-text-cta { margin-top: 10px; }

/* command center: hand-set diagram, curved lines */
.ns-diagram { position: relative; display: grid; gap: var(--space-6); align-items: center; }
.ns-diag-col { display: grid; gap: 10px; position: relative; z-index: 1; }
.ns-diag-item { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; padding: 8px var(--space-4); border-radius: var(--r-control); background: var(--ink-2); border: 1px solid var(--line-dark); font-size: var(--text-small); color: var(--on-dark); }
.ns-diag-item .ns-i { color: var(--teal); }
.ns-core { position: relative; z-index: 1; justify-self: center; width: 176px; height: 176px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 38%, #1C3A4A, var(--ink-2) 70%); border: 1px solid rgba(53,211,190,.45); }
.ns-core .pulse { display: block; margin: 0 auto 8px; } .ns-core b { display: block; font: 600 26px/1 var(--font-display); letter-spacing: .3em; padding-left: .3em; }
.ns-core small { display: block; margin-top: 6px; font-size: 11px; color: var(--on-dark-mute); }
.ns-wires { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ns-wires path { fill: none; stroke: rgba(53,211,190,.38); stroke-width: 1.4; }
@media (min-width: 1024px) { .ns-diagram { grid-template-columns: 1fr 200px 1.1fr; gap: var(--space-16); } .ns-wires { display: block; } }
/* Omnichannel hub image (desktop) + glow. Phones/tablets keep the live .ns-diagram: the baked-in image text is too small there. */
.ns-hub { display: none; position: relative; margin: 0; }
.ns-hub img { display: block; width: 100%; height: auto; border-radius: var(--r-control); }
.ns-hub-core { position: absolute; left: 50%; top: 43.4%; width: 17.5%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; pointer-events: none; animation: ns-hub-core 3.2s ease-in-out infinite; }
.ns-hub i { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--c); pointer-events: none; animation: ns-hub-dot 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes ns-hub-core { 0%,100% { box-shadow: 0 0 24px 4px rgba(53,211,190,.35), 0 0 60px 12px rgba(99,102,241,.18); } 50% { box-shadow: 0 0 46px 12px rgba(53,211,190,.6), 0 0 110px 28px rgba(245,165,36,.25); } }
@keyframes ns-hub-dot { 0%,100% { box-shadow: 0 0 6px 1px var(--c); opacity: .55; transform: scale(.8); } 50% { box-shadow: 0 0 18px 6px var(--c); opacity: 1; transform: scale(1.25); } }
@media (min-width: 1024px) { .ns-hub { display: block; } .ns-diagram--live { display: none; } }

/* memory: before / after */
.ns-compare { display: grid; gap: var(--space-4); }
.ns-side { border-radius: var(--r-card); padding: var(--space-5); border: 1px solid var(--line); background: var(--surface); }
.ns-side h3 { font: 600 22px/1.2 var(--font-display); margin-bottom: var(--space-3); }
.ns-side.good { border-color: var(--teal-deep); }
.ns-line { display: block; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; margin-top: 8px; max-width: 92%; }
.ns-line.c { background: rgba(27,34,48,.07); } .ns-line.a { background: rgba(15,143,134,.13); margin-left: auto; }
.ns-side small { display: block; margin-top: 12px; font-size: 13px; color: var(--mute); }
.ns-side.bad small { color: var(--terra); } .ns-side.good small { color: var(--teal-deep); font-weight: 600; }
@media (min-width: 768px) { .ns-compare { grid-template-columns: 1fr 1fr; } }
.ns-mods { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: var(--space-10); }
@media (min-width: 768px) { .ns-mods { grid-template-columns: repeat(3, 1fr); } .ns-mods .ns-mod + .ns-mod { border-left: 1px solid var(--line); } }
.ns-mod { padding: var(--space-6) var(--space-5) var(--space-2); } .ns-mod h3 { font: 600 24px/1.2 var(--font-display); margin-bottom: 6px; } .ns-mod p { font-size: var(--text-small); color: var(--fg2); line-height: 1.65; }

/* ecosystem: a ledger */
.ns-ledger { border-top: 1px solid var(--line); }
.ns-ledger-row { display: grid; gap: var(--space-3); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.ns-ledger-row h3 { font: 600 30px/1.1 var(--font-display); color: var(--fg); } .ns-ledger-row h3 span { display: block; font: 600 12px/18px var(--font-body); letter-spacing: .14em; color: var(--accent); margin-bottom: 4px; }
.ns-ledger-row ul { display: flex; flex-wrap: wrap; gap: 8px; } .ns-ledger-row li { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 13px; color: var(--fg2); }
@media (min-width: 1024px) { .ns-ledger-row { grid-template-columns: 300px 1fr 150px; align-items: center; } }

/* analytics: a framed window on paper */
.ns-window { border-radius: var(--r-panel); overflow: hidden; background: var(--ink); color: var(--on-dark); border: 1px solid #22344B; box-shadow: 0 24px 60px rgba(30,20,5,.28); transform: rotate(-.8deg); }
.ns-window-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); } .ns-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2B3B52; }
.ns-window-in { padding: var(--space-5); display: grid; gap: var(--space-4); }
.ns-window-cols { display: grid; gap: var(--space-4); } @media (min-width: 640px) { .ns-window-cols { grid-template-columns: 1.5fr 1fr; } }
.ns-panel { padding: var(--space-4); border-radius: var(--r-card); background: var(--ink-2); border: 1px solid var(--line-dark); min-width: 0; }
.ns-panel > b { display: block; font-size: 13px; margin-bottom: 8px; } .ns-panel p { font-size: 13px; color: var(--on-dark-2); line-height: 1.5; }
.ns-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; } .ns-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--teal), var(--teal-deep)); }
.ns-caption { margin-top: var(--space-3); font-size: 12px; line-height: 1.5; color: var(--mute); }

/* how it works: a timeline */
.ns-steps { display: grid; gap: var(--space-6); }
.ns-step { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: var(--space-4); position: relative; }
.ns-step-n { font: italic 600 44px/1 var(--font-display); color: var(--accent); }
.ns-step h3 { font: 600 24px/1.2 var(--font-display); margin-bottom: 6px; } .ns-step p { font-size: var(--text-small); line-height: 1.65; color: var(--fg2); }
.ns-step:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 52px; bottom: -22px; width: 1px; background: var(--line); }
@media (min-width: 1024px) { .ns-steps { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-8); } .ns-step { grid-template-columns: minmax(0,1fr); gap: var(--space-3); } .ns-step:not(:last-child)::after { left: 64px; right: -20px; top: 22px; bottom: auto; width: auto; height: 1px; } }

/* industries: an index, not nine identical tiles */
.ns-inds { border-top: 1px solid var(--line-dark); }
.ns-ind { display: grid; grid-template-columns: 36px minmax(0,1fr) 24px; gap: var(--space-4); align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); transition: padding-left var(--dur) var(--ease), background var(--dur); }
.ns-ind:hover { padding-left: 10px; background: rgba(53,211,190,.05); }
.ns-ind-n { font: italic 500 22px/1 var(--font-display); color: var(--amber); }
.ns-ind-t h3 { font: 600 28px/1.1 var(--font-display); } .ns-ind-t p { margin-top: 4px; font-size: var(--text-small); color: var(--on-dark-2); max-width: 560px; line-height: 1.6; }
.ns-ind-o { display: none; font-size: 13px; color: var(--on-dark-mute); }
.ns-ind-go { color: var(--on-dark-mute); transition: transform var(--dur) var(--ease), color var(--dur); } .ns-ind:hover .ns-ind-go { transform: translateX(4px); color: var(--amber); }
@media (min-width: 1024px) { .ns-ind { grid-template-columns: 56px 1.3fr 1fr 24px; } .ns-ind-o { display: block; } }

/* security */
.ns-pillars { display: grid; gap: var(--space-8); } .ns-pillar h3 { font: 600 24px/1.2 var(--font-display); margin-bottom: 6px; } .ns-pillar p { font-size: var(--text-small); color: var(--fg2); line-height: 1.65; }
.ns-pillar { padding-top: var(--space-4); border-top: 2px solid var(--accent); }
@media (min-width: 768px) { .ns-pillars { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .ns-pillars { grid-template-columns: repeat(4, 1fr); } }

/* numbers that carry meaning (prices, results) use the body face: old-style serif digits read '2orb' */
.ns-plan-price b, .ns-out b, .ns-metric b { font-family: var(--font-body); font-weight: 700; letter-spacing: -.02em; }

/* ROI calculator */
.ns-roi { display: grid; gap: var(--space-8); align-items: center; padding: var(--space-6); border-radius: var(--r-panel); background: var(--ink); color: var(--on-dark); border: 1px solid #22344B; box-shadow: 0 24px 60px rgba(30,20,5,.22); }
.ns-field { display: grid; gap: 6px; } .ns-field label { font-size: 13px; font-weight: 600; color: var(--on-dark-2); }
.ns-field input { height: 48px; padding: 0 14px; border-radius: var(--r-control); border: 1px solid var(--line-dark); background: var(--ink-2); color: var(--on-dark); font: 500 16px/1 var(--font-body); }
.ns-field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(53,211,190,.18); }
.ns-out { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.ns-out div { padding: var(--space-4); border-radius: var(--r-card); background: var(--ink-2); border: 1px solid var(--line-dark); } .ns-out small { display: block; font-size: 12px; color: var(--on-dark-mute); }
.ns-out b { display: block; font-size: 30px; line-height: 1.15; color: var(--amber); } .ns-out .full { grid-column: 1 / -1; } .ns-out .full b { color: var(--on-dark); font-size: 22px; }
@media (min-width: 1024px) { .ns-roi { grid-template-columns: 1fr 1fr; padding: var(--space-10); gap: var(--space-12); } }

/* pricing */
.ns-plans { display: grid; gap: var(--space-8) var(--space-5); }
.ns-plan { position: relative; padding: var(--space-6); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: grid; gap: var(--space-3); align-content: start; box-shadow: var(--shadow-paper); }
.ns-plan-pick { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--shadow-paper); }
.ns-dark .ns-plan { box-shadow: none; } .ns-dark .ns-plan-pick { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.ns-plan h3 { font: 600 28px/1.1 var(--font-display); } .ns-plan p { font-size: var(--text-small); color: var(--fg2); line-height: 1.6; }
.ns-plan-price b { font-size: 40px; line-height: 1; color: var(--fg); } .ns-plan-price span { font-size: 15px; color: var(--mute); margin-left: 4px; }
.ns-plan-chats { font-weight: 600; color: var(--accent) !important; }
.ns-plan ul { display: grid; gap: 8px; margin: 4px 0 8px; } .ns-plan li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--fg2); } .ns-plan li .ns-i { color: var(--teal-deep); }
@media (min-width: 768px) { .ns-plans { grid-template-columns: repeat(3, 1fr); } }

/* faq */
.ns-faqlist { display: grid; gap: 0; max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.ns-faq { border-bottom: 1px solid var(--line); }
.ns-faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 64px; padding: var(--space-2) 0; font: 600 20px/1.3 var(--font-display); cursor: pointer; list-style: none; color: var(--fg); }
.ns-faq summary::-webkit-details-marker { display: none; } .ns-faq[open] summary .ns-i { transform: rotate(180deg); } .ns-faq summary .ns-i { transition: transform var(--dur) var(--ease); color: var(--mute); }
.ns-faq p { padding: 0 0 var(--space-5); color: var(--fg2); font-size: var(--text-body); line-height: 1.7; max-width: 680px; }

/* final CTA over the Borobudur frame */
.ns-final { position: relative; isolation: isolate; text-align: center; padding: var(--space-24) 0; color: var(--on-dark); }
.ns-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink), rgba(10,20,36,.72) 40%, var(--ink)), url(/hero-poster.jpg) center / cover; }
.ns-final .ns-container { display: grid; gap: var(--space-6); justify-items: center; } .ns-final .ns-lead { margin: 0 auto; color: #D3D9E3; }
.ns-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--text-small); color: var(--mute); margin-bottom: var(--space-6); } .ns-crumbs a:hover { color: var(--fg); } .ns-crumbs [aria-current] { color: var(--fg2); }
.ns-previewbar { position: sticky; top: 0; z-index: 200; padding: 8px var(--gutter); text-align: center; font-size: 12px; font-weight: 600; background: var(--amber); color: #241800; }
.ns-sample { border-style: dashed; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ns *, .ns *::before, .ns *::after { transition: none !important; animation: none !important; } }

/* ── Language switch (ID / EN) ─────────────────────────────────────────── */
.ns-lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--ns-line, rgba(243,240,232,.18)); background: rgba(255,255,255,.04); }
.ns-lang button { min-width: 40px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: 600 12px/1 Inter, system-ui, sans-serif; letter-spacing: .04em; cursor: pointer; opacity: .7; }
.ns-lang button[aria-pressed="true"] { background: var(--ns-teal, #0F8F86); color: #fff; opacity: 1; }
.ns-lang button:focus-visible { outline: 2px solid var(--ns-teal, #35D3BE); outline-offset: 2px; }
.ns-drawer-lang { padding: 12px 0; }
@media (max-width: 640px) { .ns-header-cta > .ns-lang { display: none; } }

/* ── Sub-page kit (2026-10-24): hero strip + product mockups. Every public page builds from these. ── */
.ns-hero-strip { position: relative; isolation: isolate; color: var(--on-dark); margin-top: -64px; padding: calc(64px + var(--space-10)) 0 var(--space-10); background: var(--ink); overflow: hidden; }
.ns-hero-strip .ns-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink) center / cover no-repeat; }
.ns-hero-strip .ns-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ns-hero-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,20,36,.78) 0%, rgba(10,20,36,.9) 70%, var(--ink) 100%); }
.ns-hero-strip .ns-container { display: grid; gap: var(--space-5); justify-items: start; }
.ns-hero-strip .ns-h1 { font-size: clamp(34px, 6.4vw, 60px); line-height: 1.04; color: var(--on-dark); max-width: 17ch; }
.ns-hero-strip .ns-lead { color: #D3D9E3; }
@media (min-width: 1024px) { .ns-hero-strip { padding: calc(64px + var(--space-16)) 0 var(--space-16); } .ns-hero-strip .ns-container { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: var(--space-12); align-items: center; } .ns-hero-strip .ns-hs-copy { display: grid; gap: var(--space-5); justify-items: start; } }
.ns-hero-strip .ns-hs-copy { display: grid; gap: var(--space-5); justify-items: start; min-width: 0; }
.ns-hs-mock { min-width: 0; width: 100%; }
.ns-status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-dark); font: 600 12px/18px var(--font-body); letter-spacing: .06em; color: var(--on-dark-2); background: rgba(10,20,36,.5); }
.ns-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); } .ns-status.beta i { background: var(--amber); } .ns-status.soon i { background: var(--mute); }

/* product mockups (HTML, bilingual-safe, no screenshots). Used inside .ns-window */
.ns-mk { display: grid; gap: var(--space-3); font-size: 13px; color: var(--on-dark-2); min-width: 0; }
.ns-mk b { color: var(--on-dark); font-weight: 600; }
.ns-mk-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-mute); }
.ns-mk-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.ns-mk-row .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--ink-3); color: var(--on-dark); }
.ns-mk-row small { display: block; font-size: 12px; color: var(--on-dark-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ns-mk-row.on { border-color: var(--teal); }
.ns-tag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--r-pill); font: 600 11px/18px var(--font-body); background: rgba(53,211,190,.14); color: var(--teal); white-space: nowrap; }
.ns-tag.amber { background: rgba(242,162,75,.16); color: var(--amber); } .ns-tag.red { background: rgba(229,96,79,.16); color: #F0897B; } .ns-tag.grey { background: rgba(135,148,168,.18); color: var(--on-dark-2); }
.ns-mk-msg { max-width: 88%; padding: 9px 12px; border-radius: 12px; line-height: 1.45; } .ns-mk-msg.in { background: #202C33; color: #E9EDEF; border-top-left-radius: 4px; justify-self: start; } .ns-mk-msg.out { background: #0F5F58; color: #fff; border-top-right-radius: 4px; justify-self: end; }
.ns-mk-cols { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 640px) { .ns-mk-cols.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ns-mk-col { padding: 10px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); display: grid; gap: 8px; align-content: start; min-width: 0; }
.ns-mk-col h4 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); font-weight: 600; display: flex; justify-content: space-between; }
.ns-mk-card { padding: 8px 10px; border-radius: 10px; background: var(--ink-3); border: 1px solid var(--line-dark); line-height: 1.35; min-width: 0; } .ns-mk-card small { display: block; color: var(--on-dark-mute); font-size: 11px; }
.ns-mk-flow { display: grid; gap: 8px; } .ns-mk-node { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); } .ns-mk-node .ns-i { color: var(--teal); flex-shrink: 0; }
.ns-mk-arrow { justify-self: center; color: var(--on-dark-mute); line-height: 1; }
.ns-mk-bar { height: 8px; border-radius: 99px; background: var(--ink-3); overflow: hidden; } .ns-mk-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-deep), var(--teal)); }
.ns-mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ns-mk-stat { padding: 10px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); } .ns-mk-stat b { display: block; font: 600 24px/1.1 var(--font-display); } .ns-mk-stat small { font-size: 11px; color: var(--on-dark-mute); }
.ns-mk-check { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--ink-2); border: 1px solid var(--line-dark); } .ns-mk-check .ns-i { color: var(--ok); flex-shrink: 0; } .ns-mk-check.wait .ns-i { color: var(--amber); }
.ns-mk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ns-window.flat { transform: none; }
.ns-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.ns-related { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .ns-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (min-width: 1024px) { .ns-related.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ns-related.c3 { }
@media (min-width: 1024px) { .ns-related.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ns-code { margin: 0; padding: var(--space-5); border-radius: var(--r-card); background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--on-dark-2); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
.ns-code:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
